dev-python/paste: Remove redundant versions

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-07-12 18:43:38 +02:00
parent 66e7ba2922
commit 5d17b543d6
4 changed files with 0 additions and 119 deletions

View File

@@ -1,3 +1 @@
DIST Paste-3.2.3.tar.gz 628900 BLAKE2B 3f6bc741a716f33b82fa3bf8e1ab6ba3c17a56ebf3f90ccce0c1a925f982a2a0b460f433e15045321bb4b7c22c6fe9238cf6c7c76b78dc86d414729b67f0791e SHA512 8775a4c6b1863355a2acb3b88258e342db768942ccf28edc8654d7a1a15c5a036f4f8c5c9d917d51e74c9260170234f9c499cefd709b0fbd39ffd4d1b7afcb79
DIST Paste-3.4.0.tar.gz 630425 BLAKE2B a361450597e8dce1d9cb99ce2a723cb8feb08909975662e1fbe8b353c20900ac5d994e8373ea4db42776aee1901f51363f8338ba4e3c35462f3c3917161a02ef SHA512 fbe0d1f39d8147846b3a30f18e6776c31eb5bcd8f461c0bf7afc35533c65c2ddf74263807be1b73b76c49cd6cc73c210a37ca651ef1f34e727ccf0687478085a
DIST Paste-3.4.1.tar.gz 633491 BLAKE2B be599b9385ecad754fc431a936ccd78ee088825c88040986ddd4ccb3ca81342d642a23699ca7ef9338be5360703ce5d5a2d966ff9e405744b286fa3fe69bce41 SHA512 90b6bd33e83fde70691be6206ad1de653603900b88fade79f6960df22bb84c6e82c9b6f4ddc11406f4e206273a2b5591b81ca034f8f42a3e993b85b16d07e3f0

View File

@@ -5,11 +5,6 @@
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<use>
<flag name="flup">enable support for flup (and therefore for various
wgsi servers and middleware)</flag>
<flag name="openid">enable OpenID support</flag>
</use>
<longdescription lang="en">This package provides several pieces of "middleware" (or filters) that can
be nested to build web applications. Each piece of middleware uses the WSGI
(PEP 333) interface, and should be compatible with other middleware based on

View File

@@ -1,70 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
inherit distutils-r1
MY_PN="Paste"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Tools for using a Web Server Gateway Interface stack"
HOMEPAGE="https://pypi.org/project/Paste/"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris"
IUSE="flup openid"
RDEPEND="dev-python/namespace-paste[${PYTHON_USEDEP}]
>=dev-python/six-1.4.0[${PYTHON_USEDEP}]
flup? (
$(python_gen_cond_dep 'dev-python/flup[${PYTHON_USEDEP}]' -2) )
openid? (
$(python_gen_cond_dep 'dev-python/python-openid[${PYTHON_USEDEP}]' -2) )"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${MY_P}"
distutils_enable_tests pytest
distutils_enable_sphinx docs
python_prepare_all() {
# Disable failing tests.
rm -f tests/test_cgiapp.py || die
sed \
-e "s/test_find_file/_&/" \
-e "s/test_deep/_&/" \
-e "s/test_static_parser/_&/" \
-i tests/test_urlparser.py || die "sed failed"
# Remove a test that runs against the paste website.
rm -f tests/test_proxy.py || die
# remove unnecessary dep
sed -i "s:'pytest-runner'::" setup.py || die
distutils-r1_python_prepare_all
}
#python_compile() {
# distutils-r1_python_compile egg_info --egg-base "${BUILD_DIR}/lib"
#}
#python_compile_all() {
# use doc && esetup.py build_sphinx
#}
#python_install() {
# distutils-r1_python_install egg_info --egg-base "${BUILD_DIR}/lib"
#}
python_install_all() {
distutils-r1_python_install_all
find "${D}" -name '*.pth' -delete || die
}

View File

@@ -1,42 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} pypy3 )
inherit distutils-r1
MY_P="Paste-${PV}"
DESCRIPTION="Tools for using a Web Server Gateway Interface stack"
HOMEPAGE="https://pypi.org/project/Paste/"
SRC_URI="mirror://pypi/${MY_P::1}/${PN^}/${MY_P}.tar.gz"
S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris"
RDEPEND="dev-python/namespace-paste[${PYTHON_USEDEP}]
>=dev-python/six-1.4.0[${PYTHON_USEDEP}]"
distutils_enable_tests pytest
distutils_enable_sphinx docs
python_prepare_all() {
# TODO: 'Address already in use'
sed -e 's:test_address_family_v4:_&:' \
-i tests/test_httpserver.py || die
# Remove a test that runs against the paste website.
rm -f tests/test_proxy.py || die
distutils-r1_python_prepare_all
}
python_install_all() {
distutils-r1_python_install_all
find "${D}" -name '*.pth' -delete || die
}