mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
impacket: drop 0.11.0, fix pkgcheck, add upstream
This commit is contained in:
parent
b3acf4442b
commit
bd69f33c18
4 changed files with 2 additions and 55 deletions
|
|
@ -1,3 +1,2 @@
|
|||
DIST impacket-0.11.0.tar.gz 1511223 BLAKE2B 8e848459cf69f8909424cabf2f48191d2eb1233724eb30acddfdafb2c2a7420d4ba4d358e767be6de89f2787f42a981594d17ab6169fb88c103a3e0ce9cc2c9e SHA512 bda52a44701af633b6ba5eab9f8fba120903398da40c17a3669332f71b883497ace7c5112dcf4d61ea40912323b7363662f8f36a904391faf2ead099863512f0
|
||||
DIST impacket-0.12.0.tar.gz 1585562 BLAKE2B f97f27e64b4d670c253fa311777196e3fd3e6e3126602b5925a50923cc1dc6e8f57c84d2bf50a382c03c463cff2591ca2de80105ccc88ed4d482c5aa576868c4 SHA512 3d30209f6ef73dd002fb5619af3366cc403c9a3d8ce7bc47b88f33facb1bc752266c148c8c7389fbd5720a10adf60f0d90334c33687a49a7d9a8051987648e63
|
||||
DIST impacket-0.12.0_p20250516.gh.tar.gz 1609508 BLAKE2B 393a356f8054a89012246dc4853db653753b0257379378d34b5ae65fb0c15751256262c0df047e74f480d0a5fe7567d76ca9e463ebd0ddbda8759cd29551b3b7 SHA512 ca2035a41c9047401b0980bd1c786c5c5cfa62dada80792e5ef010f92cd8d4519038c95d526d3f090193e6f137c02981d39bd44b5f417dbea70cf3c6ec422443
|
||||
|
|
|
|||
|
|
@ -1,53 +0,0 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A collection of Python classes focused on providing access to network packets"
|
||||
HOMEPAGE="https://github.com/fortra/impacket"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/fortra/impacket"
|
||||
else
|
||||
SRC_URI="https://github.com/fortra/impacket/archive/impacket_${PV//./_}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
S="${WORKDIR}/${PN}-${PN}_${PV//./_}"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-python/charset-normalizer[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyasn1-0.2.3[${PYTHON_USEDEP}]
|
||||
dev-python/pycryptodome[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-0.16.2[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/ldap3[${PYTHON_USEDEP}]
|
||||
>=dev-python/ldapdomaindump-0.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-1.0[${PYTHON_USEDEP}]
|
||||
dev-python/chardet[${PYTHON_USEDEP}]
|
||||
dev-python/dsinternals[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
python_prepare_all() {
|
||||
# do not install data files under Gentoo
|
||||
sed -i -e "s|Darwin|Linux|" setup.py || die
|
||||
#use pycryptodome instead of pycryptodomex
|
||||
#the only thing different appears to be the namespace and gentoo is removing pycryptodomex
|
||||
sed -i -e 's#Cryptodome#Crypto#' $(grep -r --color=never 'Cryptodome' | awk -F':' '{print $1}') || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd tests || die
|
||||
./runall.sh || die
|
||||
}
|
||||
|
|
@ -22,11 +22,11 @@ HASH_COMMIT="a63c6522d694a73195e15958734df7de53b43c11"
|
|||
SRC_URI="https://github.com/fortra/impacket/archive/${HASH_COMMIT}.tar.gz -> ${P}.gh.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${HASH_COMMIT}"
|
||||
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
#fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-python/charset-normalizer[${PYTHON_USEDEP}]
|
||||
|
|
|
|||
|
|
@ -7,5 +7,6 @@
|
|||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">fortra/impacket</remote-id>
|
||||
<remote-id type="pypi">impacket</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
|
|
|||
Loading…
Reference in a new issue