aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2021-12-15 08:19:45 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2021-12-15 20:18:17 +0100
commitacc00ef819bd26b469c51a675c37cc497c1e21dd (patch)
tree2fbe1565d6aca5fedac01d5413c923a4a168b6bc
parentc8f9d72d046b246d53d95f9ae05b79d650cb6c16 (diff)
downloadaports-acc00ef819bd26b469c51a675c37cc497c1e21dd.tar.gz
aports-acc00ef819bd26b469c51a675c37cc497c1e21dd.tar.bz2
aports-acc00ef819bd26b469c51a675c37cc497c1e21dd.tar.xz
community/py3-lz4: upgrade to 3.1.10
-rw-r--r--community/py3-lz4/APKBUILD13
-rw-r--r--community/py3-lz4/system-libs.patch26
2 files changed, 7 insertions, 32 deletions
diff --git a/community/py3-lz4/APKBUILD b/community/py3-lz4/APKBUILD
index 9073a76a85..d0484d3665 100644
--- a/community/py3-lz4/APKBUILD
+++ b/community/py3-lz4/APKBUILD
@@ -1,14 +1,15 @@
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=py3-lz4
-pkgver=2.2.1
+pkgver=3.1.10
_pkgname=${pkgname#py3-}
-pkgrel=3
+pkgrel=0
pkgdesc="LZ4 Bindings for Python"
url="https://pypi.python.org/pypi/lz4"
arch="all"
license="BSD-3-Clause"
-makedepends="python3-dev py3-setuptools lz4-dev linux-headers py3-pkgconfig py3-setuptools_scm"
+makedepends="python3-dev py3-setuptools lz4-dev linux-headers py3-pkgconfig py3-setuptools_scm
+ pkgconf"
checkdepends="py3-pytest py3-psutil py3-pytest-cov py3-coverage py3-pytest-runner"
# FIXME: check fails on s390x
@@ -18,7 +19,6 @@ fi
subpackages="$pkgname-tests:_tests:noarch"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
- system-libs.patch
"
builddir="$srcdir/$_pkgname-$pkgver"
@@ -49,5 +49,6 @@ _tests() {
mv "$builddir"/tests "$subpkgdir"/usr/share/$pkgname
}
-sha512sums="3f6400c0ac02182306fcb0e76fc78fdcec604bd89baa288c71261cce05350de244eb0d4263e4c1c1d647a529426beac409b3ff20c170c3ea19c7dd82cfae834b lz4-2.2.1.tar.gz
-32928c49a6231106fbd7c73a1931c158a9d943132a22217e5f80ea0c20cc4a7259d9aca7dc5f7961b65e7e1e64f5740fd963f67d5078ebd9dec022fcbafa6181 system-libs.patch"
+sha512sums="
+61983e77fa445f59503ccf8ed5fe0605d79754cdeb166e16a7093a856b23369634db7d105d57b3829e680dad0a3728adec9d18dccd92c994347b74c5af95580e lz4-3.1.10.tar.gz
+"
diff --git a/community/py3-lz4/system-libs.patch b/community/py3-lz4/system-libs.patch
deleted file mode 100644
index e746ac0241..0000000000
--- a/community/py3-lz4/system-libs.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff --git a/setup.py b/setup.py
-index 9fa3131..ad2f6a3 100644
---- a/setup.py
-+++ b/setup.py
-@@ -10,8 +10,8 @@ PY3C_REQUIRED_VERSION = '>= 1.0'
-
- # Check to see if we have a lz4 and py3c libraries installed on the system, and
- # of suitable versions, and use if so. If not, we'll use the bundled libraries.
--liblz4_found = False
-+liblz4_found = True
- py3c_found = False
- try:
- from pkgconfig import installed as pkgconfig_installed
- from pkgconfig import cflags as pkgconfig_cflags
-@@ -95,9 +95,7 @@ if compiler == 'msvc':
- extra_compile_args = ['/Ot', '/Wall', '/wd4711', '/wd4820']
- elif compiler in ('unix', 'mingw32'):
- if liblz4_found:
-- extra_link_args.append(pkgconfig_libs('liblz4'))
-- if pkgconfig_cflags('liblz4'):
-- extra_compile_args.append(pkgconfig_cflags('liblz4'))
-+ extra_link_args.append('-llz4')
- else:
- extra_compile_args = [
- '-O3',
-