dev-python/treq: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-05-16 15:28:12 +02:00
parent d41197999c
commit e9f7d526c3
3 changed files with 0 additions and 87 deletions

View File

@@ -1,2 +1 @@
DIST treq-22.1.0.tar.gz 72634 BLAKE2B e59271bbd53124fa6c01cb9fba03d83ba8cdfc1b2be065c649e26dbcd0202473b59fc1762ce02d5d016d1ac5a6a848568b248c316d7ecde8e3f3521cb213d532 SHA512 6c9a49bc4c9e73365275bf841a5a31873c092e33c4978571caae3601d02e9b8d161dcf684c40ccd297d8a8c4dafe62eddb7872a86513598260fe38c98c7c44f5
DIST treq-22.2.0.tar.gz 72922 BLAKE2B ab4637c801e5e777f81f6e6a6e12e36ef47e052a4103eb70bf4e10d3fb44b60f144f32734625b4babb375acc96e3cad1895634d3d2fc08ac3095769180e65328 SHA512 465a02481a51ac246ac85f561f2e7a59d97aeeda9f0953dd83678ff836802a187a6aedcce830a9e3095a9c72227bd06113610c3be0967f1362a645a31278bde0

View File

@@ -1,43 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="A requests-like API built on top of twisted.web's Agent"
HOMEPAGE="https://github.com/twisted/treq https://pypi.org/project/treq/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="doc test"
RESTRICT="!test? ( test )"
RDEPEND="
dev-python/attrs[${PYTHON_USEDEP}]
>=dev-python/hyperlink-21.0.0[${PYTHON_USEDEP}]
dev-python/incremental[${PYTHON_USEDEP}]
>=dev-python/requests-2.1.0[${PYTHON_USEDEP}]
>=dev-python/twisted-18.7.0[crypt,${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/httpbin[${PYTHON_USEDEP}]
)"
distutils_enable_sphinx docs
src_prepare() {
# fix relative path for docs generation
sed -e "s@('..')@('../src')@" -i docs/conf.py || die
distutils-r1_src_prepare
}
python_test() {
"${EPYTHON}" -m twisted.trial treq || die "Tests failed with ${EPYTHON}"
}

View File

@@ -1,43 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="A requests-like API built on top of twisted.web's Agent"
HOMEPAGE="https://github.com/twisted/treq https://pypi.org/project/treq/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="doc test"
RESTRICT="!test? ( test )"
RDEPEND="
dev-python/attrs[${PYTHON_USEDEP}]
>=dev-python/hyperlink-21.0.0[${PYTHON_USEDEP}]
dev-python/incremental[${PYTHON_USEDEP}]
>=dev-python/requests-2.1.0[${PYTHON_USEDEP}]
>=dev-python/twisted-18.7.0[crypt,${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/httpbin[${PYTHON_USEDEP}]
)"
distutils_enable_sphinx docs
src_prepare() {
# fix relative path for docs generation
sed -e "s@('..')@('../src')@" -i docs/conf.py || die
distutils-r1_src_prepare
}
python_test() {
distutils_install_for_testing
"${EPYTHON}" -m twisted.trial treq || die "Tests failed with ${EPYTHON}"
}