mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 12:36:40 +02:00
41 lines
1.4 KiB
Text
41 lines
1.4 KiB
Text
# Contributor: Michael Pirogov <vbnet.ru@gmail.com>
|
|
# Maintainer: Michael Pirogov <vbnet.ru@gmail.com>
|
|
pkgname=py3-lib_users
|
|
_pkgname=lib_users
|
|
pkgver=0.15
|
|
pkgrel=4
|
|
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 py3-gpep517"
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/klausman/lib_users/archive/v$pkgver.tar.gz
|
|
setuptools.patch
|
|
assertEquals.patch
|
|
"
|
|
builddir="$srcdir"/$_pkgname-$pkgver
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
|
gpep517 install-wheel --destdir .testenv --prefix '' .dist/*.whl
|
|
.testenv/bin/python3 -m unittest discover || [ "$?" = "120" ] # https://bugs.python.org/issue29130
|
|
}
|
|
|
|
package() {
|
|
gpep517 install-wheel --destdir "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
f9eab0d7c634602c496154dc20bd8374842df77c6abfaf69a0c34013f01c3a7541a006cb2b027539f6c088a55bea78682bf156723899d614f39ee48773fb9ea8 py3-lib_users-0.15.tar.gz
|
|
c1b18709799af0f6ae5a0644beb0a95c709d07e28033fd68801cabe042ed0dbbaa3b7f1efe88a078f53a200f074e198404dc11fc149a85832035e8389577921d setuptools.patch
|
|
94b286369144f45df6c59c3141d32bc2f205630b404043eb9de6a86c908419317e6711140984fff369b64b6bb030401093d2ea0f346815eca544cb4adb2c1175 assertEquals.patch
|
|
"
|