re-applied changes to app-forensics/dfwinreg

This commit is contained in:
Volker Wegert 2022-12-02 23:40:57 +01:00
parent e6c27c9700
commit 5521b37236
No known key found for this signature in database
GPG key ID: 1BCEC13D2F171EC4
7 changed files with 289 additions and 0 deletions

View file

@ -0,0 +1,5 @@
DIST dfwinreg-20200121.tar.gz 43707 BLAKE2B 017f311bd0e6321e9bebaf19e5131c05fae8368df4dfa3c6a7fbe3609c65c8a8319790e5dc7f4456643cb1f3c406a68963932b668d35f523d25b862ad26566cd SHA512 83ec93be0632bd5aedd835c8304dd6c21aa311f9001f96d91907fd5e1f33f4a8a8ed05a0a76d3698482e2f4d9173fb090faac26808bfc3dd50dd8a52862d8a07
DIST dfwinreg-20200415.tar.gz 43302 BLAKE2B 3b18d9b891c28bcba7527004380eabde18c5a2f70abaf0139272b552ad56712d8587a12448e0a364700703329565f2a1104a8ff50476071c2cf67d62b98ea53a SHA512 dd76379dbbd40065c60ce35d765e18abfcb50081a78dcea9a17d7a2dd11fbbcca2ae0fc48b53662396f71b4d548bbd593dbc8ac567c008105c0f0c44e54587f1
DIST dfwinreg-20201006.tar.gz 56196 BLAKE2B e1707a20b9220c56d1ca5c0e3b47b75560085b8e6d7c6a08c2c306eb1d3d4ab057efc27aa0ed753a5861d23b1efec6b32301b1bdfcc6c8ddf1f2e5dbfba92dae SHA512 848226c663b4f4ec87744fed844ccc2fbcb33b0afb618ccc6b8dddee0752e6590b35c25e563fd959496e29b9ea6402ede35a2a546ded4acc7070c83bb29a914c
DIST dfwinreg-20211205.tar.gz 56252 BLAKE2B f1496d57424ec7f4d5e18f75747a8e2b6505dd7d9498f403342c3624d51b5e93e1e11384b77afb81d729acb58bad9018cc0680dd278e565d82dcebdcfb154f14 SHA512 9e5979e087234cdb626a2d692fab64a5fa5409b3ebf369e544f67a9e966634545c21d47475bfe3ec19faf8bea8a88de305fda527133ae0a78f6867e4a3196e05
DIST dfwinreg-20211207.tar.gz 15564248 BLAKE2B 4ddd297675e6f1d7906b6409c6deb0edb8e37cec78c2ad65b6ac57cc51352ae8d030e1cec82d79a6ff84e6d72bf7605c75e153f1464b28f32ae794954d0fecb6 SHA512 2b1c490ecf71a3665f53c1eb4cb2b241e0b2dfe21524e90c939899a4843e0efc94434d213c6702b66f359ecc2c9d0b2ed2065e8ecd0326dcba32cb96163d5882

View file

@ -0,0 +1,55 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1
DESCRIPTION="Digital Forensics Windows Registry (dfWinReg)"
HOMEPAGE="https://github.com/log2timeline/dfwinreg"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RESTRICT="!test? ( test )"
DEPEND="
>=dev-python/pip-7.0[${PYTHON_USEDEP}]
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
>=dev-python/dfdatetime-20160814
>=dev-python/dtfabric-20170524
>=dev-libs/libcreg-20210502[python]
>=app-forensics/libregf-20201002[python]
>=dev-python/pyxattr-0.7.2[${PYTHON_USEDEP}]
${PYTHON_DEPS}
test? (
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
>=dev-python/pbr-4.2.0[${PYTHON_USEDEP}]
>=dev-python/six-1.1.0[${PYTHON_USEDEP}]
)
"
RDEPEND="${DEPEND}"
src_prepare() {
# provisionary fix for https://github.com/log2timeline/dfwinreg/issues/201
eapply "${FILESDIR}/${PN}"_setup_cfg_license_param.patch
default
}
python_test() {
"${EPYTHON}" run_tests.py -v || die
}
python_install_all() {
distutils-r1_python_install_all
# move some documentation files to the canonical target path
mv "${ED}"/usr/share/doc/"${PN}"/* "${ED}"/usr/share/doc/"${PF}"/ || die
rmdir "${ED}"/usr/share/doc/"${PN}" || die
}

View file

@ -0,0 +1,55 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1
DESCRIPTION="Digital Forensics Windows Registry (dfWinReg)"
HOMEPAGE="https://github.com/log2timeline/dfwinreg"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RESTRICT="!test? ( test )"
DEPEND="
>=dev-python/pip-7.0[${PYTHON_USEDEP}]
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
>=dev-python/dfdatetime-20160814
>=dev-python/dtfabric-20170524
>=dev-libs/libcreg-20210502[python]
>=app-forensics/libregf-20201002[python]
>=dev-python/pyxattr-0.7.2[${PYTHON_USEDEP}]
${PYTHON_DEPS}
test? (
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
>=dev-python/pbr-4.2.0[${PYTHON_USEDEP}]
>=dev-python/six-1.1.0[${PYTHON_USEDEP}]
)
"
RDEPEND="${DEPEND}"
src_prepare() {
# provisionary fix for https://github.com/log2timeline/dfwinreg/issues/201
eapply "${FILESDIR}/${PN}"_setup_cfg_license_param.patch
default
}
python_test() {
"${EPYTHON}" run_tests.py -v || die
}
python_install_all() {
distutils-r1_python_install_all
# move some documentation files to the canonical target path
mv "${ED}"/usr/share/doc/"${PN}"/* "${ED}"/usr/share/doc/"${PF}"/ || die
rmdir "${ED}"/usr/share/doc/"${PN}" || die
}

View file

@ -0,0 +1,55 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1
DESCRIPTION="Digital Forensics Windows Registry (dfWinReg)"
HOMEPAGE="https://github.com/log2timeline/dfwinreg"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RESTRICT="!test? ( test )"
DEPEND="
>=dev-python/pip-7.0[${PYTHON_USEDEP}]
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
>=dev-python/dfdatetime-20160814
>=dev-python/dtfabric-20170524
>=dev-libs/libcreg-20210502[python]
>=app-forensics/libregf-20201002[python]
>=dev-python/pyxattr-0.7.2[${PYTHON_USEDEP}]
${PYTHON_DEPS}
test? (
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
>=dev-python/pbr-4.2.0[${PYTHON_USEDEP}]
>=dev-python/six-1.1.0[${PYTHON_USEDEP}]
)
"
RDEPEND="${DEPEND}"
src_prepare() {
# provisionary fix for https://github.com/log2timeline/dfwinreg/issues/201
eapply "${FILESDIR}/${PN}"_setup_cfg_license_param.patch
default
}
python_test() {
"${EPYTHON}" run_tests.py -v || die
}
python_install_all() {
distutils-r1_python_install_all
# move some documentation files to the canonical target path
mv "${ED}"/usr/share/doc/"${PN}"/* "${ED}"/usr/share/doc/"${PF}"/ || die
rmdir "${ED}"/usr/share/doc/"${PN}" || die
}

View file

@ -0,0 +1,55 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1
DESCRIPTION="Digital Forensics Windows Registry (dfWinReg)"
HOMEPAGE="https://github.com/log2timeline/dfwinreg"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RESTRICT="!test? ( test )"
DEPEND="
>=dev-python/pip-7.0[${PYTHON_USEDEP}]
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
>=dev-python/dfdatetime-20160814
>=dev-python/dtfabric-20170524
>=dev-libs/libcreg-20210502[python]
>=app-forensics/libregf-20201002[python]
>=dev-python/pyxattr-0.7.2[${PYTHON_USEDEP}]
${PYTHON_DEPS}
test? (
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
>=dev-python/pbr-4.2.0[${PYTHON_USEDEP}]
>=dev-python/six-1.1.0[${PYTHON_USEDEP}]
)
"
RDEPEND="${DEPEND}"
src_prepare() {
# provisionary fix for https://github.com/log2timeline/dfwinreg/issues/201
eapply "${FILESDIR}/${PN}"_setup_cfg_license_param.patch
default
}
python_test() {
"${EPYTHON}" run_tests.py -v || die
}
python_install_all() {
distutils-r1_python_install_all
# move some documentation files to the canonical target path
mv "${ED}"/usr/share/doc/"${PN}"/* "${ED}"/usr/share/doc/"${PF}"/ || die
rmdir "${ED}"/usr/share/doc/"${PN}" || die
}

View file

@ -0,0 +1,55 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1
DESCRIPTION="Digital Forensics Windows Registry (dfWinReg)"
HOMEPAGE="https://github.com/log2timeline/dfwinreg"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RESTRICT="!test? ( test )"
DEPEND="
>=dev-python/pip-7.0[${PYTHON_USEDEP}]
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
>=dev-python/dfdatetime-20160814
>=dev-python/dtfabric-20170524
>=dev-libs/libcreg-20210502[python]
>=app-forensics/libregf-20201002[python]
>=dev-python/pyxattr-0.7.2[${PYTHON_USEDEP}]
${PYTHON_DEPS}
test? (
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
>=dev-python/pbr-4.2.0[${PYTHON_USEDEP}]
>=dev-python/six-1.1.0[${PYTHON_USEDEP}]
)
"
RDEPEND="${DEPEND}"
src_prepare() {
# provisionary fix for https://github.com/log2timeline/dfwinreg/issues/201
eapply "${FILESDIR}/${PN}"_setup_cfg_license_param.patch
default
}
python_test() {
"${EPYTHON}" run_tests.py -v || die
}
python_install_all() {
distutils-r1_python_install_all
# move some documentation files to the canonical target path
mv "${ED}"/usr/share/doc/"${PN}"/* "${ED}"/usr/share/doc/"${PF}"/ || die
rmdir "${ED}"/usr/share/doc/"${PN}" || die
}

View file

@ -0,0 +1,9 @@
--- a/setup.cfg.orig 2022-12-02 23:30:29.140465675 +0100
+++ b/setup.cfg 2022-12-02 23:30:47.490465994 +0100
@@ -1,5 +1,5 @@
[metadata]
-license_file = LICENSE
+license_files = LICENSE
[sdist]
template = MANIFEST.in