diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-04 15:02:51 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-04 15:02:51 +0000 |
commit | 5565fb7867ee9faddf046e42a0a3a1a207803938 (patch) | |
tree | 4ef17bc3c9c8058e033b4f7452064b3f9657e023 /dev-python/js2py | |
parent | acf34cb86be38d3601273c231058d3fda627e618 (diff) |
gentoo auto-resync : 04:12:2022 - 15:02:50
Diffstat (limited to 'dev-python/js2py')
-rw-r--r-- | dev-python/js2py/Manifest | 2 | ||||
-rw-r--r-- | dev-python/js2py/js2py-0.74.ebuild | 43 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/js2py/Manifest b/dev-python/js2py/Manifest index fa2b90ee338a..f4ea33b0539a 100644 --- a/dev-python/js2py/Manifest +++ b/dev-python/js2py/Manifest @@ -1,3 +1,5 @@ DIST Js2Py-0.71_p20210918.tar.gz 1970784 BLAKE2B 4ea446b306e858c2acb192a699b4c098cca1a334fd97246d3149186795a013fa1ff9cf45ecc5cd9bed241b13b3eb003ebf272f5af4ed24a608564fd4709e4ff1 SHA512 810363e4b0716e324e6deb5f373968c9c57e7ecf120710c064601ad46ca2f24bc8da52f779f861296dd506de06d664be86b3c0d72bcb811892fe4e6c22ad7a6d +DIST Js2Py-0.74.tar.gz 2504984 BLAKE2B 1e4f34ad94947118aeaf84ff438f9bec5b2a8ca3c722d907d3b8015acfcaafe1f229cfe401ae0f3d07c0f074ecf2f9ca3aeb94ef9c394b7ed6d90f1279c1ffa2 SHA512 cb2f42c2bec0c15dadc301ee0a7ac452cc8c4bba4669e95f1155863590d6d00781883b54d4dab755a0f66eb6e30990fedca732494b1f8b6c07dc29f5203a8c8c EBUILD js2py-0.71_p20210918.ebuild 1127 BLAKE2B 46f6387148d8a1c6c0e3678e021dd32ab1c018fe33be1966feb1a0f592ab950fc8e662f06e7bac3af3ca76e5f71203c51ccd23df29143bcd92e317d3b56e901f SHA512 48eacd37e89f85f90b041a8960549bd3d93888bd70301f559fdb840bfb94bd1ee2f5a83d2202cf54fa4f7205828f962579714397a7eac92f22643a7c5ff9caf9 +EBUILD js2py-0.74.ebuild 1079 BLAKE2B 20c9d535b91c6c753a045f400d443ca395bf9b84ddea92716fd0d34b15fff60962d5c21858c3e943e89a885ac6f693aedda7357598ff4efd7a144a81e8ba56c2 SHA512 434c61454c65cfd2f9afd4d64e50f0d2a78cc376a907f1d46c005f00b088aa5513400b39fd345cb16d93288c1838bd06717737607a8d6ecf7a87c6e49b30d632 MISC metadata.xml 385 BLAKE2B 145afe58273b407d1ba1f3859de0d79a3bdd4307575d043a8b574a8bac26c2d577efec841c6c3a9424ca7970dac33517df48c0f287c18bf4e1cc5faa5125ba6e SHA512 7e48c836578bcbb4abf0d99f0f2b870ab15158f05d5c402e2d84c9f9de7d2c994127eba26897e406b6c7d77c962867d39a37bf7ce78ca09d39b78d64f9d8d68d diff --git a/dev-python/js2py/js2py-0.74.ebuild b/dev-python/js2py/js2py-0.74.ebuild new file mode 100644 index 000000000000..f29185793ec4 --- /dev/null +++ b/dev-python/js2py/js2py-0.74.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN=Js2Py +MY_P=${MY_PN}-${PV} + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="JavaScript to Python Translator & JavaScript interpreter in Python" +HOMEPAGE="http://piter.io/projects/js2py/ + https://github.com/PiotrDabkowski/Js2Py/ + https://pypi.org/project/Js2Py/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/pyjsparser-2.5.1[${PYTHON_USEDEP}] + >=dev-python/tzlocal-1.2.0[${PYTHON_USEDEP}] + >=dev-python/six-1.10.0[${PYTHON_USEDEP}] +" + +python_test() { + pushd ./tests >/dev/null || die + + # Tests require "node_failed.txt" file where the logs are kept + if [[ -f ./node_failed.txt ]] ; then + rm ./node_failed.txt || die + fi + + touch ./node_failed.txt || die + "${EPYTHON}" ./run.py || die "tests failed with ${EPYTHON}" + + popd >/dev/null || die +} |