diff options
Diffstat (limited to 'dev-python/pyjsparser')
-rw-r--r-- | dev-python/pyjsparser/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pyjsparser/pyjsparser-2.7.1_p20190421-r1.ebuild (renamed from dev-python/pyjsparser/pyjsparser-2.7.1_p20190421.ebuild) | 20 |
2 files changed, 9 insertions, 13 deletions
diff --git a/dev-python/pyjsparser/Manifest b/dev-python/pyjsparser/Manifest index a332132009c0..5b6e1f6d3d9e 100644 --- a/dev-python/pyjsparser/Manifest +++ b/dev-python/pyjsparser/Manifest @@ -1,3 +1,3 @@ DIST pyjsparser-2.7.1_p20190421.tar.gz 210147 BLAKE2B 1286167a8ff9a0ee08019af2c1ba36a0dd1c22004a4e1ea3764f0a2a06e87b649435f332b9a9dea461ceade32340f7388489c972dafc9e558f973d7bbea4ac42 SHA512 2e4b3ee1cd863099da262eaf4df5ec4f364ce54e7c7535558f36d3449e21c9f851460078e1a7057ef8c82e2ed9c82f54944cd92782fe3f8cd05411edca191a40 -EBUILD pyjsparser-2.7.1_p20190421.ebuild 797 BLAKE2B 44246ed274fc8b755151c46917cef65e55179fa21acefeeb219b7f8d8a06bf1cffc13b837927451c0c43295fea0faac20601642c900ebb280722317226c85fdc SHA512 c757f3643e21dd6aa5686ad0b66ec4e5215185538dee3c26890d52a4c1a7a38cd0dae0bde2420888a1fe14d944d0e121f44457033faee9c5fb50858c52a937b0 +EBUILD pyjsparser-2.7.1_p20190421-r1.ebuild 802 BLAKE2B af4486bf226c0d50cb45878759a718b7e6ebea281991f819a45677d22c59bc898305962d713d39bdb6dcfa378e52cbad015d53b2a96ed1b01682ad537f69a282 SHA512 49b2f39e39a7c9bb7b52428b126aebf3bda573c610e235c726c545196423b103d524fa62d4c097e31ece12f37e7cc41014109a4522fa78ecc0347261a47e163b MISC metadata.xml 395 BLAKE2B 6606412ce6f1f62dee494cb6d08ca6f33d83831a6c1bd5c81fdcfe4a3e519d72b668b358d4bb48652268f7d2c89acea5572f5d8d1b6ec51c7b078f2c58e73823 SHA512 7ddc64f189b8a567823b8dbb827c2f701325ae205c7836f2fc93728a6e70820d5f8a05cb28382e6144c670a2aec3a14f63a445ee20f421236c30bf071e45fe94 diff --git a/dev-python/pyjsparser/pyjsparser-2.7.1_p20190421.ebuild b/dev-python/pyjsparser/pyjsparser-2.7.1_p20190421-r1.ebuild index 9318b52029a1..8b2a6183601a 100644 --- a/dev-python/pyjsparser/pyjsparser-2.7.1_p20190421.ebuild +++ b/dev-python/pyjsparser/pyjsparser-2.7.1_p20190421-r1.ebuild @@ -1,20 +1,18 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 - -MY_COMMIT="5465d037b30e334cb0997f2315ec1e451b8ad4c1" +EAPI=8 +H=5465d037b30e334cb0997f2315ec1e451b8ad4c1 PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 DESCRIPTION="Fast javascript parser based on esprima.js" -HOMEPAGE=" - https://github.com/PiotrDabkowski/pyjsparser/ - https://pypi.org/project/pyjsparser/ -" -SRC_URI="https://github.com/PiotrDabkowski/${PN}/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" +HOMEPAGE="https://github.com/PiotrDabkowski/pyjsparser/ + https://pypi.org/project/pyjsparser/" +SRC_URI="https://github.com/PiotrDabkowski/${PN}/archive/${H}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/${PN}-${H} RESTRICT="!test? ( test )" LICENSE="MIT" @@ -24,13 +22,11 @@ IUSE="test" BDEPEND=" test? ( - dev-python/js2py - dev-python/pytest + dev-python/js2py[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] ) " -S="${WORKDIR}/${PN}-${MY_COMMIT}" - python_test() { "${EPYTHON}" ./test_runner.py || die "tests failed with ${EPYTHON}" } |