Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/doit/
Date: Sun, 28 May 2017 10:22:35
Message-Id: 1495966920.8428884cfdb24fe5e008f77d1598dd5e936b3faa.pacho@gentoo
1 commit: 8428884cfdb24fe5e008f77d1598dd5e936b3faa
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 28 10:22:00 2017 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun May 28 10:22:00 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8428884c
7
8 dev-python/doit: Drop old
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 dev-python/doit/Manifest | 2 --
13 dev-python/doit/doit-0.27.0.ebuild | 62 ------------------------------------
14 dev-python/doit/doit-0.28.0.ebuild | 65 --------------------------------------
15 3 files changed, 129 deletions(-)
16
17 diff --git a/dev-python/doit/Manifest b/dev-python/doit/Manifest
18 index 8e27362af04..d3660ca823b 100644
19 --- a/dev-python/doit/Manifest
20 +++ b/dev-python/doit/Manifest
21 @@ -1,4 +1,2 @@
22 DIST doit-0.23.0.tar.gz 316588 SHA256 5d0421be6e5528e3be11bd0ede5c232e0c91f2b98b55688d7db1ce0638e1efbb SHA512 f2298d76d9ce3e7ed5f356bfdeeef8d5d99ebae74571666a3d2b3843fc63f5a8f76cd6cdedcfe8fc81bc653ecf04951c11f50abd16e9aa8fc7539e3c224b0e4c WHIRLPOOL cfb09484e25cfbc9618ef5b4a750010d16281a13772a37a8da59f2f6e1ebed77bbc40c06f263062c0464e6689415aeac695c0ef9e5cfe561349efea61f8be8e3
23 -DIST doit-0.27.0.tar.gz 193700 SHA256 06662c8677fb3e925c262559b7d3c5d8e08a10320be3386a7d348702e8e3ed8a SHA512 afca1029873c9fca0632ef43bc75762eed0738b7e4c1b8e9babf10543b15f78c526794462a83fa2fac1b35f2ff9152afbce8660b1dfbd86ce9dd73d47c70a9f7 WHIRLPOOL 60c022977b6dfe9e3e66d206315ac23a291c4df58bc07b4f8120622f257b636b80340dc267e5615de5876d40a500cf0fbaf3f531c6f41dce53d91ebdc6d65d7e
24 -DIST doit-0.28.0.tar.gz 213582 SHA256 12a2febde2566728344acbdb6ad92f82417228cd548f0f467187d1e67047513f SHA512 ff1eeb1819ad8a962b98c6d96aef8173bc9793a3afd6e2086f1f80fa60eba73c71e16c1467be89f2f78c9c9516f3c780bf57d7f461df96940f2feb51afd2ad3a WHIRLPOOL cf759118284c8e7b74299bf7fa92e99bdf5302e7f1dacd86c301a14d13eca5a5611d2cd57b0411a76439df64add439627040dcc6902b2d43ffd95a3c942441da
25 DIST doit-0.29.0.tar.gz 222341 SHA256 fcb479482644de3e83d6faed9b29373f1f38942b79b991a7432943a84416d5cd SHA512 a686457df31b414d0c3797789e0ae1ae5cdfa3674025236419cb59b254f342cd2db07911ef18b2cb576d8d817b44035b9372265b34b786b2779fb7074b394de1 WHIRLPOOL 64e5cedb8d3ce0b99287713c05041da477182d63f745c7abc10cb72fd3d856fee62514cfa97c4ae6a433e12dd43d70bf4dea751eff99b91430b538dbf0ab7012
26
27 diff --git a/dev-python/doit/doit-0.27.0.ebuild b/dev-python/doit/doit-0.27.0.ebuild
28 deleted file mode 100644
29 index 35b855dfc3d..00000000000
30 --- a/dev-python/doit/doit-0.27.0.ebuild
31 +++ /dev/null
32 @@ -1,62 +0,0 @@
33 -# Copyright 1999-2015 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=5
37 -PYTHON_COMPAT=( python{2_7,3_4} pypy )
38 -inherit eutils distutils-r1
39 -
40 -DESCRIPTION="Automation tool"
41 -HOMEPAGE="http://python-doit.sourceforge.net/ https://pypi.python.org/pypi/doit"
42 -SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
43 -
44 -LICENSE="MIT"
45 -SLOT="0"
46 -KEYWORDS="~amd64"
47 -IUSE="test"
48 -
49 -RDEPEND="dev-python/pyinotify[${PYTHON_USEDEP}]
50 - dev-python/six[${PYTHON_USEDEP}]"
51 -DEPEND="test? ( ${RDEPEND}
52 - dev-python/pytest[${PYTHON_USEDEP}]
53 - dev-python/mock[${PYTHON_USEDEP}] )"
54 -# Required for test phase
55 -DISTUTILS_IN_SOURCE_BUILD=1
56 -DOCS=( AUTHORS CHANGES README.rst TODO.txt dev_requirements.txt )
57 -
58 -python_prepare_all() {
59 - use test && DISTUTILS_IN_SOURCE_BUILD=1
60 - # Tests of this file fail due to setting of a tmp dir which can be fixed.
61 - # This known spurious cause does not warrant halting a testsuite
62 - rm -f tests/test_cmd_strace.py || die
63 -
64 - # These 2 tests succeed on running the suite a second time, so they are NOT broken
65 - # A gentoo test phase is run only once, so these unbroken tests can be safely skipped.
66 - sed -e s':testInit:_&:' -e s':testLoop:_&:' \
67 - -i tests/test_filewatch.py || die
68 -
69 - distutils-r1_python_prepare_all
70 -}
71 -
72 -python_test() {
73 - # Testsuite is designed to be run by py.test, called by runtests.py
74 - # https://bitbucket.org/schettino72/doit/issue/78/tests-that-fail-under-pypy
75 - if [[ "${EPYTHON}" == pypy-c2.0 ]]; then
76 - sed -e 's:test_corrupted_file:_&:' \
77 - -e 's:test_corrupted_file_unrecognized_excep_pdep:_&:' \
78 - -i tests/test_dependency.py || die
79 - elif [[ "${EPYTHON}" == python2.6 ]]; then
80 - rm -f tests/test___main__.py || die
81 - sed -e 's:test_invalid_param_stdout:_&:' \
82 - -i tests/test_action.py || die
83 - sed -e 's:test_run_wait:_&:' \
84 - -i tests/test_cmd_auto.py || die
85 - fi
86 - "${PYTHON}" runtests.py
87 -}
88 -
89 -src_install() {
90 - distutils-r1_src_install
91 -
92 - dodoc -r doc
93 - docompress -x /usr/share/doc/${PF}/doc
94 -}
95
96 diff --git a/dev-python/doit/doit-0.28.0.ebuild b/dev-python/doit/doit-0.28.0.ebuild
97 deleted file mode 100644
98 index 4bbf19b5db5..00000000000
99 --- a/dev-python/doit/doit-0.28.0.ebuild
100 +++ /dev/null
101 @@ -1,65 +0,0 @@
102 -# Copyright 1999-2015 Gentoo Foundation
103 -# Distributed under the terms of the GNU General Public License v2
104 -
105 -EAPI=5
106 -PYTHON_COMPAT=( python{2_7,3_4} pypy )
107 -inherit eutils distutils-r1
108 -
109 -DESCRIPTION="Automation tool"
110 -HOMEPAGE="http://python-doit.sourceforge.net/ https://pypi.python.org/pypi/doit"
111 -SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
112 -
113 -LICENSE="MIT"
114 -SLOT="0"
115 -KEYWORDS="~amd64 ~x86"
116 -IUSE="doc test"
117 -
118 -RDEPEND="
119 - dev-python/pyinotify[${PYTHON_USEDEP}]
120 - dev-python/six[${PYTHON_USEDEP}]
121 - >=dev-python/doit-py-0.3.0[${PYTHON_USEDEP}]
122 - $(python_gen_cond_dep 'dev-python/configparser[${PYTHON_USEDEP}]' python2_7 pypy)
123 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
124 -DEPEND="test? ( ${RDEPEND}
125 - dev-python/pytest[${PYTHON_USEDEP}]
126 - dev-python/mock[${PYTHON_USEDEP}]
127 - dev-python/pyflakes[${PYTHON_USEDEP}]
128 - dev-python/coverage[${PYTHON_USEDEP}] )"
129 -
130 -# Required for test phase
131 -DISTUTILS_IN_SOURCE_BUILD=1
132 -
133 -python_prepare_all() {
134 - # Disable test failing due to impact on PATH run in a sandbox
135 - sed -e s':test_target:_&:' -i tests/test_cmd_strace.py || die
136 -
137 - # Test requires connection to an absent database
138 - sed -e s':testIgnoreAll:_&:' -i tests/test_cmd_ignore.py || die
139 -
140 - distutils-r1_python_prepare_all
141 -}
142 -
143 -python_compile_all() {
144 - use doc && emake -C doc html
145 -}
146 -
147 -python_test() {
148 - local -x TMPDIR="${T}"
149 - # disable tests where pypy's treatment of some tests' use of a db is incompatible
150 -
151 - if [[ "${EPYTHON}" == pypy ]]; then
152 - sed -e 's:test_remove_all:_&:' -i tests/test_dependency.py || die
153 - sed -e 's:testForgetAll:_&:' -i tests/test_cmd_forget.py || die
154 - sed -e 's:test_not_picklable:_&:' \
155 - -e 's:test_task_not_picklabe_multiprocess:_&:' \
156 - -i tests/test_runner.py || die
157 - fi
158 -
159 - py.test || die "Tests failed under ${EPYTHON}"
160 -}
161 -
162 -src_install() {
163 - use doc && HTML_DOCS=( doc/_build/html/. )
164 -
165 - distutils-r1_src_install
166 -}