mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 01:37:34 -08:00
dev-python/js2py: drop old 0.71_p20210918
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
parent
e3809191ac
commit
d2ce10c0a5
@ -1,2 +1 @@
|
||||
DIST Js2Py-0.71_p20210918.tar.gz 1970784 BLAKE2B 4ea446b306e858c2acb192a699b4c098cca1a334fd97246d3149186795a013fa1ff9cf45ecc5cd9bed241b13b3eb003ebf272f5af4ed24a608564fd4709e4ff1 SHA512 810363e4b0716e324e6deb5f373968c9c57e7ecf120710c064601ad46ca2f24bc8da52f779f861296dd506de06d664be86b3c0d72bcb811892fe4e6c22ad7a6d
|
||||
DIST Js2Py-0.74.tar.gz 2504984 BLAKE2B 1e4f34ad94947118aeaf84ff438f9bec5b2a8ca3c722d907d3b8015acfcaafe1f229cfe401ae0f3d07c0f074ecf2f9ca3aeb94ef9c394b7ed6d90f1279c1ffa2 SHA512 cb2f42c2bec0c15dadc301ee0a7ac452cc8c4bba4669e95f1155863590d6d00781883b54d4dab755a0f66eb6e30990fedca732494b1f8b6c07dc29f5203a8c8c
|
||||
|
||||
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
H=b16d7ce90ac9c03358010c1599c3e87698c9993f
|
||||
MY_PN=Js2Py
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
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="https://github.com/PiotrDabkowski/${MY_PN}/archive/${H}.tar.gz
|
||||
-> ${MY_P}.tar.gz"
|
||||
S="${WORKDIR}"/${MY_PN}-${H}
|
||||
|
||||
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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user