From 0ac140ef7d74bd144e665e7406dff7d5f384925b Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Tue, 25 Jun 2024 17:37:42 +0000 Subject: Adding metadata --- .../pyjsparser-2.7.1_p20190421-r2.ebuild | 35 ---------------------- .../pyjsparser-2.7.1_p20190421-r3.ebuild | 35 ++++++++++++++++++++++ 2 files changed, 35 insertions(+), 35 deletions(-) delete mode 100644 dev-python/pyjsparser/pyjsparser-2.7.1_p20190421-r2.ebuild create mode 100644 dev-python/pyjsparser/pyjsparser-2.7.1_p20190421-r3.ebuild (limited to 'dev-python/pyjsparser') diff --git a/dev-python/pyjsparser/pyjsparser-2.7.1_p20190421-r2.ebuild b/dev-python/pyjsparser/pyjsparser-2.7.1_p20190421-r2.ebuild deleted file mode 100644 index b50313f20685..000000000000 --- a/dev-python/pyjsparser/pyjsparser-2.7.1_p20190421-r2.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -[[ ${PV} == *_p20190421 ]] && COMMIT=5465d037b30e334cb0997f2315ec1e451b8ad4c1 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -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/${COMMIT}.tar.gz - -> ${P}.tar.gz" -S="${WORKDIR}"/${PN}-${COMMIT} - -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-r3.ebuild b/dev-python/pyjsparser/pyjsparser-2.7.1_p20190421-r3.ebuild new file mode 100644 index 000000000000..b8fd367bce41 --- /dev/null +++ b/dev-python/pyjsparser/pyjsparser-2.7.1_p20190421-r3.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +[[ ${PV} == *_p20190421 ]] && COMMIT=5465d037b30e334cb0997f2315ec1e451b8ad4c1 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +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/${COMMIT}.tar.gz + -> ${P}.tar.gz" +S="${WORKDIR}"/${PN}-${COMMIT} + +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}" +} -- cgit v1.3