Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/jsonpath-rw/
Date: Thu, 14 Oct 2021 20:22:23
Message-Id: 1634242935.f76c58465601d5383c9ff656b2cd4d1493a39610.Alessandro-Barbieri@gentoo
1 commit: f76c58465601d5383c9ff656b2cd4d1493a39610
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Thu Oct 14 19:21:28 2021 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Thu Oct 14 20:22:15 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f76c5846
7
8 dev-python/jsonpath-rw: use github tarball
9
10 Closes: https://bugs.gentoo.org/816630
11 Package-Manager: Portage-3.0.28, Repoman-3.0.3
12 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
13
14 dev-python/jsonpath-rw/Manifest | 2 +-
15 dev-python/jsonpath-rw/jsonpath-rw-1.4.0.ebuild | 6 +++---
16 2 files changed, 4 insertions(+), 4 deletions(-)
17
18 diff --git a/dev-python/jsonpath-rw/Manifest b/dev-python/jsonpath-rw/Manifest
19 index 161efdd86..d4a65943b 100644
20 --- a/dev-python/jsonpath-rw/Manifest
21 +++ b/dev-python/jsonpath-rw/Manifest
22 @@ -1 +1 @@
23 -DIST jsonpath-rw-1.4.0.tar.gz 13814 BLAKE2B 96c17df53db15ea06b8d33231a5349e00d85eb92c9c1da784ee8b1773f1a12791f8dc2a6dc7ec67fde0c8c3cfec0a8fc08e77ff08eeebe4ef699d6d4bdda9276 SHA512 5fcbd832975a32d375fd400ebfb84f083c0e7d8780cc63df730a75cca0224bf32d72cb793fcac63fc3afa9697199d7a569af29961da95494253996cc6e5f63b7
24 +DIST jsonpath-rw-1.4.0.tar.gz 19813 BLAKE2B 2ee89864f38a6671ad593b5f056a19a794fcf6dd8dd56af1fbc709e50336ee5613c1144ec7f557d7380bed4eedd4ee7cc39f99ccb61dbc3a34c2e36641b183dc SHA512 8308e950f8b397e3ddd4120aa7794ab198d9f1a233c5fe16c2f393f1ba7e7e3bf289063a8b28f2425bfe0906be028f9bc1830779d09a56c306f2f102d26e6259
25
26 diff --git a/dev-python/jsonpath-rw/jsonpath-rw-1.4.0.ebuild b/dev-python/jsonpath-rw/jsonpath-rw-1.4.0.ebuild
27 index af6371fde..f1da5795c 100644
28 --- a/dev-python/jsonpath-rw/jsonpath-rw-1.4.0.ebuild
29 +++ b/dev-python/jsonpath-rw/jsonpath-rw-1.4.0.ebuild
30 @@ -12,15 +12,13 @@ HOMEPAGE="
31 https://github.com/kennknowles/python-jsonpath-rw
32 https://pypi.org/project/jsonpath-rw
33 "
34 -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
35 +SRC_URI="https://github.com/kennknowles/python-jsonpath-rw/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
36
37 LICENSE="Apache-2.0"
38 SLOT="0"
39 KEYWORDS="~amd64"
40 IUSE="test"
41
42 -RESTRICT="!test? ( test )"
43 -
44 RDEPEND="
45 dev-python/decorator[${PYTHON_USEDEP}]
46 dev-python/ply[${PYTHON_USEDEP}]
47 @@ -35,6 +33,8 @@ DEPEND="
48 )
49 "
50
51 +RESTRICT="!test? ( test )"
52 +
53 python_test() {
54 nosetests --verbose || die
55 py.test -v -v || die