diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-10-17 10:59:02 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-10-17 10:59:02 +0200 |
commit | e9292a37762b8a70f7db3e510fd51ff2e90bbcb6 (patch) | |
tree | c4039b2d4acfd3a6f876d6b4647374bfad31546a /dev-python/klein/klein-20.6.0.ebuild | |
parent | dev-python/kafka-python: Remove old (diff) | |
download | gentoo-e9292a37762b8a70f7db3e510fd51ff2e90bbcb6.tar.gz gentoo-e9292a37762b8a70f7db3e510fd51ff2e90bbcb6.tar.bz2 gentoo-e9292a37762b8a70f7db3e510fd51ff2e90bbcb6.zip |
dev-python/klein: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/klein/klein-20.6.0.ebuild')
-rw-r--r-- | dev-python/klein/klein-20.6.0.ebuild | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/dev-python/klein/klein-20.6.0.ebuild b/dev-python/klein/klein-20.6.0.ebuild deleted file mode 100644 index 8a23e937e7ca..000000000000 --- a/dev-python/klein/klein-20.6.0.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9} ) - -inherit distutils-r1 - -DESCRIPTION="micro-framework for developing production-ready web services with Python" -HOMEPAGE="https://pypi.org/project/klein https://github.com/twisted/klein" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/treq[${PYTHON_USEDEP}] - ) -" - -RDEPEND=" - dev-python/attrs[${PYTHON_USEDEP}] - dev-python/hyperlink[${PYTHON_USEDEP}] - dev-python/incremental[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/tubes[${PYTHON_USEDEP}] - dev-python/twisted[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zope-interface[${PYTHON_USEDEP}] -" -DEPEND="${RDEPEND}" - -python_prepare_all() { - # nuke irreleveant test dep - sed -e 's/"typing",//' \ - -i setup.py || die - # known test fail: https://github.com/twisted/klein/issues/339 - sed -e 's/big world/big+world/' \ - -e 's/4321)]/4321.0)]/' \ - -e 's/not a number/not+a+number/' \ - -i src/klein/test/test_form.py || die - - distutils-r1_python_prepare_all -} -python_test() { - distutils_install_for_testing - - pytest -v || - die "Tests failed with ${EPYTHON}" -} |