From 7d3cdb1aa12cfaa5cc341f28a677d1ab51c29934 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sun, 3 Jul 2022 10:25:19 +0000 Subject: Adding metadata --- .../pyjsparser-2.7.1_p20190421-r1.ebuild | 32 +++++++++++++++++++ .../pyjsparser/pyjsparser-2.7.1_p20190421.ebuild | 36 ---------------------- 2 files changed, 32 insertions(+), 36 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/pyjsparser-2.7.1_p20190421-r1.ebuild b/dev-python/pyjsparser/pyjsparser-2.7.1_p20190421-r1.ebuild new file mode 100644 index 000000000000..0f29fe33a993 --- /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_{7,8,9,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 e52f7a0e64cf..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_{7,8,9,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.3