1 |
commit: 378ccfd5dad89a85441c70e5af4d9fa8c652e8ac |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 17 16:12:40 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 17 16:28:14 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=378ccfd5 |
7 |
|
8 |
dev-python/sure: Add python3.5 support and fix QA issues |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
dev-python/sure/sure-1.2.5-r1.ebuild | 16 ++++++---------- |
14 |
1 file changed, 6 insertions(+), 10 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/sure/sure-1.2.5-r1.ebuild b/dev-python/sure/sure-1.2.5-r1.ebuild |
17 |
index 177d280..dbb9ff4 100644 |
18 |
--- a/dev-python/sure/sure-1.2.5-r1.ebuild |
19 |
+++ b/dev-python/sure/sure-1.2.5-r1.ebuild |
20 |
@@ -3,16 +3,15 @@ |
21 |
# $Id$ |
22 |
|
23 |
EAPI=5 |
24 |
-PYTHON_COMPAT=( python2_7 python3_{3,4} pypy ) |
25 |
+ |
26 |
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy ) |
27 |
|
28 |
inherit distutils-r1 vcs-snapshot |
29 |
|
30 |
-DESCRIPTION="utility belt for automated testing in python for python" |
31 |
+DESCRIPTION="Utility belt for automated testing in python for python" |
32 |
HOMEPAGE="https://github.com/gabrielfalcao/sure" |
33 |
SRC_URI="https://github.com/gabrielfalcao/${PN}/archive/${PV}.tar.gz -> ${P}-r1.tar.gz" |
34 |
|
35 |
-S="${WORKDIR}/${P}-r1" |
36 |
- |
37 |
LICENSE="GPL-3" |
38 |
SLOT="0" |
39 |
KEYWORDS="amd64 x86" |
40 |
@@ -28,15 +27,12 @@ DEPEND=" |
41 |
" |
42 |
RDEPEND="${CDEPEND}" |
43 |
|
44 |
+S="${WORKDIR}/${P}-r1" |
45 |
+ |
46 |
python_prepare_all() { |
47 |
- ebegin 'patching setup.py' |
48 |
sed \ |
49 |
-e "82s/read_version()/'${PV}'/" \ |
50 |
- -i setup.py |
51 |
- STATUS=$? |
52 |
- eend ${STATUS} |
53 |
- [[ ${STATUS} -gt 0 ]] && die |
54 |
- |
55 |
+ -i setup.py || die |
56 |
distutils-r1_python_prepare_all |
57 |
} |