1 |
radhermit 13/08/27 22:19:53 |
2 |
|
3 |
Modified: snakeoil-9999.ebuild ChangeLog |
4 |
Log: |
5 |
Convert to distutils-r1 (patch by mgorny). |
6 |
|
7 |
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3) |
8 |
|
9 |
Revision Changes Path |
10 |
1.4 dev-python/snakeoil/snakeoil-9999.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/snakeoil/snakeoil-9999.ebuild?rev=1.4&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/snakeoil/snakeoil-9999.ebuild?rev=1.4&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/snakeoil/snakeoil-9999.ebuild?r1=1.3&r2=1.4 |
15 |
|
16 |
Index: snakeoil-9999.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/snakeoil/snakeoil-9999.ebuild,v |
19 |
retrieving revision 1.3 |
20 |
retrieving revision 1.4 |
21 |
diff -u -r1.3 -r1.4 |
22 |
--- snakeoil-9999.ebuild 18 Oct 2012 12:18:50 -0000 1.3 |
23 |
+++ snakeoil-9999.ebuild 27 Aug 2013 22:19:53 -0000 1.4 |
24 |
@@ -1,17 +1,14 @@ |
25 |
-# Copyright 1999-2012 Gentoo Foundation |
26 |
+# Copyright 1999-2013 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/snakeoil/snakeoil-9999.ebuild,v 1.3 2012/10/18 12:18:50 ferringb Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/snakeoil/snakeoil-9999.ebuild,v 1.4 2013/08/27 22:19:53 radhermit Exp $ |
30 |
|
31 |
-EAPI="2" |
32 |
-SUPPORT_PYTHON_ABIS="1" |
33 |
- |
34 |
-PYTHON_ABI="2.5 2.6 2.7 3.1 3.2" |
35 |
-EGIT_REPO_URI="https://code.google.com/p/snakeoil/" |
36 |
-inherit distutils git-2 |
37 |
+EAPI=4 |
38 |
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) |
39 |
+inherit distutils-r1 git-2 |
40 |
|
41 |
DESCRIPTION="Miscellaneous python utility code." |
42 |
HOMEPAGE="http://snakeoil.googlecode.com/" |
43 |
-SRC_URI="" |
44 |
+EGIT_REPO_URI="https://code.google.com/p/snakeoil/" |
45 |
|
46 |
LICENSE="BSD" |
47 |
SLOT="0" |
48 |
@@ -21,33 +18,11 @@ |
49 |
DEPEND="!<sys-apps/pkgcore-0.4.7.8" |
50 |
RDEPEND=${DEPEND} |
51 |
|
52 |
-DOCS="AUTHORS NEWS" |
53 |
- |
54 |
-pkg_setup() { |
55 |
+python_configure_all() { |
56 |
# disable snakeoil 2to3 caching |
57 |
unset PY2TO3_CACHEDIR |
58 |
- python_pkg_setup |
59 |
- |
60 |
- # A hack to install for all versions of Python in the system. |
61 |
- # pkgcore needs it to support upgrading to a different Python slot. |
62 |
- PYTHON_ABIS="" |
63 |
- local python_interpreter |
64 |
- for python_interpreter in /usr/bin/python{2.[4-9],3.[1-9]}; do |
65 |
- if [[ -x "${python_interpreter}" ]]; then |
66 |
- PYTHON_ABIS+=" ${python_interpreter#/usr/bin/python}" |
67 |
- fi |
68 |
- done |
69 |
- export PYTHON_ABIS="${PYTHON_ABIS# }" |
70 |
} |
71 |
|
72 |
-src_test() { |
73 |
- testing() { |
74 |
- local tempdir |
75 |
- tempdir="${T}/tests/python-${PYTHON_ABI}" |
76 |
- mkdir -p "${tempdir}" || die "tempdir creation failed" |
77 |
- cp -r "${S}" "${tempdir}" || die "test copy failed" |
78 |
- cd "${tempdir}/${P}" |
79 |
- PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib*)" "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" test |
80 |
- } |
81 |
- python_execute_function testing |
82 |
+python_test() { |
83 |
+ esetup.py test |
84 |
} |
85 |
|
86 |
|
87 |
|
88 |
1.60 dev-python/snakeoil/ChangeLog |
89 |
|
90 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/snakeoil/ChangeLog?rev=1.60&view=markup |
91 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/snakeoil/ChangeLog?rev=1.60&content-type=text/plain |
92 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/snakeoil/ChangeLog?r1=1.59&r2=1.60 |
93 |
|
94 |
Index: ChangeLog |
95 |
=================================================================== |
96 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/snakeoil/ChangeLog,v |
97 |
retrieving revision 1.59 |
98 |
retrieving revision 1.60 |
99 |
diff -u -r1.59 -r1.60 |
100 |
--- ChangeLog 17 Jun 2013 18:45:15 -0000 1.59 |
101 |
+++ ChangeLog 27 Aug 2013 22:19:53 -0000 1.60 |
102 |
@@ -1,6 +1,9 @@ |
103 |
# ChangeLog for dev-python/snakeoil |
104 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
105 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/snakeoil/ChangeLog,v 1.59 2013/06/17 18:45:15 radhermit Exp $ |
106 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/snakeoil/ChangeLog,v 1.60 2013/08/27 22:19:53 radhermit Exp $ |
107 |
+ |
108 |
+ 27 Aug 2013; Tim Harder <radhermit@g.o> snakeoil-9999.ebuild: |
109 |
+ Convert to distutils-r1 (patch by mgorny). |
110 |
|
111 |
17 Jun 2013; Tim Harder <radhermit@g.o> metadata.xml: |
112 |
Add myself as a maintainer. |