diff options
author | Pacho Ramos <pacho@gentoo.org> | 2017-05-28 12:22:00 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2017-05-28 12:22:00 +0200 |
commit | 8428884cfdb24fe5e008f77d1598dd5e936b3faa (patch) | |
tree | 90f17597bdc1021cea9cd44ed14763c78db08028 /dev-python/doit | |
parent | dev-python/doit: Support newer python (diff) | |
download | gentoo-8428884cfdb24fe5e008f77d1598dd5e936b3faa.tar.gz gentoo-8428884cfdb24fe5e008f77d1598dd5e936b3faa.tar.bz2 gentoo-8428884cfdb24fe5e008f77d1598dd5e936b3faa.zip |
dev-python/doit: Drop old
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-python/doit')
-rw-r--r-- | dev-python/doit/Manifest | 2 | ||||
-rw-r--r-- | dev-python/doit/doit-0.27.0.ebuild | 62 | ||||
-rw-r--r-- | dev-python/doit/doit-0.28.0.ebuild | 65 |
3 files changed, 0 insertions, 129 deletions
diff --git a/dev-python/doit/Manifest b/dev-python/doit/Manifest index 8e27362af04e..d3660ca823ba 100644 --- a/dev-python/doit/Manifest +++ b/dev-python/doit/Manifest @@ -1,4 +1,2 @@ DIST doit-0.23.0.tar.gz 316588 SHA256 5d0421be6e5528e3be11bd0ede5c232e0c91f2b98b55688d7db1ce0638e1efbb SHA512 f2298d76d9ce3e7ed5f356bfdeeef8d5d99ebae74571666a3d2b3843fc63f5a8f76cd6cdedcfe8fc81bc653ecf04951c11f50abd16e9aa8fc7539e3c224b0e4c WHIRLPOOL cfb09484e25cfbc9618ef5b4a750010d16281a13772a37a8da59f2f6e1ebed77bbc40c06f263062c0464e6689415aeac695c0ef9e5cfe561349efea61f8be8e3 -DIST doit-0.27.0.tar.gz 193700 SHA256 06662c8677fb3e925c262559b7d3c5d8e08a10320be3386a7d348702e8e3ed8a SHA512 afca1029873c9fca0632ef43bc75762eed0738b7e4c1b8e9babf10543b15f78c526794462a83fa2fac1b35f2ff9152afbce8660b1dfbd86ce9dd73d47c70a9f7 WHIRLPOOL 60c022977b6dfe9e3e66d206315ac23a291c4df58bc07b4f8120622f257b636b80340dc267e5615de5876d40a500cf0fbaf3f531c6f41dce53d91ebdc6d65d7e -DIST doit-0.28.0.tar.gz 213582 SHA256 12a2febde2566728344acbdb6ad92f82417228cd548f0f467187d1e67047513f SHA512 ff1eeb1819ad8a962b98c6d96aef8173bc9793a3afd6e2086f1f80fa60eba73c71e16c1467be89f2f78c9c9516f3c780bf57d7f461df96940f2feb51afd2ad3a WHIRLPOOL cf759118284c8e7b74299bf7fa92e99bdf5302e7f1dacd86c301a14d13eca5a5611d2cd57b0411a76439df64add439627040dcc6902b2d43ffd95a3c942441da DIST doit-0.29.0.tar.gz 222341 SHA256 fcb479482644de3e83d6faed9b29373f1f38942b79b991a7432943a84416d5cd SHA512 a686457df31b414d0c3797789e0ae1ae5cdfa3674025236419cb59b254f342cd2db07911ef18b2cb576d8d817b44035b9372265b34b786b2779fb7074b394de1 WHIRLPOOL 64e5cedb8d3ce0b99287713c05041da477182d63f745c7abc10cb72fd3d856fee62514cfa97c4ae6a433e12dd43d70bf4dea751eff99b91430b538dbf0ab7012 diff --git a/dev-python/doit/doit-0.27.0.ebuild b/dev-python/doit/doit-0.27.0.ebuild deleted file mode 100644 index 35b855dfc3da..000000000000 --- a/dev-python/doit/doit-0.27.0.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -PYTHON_COMPAT=( python{2_7,3_4} pypy ) -inherit eutils distutils-r1 - -DESCRIPTION="Automation tool" -HOMEPAGE="http://python-doit.sourceforge.net/ https://pypi.python.org/pypi/doit" -SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" - -RDEPEND="dev-python/pyinotify[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}]" -DEPEND="test? ( ${RDEPEND} - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] )" -# Required for test phase -DISTUTILS_IN_SOURCE_BUILD=1 -DOCS=( AUTHORS CHANGES README.rst TODO.txt dev_requirements.txt ) - -python_prepare_all() { - use test && DISTUTILS_IN_SOURCE_BUILD=1 - # Tests of this file fail due to setting of a tmp dir which can be fixed. - # This known spurious cause does not warrant halting a testsuite - rm -f tests/test_cmd_strace.py || die - - # These 2 tests succeed on running the suite a second time, so they are NOT broken - # A gentoo test phase is run only once, so these unbroken tests can be safely skipped. - sed -e s':testInit:_&:' -e s':testLoop:_&:' \ - -i tests/test_filewatch.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - # Testsuite is designed to be run by py.test, called by runtests.py - # https://bitbucket.org/schettino72/doit/issue/78/tests-that-fail-under-pypy - if [[ "${EPYTHON}" == pypy-c2.0 ]]; then - sed -e 's:test_corrupted_file:_&:' \ - -e 's:test_corrupted_file_unrecognized_excep_pdep:_&:' \ - -i tests/test_dependency.py || die - elif [[ "${EPYTHON}" == python2.6 ]]; then - rm -f tests/test___main__.py || die - sed -e 's:test_invalid_param_stdout:_&:' \ - -i tests/test_action.py || die - sed -e 's:test_run_wait:_&:' \ - -i tests/test_cmd_auto.py || die - fi - "${PYTHON}" runtests.py -} - -src_install() { - distutils-r1_src_install - - dodoc -r doc - docompress -x /usr/share/doc/${PF}/doc -} diff --git a/dev-python/doit/doit-0.28.0.ebuild b/dev-python/doit/doit-0.28.0.ebuild deleted file mode 100644 index 4bbf19b5db55..000000000000 --- a/dev-python/doit/doit-0.28.0.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -PYTHON_COMPAT=( python{2_7,3_4} pypy ) -inherit eutils distutils-r1 - -DESCRIPTION="Automation tool" -HOMEPAGE="http://python-doit.sourceforge.net/ https://pypi.python.org/pypi/doit" -SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc test" - -RDEPEND=" - dev-python/pyinotify[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - >=dev-python/doit-py-0.3.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/configparser[${PYTHON_USEDEP}]' python2_7 pypy) - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" -DEPEND="test? ( ${RDEPEND} - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pyflakes[${PYTHON_USEDEP}] - dev-python/coverage[${PYTHON_USEDEP}] )" - -# Required for test phase -DISTUTILS_IN_SOURCE_BUILD=1 - -python_prepare_all() { - # Disable test failing due to impact on PATH run in a sandbox - sed -e s':test_target:_&:' -i tests/test_cmd_strace.py || die - - # Test requires connection to an absent database - sed -e s':testIgnoreAll:_&:' -i tests/test_cmd_ignore.py || die - - distutils-r1_python_prepare_all -} - -python_compile_all() { - use doc && emake -C doc html -} - -python_test() { - local -x TMPDIR="${T}" - # disable tests where pypy's treatment of some tests' use of a db is incompatible - - if [[ "${EPYTHON}" == pypy ]]; then - sed -e 's:test_remove_all:_&:' -i tests/test_dependency.py || die - sed -e 's:testForgetAll:_&:' -i tests/test_cmd_forget.py || die - sed -e 's:test_not_picklable:_&:' \ - -e 's:test_task_not_picklabe_multiprocess:_&:' \ - -i tests/test_runner.py || die - fi - - py.test || die "Tests failed under ${EPYTHON}" -} - -src_install() { - use doc && HTML_DOCS=( doc/_build/html/. ) - - distutils-r1_src_install -} |