aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-02-25 11:59:27 +0100
committerFrancesco Colista <fcolista@alpinelinux.org>2021-02-25 12:45:13 +0000
commitaf79e46f83fe65e9e2cc81db6ebc25d444472df9 (patch)
tree645284f1ce3a58aaeb28d99e043c2b9e8dc26b26 /community
parentc081fb07d6b1d7a745a53cdcb27ee5d3a8300b16 (diff)
downloadaports-master.tar.gz
aports-master.tar.bz2
aports-master.tar.xz
community/py3-importlib-resources: modernizeHEADmaster
Diffstat (limited to 'community')
-rw-r--r--community/py3-importlib-resources/APKBUILD8
1 files changed, 3 insertions, 5 deletions
diff --git a/community/py3-importlib-resources/APKBUILD b/community/py3-importlib-resources/APKBUILD
index 42124b822e..0cce3a85aec 100644
--- a/community/py3-importlib-resources/APKBUILD
+++ b/community/py3-importlib-resources/APKBUILD
@@ -1,6 +1,5 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-importlib-resources
-_pyname=importlib_resources
pkgver=5.1.0
pkgrel=1
pkgdesc="Read resources from Python packages"
@@ -10,9 +9,8 @@ arch="noarch !ppc64le"
license="Apache-2.0"
depends="py3-zipp"
makedepends="py3-setuptools py3-setuptools_scm"
-_pypiprefix="${_pyname%${_pyname#?}}"
-source="$pkgname-$pkgver.tar.gz::https://github.com/python/$_pyname/archive/v$pkgver.tar.gz"
-builddir="$srcdir"/$_pyname-$pkgver
+source="https://github.com/python/importlib_resources/archive/v$pkgver/importlib_resources-v$pkgver.tar.gz"
+builddir="$srcdir/importlib_resources-$pkgver"
prepare() {
default_prepare
@@ -34,4 +32,4 @@ package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="80974b77c74b38c886389253b8794721ee7b32a96e0e2dea623e6146ef33cb15445a3644e7736cad1b5031fc99c69e0506c769ffb9bbb1c85cf0bec979d795f4 py3-importlib-resources-5.1.0.tar.gz"
+sha512sums="80974b77c74b38c886389253b8794721ee7b32a96e0e2dea623e6146ef33cb15445a3644e7736cad1b5031fc99c69e0506c769ffb9bbb1c85cf0bec979d795f4 importlib_resources-v5.1.0.tar.gz"