Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
person
Commits
629d91971958
Commit
e6e36876
authored
May 14, 2009
by
sylvain.thenault@logilab.fr
Browse files
1.4
parent
8650abee5928
Changes
5
Hide whitespace changes
Inline
Side-by-side
__pkginfo__.py
View file @
629d9197
...
...
@@ -4,11 +4,11 @@
distname
=
"cubicweb-person"
modname
=
distname
.
split
(
'-'
,
1
)[
1
]
numversion
=
(
1
,
3
,
0
)
numversion
=
(
1
,
4
,
0
)
version
=
'.'
.
join
(
str
(
num
)
for
num
in
numversion
)
license
=
'LGPL'
copyright
=
'''Copyright (c) 2003-200
7
LOGILAB S.A. (Paris, FRANCE).
copyright
=
'''Copyright (c) 2003-200
9
LOGILAB S.A. (Paris, FRANCE).
http://www.logilab.fr/ -- mailto:contact@logilab.fr'''
author
=
"Logilab"
...
...
debian/changelog
View file @
629d9197
cubicweb-person (1.4.0-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Thu, 14 May 2009 10:50:24 +0200
cubicweb-person (1.3.0-1) DISTRIBUTION; urgency=low
* new upstream release
...
...
debian/control
View file @
629d9197
...
...
@@ -2,7 +2,7 @@ Source: cubicweb-person
Section: web
Priority: optional
Maintainer: Logilab Packaging Team <contact@logilab.fr>
Uploaders: Sylvain Thenault <sylvain.thenault@logilab.fr>
Uploaders: Sylvain Thenault <sylvain.thenault@logilab.fr>
Build-Depends: debhelper (>= 5.0.37.1), python (>=2.4), python-dev (>=2.4)
Standards-Version: 3.8.0
...
...
@@ -10,7 +10,7 @@ Package: cubicweb-person
Architecture: all
Conflicts: erudi-person, erudi-person-server, erudi-person-client, erudi-person-comp
Replaces: erudi-person, erudi-person-server, erudi-person-client, erudi-person-comp
Depends: cubicweb-common (>=
2.99
.0)
Depends: cubicweb-common (>=
3.2
.0)
Description: Person support for the CubicWeb framework
CubicWeb is a semantic web application framework.
.
...
...
debian/rules
View file @
629d9197
...
...
@@ -5,12 +5,12 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
build: build-stamp
build-stamp:
build-stamp:
dh_testdir
python setup.py -q build
touch build-stamp
clean:
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
...
...
@@ -25,6 +25,7 @@ install: build
dh_clean -k
dh_installdirs -i
python setup.py -q install --no-compile --prefix=debian/cubicweb-person/usr/
rm -rf debian/cubicweb-addressbook/usr/lib/python*
# Build architecture-independent files here.
...
...
@@ -32,9 +33,6 @@ binary-indep: build install
dh_testdir
dh_testroot
dh_install -i
# dh_pycentral -i
# dh_python -i
# gzip -9 -c ChangeLog > changelog.gz
dh_installchangelogs -i
dh_installexamples -i
dh_installdocs -i
...
...
@@ -43,13 +41,13 @@ binary-indep: build install
dh_compress -i -X.py -X.ini -X.xml -Xtest
dh_fixperms -i
dh_installdeb -i
dh_gencontrol -i
dh_gencontrol -i
dh_md5sums -i
dh_builddeb -i
# Build architecture-dependent files here.
binary-arch:
binary-arch:
binary: binary-indep
binary: binary-indep
.PHONY: build clean binary-arch binary-indep binary
setup.py
View file @
629d9197
...
...
@@ -17,26 +17,12 @@
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
""" Generic Setup script, takes package info from __pkginfo__.py file """
import
os
import
sys
import
shutil
from
distutils.core
import
setup
from
distutils
import
command
from
distutils.command
import
install_lib
from
os.path
import
isdir
,
exists
,
join
,
walk
# import required features
from
__pkginfo__
import
distname
,
version
,
license
,
short_desc
,
long_desc
,
\
web
,
author
,
author_email
# import optional features
try
:
from
__pkginfo__
import
distname
except
ImportError
:
distname
=
distname
try
:
from
__pkginfo__
import
scripts
except
ImportError
:
scripts
=
[]
try
:
from
__pkginfo__
import
data_files
except
ImportError
:
...
...
@@ -46,35 +32,17 @@ try:
except
ImportError
:
include_dirs
=
[]
BASE_BLACKLIST
=
(
'CVS'
,
'debian'
,
'dist'
,
'build'
,
'__buildlog'
)
IGNORED_EXTENSIONS
=
(
'.pyc'
,
'.pyo'
,
'.elc'
)
def
ensure_scripts
(
linux_scripts
):
"""creates the proper script names required for each platform
(taken from 4Suite)
"""
from
distutils
import
util
if
util
.
get_platform
()[:
3
]
==
'win'
:
scripts_
=
[
script
+
'.bat'
for
script
in
linux_scripts
]
else
:
scripts_
=
linux_scripts
return
scripts_
def
install
(
**
kwargs
):
"""setup entry point"""
#kwargs['distname'] = modname
return
setup
(
name
=
distname
,
version
=
version
,
license
=
license
,
license
=
license
,
description
=
short_desc
,
long_description
=
long_desc
,
author
=
author
,
author_email
=
author_email
,
url
=
web
,
scripts
=
ensure_scripts
(
scripts
),
data_files
=
data_files
,
**
kwargs
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment