uwsgi: bump version and use less workarounds
authorPeter Stadler <peter.stadler@student.uibk.ac.at>
Thu, 28 Oct 2021 08:36:00 +0000 (10:36 +0200)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Wed, 30 Nov 2022 17:13:35 +0000 (18:13 +0100)
* adopt pypi name and line numbers in patches
* remove custom tar command and patch for using python3 (changed upstream)

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
(cherry picked from commit 545629e38601846b4b79bc3ac932355f0621d750)

net/uwsgi/Makefile
net/uwsgi/patches/001-dont-hardcode-zlib.patch
net/uwsgi/patches/002-dont-override-toolchain-optimization.patch
net/uwsgi/patches/003-hard-code-Linux-as-compilation-os.patch
net/uwsgi/patches/020-uwsgiconfig-system-python3.patch [deleted file]

index bf522481e5e6367d346f5e6c32c6cba70587e7a4..9f45925424007a52664004cf23bef9bfd1b939ac 100644 (file)
@@ -1,11 +1,11 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=uwsgi
-PKG_VERSION:=2.0.19.1
+PKG_VERSION:=2.0.20
 PKG_RELEASE:=1
 
-PYPI_NAME:=uWSGI
-PKG_HASH:=faa85e053c0b1be4d5585b0858d3a511d2cd10201802e8676060fd0a109e5869
+PYPI_NAME:=uwsgi
+PKG_HASH:=88ab9867d8973d8ae84719cf233b7dafc54326fcaec89683c3f9f77c002cdff9
 PKG_BUILD_DEPENDS:=python3/host
 PYTHON3_PKG_BUILD:=0
 
@@ -19,9 +19,6 @@ include ../../lang/python/python3-package.mk
 #for LINUX_UNAME_VERSION:
 include $(INCLUDE_DIR)/kernel.mk
 
-#the .tar.gz does not wrap it into a uWSGI dir; do not use "$(1)/..":
-TAR_CMD=$(HOST_TAR) -C $(1) $(TAR_OPTIONS)
-
 define Package/uwsgi
   SECTION:=net
   CATEGORY:=Network
index df007ce065b948e52b46555ec770627f51e39f2a..38a42c0453e3d50cbf69895b34164ed327a1031f 100644 (file)
@@ -1,6 +1,6 @@
 --- a/uwsgiconfig.py
 +++ b/uwsgiconfig.py
-@@ -856,11 +856,11 @@ class uConf(object):
+@@ -859,11 +859,11 @@ class uConf(object):
                  self.cflags.append('-DUWSGI_HAS_EXECINFO')
                  report['execinfo'] = True
  
index ff8de5df9840fc254b32d1d2f40f20c120ee64f3..a6c71e143e7ae3be8e9502e85590f8cc075d9b4a 100644 (file)
@@ -1,6 +1,6 @@
 --- a/uwsgiconfig.py
 +++ b/uwsgiconfig.py
-@@ -685,7 +685,7 @@ class uConf(object):
+@@ -688,7 +688,7 @@ class uConf(object):
              self.include_path += os.environ['UWSGI_INCLUDES'].split(',')
  
  
index 6f496ef0d385596939b26f99caeafba4d3953fe6..81c11164bf9c53122a59fc5b05a3475a7736d311 100644 (file)
@@ -1,6 +1,6 @@
 --- a/uwsgiconfig.py
 +++ b/uwsgiconfig.py
-@@ -5,9 +5,9 @@ uwsgi_version = '2.0.19.1'
+@@ -5,9 +5,9 @@ uwsgi_version = '2.0.20'
  import os
  import re
  import time
diff --git a/net/uwsgi/patches/020-uwsgiconfig-system-python3.patch b/net/uwsgi/patches/020-uwsgiconfig-system-python3.patch
deleted file mode 100644 (file)
index 7c73892..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
---- a/Makefile
-+++ b/Makefile
-@@ -1,4 +1,4 @@
--PYTHON := python
-+PYTHON ?= python3
- all:
-       $(PYTHON) uwsgiconfig.py --build $(PROFILE)