From 2719f73b6813d11d13a9650cdd2ab8ec6e69385d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 9 Jul 2022 15:43:36 +0100 Subject: gentoo resync : 09.07.2022 --- dev-python/pyjsparser/Manifest | 2 +- .../pyjsparser-2.7.1_p20190421-r1.ebuild | 32 +++++++++++++++++++ .../pyjsparser/pyjsparser-2.7.1_p20190421.ebuild | 36 ---------------------- 3 files changed, 33 insertions(+), 37 deletions(-) create mode 100644 dev-python/pyjsparser/pyjsparser-2.7.1_p20190421-r1.ebuild delete mode 100644 dev-python/pyjsparser/pyjsparser-2.7.1_p20190421.ebuild (limited to 'dev-python/pyjsparser') 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-r1.ebuild b/dev-python/pyjsparser/pyjsparser-2.7.1_p20190421-r1.ebuild new file mode 100644 index 000000000000..8b2a6183601a --- /dev/null +++ b/dev-python/pyjsparser/pyjsparser-2.7.1_p20190421-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +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/${H}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/${PN}-${H} + +RESTRICT="!test? ( test )" +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc x86" +IUSE="test" + +BDEPEND=" + test? ( + dev-python/js2py[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +python_test() { + "${EPYTHON}" ./test_runner.py || die "tests failed with ${EPYTHON}" +} diff --git a/dev-python/pyjsparser/pyjsparser-2.7.1_p20190421.ebuild b/dev-python/pyjsparser/pyjsparser-2.7.1_p20190421.ebuild deleted file mode 100644 index 9318b52029a1..000000000000 --- a/dev-python/pyjsparser/pyjsparser-2.7.1_p20190421.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_COMMIT="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" - -RESTRICT="!test? ( test )" -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc x86" -IUSE="test" - -BDEPEND=" - test? ( - dev-python/js2py - dev-python/pytest - ) -" - -S="${WORKDIR}/${PN}-${MY_COMMIT}" - -python_test() { - "${EPYTHON}" ./test_runner.py || die "tests failed with ${EPYTHON}" -} -- cgit v1.2.3