dev-python/doit: remove old versions

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Azamat H. Hackimov
2020-07-07 16:53:50 +03:00
committed by Joonas Niilola
parent d6967ab586
commit 1566a577e9
3 changed files with 0 additions and 141 deletions

View File

@@ -1,2 +1 @@
DIST doit-0.29.0.tar.gz 222341 BLAKE2B 8489568fe9236af04f87debfb4889840aa162d17d20f82ac0a9a22d1034b4c58976cd6829486a15b941ac1f50e7137c052fe332657c2b3f529fe2345bbcba2fc SHA512 a686457df31b414d0c3797789e0ae1ae5cdfa3674025236419cb59b254f342cd2db07911ef18b2cb576d8d817b44035b9372265b34b786b2779fb7074b394de1
DIST doit-0.32.0.tar.gz 1437939 BLAKE2B 39134341582cd964630a1667c78b0e44eeb32406a06e3567123b820fb61cbee0f6a7c8879a84eed750860a365aa4c792e461bb1534c66e4f20a6289522dc8183 SHA512 d5c28a0c6a38648aeef58027b2246fc26360e133e91933f2244bd484f70d6d26110acbfec19c74d53c796e0bbae07a4bf6d76542d45e8b1a6b503c186bf2a68a

View File

@@ -1,69 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python3_6 )
inherit eutils distutils-r1
RESTRICT="test" # can't work as it imports nonexistant modules from coverage
DESCRIPTION="Automation tool"
HOMEPAGE="http://python-doit.sourceforge.net/ https://pypi.org/project/doit/"
SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE="doc test"
RDEPEND="
dev-python/cloudpickle[${PYTHON_USEDEP}]
dev-python/pyinotify[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
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}] )
"
PDEPEND=">=dev-python/doit-py-0.3.0[${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
}

View File

@@ -1,71 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_6 )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit eutils distutils-r1
DESCRIPTION="Automation tool"
HOMEPAGE="http://python-doit.sourceforge.net/ https://pypi.org/project/doit/"
SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
RESTRICT="!test? ( test )"
RDEPEND="
dev-python/cloudpickle[${PYTHON_USEDEP}]
dev-python/pyinotify[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
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}] )
"
PDEPEND=">=dev-python/doit-py-0.3.0[${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
}