commit: 1c1d09283e89c5bd2756e7a2964867d71a8087ed
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat Apr 29 06:20:25 2023 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sat Apr 29 06:20:25 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1c1d0928
dev-python/webpy: fix prepare
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
dev-python/webpy/Manifest | 2 +-
dev-python/webpy/webpy-0.62.ebuild | 34 ++++++++++++++++------------------
2 files changed, 17 insertions(+), 19 deletions(-)
diff --git a/dev-python/webpy/Manifest b/dev-python/webpy/Manifest
index b793bd447..6666bae53 100644
--- a/dev-python/webpy/Manifest
+++ b/dev-python/webpy/Manifest
@@ -1 +1 @@
-DIST webpy-0.62.tar.gz 104552 BLAKE2B
bd94dc9ca9aaf2c4ba9be2d14e66c176031818617f6b505c85e849d299b0fd7f4b77d008d23e78c922584cbd46938206fb5f0f4c19f082811d800d259014b79a
SHA512
2b91977bb78e9387c78ed893b098d665a5189e7b9cb1eacbaf903564285524dabc960107b0e1ba4a85c3aedf73ef63ae05338cc71ccacad47a310970afb77cd9
+DIST webpy-0.62.gh.tar.gz 104552 BLAKE2B
bd94dc9ca9aaf2c4ba9be2d14e66c176031818617f6b505c85e849d299b0fd7f4b77d008d23e78c922584cbd46938206fb5f0f4c19f082811d800d259014b79a
SHA512
2b91977bb78e9387c78ed893b098d665a5189e7b9cb1eacbaf903564285524dabc960107b0e1ba4a85c3aedf73ef63ae05338cc71ccacad47a310970afb77cd9
diff --git a/dev-python/webpy/webpy-0.62.ebuild
b/dev-python/webpy/webpy-0.62.ebuild
index cb1390a96..87e25c1fe 100644
--- a/dev-python/webpy/webpy-0.62.ebuild
+++ b/dev-python/webpy/webpy-0.62.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="8"
+EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
@@ -13,7 +13,7 @@ HOMEPAGE="
https://github.com/webpy/webpy
https://pypi.org/project/web.py/
"
-SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="public-domain"
SLOT="0"
@@ -21,20 +21,18 @@ KEYWORDS="~amd64 ~x86"
RDEPEND="dev-python/cheroot[${PYTHON_USEDEP}]"
+EPYTEST_IGNORE=(
+ # TODO: tests require postgresql and mysql running
+ rm tests/test_db.py
+)
+
+EPYTEST_DESELECT=(
+ # https://github.com/webpy/webpy/issues/712
+ # https://github.com/webpy/webpy/issues/713
+ tests/test_application.py::ApplicationTest::test_routing
+ tests/test_session.py::DiskStoreTest::testStoreConcurrent
+)
+
distutils_enable_tests pytest
-distutils_enable_sphinx docs
-src_prepare() {
- #tests require postgresql and mysql running
- rm tests/test_db.py
- default
-}
-
-python_test() {
- #https://github.com/webpy/webpy/issues/712
- #https://github.com/webpy/webpy/issues/713
- epytest -vv \
- --deselect
tests/test_application.py::ApplicationTest::test_routing \
- --deselect
tests/test_session.py::DiskStoreTest::testStoreConcurrent \
- || die
-}
+distutils_enable_sphinx docs