summaryrefslogtreecommitdiff
path: root/dev-python/paste
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-05-17 12:38:06 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-05-17 12:38:06 +0000
commitec07c8960df1d1e0b740ae17cf83f33da3382754 (patch)
tree6bb9eede856b1430584c2b9234a3b096ab9005f6 /dev-python/paste
parent4a6ee33d239871fd8918401a1b3fa8fc69963994 (diff)
downloadbaldeagleos-repo-ec07c8960df1d1e0b740ae17cf83f33da3382754.tar.gz
baldeagleos-repo-ec07c8960df1d1e0b740ae17cf83f33da3382754.tar.xz
baldeagleos-repo-ec07c8960df1d1e0b740ae17cf83f33da3382754.zip
Adding metadata
Diffstat (limited to 'dev-python/paste')
-rw-r--r--dev-python/paste/paste-3.5.0-r2.ebuild25
1 files changed, 19 insertions, 6 deletions
diff --git a/dev-python/paste/paste-3.5.0-r2.ebuild b/dev-python/paste/paste-3.5.0-r2.ebuild
index 95e9de061979..5243e6c9165a 100644
--- a/dev-python/paste/paste-3.5.0-r2.ebuild
+++ b/dev-python/paste/paste-3.5.0-r2.ebuild
@@ -10,7 +10,11 @@ inherit distutils-r1
MY_P="Paste-${PV}"
DESCRIPTION="Tools for using a Web Server Gateway Interface stack"
-HOMEPAGE="https://pypi.org/project/Paste/"
+HOMEPAGE="
+ https://pythonpaste.readthedocs.io/en/latest/
+ https://github.com/cdent/paste/
+ https://pypi.org/project/Paste/
+"
SRC_URI="mirror://pypi/${MY_P::1}/${PN^}/${MY_P}.tar.gz"
S=${WORKDIR}/${MY_P}
@@ -26,12 +30,21 @@ RDEPEND="
distutils_enable_tests pytest
distutils_enable_sphinx docs
-EPYTEST_DESELECT=(
- # Internet
- tests/test_proxy.py
-)
-
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.11 ]] && EPYTEST_DESELECT+=(
+ # fails due to cgi deprecation warning
+ tests/test_cgiapp.py::test_form
+ )
+
+ epytest
+}