diff --git a/app-forensics/pytsk/Manifest b/app-forensics/pytsk/Manifest new file mode 100644 index 000000000..879bb0c9d --- /dev/null +++ b/app-forensics/pytsk/Manifest @@ -0,0 +1,2 @@ +DIST pytsk3-20210801.tar.gz 3199913 BLAKE2B 3162ae9f705c9964d74b39486b3915a05522fb02805f9b0397d11e8ca9618db53ddde8b950b24f4d507937b94c198940368ec66907e88ea535620e465fcd886c SHA512 e2af30d1f8b3ba7fdceaaa27ee3c16795a4a7d99a2c1473affb58d95eb17221af804daec7c9ebf6f3354b4c8f8d7e26ed4b3461621b434008a6e40435c5d2d2d +DIST pytsk3-20211111.tar.gz 3227669 BLAKE2B e44f628c3379cd3a44f5b459b68e0163614de82ed47d81ec2e595d96144e9d715e42286ec434bf323a4a17c26b0e3d82098234b5ae48eabbdc261270ca474f9f SHA512 7fd574657a31683ccf6e16fabb9f2e162041f49fa3559aa003327f1c42ee6190faeabf144a07f04725b8b55fcbc5bf133509b646a5aced7835fddaf345bce9c3 diff --git a/app-forensics/pytsk/pytsk-20210801.ebuild b/app-forensics/pytsk/pytsk-20210801.ebuild new file mode 100644 index 000000000..f3a0d8bff --- /dev/null +++ b/app-forensics/pytsk/pytsk-20210801.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# CAUTION: The project is named pytsk, but the versions and release files are +# called pytsk3-yyyymmdd (see SRC_URI and S below). + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings for The Sleuth Kit (libtsk)" +HOMEPAGE="https://github.com/py4n6/pytsk/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}3/${PN}3-${PV}.tar.gz" +S="${WORKDIR}/${PN}3-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + >=app-forensics/sleuthkit-4.11 + >=dev-python/pip-7.0[${PYTHON_USEDEP}] + sys-libs/talloc[python] + ${PYTHON_DEPS} +" +RDEPEND="${DEPEND}" + +python_test() { + "${EPYTHON}" run_tests.py -v || die +} diff --git a/app-forensics/pytsk/pytsk-20211111.ebuild b/app-forensics/pytsk/pytsk-20211111.ebuild new file mode 100644 index 000000000..f3a0d8bff --- /dev/null +++ b/app-forensics/pytsk/pytsk-20211111.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# CAUTION: The project is named pytsk, but the versions and release files are +# called pytsk3-yyyymmdd (see SRC_URI and S below). + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings for The Sleuth Kit (libtsk)" +HOMEPAGE="https://github.com/py4n6/pytsk/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}3/${PN}3-${PV}.tar.gz" +S="${WORKDIR}/${PN}3-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + >=app-forensics/sleuthkit-4.11 + >=dev-python/pip-7.0[${PYTHON_USEDEP}] + sys-libs/talloc[python] + ${PYTHON_DEPS} +" +RDEPEND="${DEPEND}" + +python_test() { + "${EPYTHON}" run_tests.py -v || die +}