diff --git a/testing/py3-lib_users/APKBUILD b/testing/py3-lib_users/APKBUILD index 64b9ee17819..c3caa11eea9 100644 --- a/testing/py3-lib_users/APKBUILD +++ b/testing/py3-lib_users/APKBUILD @@ -2,15 +2,17 @@ # Maintainer: Michael Pirogov pkgname=py3-lib_users _pkgname=lib_users -pkgver=0.13 -pkgrel=3 +pkgver=0.15 +pkgrel=0 pkgdesc="Checks /proc for libraries being mapped but marked as deleted" url="https://github.com/klausman/lib_users" arch="noarch" license="GPL-2.0-or-later" depends="python3" makedepends="py3-setuptools" -source="$pkgname-$pkgver.tar.gz::https://github.com/klausman/lib_users/archive/v$pkgver.tar.gz" +options="!check" # https://bugs.python.org/issue29130 +source="$pkgname-$pkgver.tar.gz::https://github.com/klausman/lib_users/archive/v$pkgver.tar.gz + setuptools.patch" builddir="$srcdir"/$_pkgname-$pkgver build() { @@ -25,4 +27,7 @@ package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } -sha512sums="588af7068728810832bcf4d1526f271e255d07c75d152fb41844c66f3598a71e9a96bee3426b31b58cd26af889bc42c0a7248731fdfe3623fd4567d2b6b7275e py3-lib_users-0.13.tar.gz" +sha512sums=" +f9eab0d7c634602c496154dc20bd8374842df77c6abfaf69a0c34013f01c3a7541a006cb2b027539f6c088a55bea78682bf156723899d614f39ee48773fb9ea8 py3-lib_users-0.15.tar.gz +c1b18709799af0f6ae5a0644beb0a95c709d07e28033fd68801cabe042ed0dbbaa3b7f1efe88a078f53a200f074e198404dc11fc149a85832035e8389577921d setuptools.patch +" diff --git a/testing/py3-lib_users/setuptools.patch b/testing/py3-lib_users/setuptools.patch new file mode 100644 index 00000000000..d82ba1443e0 --- /dev/null +++ b/testing/py3-lib_users/setuptools.patch @@ -0,0 +1,11 @@ +--- a/setup.py.orig 2021-12-18 22:45:02.302702503 +0300 ++++ b/setup.py 2021-12-18 22:45:10.642687111 +0300 +@@ -1,6 +1,6 @@ + #!/usr/bin/env python + +-from distutils.core import setup ++from setuptools import setup + + + setup(name='lib_users', + version='0.15',