1 |
idella4 15/03/06 11:37:48 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: dnspython-1.12.0-r1.ebuild |
5 |
Log: |
6 |
revbump; add py3 support by addition of dnspython3 tarball, SRC_URI updated, virtual re-write, assistance from NP-Hardass in achieving final form of the ebuild |
7 |
|
8 |
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.94 dev-python/dnspython/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dnspython/ChangeLog?rev=1.94&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dnspython/ChangeLog?rev=1.94&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dnspython/ChangeLog?r1=1.93&r2=1.94 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/dnspython/ChangeLog,v |
20 |
retrieving revision 1.93 |
21 |
retrieving revision 1.94 |
22 |
diff -u -r1.93 -r1.94 |
23 |
--- ChangeLog 26 Jan 2015 14:27:05 -0000 1.93 |
24 |
+++ ChangeLog 6 Mar 2015 11:37:48 -0000 1.94 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for dev-python/dnspython |
27 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/dnspython/ChangeLog,v 1.93 2015/01/26 14:27:05 mrueg Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/dnspython/ChangeLog,v 1.94 2015/03/06 11:37:48 idella4 Exp $ |
30 |
+ |
31 |
+*dnspython-1.12.0-r1 (06 Mar 2015) |
32 |
+ |
33 |
+ 06 Mar 2015; Ian Delaney <idella4@g.o> +dnspython-1.12.0-r1.ebuild: |
34 |
+ revbump; add py3 support by addition of dnspython3 tarball, SRC_URI updated, |
35 |
+ virtual re-write, assistance from NP-Hardass in achieving final form of the |
36 |
+ ebuild |
37 |
|
38 |
26 Jan 2015; Manuel RĂ¼ger <mrueg@g.o> -dnspython-1.10.0-r1.ebuild, |
39 |
-dnspython-1.10.0.ebuild, -dnspython-1.9.4.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-python/dnspython/dnspython-1.12.0-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dnspython/dnspython-1.12.0-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dnspython/dnspython-1.12.0-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: dnspython-1.12.0-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2015 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/dnspython/dnspython-1.12.0-r1.ebuild,v 1.1 2015/03/06 11:37:48 idella4 Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
PYTHON_COMPAT=( python{2_7,3_3,3_4} ) |
56 |
|
57 |
inherit distutils-r1 |
58 |
|
59 |
PN3="${PN}3" |
60 |
P3="${PN3}-${PV}" |
61 |
|
62 |
DESCRIPTION="DNS toolkit for Python" |
63 |
HOMEPAGE="http://www.dnspython.org/ http://pypi.python.org/pypi/dnspython" |
64 |
SRC_URI="http://www.dnspython.org/kits/${PV}/${P}.tar.gz |
65 |
http://www.dnspython.org/kits3/${PV}/${P3}.zip" |
66 |
|
67 |
LICENSE="ISC" |
68 |
SLOT="0" |
69 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris" |
70 |
IUSE="examples test" |
71 |
|
72 |
DEPEND="dev-python/pycrypto[${PYTHON_USEDEP}] |
73 |
app-arch/unzip" |
74 |
RDEPEND="${DEPEND}" |
75 |
|
76 |
S2="${S}" |
77 |
S3="${WORKDIR}/${P3}" |
78 |
|
79 |
# For testsuite |
80 |
DISTUTILS_IN_SOURCE_BUILD=1 |
81 |
|
82 |
python_prepare() { |
83 |
if python_is_python3; then |
84 |
cp -r "${WORKDIR}/${P3}" "${BUILD_DIR}" || die |
85 |
else |
86 |
distutils-r1_python_prepare |
87 |
fi |
88 |
} |
89 |
|
90 |
python_compile() { |
91 |
if python_is_python3; then |
92 |
run_in_build_dir distutils-r1_python_compile |
93 |
else |
94 |
distutils-r1_python_compile |
95 |
fi |
96 |
} |
97 |
|
98 |
python_install(){ |
99 |
if python_is_python3; then |
100 |
run_in_build_dir distutils-r1_python_install |
101 |
else |
102 |
distutils-r1_python_install |
103 |
fi |
104 |
} |
105 |
|
106 |
python_test() { |
107 |
if python_is_python3; then |
108 |
pushd "${S3}/tests" &> /dev/null |
109 |
else |
110 |
pushd "${S2}/tests" &> /dev/null |
111 |
fi |
112 |
"${PYTHON}" utest.py || die "tests failed under ${EPYTHON}" |
113 |
einfo "Testsuite passed under ${EPYTHON}" |
114 |
popd &> /dev/null |
115 |
} |
116 |
|
117 |
python_install_all() { |
118 |
use examples && local EXAMPLES=( examples/. ) |
119 |
distutils-r1_python_install_all |
120 |
} |