pwntools-4.5.1.ebuild

This commit is contained in:
Anton Bolshakov 2021-06-01 12:39:03 +08:00
parent dca2dd35e3
commit 3097bba841
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
3 changed files with 51 additions and 0 deletions

View file

@ -1 +1,2 @@
DIST pwntools-4.5.0.tar.gz 4046674 BLAKE2B 13f4e0ecbca87f66ce7068fa5559452199af7d45ad9674f15248b487fcc18dba5999d1abc01c59b27431c53c13c262e0c78f81bfa04805e099b855396f6d869b SHA512 c564058bb1cd6db89711d5183062d8898e185a4eb3bde81a9fcac23d84ddf4023b255821d4a51999a10e1088b406ca15f57ca3231e4fac5441a39563d13d22f6
DIST pwntools-4.5.1.tar.gz 4047241 BLAKE2B 70b431bdecbdcd4b65dbb215451f4d59c5e24bc66fa0ef44ba3d78e6e49674b298e693f1726221cd198e580e3c78f8e0a3ff36b4ccdba6dcdbb54973502ade25 SHA512 6c681fc5e80405764a109466fd7ea51a54c0290a1eb857f1c69e43b0b9af71647e97607f17ed9c9c050be0e2ac65e2bcaed2aa66178fd3c42e4ad02abe1bf6a2

View file

@ -0,0 +1,45 @@
# 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="CTF framework and exploit development library"
HOMEPAGE="https://github.com/Gallopsled/pwntools"
SRC_URI="https://github.com/Gallopsled/pwntools/archive/${PV}.tar.gz -> ${P}.tar.gz"
#Most is under an MIT license, but a few pieces are under GPL or a BSD 2-clause licence
LICENSE="MIT"
SLOT="0"
#wait for capstone (ROPgadget dep) to become stable
KEYWORDS="~amd64 ~x86"
RDEPEND="${PYTHON_DEPS}
>=dev-python/paramiko-1.15.2[${PYTHON_USEDEP}]
>=dev-python/mako-1.0.0[${PYTHON_USEDEP}]
>=dev-python/pyelftools-0.2.4[${PYTHON_USEDEP}]
>=dev-libs/capstone-3.0.5[python,${PYTHON_USEDEP}]
>=app-exploits/ROPgadget-5.3[${PYTHON_USEDEP}]
>=dev-python/pyserial-2.7[${PYTHON_USEDEP}]
>=dev-python/requests-2.0[${PYTHON_USEDEP}]
>=dev-python/pygments-2.0[${PYTHON_USEDEP}]
dev-python/PySocks[${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
>=dev-python/psutil-3.3.0[${PYTHON_USEDEP}]
>=dev-python/intervaltree-3.0[${PYTHON_USEDEP}]
dev-python/sortedcontainers[${PYTHON_USEDEP}]
dev-util/unicorn[python,unicorn_targets_x86(+),${PYTHON_USEDEP}]
>=dev-python/six-1.12.0[${PYTHON_USEDEP}]
dev-python/rpyc[${PYTHON_USEDEP}]
dev-python/colored-traceback[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}/${PN}-4.0.0_do_not_mess_with_docs.patch"
"${FILESDIR}/${PN}-4.1.0_update_deps.patch"
)

View file

@ -24,6 +24,11 @@ def portage_mapping(search):
"dev-python/pypykatz": "app-exploits/pypykatz",
"dev-python/ruamel.yaml": "dev-python/ruamel-yaml",
"dev-python/tls-parser": "dev-python/tls_parser",
"dev-python/capstone": "dev-libs/capstone[python]",
"dev-python/ropgadget": "app-exploits/ROPgadget",
"dev-python/pysocks": "dev-python/PySocks",
"dev-python/unicorn": "dev-util/unicorn[python]",
"dev-python/colored_traceback": "dev-python/colored-traceback",
}
for key in mapping: