impacket: 0.9.18 bump

This commit is contained in:
blshkv 2018-12-10 12:12:49 +08:00
parent 3c19610cfc
commit 35a00a20c0
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
7 changed files with 44 additions and 47 deletions

View file

@ -1,2 +1 @@
DIST impacket-0.9.15.tar.gz 1088369 BLAKE2B 64c66ba87be321577d977b1ccada2b359c4083a727dce3b91a2a92bc29b302eae930c50db41c2dcecc82ad31b98272b9abd519f2e1cfbe7a0d4241d913f94d31 SHA512 31b1b059d01071319bccfc9a57b23eed175bfba61961ec425553916e7d1940ff6ef53d79ef5e43963e1b4f6037f50489ad22cd6935a53f2cd82bc5b2c6d741ce
DIST impacket-0.9.17.tar.gz 1195867 BLAKE2B 29873c5639d8f9d7d673be2fa6f8001f34c6a7e1b3ff6c8d0376a5d8e3be9757ce8e498647bfdf1152eb3860aa819a740bcce2f3eb998a90f3997ffbfbc3b2ae SHA512 c6a84b5f3e0e08bc44c6648c0c65048c5b9ee63ce7706896f4f9a3c061b3bf64e5e68ca87794162cfc730144eff60c392eea2548edeaba61e04350c857e69c9b
DIST impacket-0.9.18.tar.gz 1221339 BLAKE2B f6ffdc03c3e3e51b8f0cb7ad776f9ac675c2b20b8f18f172547672489f57a4b0cf8e7d77780a8b39e2a7f3294d12dfeb48a6bb0c5935e4f71c3cf9d1f47913a7 SHA512 c8ed7b45c2abbf97f722624bb28f3c9040dd15ec4b53b7128851a96f716463d7a8453cc6b9af80cd7b5693a3d868cca6c10304c90f06030a87a273a6dda57873

View file

@ -1,41 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
DESCRIPTION="A collection of Python classes focused on providing access to network packets"
HOMEPAGE="https://github.com/CoreSecurity/impacket"
SRC_URI=""
if [[ ${PV} == "9999" ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/CoreSecurity/impacket.git"
KEYWORDS=""
else
SRC_URI="https://github.com/CoreSecurity/impacket/archive/impacket_${PV//./_}.tar.gz -> ${P}.tar.gz"
inherit versionator
S="${WORKDIR}"/${PN}-${PN}_$(replace_all_version_separators _)
KEYWORDS="~amd64 ~x86"
fi
LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
RDEPEND="|| ( dev-python/pycryptodome[${PYTHON_USEDEP}] dev-python/pycrypto[${PYTHON_USEDEP}] )
>=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
python_test() {
pushd impacket/testcases/dot11
for test in $(ls *.py); do
${PYTHON} ${test} || die "Tests fail with ${EPYTHON}"
done
popd
pushd impacket/testcases/ImpactPacket
for test in $(ls *.py); do
${PYTHON} ${test} || die "Tests fail with ${EPYTHON}"
done
popd
}

View file

@ -23,7 +23,7 @@ SLOT="0"
IUSE=""
RDEPEND=">=dev-python/pyasn1-0.2.3[${PYTHON_USEDEP}]
|| ( dev-python/pycryptodome[${PYTHON_USEDEP}] dev-python/pycrypto[${PYTHON_USEDEP}] )
|| ( dev-python/pycryptodomex[${PYTHON_USEDEP}] )
>=dev-python/pyopenssl-0.13.1[${PYTHON_USEDEP}]
>=dev-python/ldap3-2.5[${PYTHON_USEDEP}]
dev-python/ldapdomaindump[${PYTHON_USEDEP}]
@ -31,10 +31,9 @@ RDEPEND=">=dev-python/pyasn1-0.2.3[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
#https://github.com/CoreSecurity/impacket/issues/466
python_prepare_all() {
# disarm pycryptodome dep to allow || ( pycryptodome pycrypto )
sed -i -e "s|ldap3>=2.5.0|ldap3>=2.5|" requirements.txt || die
# do not install data files under Gentoo
sed -i -e "s|Darwin|Linux|" setup.py || die
distutils-r1_python_prepare_all
}

View file

@ -0,0 +1 @@
DIST pycryptodomex-3.7.2.tar.gz 7193535 BLAKE2B 6499b5fb3b0d1f02d4c005ddd03d50ccb2e0346c8506fd64ce692a8b2359e88331e76f7fd7717509192aee34f97b28ba1b28b0870fc91d104a1376def8e3fd11 SHA512 127e8caecfcf1e07083c19ecfe27fff0a9cb9aa5709e68d328a2a8483bbcb4920f0e40fc36967ff98a9925f8a665fd5245b37d9069b360c517673de681ea8e0e

View file

@ -0,0 +1,11 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>python@gentoo.org</email>
<name>Python project</name>
</maintainer>
<upstream>
<remote-id type="github">Legrandin/pycryptodome</remote-id>
</upstream>
</pkgmetadata>

View file

@ -0,0 +1,28 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy{,3} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
DESCRIPTION="A self-contained cryptographic library for Python"
HOMEPAGE="https://www.pycryptodome.org https://github.com/Legrandin/pycryptodome https://pypi.org/project/pycryptodome/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD-2 Unlicense"
SLOT="0"
KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 sparc x86 ~ppc-aix ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RDEPEND="dev-libs/gmp:0
virtual/python-cffi[${PYTHON_USEDEP}]
!dev-python/pycrypto"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
python_test() {
esetup.py test
}