dev-python/PTP - 0.4.3 (pentoo)

Search

Install

Install this version:

emerge -a =dev-python/PTP-0.4.3

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

autounmask =dev-python/PTP-0.4.3

Or alternatively:

emerge --autounmask-write -a =dev-python/PTP-0.4.3

Package Information

Description:
Pentester's Tools Parser
Homepage:
http://owtf.github.io/ptp/
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
0.4.3 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-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="Pentester's Tools Parser"
HOMEPAGE="http://owtf.github.io/ptp/"
SRC_URI="https://github.com/owtf/ptp/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"

S="${WORKDIR}/ptp-${PV}"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="test"

RDEPEND="
	dev-python/lxml[${PYTHON_USEDEP}]
	dev-python/Js2Py[${PYTHON_USEDEP}]
"
DEPEND="
	${RDEPEND}
"
# can't test because Js2Py bug. must uncomment when this issue is closed
# https://github.com/PiotrDabkowski/Js2Py/issues/334
	#test? (
	#	dev-python/mock[${PYTHON_USEDEP}]
	#	dev-python/pyhamcrest[${PYTHON_USEDEP}]
	#)

distutils_enable_sphinx 'docs/source'
#distutils_enable_tests unittest

src_prepare() {
	rm -r tests/
	eapply_user
}

Inherited Eclasses

Dependencies

DEPEND

	
	dev-python/lxml[]
	dev-python/Js2Py[]

RDEPEND

	dev-python/lxml[]
	dev-python/Js2Py[]

Manifest for 0.4.3

Type File Size Source URLs
DIST PTP-0.4.3.gh.tar.gz 728739 bytes https://github.com/owtf/ptp/archive/refs/tags/0.4.3.tar.gz