1 |
floppym 13/08/02 02:14:13 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: python-debian-0.1.21_p2.ebuild |
5 |
Log: |
6 |
Version bump. Convert to distutils-r1 and enable python3 support. |
7 |
|
8 |
(Portage version: 2.2.0_alpha191/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.4 dev-python/python-debian/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-debian/ChangeLog?rev=1.4&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-debian/ChangeLog?rev=1.4&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-debian/ChangeLog?r1=1.3&r2=1.4 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/python-debian/ChangeLog,v |
20 |
retrieving revision 1.3 |
21 |
retrieving revision 1.4 |
22 |
diff -u -r1.3 -r1.4 |
23 |
--- ChangeLog 9 Sep 2011 05:05:44 -0000 1.3 |
24 |
+++ ChangeLog 2 Aug 2013 02:14:13 -0000 1.4 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for dev-python/python-debian |
27 |
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-debian/ChangeLog,v 1.3 2011/09/09 05:05:44 floppym Exp $ |
29 |
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-debian/ChangeLog,v 1.4 2013/08/02 02:14:13 floppym Exp $ |
31 |
+ |
32 |
+*python-debian-0.1.21_p2 (02 Aug 2013) |
33 |
+ |
34 |
+ 02 Aug 2013; Mike Gilbert <floppym@g.o> |
35 |
+ +python-debian-0.1.21_p2.ebuild: |
36 |
+ Version bump. Convert to distutils-r1 and enable python3 support. |
37 |
|
38 |
09 Sep 2011; Mike Gilbert <floppym@g.o> python-debian-0.1.21.ebuild: |
39 |
Tests require app-arch/dpkg |
40 |
@@ -13,4 +19,3 @@ |
41 |
08 Sep 2011; Mike Gilbert <floppym@g.o> +python-debian-0.1.21.ebuild, |
42 |
+metadata.xml: |
43 |
New package for bug 356129 |
44 |
- |
45 |
|
46 |
|
47 |
|
48 |
1.1 dev-python/python-debian/python-debian-0.1.21_p2.ebuild |
49 |
|
50 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-debian/python-debian-0.1.21_p2.ebuild?rev=1.1&view=markup |
51 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-debian/python-debian-0.1.21_p2.ebuild?rev=1.1&content-type=text/plain |
52 |
|
53 |
Index: python-debian-0.1.21_p2.ebuild |
54 |
=================================================================== |
55 |
# Copyright 1999-2013 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-debian/python-debian-0.1.21_p2.ebuild,v 1.1 2013/08/02 02:14:13 floppym Exp $ |
58 |
|
59 |
EAPI="5" |
60 |
PYTHON_COMPAT=( python{2_{6,7},3_{1,2,3}} pypy{1_9,2_0} ) |
61 |
|
62 |
inherit distutils-r1 |
63 |
|
64 |
DESCRIPTION="Python modules to work with Debian-related data formats" |
65 |
HOMEPAGE="http://packages.debian.org/sid/python-debian" |
66 |
MY_PV="${PV/_p/+nmu}" |
67 |
SRC_URI="mirror://debian/pool/main/${P:0:1}/${PN}/${PN}_${MY_PV}.tar.gz" |
68 |
|
69 |
LICENSE="GPL-2 GPL-3" |
70 |
SLOT="0" |
71 |
KEYWORDS="~amd64 ~x86" |
72 |
IUSE="examples test" |
73 |
|
74 |
RDEPEND="dev-python/chardet[${PYTHON_USEDEP}] |
75 |
dev-python/six[${PYTHON_USEDEP}]" |
76 |
DEPEND="${RDEPEND} |
77 |
dev-python/setuptools[${PYTHON_USEDEP}] |
78 |
test? ( app-arch/dpkg )" |
79 |
|
80 |
S="${WORKDIR}/${PN}-${MY_PV}" |
81 |
DISTUTILS_IN_SOURCE_BUILD=1 |
82 |
|
83 |
python_prepare_all() { |
84 |
sed -e "s/__CHANGELOG_VERSION__/${MY_PV}/" setup.py.in > setup.py || die |
85 |
distutils-r1_python_prepare_all |
86 |
} |
87 |
|
88 |
python_compile_all() { |
89 |
"${PYTHON}" lib/debian/doc-debtags > README.debtags || die |
90 |
} |
91 |
|
92 |
python_test() { |
93 |
pushd tests > /dev/null || die |
94 |
local t |
95 |
for t in test_*.py ; do |
96 |
"${PYTHON}" "${t}" || die "Testing failed with ${EPYTHON}" |
97 |
done |
98 |
popd > /dev/null || die |
99 |
} |
100 |
|
101 |
python_install_all() { |
102 |
use examples && local EXAMPLES=( examples/ ) |
103 |
distutils-r1_python_install_all |
104 |
} |