Commit 0ee3583e authored by David Douard's avatar David Douard
Browse files

[debian] update debian packaging

parent 371ad30588bb
cubicweb-slickgrid (1.1.0-1) unstable; urgency=low
* new upstream release
* use dh-python
-- Katia Saurfelt <katia.saurfelt@logilab.fr> Thu, 15 Sep 2016 10:18:18 +0200
......
......@@ -2,9 +2,18 @@ Source: cubicweb-slickgrid
Section: web
Priority: optional
Maintainer: LOGILAB S.A. (Paris, FRANCE) <contact@logilab.fr>
Build-Depends: debhelper (>= 7), python (>= 2.6), python-support
Standards-Version: 3.9.3
XS-Python-Version: >= 2.6
Uploaders:
Sylvain Thenault <sylvain.thenault@logilab.fr>,
David Douard <david.douard@logilab.fr>,
Build-Depends:
debhelper (>= 9),
python-all,
dh-python,
python-setuptools,
python (>= 2.6.5),
Standards-Version: 3.9.7
X-Python-Version: >= 2.6
Homepage: https://www.cubicweb.org/project/cubicweb-slickgrid
Package: cubicweb-slickgrid
Architecture: all
......
#!/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
clean:
dh_testdir
rm -f build-stamp configure-stamp
rm -rf build
find . -name "*.pyc" -delete
dh_clean
%:
dh $@ --with python2 --buildsystem=pybuild
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-slickgrid/usr/
# remove generated .egg-info file
rm -rf debian/cubicweb-slickgrid/usr/lib/python*
override_dh_python2:
dh_python2 -i /usr/share/cubicweb
# 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 README
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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment