From 75cfc43a1e88bda9752f49ddf7a25e1e19573607 Mon Sep 17 00:00:00 2001 From: blshkv Date: Sun, 17 Feb 2019 10:42:13 +0800 Subject: [PATCH] pwntools: fix the issue https://github.com/pentoo/pentoo-overlay/issues/118 --- app-exploits/pwntools/Manifest | 1 + app-exploits/pwntools/pwntools-3.12.2.ebuild | 46 +++++++++++++++++++ .../base/package.accept_keywords/app-exploits | 3 ++ .../base/package.accept_keywords/dev-python | 3 ++ profiles/pentoo/base/package.use/dev-util | 3 ++ 5 files changed, 56 insertions(+) create mode 100644 app-exploits/pwntools/Manifest create mode 100644 app-exploits/pwntools/pwntools-3.12.2.ebuild diff --git a/app-exploits/pwntools/Manifest b/app-exploits/pwntools/Manifest new file mode 100644 index 000000000..14f80c3af --- /dev/null +++ b/app-exploits/pwntools/Manifest @@ -0,0 +1 @@ +DIST pwntools-3.12.2.tar.gz 1138628 BLAKE2B 66edbb8148f958d66dcfdd267a89be0fb78a2dcb90ced40e541737333866f0405f049cc7b42e206a1469ac2cc9168ebe14faed75e303b07bf88581b20b264ee9 SHA512 6dcb3a83e668b2ab9ac191e66430702b9e62813f6d7872f8ba08a6b1753235c542810eaeef8bed94f4286309db4094e66ee9ff9895bbc049983be8d4c67a01f8 diff --git a/app-exploits/pwntools/pwntools-3.12.2.ebuild b/app-exploits/pwntools/pwntools-3.12.2.ebuild new file mode 100644 index 000000000..34c1efc78 --- /dev/null +++ b/app-exploits/pwntools/pwntools-3.12.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 ) + +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" + +#WTF? Most is under an MIT license, but a few pieces are under GPL or a BSD 2-clause licence +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +#REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RDEPEND=">=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-python/capstone-python-3.0.5[${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/pip-6.0.8[${PYTHON_USEDEP}] + >=dev-python/tox-1.8.1[${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}] +