aboutsummaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2019-06-02 15:56:54 -0700
committerGitHub <noreply@github.com>2019-06-02 15:56:54 -0700
commit423c20fbaf49d6b5e3c2b283f330777b4948603c (patch)
tree23ccc697a30d31c7153dff89bfe0992fae5cd815 /libs
parenta5c540e2d56292ad430832326241d58fd19294a8 (diff)
parente094a67337e5c4448aaadd15d36fb89a517a2c9b (diff)
Merge pull request #9120 from jefferyto/newt-0.52.21
newt: Update to 0.52.21
Diffstat (limited to 'libs')
-rw-r--r--libs/newt/Makefile12
-rw-r--r--libs/newt/patches/001-pythonvers.patch10
2 files changed, 4 insertions, 18 deletions
diff --git a/libs/newt/Makefile b/libs/newt/Makefile
index e30f77a6b..462d35dfc 100644
--- a/libs/newt/Makefile
+++ b/libs/newt/Makefile
@@ -10,12 +10,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=newt
-PKG_VERSION:=0.52.20
-PKG_RELEASE:=2
+PKG_VERSION:=0.52.21
+PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://releases.pagure.org/newt
-PKG_HASH:=8d66ba6beffc3f786d4ccfee9d2b43d93484680ef8db9397a4fb70b5adbb6dbc
+PKG_HASH:=265eb46b55d7eaeb887fca7a1d51fe115658882dfe148164b6c49fccac5abb31
PKG_LICENSE:=LGPL-2.0
PKG_LICENSE_FILES:=COPYING
@@ -82,17 +82,13 @@ $(call Package/newt/Default/description)
This is the Newt module for Python 3.
endef
-TARGET_CFLAGS+= $(FPIC)
-
CONFIGURE_ARGS+= \
--enable-largefile \
- --with-python \
+ --with-python=python$(PYTHON3_VERSION) \
--without-tcl \
--without-gpm-support \
--with-colorsfile=/etc/newt/palette
-CONFIGURE_VARS+= PYTHONVERS="python$(PYTHON3_VERSION)"
-
MAKE_VARS+= PYTHON_CONFIG_PATH="$(STAGING_DIR)/usr/bin"
Build/Compile=$(call Build/Compile/Default,)
diff --git a/libs/newt/patches/001-pythonvers.patch b/libs/newt/patches/001-pythonvers.patch
deleted file mode 100644
index d0ff5d79d..000000000
--- a/libs/newt/patches/001-pythonvers.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/configure
-+++ b/configure
-@@ -3957,7 +3957,6 @@ if test "x$with_python" = "xno"; then
- $as_echo "skipped" >&6; }
- PYTHONVERS=
- else
-- PYTHONVERS=$(ls /usr/include/python*/Python.h 2> /dev/null | sed 's|.*\(python[0-9]*\.[0-9]*\).*|\1|g' | tr '\n' ' ')
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHONVERS" >&5
- $as_echo "$PYTHONVERS" >&6; }
- fi