Commit 3451a2c6 authored by Florent Cayré's avatar Florent Cayré
Browse files

[packaging] Depend on CW >= 3.18 and review debian packaging

parent 90e5c3972c07
......@@ -14,7 +14,7 @@ author_email = 'Florent Cayré <florent.cayre@gmail.com>'
description = 'Provides a way to translate entity fields individually.'
web = 'http://www.cubicweb.org/project/%s' % distname
__depends__ = {'cubicweb': '>= 3.13.5'}
__depends__ = {'cubicweb': '>= 3.18.0'}
__recommends__ = {}
......
......@@ -2,5 +2,4 @@ cubicweb-i18nfield (0.1.0-1) unstable; urgency=low
* initial release
--
-- Florent Cayré <florent.cayre@logilab.fr> Fri, 24 Oct 2014 12:28:28 +0200
Source: cubicweb-i18nfield
Section: web
Priority: optional
Maintainer: LOGILAB S.A. (Paris, FRANCE) <Florent Cayré <florent.cayre@gmail.com>>
Build-Depends: debhelper (>= 5.0.37.1), python (>=2.4), python-dev (>=2.4)
Standards-Version: 3.8.0
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
Package: cubicweb-i18nfield
Architecture: all
Depends: cubicweb-common (>= 3.13.5)
Depends:
cubicweb-common (>= 3.18.0),
${python:Depends},
${misc:Depends},
Description: Provides a way to translate entity fields individually.
CubicWeb is a semantic web application framework.
.
......
Upstream Author:
Upstream Author:
LOGILAB S.A. (Paris, FRANCE) <Florent Cayré <florent.cayre@gmail.com>>
LOGILAB S.A. (Paris, FRANCE) <contact@logilab.fr>
Copyright:
Copyright (c) 2011 LOGILAB S.A. (Paris, FRANCE).
http://www.cubicweb.org/project/cubicweb-i18nfield -- mailto:Florent Cayré <florent.cayre@gmail.com>
Copyright (c) 2014 LOGILAB S.A. (Paris, FRANCE).
http://www.logilab.fr -- mailto:contact@logilab.fr
#!/bin/sh -e
delete_pyo_pyc () {
find /usr/share/cubicweb/cubes/i18nfield -name "*.pyc" | xargs rm -f
find /usr/share/cubicweb/cubes/i18nfield -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#
......@@ -4,7 +4,10 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
build: build-stamp
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
......@@ -12,10 +15,9 @@ build-stamp:
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
rm -rf build
find . -name "*.pyc" | xargs rm -f
find . -name "*.pyc" -delete
dh_clean
install: build
......@@ -35,8 +37,9 @@ binary-indep: build install
dh_install -i
dh_installchangelogs -i
dh_installexamples -i
dh_installdocs -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
......
Supports Markdown
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