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
i18nfield
Commits
53b732e4ad21
Commit
3451a2c6
authored
Oct 24, 2014
by
Florent Cayré
Browse files
[packaging] Depend on CW >= 3.18 and review debian packaging
parent
90e5c3972c07
Changes
7
Hide whitespace changes
Inline
Side-by-side
__pkginfo__.py
View file @
53b732e4
...
...
@@ -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.1
3.5
'
}
__depends__
=
{
'cubicweb'
:
'>= 3.1
8.0
'
}
__recommends__
=
{}
...
...
debian/changelog
View file @
53b732e4
...
...
@@ -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
debian/compat
View file @
53b732e4
5
7
debian/control
View file @
53b732e4
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.
.
...
...
debian/copyright
View file @
53b732e4
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) 201
1
LOGILAB S.A. (Paris, FRANCE).
http://www.
cubicweb.org/project/cubicweb-i18nfield -- mailto:Florent Cayré <florent.cayre@gmail.com>
Copyright (c) 201
4
LOGILAB S.A. (Paris, FRANCE).
http://www.
logilab.fr -- mailto:contact@logilab.fr
debian/cubicweb-i18nfield.prerm
deleted
100644 → 0
View file @
90e5c397
#!/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#
debian/rules
View file @
53b732e4
...
...
@@ -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
...
...
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