dev-python/paste & pastedeploy: bump and revert python2_7

This commit is contained in:
nemunaire 2020-08-06 01:42:59 +02:00
parent 1ef5a409a7
commit 51b083dd5c
5 changed files with 92 additions and 76 deletions

View File

@ -1,3 +1,7 @@
AUX paste-2.0.3-unbundle-tempita.patch 1260 BLAKE2B eee8a9ede07730cc6af7de910a0298bfac23f6d2b31467101375720782920d878716bf91a031ba651e00a61f3a7201708e94ecd8b78f1bd6a52c50ef2826f8d5 SHA512 f21894596c81d984bd7820876e7dfc614728beba107294fecbab084ae1e023428d4d86bde31e428c2f0aa78647636d19f476129ff319dd2c90052218cf428c98
DIST Paste-3.0.8.tar.gz 631298 BLAKE2B 0640e6eeec6ce990fd324ba0b4f1ead184072bd19985f8ceb2785893e965fe593bedf1b0d985ec4f3c48693856fe478bcabd5426da94cf74290106288b3163cf SHA512 d811e9a69f6fdd9cd7c960bae45c889cfb9b761f66c84b045e26f8cea0fa499c5ec27510d2b639062ab75cb090a35a37930813ac1f42c59c0426f2e3231d9c96
EBUILD paste-3.0.8.ebuild 1904 BLAKE2B 8284b2e1dad52c71e4a406116e926ad8826869d54d88e3e134a5f5cb549b34324542c43cf66996f5f36d6d5ff7b08c16f6dc5d6e0cfac5549aa57adb38e7b0c9 SHA512 dfb026377e45cf92ec6886903c455686f44bc57673fc7e51e263f36c87bda6c074d9b9f7308f4fd3fbb6605659d60f8c042f9456a8386e9c37036560409329a5
DIST Paste-3.4.1.tar.gz 633491 BLAKE2B be599b9385ecad754fc431a936ccd78ee088825c88040986ddd4ccb3ca81342d642a23699ca7ef9338be5360703ce5d5a2d966ff9e405744b286fa3fe69bce41 SHA512 90b6bd33e83fde70691be6206ad1de653603900b88fade79f6960df22bb84c6e82c9b6f4ddc11406f4e206273a2b5591b81ca034f8f42a3e993b85b16d07e3f0
DIST Paste-3.4.2.tar.gz 630511 BLAKE2B b03e5bcf8bcac1898de49f829f788215979e5f59453f2c3ad8bcea068f1b1c9d73ffe74c5acc0227e9b71afc3b316624342bfbe1000908193e85d0b43a52d34a SHA512 fe4b1582f58c0033c95740b5ac380a93e5f67b6ef1e5d57e943270228650bce1772c4f01357f8367b3fefde3892f316955c22c8266679190b7de0a560c663d14
DIST Paste-3.4.3.tar.gz 630569 BLAKE2B fa81b60ad048a2c999d4e57992f5a5603680bf7505f13a8618a55425b388ef906ceb2e118821d689905a20e7ec2b31d27a6aecd704f529540db6c4436f30268c SHA512 0869a3330a74cc14f88fb5ce24183328ec38fed1fc5cd669b428f09ee2fcafc770e95c2f4dc8de86dfce4d66861bad26c9502cccb81966c519ca4593ada094b1
EBUILD paste-3.4.1.ebuild 1094 BLAKE2B 42c35e023b4d38e2645cf89004712660142cd5860f2f65d3ee37745662dc7d4d991525a7e15c6d1068b934ad4de5cc73f3e9d1a60bc9e99e5fce64598135540a SHA512 0621ce3e077a240b7fe1f3d16e49c5ffad728502a8c3279fcea1cb53ceaa7a1575034ae41ac65a0a44145714fe9a95396f2c7539151fb9ac13243829724bab78
EBUILD paste-3.4.2.ebuild 1103 BLAKE2B c5ad50193533d210fac4623a9de9cc8b558116e355feab4a6a495b09e7a757c09d2dce160f3079a1fba8843b1866443692ac5fd1dbcfbc058528b7e3133a79f4 SHA512 8ecf848ad049463f59557961afd799f6094b7a9f00ad765432ed89566af3739a977043ad1cf6f06bb447631ed904f3b08772154b05cf14d392ce930784240aac
EBUILD paste-3.4.3.ebuild 1103 BLAKE2B c5ad50193533d210fac4623a9de9cc8b558116e355feab4a6a495b09e7a757c09d2dce160f3079a1fba8843b1866443692ac5fd1dbcfbc058528b7e3133a79f4 SHA512 8ecf848ad049463f59557961afd799f6094b7a9f00ad765432ed89566af3739a977043ad1cf6f06bb447631ed904f3b08772154b05cf14d392ce930784240aac
MISC metadata.xml 627 BLAKE2B 544d8a892fba33e583c08d31ff232d71c71397981b5d51f721545e9d1dae4342b68741d656d8eba8988f57eb9a6990adc2827c4f2f4a7b9262fa2be9bd9740be SHA512 a49e8e5ce28d107c97b02b00e7c0b3c260c780fc4ac7d80ea3e8163cd5a8fb44756470ad2603b0d9db312e5cd36b0039eae61dddc0339618ef0c6ee675f1ef58

View File

@ -1,73 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} )
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="amd64 ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris"
IUSE="doc flup openid"
RDEPEND="dev-python/namespace-paste[${PYTHON_USEDEP}]
>=dev-python/six-1.4.0[${PYTHON_USEDEP}]
>=dev-python/tempita-0.5.2_pre20130828[${PYTHON_USEDEP}]
flup? ( dev-python/flup[$(python_gen_usedep 'python2*')] )
openid? ( dev-python/python-openid[$(python_gen_usedep 'python2*')] )"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/pytest-runner[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
S="${WORKDIR}/${MY_P}"
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
local PATCHES=(
"${FILESDIR}"/${PN}-2.0.3-unbundle-tempita.patch
)
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_test() {
nosetests -P -v || die "Tests fail with ${EPYTHON}"
}
python_install() {
distutils-r1_python_install egg_info --egg-base "${BUILD_DIR}/lib"
}
python_install_all() {
use doc && local HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. )
distutils-r1_python_install_all
find "${D}" -name '*.pth' -delete || die
}

View File

@ -0,0 +1,42 @@
# 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
}

View File

@ -0,0 +1,3 @@
DIST pastedeploy-2.1.0.tar.gz 32240 BLAKE2B 1672e3b48a287f57e9e7fca082e4cd07cea770db1c2ae0012a83dc8ec927d83bf94461a69c7afdbed082c72506eb46c0c5db15e5f0bc24ad7a4212efb9f6696e SHA512 2c639b5ad07faee013ff3fe37d0e3c6ca7b56ed0960dbcaf133c05d51a7f29d6a2f35118bd8faea4d9aca90438c43d8046a340833878e4b925f32142df169c97
EBUILD pastedeploy-2.1.0.ebuild 980 BLAKE2B 23f2c9b950485d79c25ee54279daecb333e9a261d5ae3ba15b8f1ffa32041ab1b9c748bd3e53302188706633dd12cce5559d1dff1349eeb6399f6a10b2938ecf SHA512 f0a6870069da1e1969143480665aa26c250ecac74614e20e4f39f3d822f8374e3545904b2a6356e212004ef39ed2ccd737959410da3d132eee032199f19fa427
MISC metadata.xml 830 BLAKE2B 646965e3c4e9247a8299b8e3d441e3a80a899107e14489cb1e7f5c85bef9b4c710536caf7cf6f695e9a87f0412cc47b7099312e7e7772691a275c3c2151215c9 SHA512 dde9cd21ca86242148ab89a2e77c88c4f7ec30c1615831a2cb00b20f0051dd23c40537ce1abea7ebeb39da4a8233275f0d3dc91a8f3947307d7acd571f56dd29

View File

@ -0,0 +1,40 @@
# 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_PN="PasteDeploy"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Load, configure, and compose WSGI applications and servers"
HOMEPAGE="https://pypi.org/project/PasteDeploy/"
# pypi tarball does not include tests
SRC_URI="https://github.com/Pylons/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
IUSE="doc"
RDEPEND="dev-python/namespace-paste[${PYTHON_USEDEP}]"
BDEPEND="${RDEPEND}"
distutils_enable_tests pytest
python_prepare_all() {
sed -i 's:"pytest-runner"::' setup.py || die
distutils-r1_python_prepare_all
}
python_install_all() {
distutils-r1_python_install_all
use doc && dodoc docs/*.txt
find "${D}" -name '*.pth' -delete || die
}