summaryrefslogtreecommitdiff
path: root/dev-util/pwntools/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-31 03:00:52 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-31 03:00:52 +0000
commit4b70b249bd1fe7302633ca0b4f7abd22dd269d02 (patch)
treec39fc6439ab9c72db6a0f070fe02312591ccc963 /dev-util/pwntools/files
parent182063dd85a03f2086258946276c8967945ffe95 (diff)
gentoo auto-resync : 31:01:2023 - 03:00:52
Diffstat (limited to 'dev-util/pwntools/files')
-rw-r--r--dev-util/pwntools/files/pwntools-4.0.0_do_not_mess_with_docs.patch25
-rw-r--r--dev-util/pwntools/files/pwntools-4.1.0_update_deps.patch10
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-util/pwntools/files/pwntools-4.0.0_do_not_mess_with_docs.patch b/dev-util/pwntools/files/pwntools-4.0.0_do_not_mess_with_docs.patch
new file mode 100644
index 000000000000..9256a2772245
--- /dev/null
+++ b/dev-util/pwntools/files/pwntools-4.0.0_do_not_mess_with_docs.patch
@@ -0,0 +1,25 @@
+--- a/setup.py.orig 2020-01-10 12:01:28.688051015 +0800
++++ b/setup.py 2020-01-10 12:02:10.370053813 +0800
+@@ -70,14 +70,6 @@
+ print("$ apt-get install python-dev", file=sys.stderr)
+ sys.exit(-1)
+
+-# Convert README.md to reStructuredText for PyPI
+-long_description = ''
+-try:
+- long_description = subprocess.check_output(['pandoc', 'README.md', '--to=rst'], universal_newlines=True)
+-except Exception as e:
+- print("Failed to convert README.md through pandoc, proceeding anyway", file=sys.stderr)
+- traceback.print_exc()
+-
+ setup(
+ name = 'pwntools',
+ python_requires = '>=2.7',
+@@ -99,7 +91,6 @@
+ entry_points = {'console_scripts': console_scripts},
+ scripts = glob.glob("bin/*"),
+ description = "Pwntools CTF framework and exploit development library.",
+- long_description = long_description,
+ author = "Gallopsled et al.",
+ author_email = "pwntools-users@googlegroups.com",
+ url = 'https://pwntools.com',
diff --git a/dev-util/pwntools/files/pwntools-4.1.0_update_deps.patch b/dev-util/pwntools/files/pwntools-4.1.0_update_deps.patch
new file mode 100644
index 000000000000..fd103c13e497
--- /dev/null
+++ b/dev-util/pwntools/files/pwntools-4.1.0_update_deps.patch
@@ -0,0 +1,10 @@
+--- a/setup.py.orig 2020-05-09 10:43:06.946464282 +0800
++++ b/setup.py 2020-05-09 10:44:20.572463455 +0800
+@@ -52,7 +52,6 @@
+ 'ropgadget>=5.3',
+ 'pyserial>=2.7',
+ 'requests>=2.0',
+- 'pip>=6.0.8',
+ 'pygments>=2.0',
+ 'pysocks',
+ 'python-dateutil',