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
forgotpwd
Commits
8515e0003dfa
Commit
876b019d
authored
Jul 08, 2015
by
Rémi Cardona
Browse files
[pkg] Modernize debian packaging
parent
31a9f583f251
Changes
4
Hide whitespace changes
Inline
Side-by-side
debian/compat
View file @
8515e000
7
9
debian/control
View file @
8515e000
...
...
@@ -2,8 +2,10 @@ Source: cubicweb-forgotpwd
Section: web
Priority: optional
Maintainer: LOGILAB S.A. (Paris, FRANCE) <contact@logilab.fr>
Build-Depends: debhelper (>= 7), python (>= 2.6.5)
Standards-Version: 3.8.0
Build-Depends:
debhelper (>= 9),
python (>= 2.6.5),
Standards-Version: 3.9.6
Homepage: http://www.cubicweb.org/project/cubicweb-forgotpwd
Package: cubicweb-forgotpwd
...
...
debian/rules
View file @
8515e000
#!/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-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-forgotpwd/usr/
override_dh_auto_install:
dh_auto_install
# remove generated .egg-info file
rm -rf debian/
cubicweb-forgotpwd
/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_link -i
override_dh_python2:
dh_python2 -i /usr/share/cubicweb
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
debian/watch
0 → 100644
View file @
8515e000
version=3
opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
http://pypi.debian.net/cubicweb-forgotpwd/cubicweb-forgotpwd-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
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