empire-4.5.4.ebuild

This commit is contained in:
Anton Bolshakov 2022-06-23 15:40:03 +08:00
parent 5e39aad2ed
commit 6afc14da8c
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
5 changed files with 50 additions and 3 deletions

View file

@ -1,2 +1,2 @@
DIST empire-4.5.4.tar.gz 47193644 BLAKE2B 4bc4a228724dda63ee635c58c6edfba61919a8bcfb40a97b3448d95b9e0c55d2e0b61f9d3c06019985754b67c1329c5d3be52a10048d90c3cd86cd11cc8f8a19 SHA512 3a029cb9b631085e325c284a60505bff45ad5ed7e58acf25974bece6065ba7507dcd8b87e78d6e52946136f99d1eba54a9b6aa3c24d3ab9b89647183534d8507
DIST empire-4.5.5.tar.gz 47194065 BLAKE2B e15d65c9f0abbe7685c0e5ef3368f3c8b8b5d60f818c86c22c6556dc6128abb8e1ad2a9d43bd7410831ab7471212b7cf3d1c360574fb2445484fa185a9975f91 SHA512 187580089e4c8b13ecf12f516b2fe5932d901c747db8237e8f671df8b65b5bca48d8fee12da86795b9711b85c8ef81e77197163468b723d8a82e1bc53e86a82c
DIST empire-4.6.1.tar.gz 47632564 BLAKE2B a6d7dff9485bfa66f618129021421df9ad643b4958bebc9baed5426d22ed2ba851b94ebfcedec06b1cc0e6dbd315e0b30afef2b33c2adf0656a6b76354bbfc0e SHA512 9b7a72db45a46e4252f79d34c9d9d932f77d04a3bee1e62ab968a251f72521e06e92cc1caa6aba44d224f9028154a9447aa2a88403369d778af8e649c6ca64f2

View file

@ -56,10 +56,11 @@ RDEPEND="${PYTHON_DEPS}
dev-python/flask-socketio[${PYTHON_USEDEP}]
dev-python/python-socketio[${PYTHON_USEDEP}]
dev-python/jq[${PYTHON_USEDEP}]
>=dev-python/donut-shellcode-0.9.2[${PYTHON_USEDEP}]
>=dev-python/websockify-0.10.0[${PYTHON_USEDEP}]
>=dev-python/tk-0.1.0[${PYTHON_USEDEP}]
dev-python/pyperclip[${PYTHON_USEDEP}]
dev-python/pyvnc[${PYTHON_USEDEP}]
>=dev-python/donut-shellcode-0.9.2[${PYTHON_USEDEP}]
')
powershell? (
!x86? ( app-shells/pwsh-bin ) )

View file

@ -0,0 +1 @@
DIST pyvnc-20220514.tar.gz 18815 BLAKE2B 7bf98958dc36e40562638959e8987b5ea514828f68571789730f4434c40fd66c17186e802310421edbd797103085075f4d44cda3db4a52af2956db1f2970c3ad SHA512 b0f2655b62171301edb4e9403cbe2977cf4723061e145b58d80a40e46a27bd5b15a1e5fa06367ba747998117b643f37dde6e8caa7e272dbbc4c99dda5187f108

View file

@ -0,0 +1,41 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..10} )
MY_PN="pyVNC"
#MY_P="${MY_PN}-${PV}"
inherit distutils-r1
DESCRIPTION="Client library for interacting with a VNC session"
HOMEPAGE="https://github.com/BC-SECURITY/pyVNC"
LICENSE="MIT"
SLOT="0"
if [[ "${PV}" == "2022"* ]]; then
elog ${PV}
# inherit git-r3
# EGIT_REPO_URI="https://github.com/BC-SECURITY/pyVNC.git"
HASH_COMMIT="a565e9b5f1c076ebcfda6234700b723e204bcafc"
SRC_URI="https://github.com/BC-SECURITY/pyVNC/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${HASH_COMMIT}"
else
KEYWORDS="~amd64 ~x86"
SRC_URI="https://github.com/BC-SECURITY/pyVNC/archive/v${PV}.tar.gz -> ${P}.tar.gz"
fi
IUSE=""
RDEPEND="dev-python/twisted[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/pygame[${PYTHON_USEDEP}]
dev-python/service_identity[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
#distutils_enable_tests pytest

View file

@ -64,7 +64,8 @@ def portage_mapping(search):
"dev-python/wordcloud": "media-gfx/word_cloud",
"dev-python/flask_caching": "dev-python/flask-caching",
"dev-python/zope.interface": "dev-python/zope-interface",
"dev-python/pjsip": "net-libs/pjproject"
"dev-python/pjsip": "net-libs/pjproject",
"dev-python/pyVNC": "dev-python/pyvnc"
}
for key in mapping:
@ -80,6 +81,9 @@ def pyproject_toml():
#Debug
#print(dependencies ) # List of static requirements
for key, value in dependencies.items():
#if value is {'git': 'https://github.com/BC-SECURITY/pyVNC.git'}
if type(value) is dict:
value="9999"
if value == "*":
print("\t"+portage_mapping("dev-python/" +key))
else: