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
trustedauth
Commits
37512862648b
Commit
d80c4b80
authored
Mar 06, 2015
by
Rémi Cardona
Browse files
[debian] Update packaging
Use dh_python2 instead of hand-rolling maintainer script
parent
fcafe0af6449
Changes
4
Hide whitespace changes
Inline
Side-by-side
debian/compat
View file @
37512862
5
7
debian/control
View file @
37512862
...
...
@@ -2,13 +2,18 @@ Source: cubicweb-trustedauth
Section: web
Priority: optional
Maintainer: LOGILAB S.A. (Paris, FRANCE) <contact@logilab.fr>
Build-Depends: debhelper (>=
5.0.37.1
), python (>=
2.4), python-dev (>=2.4
)
Build-Depends: debhelper (>=
7
), python (>=
2.6.5
)
Standards-Version: 3.8.0
Homepage: http://www.cubicweb.org/project/cubicweb-trustedauth
X-Python-Version: >= 2.6
Package: cubicweb-trustedauth
Architecture: all
Depends: cubicweb-common (>= 3.9.3), python-crypto
Depends:
cubicweb-common (>= 3.17.0),
python-crypto,
${misc:Depends},
${python:Depends},
Description: authentication plugin for CubicWeb instances behind a reverse proxy
CubicWeb is a semantic web application framework.
.
...
...
debian/cubicweb-trustedauth.prerm
deleted
100644 → 0
View file @
fcafe0af
#!/bin/sh -e
delete_pyo_pyc
()
{
find /usr/share/cubicweb/cubes/trustedauth
-name
"*.pyc"
| xargs
rm
-f
find /usr/share/cubicweb/cubes/trustedauth
-name
"*.pyo"
| xargs
rm
-f
}
case
"
$1
"
in
failed-upgrade|abort-install|abort-upgrade|disappear
)
;;
upgrade
)
delete_pyo_pyc
;;
remove
)
delete_pyo_pyc
;;
purge
)
;;
*
)
echo
"postrm called with unknown argument
\`
$1
'"
>
&2
exit
1
esac
#DEBHELPER#
debian/rules
View file @
37512862
...
...
@@ -38,6 +38,7 @@ binary-indep: build install
dh_installdocs -i
dh_installman -i
dh_link -i
dh_python2 -i /usr/share/cubicweb
dh_compress -i -X.py -X.ini -X.xml -Xtest
dh_fixperms -i
dh_installdeb -i
...
...
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