Skip to content

Commit

Permalink
theHarvester: pkgcheck might give false positive here
Browse files Browse the repository at this point in the history
  • Loading branch information
blshkv committed Jan 6, 2024
1 parent 7fcbc6f commit b1c4ff0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
2 changes: 1 addition & 1 deletion dev-python/limits/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1 @@
DIST limits-1.5.1.tar.gz 37893 BLAKE2B 8aae1e88b24901e2118f79ef0e4ae5c549f0dd9df3f984bd2cc3858184631893c81da5543daddd3004d8b07a7e3a55b423efce0ae21e56f3246c4cf489409012 SHA512 db7bf00c8469eaf2938c963af454045ae4647b0d5b37246c02f7a863042ff876079038e045f2b67eb8e1ed8f3dbee6d51c0f67262b7b431cb218cc3880a466f3
DIST limits-3.7.0.tar.gz 68075 BLAKE2B f5b982f61b076cac2cb662c02a88eed5e7344fc5e9f5eee56b16aa08433de39cf641c58cdeec8b405231ee379e18dec0076d20acc3433ce3827f1432a0862fd9 SHA512 e51d2799bce5db60d3723a58d56fdfa15c8fbd8c357a091103e05f6835e081e6322f1baecb2926c962a2b56fda97852c9ffaebc29ed1d24fcd89ec041aea8327
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )

inherit distutils-r1
Expand All @@ -14,8 +15,14 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="test"
IUSE=""
RESTRICT="test"

RDEPEND=">=dev-python/six-1.4.1[${PYTHON_USEDEP}]"
#FIXME: review deps
RDEPEND="
dev-python/deprecated[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/typing-extensions[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
7 changes: 3 additions & 4 deletions net-analyzer/theHarvester/theHarvester-4.5.0.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -67,7 +67,6 @@ src_prepare() {
# * Package 'net-analyzer/theHarvester-4.3.0' has one or more collisions
# * between symlinks and directories, which is explicitly forbidden by PMS
# * section 13.4 (see bug #326685)

#python_install_all() {
# dodir /etc
# mv "${D}$(python_get_sitedir)/theHarvester/data/" "${ED}/etc/theHarvester/" || die
Expand All @@ -78,10 +77,10 @@ src_prepare() {

python_install() {
distutils-r1_python_install
dosym "$(python_get_sitedir)/theHarvester/data" /etc/theHarvester
#eapi8-dosym, "-r" option expands <target> path
dosym -r "$(python_get_sitedir)/theHarvester/data" /etc/theHarvester
}


pkg_preinst() {
# Fix the broken hack by keeping /etc/theHarvester as a directory not a symlink
# * Package 'net-analyzer/theHarvester-4.3.0' has one or more collisions
Expand Down

0 comments on commit b1c4ff0

Please sign in to comment.