mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 21:08:35 -07:00
dev-python/cherrypy: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
DIST CherryPy-13.1.0.tar.gz 687221 BLAKE2B ab9c8f50026e26d171877e4e68f1c5a53fa8519190bcc577e12999cdf8a7f52be37f4ba9ed83a276a9f33676839ec63bff68aa8f9f51ddf15557e09123bf2530 SHA512 c32cf009d6a5b557560a00cde0f47a01ae481c7f60b7f340e5c99bf2d7c757e7c7cbf3ef2f4f71c172057aa09ca332f2d211cc97623ea29ba9f17287c7bc42dd
|
||||
DIST CherryPy-17.4.1.tar.gz 684113 BLAKE2B 8922c1f6c3e7ac654f84dbc56c7ae17e9ba83e01132dc6a34413064879a5fe22b1dcaa0eac7415b23cf9dc4fe54fd3e5d078121b354599b30c89f69f107208f6 SHA512 588aef80b12bdd27d83fabd466add12753d62760cd0c6beca8ecb78a0cd1e04a507327409bd4cd3c6e6e6133922e06c2f8c6ee2877b42ca635f8001812a4bd8e
|
||||
DIST CherryPy-17.4.2.tar.gz 684366 BLAKE2B 428c209b2ea3061e70c932a781166099f323b522d855b640f0869f19c7a6a6f00d9c4121f51c71ff2cc3d332f6451accffa2a8cc0c424e3fd0c62d9bfd69845c SHA512 1f06d8228b45161773095dd05e163fa55ad0060ac6f740051294aa2ecc53036c367fe5a5ef327a8fd56b5a4afd1f8550ef00a3f71fcc13c6124d772e77459ff4
|
||||
DIST CherryPy-18.1.0.tar.gz 682792 BLAKE2B 0e072bf21656778ff8d64e87a6b19c8c5e9a3057312ebd3155b3b876432709f6f205f267cd9a105727153d458daab3e7113ffe9b3c49f911bd956bf72a19086c SHA512 58ae40ef62efeda051bf5dd35768a599094792d06a0e7c6e34c21cc5b003b700f43a02460d38a00067d255939e341fc438d248e3499fad76ccc8100f8eac94d3
|
||||
DIST CherryPy-18.5.0.tar.gz 685362 BLAKE2B 36178ff6e374a89aa4fba9ba34947f1558a7bb3676f014528bb081efa9608ed70648bf2c46b8c4f95b8b14586a93c513ce342955677564f9202733104ba07102 SHA512 6ead115ac2a067cc9f2cb83117b8c53aac8a2a1580159993b7687b5810a41b64d1d1c603ef75a12660fe7aee9c6f403c8cb7bd5e78564f71dc813ae7f28b65fe
|
||||
DIST CherryPy-3.8.0.tar.gz 433711 BLAKE2B e1b4a554138a61e8c6313c3055723583d812e573a352d67bd5448f799e4f2f22694b800810b53cd041c665e46d9555b471d1da91c252ade96459778d7a5c07fa SHA512 25f84093e30d814c0980f7d77b98492113470c3297c66ee8652e40650757f8e2b7db01bb8de6d7a1ea9b4bed8b764502b1f563ac6f0d082970bc2d46739d19c2
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python3_6 pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P="CherryPy-${PV}"
|
||||
|
||||
DESCRIPTION="CherryPy is a pythonic, object-oriented HTTP framework"
|
||||
HOMEPAGE="https://www.cherrypy.org https://pypi.org/project/CherryPy/"
|
||||
SRC_URI="mirror://pypi/C/CherryPy/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND=">=dev-python/cheroot-5.9.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/portend-2.1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.11.0[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/backports-unittest-mock[${PYTHON_USEDEP}]
|
||||
dev-python/path-py[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-cov[${PYTHON_USEDEP}]
|
||||
)"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_prepare_all() {
|
||||
# UnicodeEncodeError: 'ascii' codec can't encode character u'\u2603' in position 0: ordinal not in range(128)
|
||||
sed -e 's|@pytest.mark.xfail(py27_on_windows|@pytest.mark.xfail(sys.version_info < (3,)|' \
|
||||
-i cherrypy/test/test_static.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
py.test -v || die "tests failed under ${EPTYHON}"
|
||||
}
|
||||
@@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P="CherryPy-${PV}"
|
||||
|
||||
DESCRIPTION="CherryPy is a pythonic, object-oriented HTTP framework"
|
||||
HOMEPAGE="https://www.cherrypy.org https://pypi.org/project/CherryPy/"
|
||||
SRC_URI="mirror://pypi/C/CherryPy/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64"
|
||||
IUSE="ssl"
|
||||
# IUSE="ssl test"
|
||||
# See below to see what needs to be done before testing can be enabled
|
||||
# for this release.
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=">=dev-python/six-1.11.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/cheroot-6.2.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/portend-2.1.1[${PYTHON_USEDEP}]
|
||||
dev-python/more-itertools[${PYTHON_USEDEP}]
|
||||
dev-python/zc-lockfile[${PYTHON_USEDEP}]
|
||||
dev-python/contextlib2[${PYTHON_USEDEP}]
|
||||
ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]"
|
||||
# These will need to be checked for testing and some will need to be
|
||||
# added to portage.
|
||||
# test? (
|
||||
# dev-python/coverage[${PYTHON_USEDEP}]
|
||||
# dev-python/codecov[${PYTHON_USEDEP}]
|
||||
# dev-python/objgraph[${PYTHON_USEDEP}]
|
||||
# dev-python/pytest[${PYTHON_USEDEP}]
|
||||
# dev-python/pytest-cov[${PYTHON_USEDEP}]
|
||||
# dev-python/pytest-sugar[${PYTHON_USEDEP}]
|
||||
# dev-python/backports-unittest-mock[${PYTHON_USEDEP}]
|
||||
# dev-python/path-py[${PYTHON_USEDEP}]
|
||||
# )"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_prepare_all() {
|
||||
# UnicodeEncodeError: 'ascii' codec can't encode character u'\u2603' in position 0: ordinal not in range(128)
|
||||
sed -e 's|@pytest.mark.xfail(py27_on_windows|@pytest.mark.xfail(sys.version_info < (3,)|' \
|
||||
-i cherrypy/test/test_static.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
# python_test() {
|
||||
# py.test -v || die "tests failed under ${EPTYHON}"
|
||||
# }
|
||||
@@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P="CherryPy-${PV}"
|
||||
|
||||
DESCRIPTION="CherryPy is a pythonic, object-oriented HTTP framework"
|
||||
HOMEPAGE="https://www.cherrypy.org https://pypi.org/project/CherryPy/"
|
||||
SRC_URI="mirror://pypi/C/CherryPy/${MY_P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="ssl test"
|
||||
|
||||
# tests fail hard with no error, i have no idea how to debug
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/six-1.11.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/cheroot-8.2.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/portend-2.1.1[${PYTHON_USEDEP}]
|
||||
dev-python/more-itertools[${PYTHON_USEDEP}]
|
||||
dev-python/zc-lockfile[${PYTHON_USEDEP}]
|
||||
dev-python/jaraco-collections[${PYTHON_USEDEP}]
|
||||
dev-python/contextlib2[${PYTHON_USEDEP}]
|
||||
ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )"
|
||||
BDEPEND="${RDEPEND}
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]"
|
||||
# test? (
|
||||
# dev-python/routes[${PYTHON_USEDEP}]
|
||||
# dev-python/simplejson[${PYTHON_USEDEP}]
|
||||
# dev-python/objgraph[${PYTHON_USEDEP}]
|
||||
# dev-python/backports-unittest-mock[${PYTHON_USEDEP}]
|
||||
# dev-python/path-py[${PYTHON_USEDEP}]
|
||||
# dev-python/requests-toolbelt[${PYTHON_USEDEP}]
|
||||
# )
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# UnicodeEncodeError: 'ascii' codec can't encode character u'\u2603' in position 0: ordinal not in range(128)
|
||||
sed -e 's|@pytest.mark.xfail(py27_on_windows|@pytest.mark.xfail(sys.version_info < (3,)|' \
|
||||
-i cherrypy/test/test_static.py || die
|
||||
|
||||
sed -r -e '/(pytest-sugar|pytest-cov)/ d' \
|
||||
-i setup.py || die
|
||||
|
||||
sed -r -e 's:--cov-report[[:space:]]+[[:graph:]]+::' \
|
||||
-e 's:--cov[[:graph:]]+::' \
|
||||
-e 's:--doctest[[:graph:]]+::' \
|
||||
-i pytest.ini || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
Reference in New Issue
Block a user