summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/jq/jq-py-setup.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/jq/jq-py-setup.patch')
-rw-r--r--pkgs/development/python-modules/jq/jq-py-setup.patch33
1 files changed, 15 insertions, 18 deletions
diff --git a/pkgs/development/python-modules/jq/jq-py-setup.patch b/pkgs/development/python-modules/jq/jq-py-setup.patch
index df5245a0c3b5..cf8713796751 100644
--- a/pkgs/development/python-modules/jq/jq-py-setup.patch
+++ b/pkgs/development/python-modules/jq/jq-py-setup.patch
@@ -1,17 +1,17 @@
-From 968ddf2bd773e800e46737fced743bd00af9aa0d Mon Sep 17 00:00:00 2001
-From: William Kral <william.kral@gmail.com>
-Date: Tue, 8 Sep 2020 22:04:24 -0700
-Subject: [PATCH] Vastly simplify setup.py for distro compatibility
+From bef841b73ba7c9a79211146798ac888fce9bb55a Mon Sep 17 00:00:00 2001
+From: "Robert T. McGibbon" <rmcgibbo@gmail.com>
+Date: Fri, 7 May 2021 19:14:20 -0400
+Subject: [PATCH 1/1] Vastly simplify setup.py for distro compatibility
---
- setup.py | 101 ++-----------------------------------------------------
- 1 file changed, 2 insertions(+), 99 deletions(-)
+ setup.py | 98 +-------------------------------------------------------
+ 1 file changed, 1 insertion(+), 97 deletions(-)
diff --git a/setup.py b/setup.py
-index cb63f60..87380ed 100644
+index 663792c..3ebcabe 100644
--- a/setup.py
+++ b/setup.py
-@@ -1,114 +1,19 @@
+@@ -1,113 +1,19 @@
#!/usr/bin/env python
import os
@@ -79,8 +79,7 @@ index cb63f60..87380ed 100644
- tarball_path=jq_lib_tarball_path,
- lib_dir=jq_lib_dir,
- commands=[
-- ["autoreconf", "-i"],
-- ["./configure", "CFLAGS=-fPIC", "--disable-maintainer-mode", "--with-oniguruma=" + oniguruma_lib_install_dir],
+- ["./configure", "CFLAGS=-fPIC -pthread", "--disable-maintainer-mode", "--with-oniguruma=" + oniguruma_lib_install_dir],
- ["make"],
- ])
-
@@ -93,7 +92,7 @@ index cb63f60..87380ed 100644
-
- macosx_deployment_target = sysconfig.get_config_var("MACOSX_DEPLOYMENT_TARGET")
- if macosx_deployment_target:
-- os.environ['MACOSX_DEPLOYMENT_TARGET'] = macosx_deployment_target
+- os.environ['MACOSX_DEPLOYMENT_TARGET'] = str(macosx_deployment_target)
-
- def run_command(args):
- print("Executing: %s" % ' '.join(args))
@@ -127,21 +126,19 @@ index cb63f60..87380ed 100644
)
setup(
-@@ -120,8 +25,7 @@ setup(
- url='http://github.com/mwilliamson/jq.py',
+@@ -120,7 +26,6 @@ setup(
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
license='BSD 2-Clause',
-- ext_modules = [jq_extension],
+ ext_modules = [jq_extension],
- cmdclass={"build_ext": jq_build_ext},
-+ ext_modules=[jq_extension],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
-@@ -137,4 +41,3 @@ setup(
- 'Programming Language :: Python :: 3.8',
+@@ -137,4 +42,3 @@ setup(
+ 'Programming Language :: Python :: 3.9',
],
)
-
--
-2.28.0
+2.29.3