dev-python/jsonpath-rw: use github tarball

Closes: https://bugs.gentoo.org/816630
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-10-14 21:21:28 +02:00
parent 8fcdb64d7a
commit f76c584656
2 changed files with 4 additions and 4 deletions

View File

@@ -12,15 +12,13 @@ HOMEPAGE="
https://github.com/kennknowles/python-jsonpath-rw
https://pypi.org/project/jsonpath-rw
"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
SRC_URI="https://github.com/kennknowles/python-jsonpath-rw/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
dev-python/decorator[${PYTHON_USEDEP}]
dev-python/ply[${PYTHON_USEDEP}]
@@ -35,6 +33,8 @@ DEPEND="
)
"
RESTRICT="!test? ( test )"
python_test() {
nosetests --verbose || die
py.test -v -v || die