theHarvester-4.6.0.ebuild

This commit is contained in:
Anton Bolshakov 2024-03-18 09:48:11 +08:00
parent a37d18d4a4
commit 41c785d63b
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
4 changed files with 74 additions and 2 deletions

View file

@ -0,0 +1,2 @@
DIST playwright-1.42.0_aarch64.zip 37086139 BLAKE2B 4dd605519c2bacd1db4786845a28485184fe500b2688253bbf387e9232aa5df702ffa8a3f627c3ff5d41a6e16e26ceebe0a6e63d757b0bb3807b5456d93ff25a SHA512 db88505a1f822868cd1375a850216bf9bd48338c50258a74c0da2c9ad747b0381246e80759d1f66674a8a01c24c096a738c28b8c9afe6e1bf4d6804aa55ab9fe
DIST playwright-1.42.0_x86_64.zip 37339061 BLAKE2B 34a842b90b8f1128f914d20b6ab6d6ed4a2deee6c9c3816e3905f8f815b3de6663a81b73645325057765d4909a22291e24530a01a95e329a1855058dc4783d37 SHA512 5fe946d678bfc9bb94a33d672b0c765abdf14149b264dbe04037f856e106181f2ea28a556b7a78e443fb6dec86f843b32555eb8589d8853dcdd882542a6965d8

View file

@ -0,0 +1,70 @@
# 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 pypi
MY_PN=${PN//-bin/}
MY_P=${MY_PN}-${PV}
DESCRIPTION=""
HOMEPAGE=""
LICENSE=""
SLOT="0"
KEYWORDS="~amd64"
SRC_URI="
amd64? (
https://files.pythonhosted.org/packages/py3/${MY_P:0:1}/${MY_PN}/${MY_P}-py3-none-manylinux1_x86_64.whl -> ${MY_P}_x86_64.zip
)
arm64? (
https://files.pythonhosted.org/packages/py3/${MY_P:0:1}/${MY_PN}/${MY_P}-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl -> ${MY_P}_aarch64.zip
)
"
RDEPEND=""
DEPEND="${RDEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RESTRICT="test"
#distutils_enable_tests pytest
# * QA Notice: Files built without respecting LDFLAGS have been detected
# * Please include the following list of files in your report:
# * /usr/lib/python3.11/site-packages/playwright/driver/node
# * /usr/lib/python3.12/site-packages/playwright/driver/node
QA_PREBUILT="usr/lib/python*/site-packages/playwright/driver/node"
S="${WORKDIR}/"
pkg_setup() {
python_setup
}
src_compile() {
einfo
}
#python_src_install() {
src_install() {
# insinto "$(python_get_sitedir)"
# doins playwright
# doins playwright-1.42.0.dist-info
do_install() {
python_domodule "${MY_PN}"
python_domodule "${MY_PN}-${PV}.dist-info"
#FIXME: playwright/driver/node and playwright.sh must be executable?
#dosym /opt/${MY_PN} "$(python_get_sitedir)/${MY_PN}/executable"
}
python_foreach_impl do_install
}

View file

@ -1,2 +1,2 @@
DIST theHarvester-4.5.0.tar.gz 864382 BLAKE2B 9b8552432a81f82fe2d1c648eb53f382bc549b017a5fd18d3b0e6d36b8f49af93672de2489a118edcebdf4ea40386c87efc5269a739db03d958dbfcdd1959e31 SHA512 4cc13cfaa951587afcd999296f7fa0cd9fdfa65fb2363bb7389df440bde94e64bd2533de0a7e14d302822c2bf3889988d2224a8000278606675f987fb3b4bc3d
DIST theHarvester-4.5.1.tar.gz 864359 BLAKE2B 3548512c75d4a9886185b3402cf07e5008cf859fad82f93e1eced800457365c815c4ef6c9675f75ea3e2f4e76ef9fd6d5043a3f3808b1d76067c825b0cad9796 SHA512 8e85b1e224b1cf0e11f571bf3b77d57c93e0c934153607e08da26cef952814f147015024e61ef7ed2fc79dcd24bf92cb13fb9abfd3e7257d9ceed44c305618d4
DIST theHarvester-4.6.0.tar.gz 863634 BLAKE2B abd6194ecd4b24ddd54f8e7b852d31cf6b36d5eaff9d696c4d93502efa3053193eeb786e218b7ac8032e98325aff17b80c0cc5fd0a7fa2a4614e81b2d54dee1f SHA512 a1d4079064755be3ad876420251f2b7f48bc4d9fcf95fb6f2295a9c04eb50c171f6574cc53a4b047eefa0d6285e4436abe57ba94861aee7ac224ddc78b70aa92

View file

@ -32,7 +32,7 @@ RDEPEND="${PYTHON_DEPS}
>=dev-python/lxml-4.6.4[${PYTHON_USEDEP}]
dev-python/netaddr[${PYTHON_USEDEP}]
dev-python/ujson[${PYTHON_USEDEP}]
dev-python/pyppeteer[${PYTHON_USEDEP}]
dev-python/playwright-bin[${PYTHON_USEDEP}]
>=dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]