diff --git a/dev-python/webpy/Manifest b/dev-python/webpy/Manifest index b793bd4473..6666bae53c 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 cb1390a96d..87e25c1fe9 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}]" -distutils_enable_tests pytest -distutils_enable_sphinx docs - -src_prepare() { - #tests require postgresql and mysql running +EPYTEST_IGNORE=( + # TODO: 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 -} +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