net-misc/hackertarget - 9999 (pentoo)

Search

Install

Install this version:

emerge -a =net-misc/hackertarget-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-misc/hackertarget-9999

Or alternatively:

emerge --autounmask-write -a =net-misc/hackertarget-9999

Package Information

Description:
A security toolkit for organizations with attack surface discovery
Homepage:
https://github.com/ismailtasdelen/hackertarget
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
9999 8 ~amd64 ~arm ~x86 0
View Raw Ebuild
# 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="A security toolkit for organizations with attack surface discovery"
HOMEPAGE="https://github.com/ismailtasdelen/hackertarget"

if [[ ${PV} == *9999 ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/ismailtasdelen/hackertarget"
else
	SRC_URI="https://github.com/ismailtasdelen/hackertarget/archive/v${PV}.tar.gz -> ${P}.tar.gz"
	KEYWORDS="~amd64 ~arm ~x86"
fi

LICENSE="MIT"
SLOT="0"

DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}
	dev-python/requests[${PYTHON_USEDEP}]"

src_prepare() {
	mv source $PN || die
	sed -i -e "s/\['source'\]/\['${PN}'\]/" setup.py || die
	sed -i -e "s/from source/from ${PN}/g" ${PN}.py || die

	default
}

src_install() {
	distutils-r1_src_install
	python_foreach_impl python_newscript ${PN}.py $PN
}

Inherited Eclasses

Dependencies

RDEPEND

	dev-python/requests[]