This commit is contained in:
blshkv 2020-03-21 18:22:17 +08:00
parent 5be45d06de
commit 75d68548af
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
6 changed files with 84 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST proton-20200311.tar.gz 2602367 BLAKE2B fde5abd1fdfd31541dc407015668072b4b0aa3627c1c13cbb3070464861523578800b4b66d17274d5f3ad93d96297a7decbb2e0807e3d3e15cb5a2ef85013319 SHA512 eefc1150a124a15111790ab0ee3a560114dab9d93c5ebf2b5b48deb3276151d8f61b1f0411f624e8f75075022e4c45d87690ef302439897f47c4c2bdbb08af6f

View file

@ -0,0 +1,54 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7} )
#inherit python-single-r1
inherit eutils python-single-r1
DESCRIPTION=""
HOMEPAGE="https://github.com/entynetproject/proton"
HASH_COMMIT="e253fbcf9f082fb0ad791121ba5aa763c94c2c55"
SRC_URI="https://github.com/entynetproject/proton/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
LICENSE=""
SLOT="0"
#https://github.com/entynetproject/proton/issues/4
#KEYWORDS="~amd64 ~x86"
IUSE="test"
DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}
$(python_gen_cond_dep '
dev-python/impacket[${PYTHON_MULTI_USEDEP}]
dev-python/pycryptodome[${PYTHON_MULTI_USEDEP}]
dev-python/pyasn1[${PYTHON_MULTI_USEDEP}]
dev-python/tabulate[${PYTHON_MULTI_USEDEP}]
dev-python/rjsmin[${PYTHON_MULTI_USEDEP}]
dev-python/playsound[${PYTHON_MULTI_USEDEP}]
')"
S="${WORKDIR}/${PN}-${HASH_COMMIT}"
pkg_setup() {
python-single-r1_pkg_setup
}
src_prepare() {
python_fix_shebang "${S}"
default
}
src_install() {
insinto "/usr/share/${PN}"
doins -r .
python_optimize "${D}/usr/share/${PN}"
make_wrapper $PN \
"${PYTHON} /usr/share/${PN}/${PN}"
dodoc README.md
}

View file

@ -0,0 +1 @@
DIST playsound-1.2.2.tar.gz 4824 BLAKE2B bab05481b349002e2dadbcfa6a8fa1053603c69881578490c4a01aac62e377c339452b2cded97e3d9e4bd33f7f6aac45bd797506a227c46ccd81d11404f5c338 SHA512 decd84ac3e7105adaecdd817cd2ff65eea5e507934278b058e5d183b384b9dd9dbd73236313e2eaed2b38f39ebbeb73f18bdefddde92b5963266e7773cbecc77

View file

@ -0,0 +1,24 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
inherit distutils-r1
DESCRIPTION="Single function module with no dependencies for playing sounds"
HOMEPAGE="https://github.com/TaylorSMarks/playsound/"
HASH_COMMIT="907f1fe73375a2156f7e0900c4b42c0a60fa1d00"
SRC_URI="https://github.com/TaylorSMarks/playsound/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND=""
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
S="${WORKDIR}/${PN}-${HASH_COMMIT}"

View file

@ -5,6 +5,7 @@ app-exploits/empire
app-exploits/enumdb
=app-exploits/exploitdb-9999 **
app-exploits/osslsigncode
app-exploits/proton
app-exploits/pwntools
app-exploits/ROPgadget
app-exploits/ropper

View file

@ -521,3 +521,6 @@ dev-python/IP2Location
# required by net-analyzer/gitgraber
~dev-python/python-crontab-20191023
# required by proton
dev-python/playsound