mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/werkzeug: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST werkzeug-2.3.6.gh.tar.gz 833832 BLAKE2B 8bf2598ee2ff63a4515357802749f952ba68a484e52f9a488efc3e49ad54e9764334d14a7b57584c1dd610f5e7922023d6ac08d8b3cc433c4789554205e43294 SHA512 a7563eeb70b465580a136ae4e4e51afcd14d0760deedac619d469a5be85eb500fec456056371921317511c986f4f4453d1f86e408378e6062b6aa40b8365ca8f
|
||||
DIST werkzeug-2.3.7.gh.tar.gz 834304 BLAKE2B 331ffe1f7f079defbd639f391522facfd98cad704da0ed92235f111f401c40b3d06c40b2e0f5c0d0ac8d798335171870a6ce221d02810a8cf3d25f480ee7f7f8 SHA512 76daba77523f486a56f945f54b9f317589d72e36458d7dce975ae597835de8936242edd6ceafa8913d00021557a9da2acfe9619be562fe7b482858daf84dfd2f
|
||||
DIST werkzeug-3.0.0.gh.tar.gz 817103 BLAKE2B d606b5c8956b69f32fd944c1a55b2ea0815f97d02665e6fa430a66a8ca64021d6f1263262971f59e5d4f69ece36053138504c81d7392edc09ca4c8337be104be SHA512 d220a38e0fbc4e5da8f705f9d53fb9a22a7ff1643cfd4ba35101cb9c814fa31b0a6f58bb1f024108ff5c3571f4b0333e58fb6c1b331f5caf44d89fac03dd5ad7
|
||||
|
||||
@@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Collection of various utilities for WSGI applications"
|
||||
HOMEPAGE="
|
||||
https://palletsprojects.com/p/werkzeug/
|
||||
https://pypi.org/project/Werkzeug/
|
||||
https://github.com/pallets/werkzeug/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/pallets/werkzeug/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
IUSE="test-rust"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/markupsafe-2.1.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
# NOTE: remove the loong mask after greenlet gains support for loong
|
||||
# see https://github.com/python-greenlet/greenlet/pull/257
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/ephemeral-port-reserve[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-timeout[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xprocess[${PYTHON_USEDEP}]
|
||||
>=dev-python/watchdog-2.3[${PYTHON_USEDEP}]
|
||||
test-rust? (
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
)
|
||||
!hppa? ( !ia64? ( !loong? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/greenlet[${PYTHON_USEDEP}]
|
||||
' python3_{10..11})
|
||||
) ) )
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=()
|
||||
if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then
|
||||
EPYTEST_DESELECT+=(
|
||||
"tests/test_serving.py::test_server[https]"
|
||||
tests/test_serving.py::test_ssl_dev_cert
|
||||
tests/test_serving.py::test_ssl_object
|
||||
)
|
||||
fi
|
||||
|
||||
# the default portage tempdir is too long for AF_UNIX sockets
|
||||
local -x TMPDIR=/tmp
|
||||
epytest -p no:django -p no:httpbin tests
|
||||
}
|
||||
Reference in New Issue
Block a user