summaryrefslogtreecommitdiff
path: root/dev-python/paste
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-17 06:49:08 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-17 06:49:08 +0000
commit2bf68d7062b64d9f815f3b8ce6942a66afe53b0d (patch)
treeac1e773aaa4d3575d18d178ae260cab963bbf64c /dev-python/paste
parentcd356b722fd8d162f02a5059fae1a66e00be52e3 (diff)
gentoo auto-resync : 17:03:2024 - 06:49:08
Diffstat (limited to 'dev-python/paste')
-rw-r--r--dev-python/paste/Manifest2
-rw-r--r--dev-python/paste/paste-3.8.0.ebuild49
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/paste/Manifest b/dev-python/paste/Manifest
index 2c7334d8d63f..c7f33f87b182 100644
--- a/dev-python/paste/Manifest
+++ b/dev-python/paste/Manifest
@@ -1,3 +1,5 @@
DIST Paste-3.7.1.tar.gz 639191 BLAKE2B 5c36794e0d0aba9396a621933bfc2b600da5c951a6aed39ebcea8a1ad84449556a94bbf13651fe28c0886f826417ee0dfe6b82ad76c4956579b0a5795539ae3d SHA512 672f0476582b0c0f65a049800fbd23f7df2c62b405ed1b803474715a80d532bbf117558b201329967bf83f4c88c8740e5f626ff5c2dafa3eade04fccefd332b0
+DIST Paste-3.8.0.tar.gz 636922 BLAKE2B 4952eb6a8c59d0ed653ba9b74cb55fbf0c5a32fa298fc2e6a8c7beb10c4f0a35a82b9e30ca7bf8612f6ae4f4e6e4124974b49ee8f268fc95d15f8f619e3e8222 SHA512 88e21b3a00f7f871292d4c098b1e8c1c5331c9e28a297ca37a40551d11a2f086e6ddedb6ba1a9ec92b9d20c6584703e6ed1e84d236fcaf0378b15729360c52bd
EBUILD paste-3.7.1.ebuild 1061 BLAKE2B 3c23eeaf1d5a341feb2b986595914503f84cd6d0c1e609e641d4a4e66d698e1dd460f81eda77204cebe18c567364af4732a7f5dcb1c99b34dd5082b76505d04d SHA512 1cfd8dc0e15383223443c6e602b38604dc45594fbc99ef29c00934bd68cfd10ff792461958db447c12dafed349a235a59d2399d05028ea4d0b8ba903c4cc1b3a
+EBUILD paste-3.8.0.ebuild 1069 BLAKE2B 9ce40e8d41f2057afd5157e1f45efb5640873ee83a8b35eb29559321d48de535d7f8a76fdded981278812f174bb0b62c5f1e576e09763a53f8092db381134337 SHA512 b7df926c72d205e22416ea8eeab54824200ad981be5ea7fe6506a20a08de5aacc9fd3f7668f7c955361548ed716cda090da999a0bedcec08b52a3c4b76c56401
MISC metadata.xml 679 BLAKE2B f461dffdac2f09bdc328390eac9ccc9408c59252fededd872c37024d8a7a22194f5cfd31542a36c366d578cb3ed8b954ce454394b9bf1fe7e1a3e0ce14b2f934 SHA512 f14e23b130af2fab88c24adcf69d8616a233687760a1662d0df29dab15842274adbb4a71b56ace6efc1e7880d4d49a862836daa57869af609771e8ede397db23
diff --git a/dev-python/paste/paste-3.8.0.ebuild b/dev-python/paste/paste-3.8.0.ebuild
new file mode 100644
index 000000000000..a9c43ec6b2f2
--- /dev/null
+++ b/dev-python/paste/paste-3.8.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYPI_PN=${PN^}
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Tools for using a Web Server Gateway Interface stack"
+HOMEPAGE="
+ https://pythonpaste.readthedocs.io/en/latest/
+ https://github.com/cdent/paste/
+ https://pypi.org/project/Paste/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+
+RDEPEND="
+ >=dev-python/six-1.4.0[${PYTHON_USEDEP}]
+ !dev-python/namespace-paste
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs
+
+python_compile() {
+ distutils-r1_python_compile
+ find "${BUILD_DIR}" -name '*.pth' -delete || die
+}
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # Internet
+ tests/test_proxy.py
+ )
+
+ [[ ${EPYTHON} == python3.1[12] ]] && EPYTEST_DESELECT+=(
+ # fails due to cgi deprecation warning
+ tests/test_cgiapp.py::test_form
+ )
+
+ epytest
+}