mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-16 10:33:28 -04:00
Merge updates from master
This commit is contained in:
@@ -21,15 +21,8 @@ RDEPEND="
|
||||
"
|
||||
|
||||
DEPEND="test? (
|
||||
dev-python/js2py[${PYTHON_USEDEP}]
|
||||
dev-python/responses[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# TODO: Package js2py to support this test
|
||||
sed -i -e 's:test_js_challenge_11_12_2019:_&:' \
|
||||
tests/test_cloudscraper.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
1
dev-python/js2py/Manifest
Normal file
1
dev-python/js2py/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST Js2Py-0.70.tar.gz 562038 BLAKE2B 4d6fe0d6b756a7c007e8995184e687c7e8dd7d7efd9e2da2eeb707a7f7289827eb4ed76b1394a2394666c17da9550e2f88abfbccac47f671284a9d5dbf90f556 SHA512 49ac5bda8718c11a2607992659f0f3ccbf27cd6194878ca5f65184eaee1ad795f91136b870310a0f0fe6fae7d4e9a33c268e0ca811566ac522e37026c7ebe876
|
||||
30
dev-python/js2py/js2py-0.70.ebuild
Normal file
30
dev-python/js2py/js2py-0.70.ebuild
Normal file
@@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN="Js2Py"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="JavaScript to Python Translator & JavaScript interpreter written in Python"
|
||||
HOMEPAGE="
|
||||
https://github.com/PiotrDabkowski/Js2Py
|
||||
https://pypi.org/project/Js2Py/
|
||||
"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
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}]
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
12
dev-python/js2py/metadata.xml
Normal file
12
dev-python/js2py/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>xgqt@protonmail.com</email>
|
||||
<name>Maciej Barć</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">PiotrDabkowski/Js2Py</remote-id>
|
||||
<remote-id type="pypi">Js2Py</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user