Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/rjsmin/
Date: Sun, 12 Sep 2021 16:55:26
Message-Id: 1631465704.e78a681d767b22dfd92c5790348742ca871c8bc6.arthurzam@gentoo
1 commit: e78a681d767b22dfd92c5790348742ca871c8bc6
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 12 16:55:04 2021 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 12 16:55:04 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e78a681d
7
8 dev-python/rjsmin: enable py3.10, EAPI=8, enable tests
9
10 Closes: https://bugs.gentoo.org/797856
11 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
12
13 dev-python/rjsmin/Manifest | 2 +-
14 dev-python/rjsmin/rjsmin-1.1.0.ebuild | 12 ++++++++----
15 2 files changed, 9 insertions(+), 5 deletions(-)
16
17 diff --git a/dev-python/rjsmin/Manifest b/dev-python/rjsmin/Manifest
18 index c217598e199..93f4f5a06c5 100644
19 --- a/dev-python/rjsmin/Manifest
20 +++ b/dev-python/rjsmin/Manifest
21 @@ -1 +1 @@
22 -DIST rjsmin-1.1.0.tar.gz 412426 BLAKE2B ac4aed389359b27c6506890da8ec7874536835befff6868b556542489deaadb5557caf688fd959cd2dff1b25d312a8b738ea5f73e00fbb1f705ddeeaea021dd2 SHA512 e89641666f4235e5125e33a8da727a204bd0f263c101833849d8368edb7522a184b0f6d87da39690b7e8c1dad0ae8a40508b019e971393a3ad99440ad8ccc3fc
23 +DIST rjsmin-1.1.0.gh.tar.gz 437054 BLAKE2B 83b24f1ee94ded66a70ed75b3e494b3e6948edf82fecc80f261964fd2bb032a8cb496ed919f461131b3381c402a6397e65bfa5031f46691c4badfc5e9e2faea2 SHA512 5e168e51e1716fe35a3520fba828d721638094a6f6f73deb4c49183d8cd51531131962e2c7092ada092da63c4ddd615215088bd1a9e474d508f80dc0603d3118
24
25 diff --git a/dev-python/rjsmin/rjsmin-1.1.0.ebuild b/dev-python/rjsmin/rjsmin-1.1.0.ebuild
26 index 2b5672966bb..ef45a0bd23f 100644
27 --- a/dev-python/rjsmin/rjsmin-1.1.0.ebuild
28 +++ b/dev-python/rjsmin/rjsmin-1.1.0.ebuild
29 @@ -1,15 +1,19 @@
30 -# Copyright 1999-2020 Gentoo Authors
31 +# Copyright 1999-2021 Gentoo Authors
32 # Distributed under the terms of the GNU General Public License v2
33
34 -EAPI=7
35 +EAPI=8
36
37 -PYTHON_COMPAT=( python3_{7,8,9} )
38 +PYTHON_COMPAT=( python3_{8..10} )
39 inherit distutils-r1
40
41 DESCRIPTION="Javascript minifier written in python."
42 HOMEPAGE="http://opensource.perlig.de/rjsmin/"
43 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 +SRC_URI="
45 + https://github.com/ndparker/rjsmin/archive/${PV}.tar.gz -> ${P}.gh.tar.gz
46 +"
47
48 LICENSE="Apache-2.0"
49 SLOT="0"
50 KEYWORDS="~amd64"
51 +
52 +distutils_enable_tests pytest