mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
xsstrike-3.1.6.ebuild
This commit is contained in:
parent
92d3e09dfc
commit
f8c065acf0
9 changed files with 60 additions and 26 deletions
|
|
@ -1,2 +1 @@
|
|||
DIST ipwhois-1.0.0.tar.gz 131837 BLAKE2B 9eed0f646a55a5cda01776afdc62890591ddaf3f04873b4127ade6f0e7ed02efa44d78ceb64ec0153bd423be70dd490ddaa50c910a3f0833d21af1452b120476 SHA512 b8197e67d4ff4cbfae3d9327f231ea0c3c0698d59fe688e1454bc0f469d1a671f6dbaeaf6e5c57c087bea2ab90139673d9bc3b5bd6350d167febeb4f6da5a5ab
|
||||
DIST ipwhois-1.2.0.tar.gz 131936 BLAKE2B d10d2f76467ff50787ae3a9f9ab26c7814bc8f4548b49c60f43185702cdf146b787e719cd55e489135e4d6ee7624b28dc3e9a453f303be56718130410125a403 SHA512 08ce0541ea605b9d4ff4ddd07b732a57575b156e126a533304bcfadc24dc809046b3485b72b73703b86c102fce42759987a92c554f114bde17f2142dded29e17
|
||||
|
|
|
|||
|
|
@ -1,21 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Retrieve and parse whois data for IPv4 and IPv6 addresses"
|
||||
HOMEPAGE="https://github.com/secynic/ipwhois"
|
||||
SRC_URI="https://github.com/secynic/ipwhois/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~mips ~x86"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-python/dnspython[${PYTHON_USEDEP}]
|
||||
dev-python/ipaddr[${PYTHON_USEDEP}]"
|
||||
|
|
@ -5,4 +5,7 @@
|
|||
<email>email@linxon.ru</email>
|
||||
<name>Yury Martynov</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">secynic/ipwhois</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
|
|
|||
1
dev-python/tld/Manifest
Normal file
1
dev-python/tld/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST tld-0.13.1.gh.tar.gz 459349 BLAKE2B 5b32729ee5b6fbb45d94091d88a6c351952b2fc3dd530e341eb54302a4f5d642858c56c226f3e48dd2c5b83ed8742fa06b6901f7b45921ea6aa7618882f64413 SHA512 5b4dbf8cdb88e62d9da6f7b084d76497637a6d144a452c749c37b6a845133ec1aeb288d599072488f59193ab21bb303a2baf4f502cd10e4b5e00db71a35ac3cd
|
||||
12
dev-python/tld/metadata.xml
Normal file
12
dev-python/tld/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>unknown@pentoo.ch</email>
|
||||
<name>Author Unknown</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">tld</remote-id>
|
||||
<remote-id type="github">barseghyanartur/tld</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
42
dev-python/tld/tld-0.13.1.ebuild
Normal file
42
dev-python/tld/tld-0.13.1.ebuild
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Extract the top level domain (TLD) from the URL given"
|
||||
HOMEPAGE="
|
||||
https://github.com/barseghyanartur/tld/
|
||||
https://pypi.org/project/tld/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/barseghyanartur/tld/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/fake-py[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
# remove pytest-codeblock nonsense
|
||||
rm conftest.py || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
epytest -o addopts=
|
||||
}
|
||||
|
|
@ -1 +1 @@
|
|||
DIST xsstrike-3.1.5.tar.gz 51557 BLAKE2B 846cdcb43130c6cb43710ba019b4466a0a28044bfb2438ebdf390fa0614cd2b959caf19386eaa2b1444e588dba2f6a2cd2d4bbc766b20c1d8ca2767a758c1caf SHA512 f02ff229605666c782001ce3557408746ed8ee7a1c309b91599de26f3679a85990204f10f6fc99d56b2dabe5624d826a72cda2e4a86946cf455533e004723d75
|
||||
DIST xsstrike-3.1.6.tar.gz 51568 BLAKE2B 0717bae8c8973c99b7a7355923b7679d083b374f1ab35f701799797f63fee65c3ca0b1f22a7a56f1b3c4d227a4135118a7b38cf74bb9df53e9def457ae86820d SHA512 7b57a3c3d01ca0288881dd3778b5e5578329eb4c456ab9d81c2893f2a2bec74cfa1cb3ff59925bade0daaecf4443adb6ba6a85c0046a81493af0bca2dfc4477d
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@ RDEPEND="${DEPEND}
|
|||
dev-python/tld[${PYTHON_USEDEP}]
|
||||
dev-python/fuzzywuzzy[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/selenium[${PYTHON_USEDEP}]
|
||||
')"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
|
|
@ -38,7 +37,7 @@ pkg_setup() {
|
|||
}
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}/disable_update_opt.patch"
|
||||
# eapply "${FILESDIR}/disable_update_opt.patch"
|
||||
python_fix_shebang "${S}"
|
||||
default
|
||||
}
|
||||
|
|
@ -29,7 +29,6 @@ RDEPEND="${DEPEND}
|
|||
dev-python/tld[${PYTHON_USEDEP}]
|
||||
dev-python/fuzzywuzzy[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/selenium[${PYTHON_USEDEP}]
|
||||
')"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue