summaryrefslogtreecommitdiff
path: root/dev-python/pyjsparser
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-07-03 10:25:19 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-07-03 10:25:19 +0000
commit7d3cdb1aa12cfaa5cc341f28a677d1ab51c29934 (patch)
tree54b31f073e0dec5173f95dec0560031794204c99 /dev-python/pyjsparser
parentae9512cdfbd3c1b4ff9c7cefaf0cff4a99eadb2c (diff)
downloadbaldeagleos-repo-7d3cdb1aa12cfaa5cc341f28a677d1ab51c29934.tar.gz
baldeagleos-repo-7d3cdb1aa12cfaa5cc341f28a677d1ab51c29934.tar.xz
baldeagleos-repo-7d3cdb1aa12cfaa5cc341f28a677d1ab51c29934.zip
Adding metadata
Diffstat (limited to 'dev-python/pyjsparser')
-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
1 files changed, 8 insertions, 12 deletions
diff --git a/dev-python/pyjsparser/pyjsparser-2.7.1_p20190421.ebuild b/dev-python/pyjsparser/pyjsparser-2.7.1_p20190421-r1.ebuild
index e52f7a0e64cf..0f29fe33a993 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_{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"
+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}"
}