1 |
commit: a7ba95efba7bfff0660cc725274e1f8b6a2756a7 |
2 |
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 18 17:31:57 2016 +0000 |
4 |
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 18 17:45:58 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7ba95ef |
7 |
|
8 |
dev-python/doit: Bump |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
|
12 |
dev-python/doit/Manifest | 1 + |
13 |
dev-python/doit/doit-0.29.0.ebuild | 69 ++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 70 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/doit/Manifest b/dev-python/doit/Manifest |
17 |
index 6536497..8e27362 100644 |
18 |
--- a/dev-python/doit/Manifest |
19 |
+++ b/dev-python/doit/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST doit-0.23.0.tar.gz 316588 SHA256 5d0421be6e5528e3be11bd0ede5c232e0c91f2b98b55688d7db1ce0638e1efbb SHA512 f2298d76d9ce3e7ed5f356bfdeeef8d5d99ebae74571666a3d2b3843fc63f5a8f76cd6cdedcfe8fc81bc653ecf04951c11f50abd16e9aa8fc7539e3c224b0e4c WHIRLPOOL cfb09484e25cfbc9618ef5b4a750010d16281a13772a37a8da59f2f6e1ebed77bbc40c06f263062c0464e6689415aeac695c0ef9e5cfe561349efea61f8be8e3 |
22 |
DIST doit-0.27.0.tar.gz 193700 SHA256 06662c8677fb3e925c262559b7d3c5d8e08a10320be3386a7d348702e8e3ed8a SHA512 afca1029873c9fca0632ef43bc75762eed0738b7e4c1b8e9babf10543b15f78c526794462a83fa2fac1b35f2ff9152afbce8660b1dfbd86ce9dd73d47c70a9f7 WHIRLPOOL 60c022977b6dfe9e3e66d206315ac23a291c4df58bc07b4f8120622f257b636b80340dc267e5615de5876d40a500cf0fbaf3f531c6f41dce53d91ebdc6d65d7e |
23 |
DIST doit-0.28.0.tar.gz 213582 SHA256 12a2febde2566728344acbdb6ad92f82417228cd548f0f467187d1e67047513f SHA512 ff1eeb1819ad8a962b98c6d96aef8173bc9793a3afd6e2086f1f80fa60eba73c71e16c1467be89f2f78c9c9516f3c780bf57d7f461df96940f2feb51afd2ad3a WHIRLPOOL cf759118284c8e7b74299bf7fa92e99bdf5302e7f1dacd86c301a14d13eca5a5611d2cd57b0411a76439df64add439627040dcc6902b2d43ffd95a3c942441da |
24 |
+DIST doit-0.29.0.tar.gz 222341 SHA256 fcb479482644de3e83d6faed9b29373f1f38942b79b991a7432943a84416d5cd SHA512 a686457df31b414d0c3797789e0ae1ae5cdfa3674025236419cb59b254f342cd2db07911ef18b2cb576d8d817b44035b9372265b34b786b2779fb7074b394de1 WHIRLPOOL 64e5cedb8d3ce0b99287713c05041da477182d63f745c7abc10cb72fd3d856fee62514cfa97c4ae6a433e12dd43d70bf4dea751eff99b91430b538dbf0ab7012 |
25 |
|
26 |
diff --git a/dev-python/doit/doit-0.29.0.ebuild b/dev-python/doit/doit-0.29.0.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..eedd1cd |
29 |
--- /dev/null |
30 |
+++ b/dev-python/doit/doit-0.29.0.ebuild |
31 |
@@ -0,0 +1,69 @@ |
32 |
+# Copyright 1999-2015 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI=5 |
37 |
+PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) |
38 |
+inherit eutils distutils-r1 |
39 |
+ |
40 |
+RESTRICT="test" # can't work as it imports nonexistant modules from coverage |
41 |
+ |
42 |
+DESCRIPTION="Automation tool" |
43 |
+HOMEPAGE="http://python-doit.sourceforge.net/ https://pypi.python.org/pypi/doit" |
44 |
+SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="MIT" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+IUSE="doc test" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ dev-python/pyinotify[${PYTHON_USEDEP}] |
53 |
+ dev-python/six[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/doit-py-0.3.0[${PYTHON_USEDEP}] |
55 |
+ $(python_gen_cond_dep 'dev-python/configparser[${PYTHON_USEDEP}]' python2_7 pypy) |
56 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" |
57 |
+DEPEND="test? ( ${RDEPEND} |
58 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
59 |
+ dev-python/mock[${PYTHON_USEDEP}] |
60 |
+ dev-python/pyflakes[${PYTHON_USEDEP}] |
61 |
+ dev-python/coverage[${PYTHON_USEDEP}] |
62 |
+ dev-python/cloudpickle[${PYTHON_USEDEP}] )" |
63 |
+ |
64 |
+# Required for test phase |
65 |
+DISTUTILS_IN_SOURCE_BUILD=1 |
66 |
+ |
67 |
+python_prepare_all() { |
68 |
+ # Disable test failing due to impact on PATH run in a sandbox |
69 |
+ sed -e s':test_target:_&:' -i tests/test_cmd_strace.py || die |
70 |
+ |
71 |
+ # Test requires connection to an absent database |
72 |
+ sed -e s':testIgnoreAll:_&:' -i tests/test_cmd_ignore.py || die |
73 |
+ |
74 |
+ distutils-r1_python_prepare_all |
75 |
+} |
76 |
+ |
77 |
+python_compile_all() { |
78 |
+ use doc && emake -C doc html |
79 |
+} |
80 |
+ |
81 |
+python_test() { |
82 |
+ local -x TMPDIR="${T}" |
83 |
+ # disable tests where pypy's treatment of some tests' use of a db is incompatible |
84 |
+ |
85 |
+ if [[ "${EPYTHON}" == pypy ]]; then |
86 |
+ sed -e 's:test_remove_all:_&:' -i tests/test_dependency.py || die |
87 |
+ sed -e 's:testForgetAll:_&:' -i tests/test_cmd_forget.py || die |
88 |
+ sed -e 's:test_not_picklable:_&:' \ |
89 |
+ -e 's:test_task_not_picklabe_multiprocess:_&:' \ |
90 |
+ -i tests/test_runner.py || die |
91 |
+ fi |
92 |
+ |
93 |
+ py.test || die "Tests failed under ${EPYTHON}" |
94 |
+} |
95 |
+ |
96 |
+src_install() { |
97 |
+ use doc && HTML_DOCS=( doc/_build/html/. ) |
98 |
+ |
99 |
+ distutils-r1_src_install |
100 |
+} |