mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-21 14:21:02 +02:00
This commit is contained in:
parent
46124b7041
commit
ea6e206e81
5 changed files with 11 additions and 31 deletions
|
|
@ -1 +0,0 @@
|
|||
DIST semver-2.13.0.gh.tar.gz 43674 BLAKE2B 35d0ca0b61836d0e6deb97f067a0c1cbba310dde6eb83d78f02f85c3f7485114ad549559d572d4494aa7c4444c7d6feabcb36394561a238489d56bfd04ed8590 SHA512 ca0d408d8bb7305e90802ea04d935cd7b76b8f166a9ec97ed3427dbc2cf60eeca0b2d27ad0cb2f15f32f5b2589d6717a63717c463183374c5335bf79e1eec222
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
# Copyright 2019-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( pypy3 python3_{10..12} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A Python module for semantic versioning"
|
||||
HOMEPAGE="https://github.com/python-semver/python-semver"
|
||||
SRC_URI="https://github.com/python-${PN}/python-${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
S="${WORKDIR}/python-${P}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# contains pytest/cov args we don't want
|
||||
rm setup.cfg || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
|
@ -8,4 +8,7 @@
|
|||
<use>
|
||||
<flag name="patchapk">Add support to patch APKs</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">sensepost/objection</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Runtime mobile exploration"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
@ -22,7 +23,7 @@ RDEPEND=">=dev-util/frida-tools-7.0.0[${PYTHON_USEDEP}]
|
|||
>=dev-python/prompt-toolkit-3.0.3[${PYTHON_USEDEP}] <dev-python/prompt-toolkit-4.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/click[${PYTHON_USEDEP}]
|
||||
dev-python/tabulate[${PYTHON_USEDEP}]
|
||||
=dev-python/semver-2*[${PYTHON_USEDEP}]
|
||||
>=dev-python/semver-2[${PYTHON_USEDEP}]
|
||||
dev-python/delegator[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/flask[${PYTHON_USEDEP}]
|
||||
|
|
@ -45,6 +46,8 @@ DEPEND="${RDEPEND}
|
|||
|
||||
src_prepare() {
|
||||
rm -r tests
|
||||
# https://github.com/sensepost/objection/issues/652
|
||||
sed -i "s|semver>=2,<3|semver>=2|" requirements.txt || die
|
||||
mv "${WORKDIR}/node_modules" "${S}/agent/" || die "unable to move node_modules"
|
||||
eapply_user
|
||||
}
|
||||
Loading…
Reference in a new issue