python3-pwntools: update to 4.11.0.

This commit is contained in:
Leah Neukirchen 2023-11-08 15:09:18 +01:00
parent 380ae32a65
commit b295a38c4b
3 changed files with 15 additions and 22 deletions

View file

@ -1,18 +0,0 @@
Index: setup.py
===================================================================
--- a/setup.py
+++ b/setup.py
@@ -64,13 +64,6 @@ install_requires = ['paramiko>=1.15.
'six>=1.12.0',
]
-# Check that the user has installed the Python development headers
-PythonH = os.path.join(get_python_inc(), 'Python.h')
-if not os.path.exists(PythonH):
- print("You must install the Python development headers!", file=sys.stderr)
- print("$ apt-get install python-dev", file=sys.stderr)
- sys.exit(-1)
-
# Convert README.md to reStructuredText for PyPI
long_description = ''
try:

View file

@ -0,0 +1,11 @@
--- a/pwnlib/util/safeeval.py
+++ b/pwnlib/util/safeeval.py
@@ -4,7 +4,7 @@
'POP_TOP','ROT_TWO','ROT_THREE','ROT_FOUR','DUP_TOP',
'BUILD_LIST','BUILD_MAP','BUILD_TUPLE','BUILD_SET',
'BUILD_CONST_KEY_MAP', 'BUILD_STRING',
- 'LOAD_CONST','RETURN_VALUE','STORE_SUBSCR', 'STORE_MAP',
+ 'LOAD_CONST','RETURN_VALUE','RETURN_CONST','STORE_SUBSCR', 'STORE_MAP',
'LIST_TO_TUPLE', 'LIST_EXTEND', 'SET_UPDATE', 'DICT_UPDATE', 'DICT_MERGE',
'COPY', 'RESUME',
]

View file

@ -1,9 +1,9 @@
# Template file for 'python3-pwntools'
pkgname=python3-pwntools
version=4.10.0
revision=2
version=4.11.0
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
hostmakedepends="python3-setuptools python3-devel"
makedepends="python3-devel"
depends="capstone-python3 python3 python3-Mako python3-Pygments
python3-dateutil python3-intervaltree python3-packaging python3-paramiko
@ -16,7 +16,7 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT, BSD-2-Clause"
homepage="https://github.com/Gallopsled/pwntools"
distfiles="${PYPI_SITE}/p/pwntools/pwntools-${version}.tar.gz"
checksum=588e89ea678527c0b5b6caeeee7e76e31352e78e2f1cf3dda7bc9acf526e446d
checksum=a85f1e777f343f91e221d175e1523d006eef1c8106c10fd2e338280bab273fa6
make_check=no
post_install() {