pywerview-0.3.0.ebuild

This commit is contained in:
blshkv 2021-02-12 15:24:10 +08:00
parent 10381fffb9
commit 1c054e26a6
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
4 changed files with 38 additions and 5 deletions

View file

@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -16,7 +16,7 @@ if [[ ${PV} == *9999 ]]; then
else
SRC_URI="https://github.com/SecureAuthCorp/impacket/archive/impacket_${PV//./_}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 ~arm64 x86"
S="${WORKDIR}/${PN}-${PN}_${PV//./_}"
fi

View file

@ -1,9 +1,9 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8,9} )
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
KEYWORDS="amd64 ~arm64 x86"
RDEPEND="${PYTHON_DEPS}
dev-python/dnspython[${PYTHON_USEDEP}]

View file

@ -1 +1,2 @@
DIST pywerview-0.2.0_p20191115.tar.gz 42802 BLAKE2B b1f50330291382638afb1f5ee339f1042db632079a26d122ab4883816c887603e55e99c55ade25c488d329b1d3dc13ed2472a0b8c8e02382ce33e6f6c89212e9 SHA512 41fd63039177281fa42e84c8ccedf34125cac9aeae72691c03277f1d95316225baecae9beefb0a94d59a80b55c0973fb1fbba4ddc62a8a64187a780ec171ab71
DIST pywerview-0.3.0.tar.gz 43629 BLAKE2B 09b25e1a292181a9b4129b4073251323690b92b35636ff00e04b5c40dda2c06eb1c091e770d1f9cbc7a77fd35fffd73498726ca2c9a9dcbec903aab8452067cf SHA512 7dc46c76ddf7e986b0fc2d5852c6105e298f235686018457bf904a378365896af25100a39c2aa2a26015c02247c33764bc7916cb8ab28b043b5e5ff4c8e1a413

View file

@ -0,0 +1,32 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
DESCRIPTION="A Python port of PowerSploit's PowerView"
HOMEPAGE="https://github.com/the-useless-one/pywerview"
#SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
SRC_URI="https://github.com/the-useless-one/pywerview/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
RDEPEND=">=dev-python/impacket-0.9.20[${PYTHON_USEDEP}]
dev-python/pyasn1[${PYTHON_USEDEP}]
dev-python/pycryptodome[${PYTHON_USEDEP}]
dev-python/pyopenssl[${PYTHON_USEDEP}]
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
src_prepare() {
# sed -i -e "/pycrypto/d" setup.py || die
sed -i -e '/bs4/d' setup.py || die
default
}