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
postgis
Commits
906246a6b057
Commit
a6f94092
authored
Mar 23, 2015
by
Rémi Cardona
Browse files
[pkg] Complete overhaul of debian packaging
parent
75359cb74f88
Changes
3
Hide whitespace changes
Inline
Side-by-side
debian/changelog
View file @
906246a6
cubicweb-postgis (0.3.1-1) unstable; urgency=medium
* New upstream release.
* Complete rules overhaul
-- Rémi Cardona <remi.cardona@logilab.fr> Mon, 23 Mar 2015 14:24:25 +0100
...
...
debian/control
View file @
906246a6
...
...
@@ -2,13 +2,20 @@ Source: cubicweb-postgis
Section: web
Priority: optional
Maintainer: LOGILAB S.A. (Paris, FRANCE) <contact@logilab.fr>
Build-Depends: debhelper (>= 7), python (>=2.5), python-support
Build-Depends:
debhelper (>= 7),
python (>= 2.6.5),
Standards-Version: 3.9.3
XS-Python-Version: >= 2.5
Homepage: http://www.cubicweb.org/project/cubicweb-postgis
XS-Python-Version: >= 2.6
Package: cubicweb-postgis
Architecture: all
Depends: cubicweb-common (>= 3.15.1), ${python:Depends}, python-cwtags (>= 1.1.0)
Depends:
cubicweb-common (>= 3.15.1),
python-cwtags (>= 1.1.0),
${python:Depends},
${misc:Depends},
Description: Cube for GIS data support using PostGIS
CubicWeb is a semantic web application framework.
.
...
...
debian/rules
View file @
906246a6
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
build: build-arch build-indep
build-arch:
# Nothing to do
build-indep: build-stamp
build-stamp:
dh_testdir
NO_SETUPTOOLS=1 python setup.py -q build
touch build-stamp
export NO_SETUPTOOLS=1
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
rm -rf build
find . -name "*.pyc" | xargs rm -f
dh_clean
%:
dh $@ --with python2
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs -i
NO_SETUPTOOLS=1 python setup.py -q install --no-compile --prefix=debian/cubicweb-postgis/usr/
override_dh_auto_install:
dh_auto_install
# remove generated .egg-info file
rm -rf debian/
cubicweb-postgis
/usr/lib/python*
rm -rf debian/
*
/usr/lib/python*
# Build architecture-independent files here.
binary-indep: build install
dh_testdir
dh_testroot
dh_install -i
dh_installchangelogs -i
dh_installexamples -i
dh_installdocs -i
dh_installman -i
dh_pysupport -i /usr/share/cubicweb
dh_link -i
dh_compress -i -X.py -X.ini -X.xml -Xtest
dh_fixperms -i
dh_installdeb -i
dh_gencontrol -i
dh_md5sums -i
dh_builddeb -i
# Build architecture-dependent files here.
binary-arch:
binary: binary-indep
.PHONY: build clean binary-arch binary-indep binary
override_dh_python2:
dh_python2 -i /usr/share/cubicweb
Write
Preview
Supports
Markdown
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