mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-21 14:21:02 +02:00
theHarvester-4.5.1.ebuild
This commit is contained in:
parent
ce86818406
commit
a0e53777d2
9 changed files with 110 additions and 12 deletions
|
|
@ -6,16 +6,14 @@ EAPI=8
|
|||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit distutils-r1
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Rate limiting utilities"
|
||||
HOMEPAGE="https://limits.readthedocs.org/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE=""
|
||||
KEYWORDS="amd64 arm64 x86"
|
||||
RESTRICT="test"
|
||||
|
||||
#FIXME: review deps
|
||||
|
|
|
|||
11
dev-python/limits/metadata.xml
Normal file
11
dev-python/limits/metadata.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?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">limits</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
|
@ -1,2 +1,3 @@
|
|||
DIST slowapi-0.1.7.tar.gz 14153 BLAKE2B 718be1d47ed02da8aa7d395a3ce67965e982cae540ea5e5fe8195718c5ac35e1ecf73079752a67eaa36ed1d7757d3d9ab35ab3e2e681c87ba25e130d7f43add0 SHA512 06af17d501448975e9990515552446118cb5e0fbb4c0007dff1bdd4ce7626c0e1ca1d634c532456573a4c76d3c2c8e7bb16dc2d962bce0e069f6835f79d23ec2
|
||||
DIST slowapi-0.1.7_p20230321.tar.gz 53139 BLAKE2B 39e197f983aef3702da0fc92fa341b15c19707ccce04ba24ae9a65d26ad453c2c10b760b5602a4544ac130dbaec1c53608dded5bd03f83a11e7c7e8cfff37455 SHA512 df63030ed589f9fd9f6d370faf49517791811628ca565072538c9091e3fc4468f1c67e1529ebdff2b990705cb11360116b81525b5a280380f058b10ef0a9d276
|
||||
DIST slowapi-0.1.7_p20230321.gh.tar.gz 53139 BLAKE2B 39e197f983aef3702da0fc92fa341b15c19707ccce04ba24ae9a65d26ad453c2c10b760b5602a4544ac130dbaec1c53608dded5bd03f83a11e7c7e8cfff37455 SHA512 df63030ed589f9fd9f6d370faf49517791811628ca565072538c9091e3fc4468f1c67e1529ebdff2b990705cb11360116b81525b5a280380f058b10ef0a9d276
|
||||
DIST slowapi-0.1.9.tar.gz 14028 BLAKE2B 931c981f6e72e54a85b2e31d29b66038deaa90cf1ccc3865e94173c082fdd1a733f05d46b8ab8ebc0058e87feccea9d01f03c0cc96a88362e640de9ee30ff29f SHA512 9d3f868a4121e5aff4dc79d2820ca4114019ba7b7cb73f379885529d611a637cc53ac7bdfc7716284c008a54d6ef6dabf907a09ae1ddfc09194569ed54d3e90b
|
||||
|
|
|
|||
|
|
@ -5,6 +5,9 @@
|
|||
<email>sidhayn@gmail.com</email>
|
||||
<name>Zero_Chaos</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="redis">redis, memcached and memory backends to track your limits</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">laurents/slowapi</remote-id>
|
||||
<remote-id type="pypi">slowapi</remote-id>
|
||||
|
|
|
|||
|
|
@ -6,11 +6,10 @@ EAPI=8
|
|||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
inherit distutils-r1
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="A rate limiting extension for Starlette and Fastapi"
|
||||
HOMEPAGE="https://github.com/laurents/slowapi"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
|
@ -9,15 +9,14 @@ DISTUTILS_USE_PEP517=poetry
|
|||
inherit distutils-r1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
HASH_COMMIT="8f8fc7c65a57fd8fcfd476ff1e782bd37f4eed8f"
|
||||
DESCRIPTION="A rate limiting extension for Starlette and Fastapi"
|
||||
HOMEPAGE="https://github.com/laurents/slowapi"
|
||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
SRC_URI="https://github.com/laurentS/slowapi/archive/8f8fc7c65a57fd8fcfd476ff1e782bd37f4eed8f.tar.gz -> ${P}.tar.gz"
|
||||
inherit vcs-snapshot
|
||||
SRC_URI="https://github.com/laurentS/slowapi/archive/${HASH_COMMIT}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
KEYWORDS="amd64 arm64 x86"
|
||||
IUSE="test"
|
||||
#RESTRICT="!test? ( test )"
|
||||
#doesn't seem to work, missing "hiro"?
|
||||
|
|
@ -30,3 +29,5 @@ RDEPEND=">=dev-python/limits-1.5[${PYTHON_USEDEP}]
|
|||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
S="${WORKDIR}/${PN}-${HASH_COMMIT}"
|
||||
|
|
|
|||
24
dev-python/slowapi/slowapi-0.1.9.ebuild
Normal file
24
dev-python/slowapi/slowapi-0.1.9.ebuild
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="A rate limiting extension for Starlette and Fastapi"
|
||||
HOMEPAGE="https://github.com/laurents/slowapi"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE="test +redis"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND=">=dev-python/limits-2.3[${PYTHON_USEDEP}]
|
||||
redis? ( >=dev-python/redis-3.4.1[${PYTHON_USEDEP}] )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
|
@ -1 +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
|
||||
|
|
|
|||
60
net-analyzer/theHarvester/theHarvester-4.5.1.ebuild
Normal file
60
net-analyzer/theHarvester/theHarvester-4.5.1.ebuild
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
# 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
|
||||
|
||||
DESCRIPTION="The Harvester is a tool designed to collect email accounts of the target domain"
|
||||
HOMEPAGE="http://www.edge-security.com/theharvester.php"
|
||||
SRC_URI="https://github.com/laramies/theHarvester/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
# requirements/base.txt
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-python/aiodns[${PYTHON_USEDEP}]
|
||||
dev-python/aiofiles[${PYTHON_USEDEP}]
|
||||
dev-python/aiohttp[${PYTHON_USEDEP}]
|
||||
dev-python/aiomultiprocess[${PYTHON_USEDEP}]
|
||||
dev-python/aiosqlite[${PYTHON_USEDEP}]
|
||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
||||
dev-python/censys[${PYTHON_USEDEP}]
|
||||
dev-python/certifi[${PYTHON_USEDEP}]
|
||||
>=dev-python/dnspython-2.1.0[${PYTHON_USEDEP}]
|
||||
dev-python/fastapi[${PYTHON_USEDEP}]
|
||||
>=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/pyyaml-6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/retrying[${PYTHON_USEDEP}]
|
||||
>=dev-python/shodan-1.28.0[${PYTHON_USEDEP}]
|
||||
dev-python/slowapi[${PYTHON_USEDEP}]
|
||||
dev-python/uvicorn[${PYTHON_USEDEP}]
|
||||
dev-python/uvloop[${PYTHON_USEDEP}]
|
||||
|
||||
dev-python/starlette[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
# test? (
|
||||
# dev-python/flake8[${PYTHON_USEDEP}]
|
||||
# dev-python/mypy[${PYTHON_USEDEP}]
|
||||
# )"
|
||||
|
||||
# distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# network required for tests
|
||||
rm -r tests || die
|
||||
default
|
||||
}
|
||||
Loading…
Reference in a new issue