~dricottone/huttese-apk

ref: 26b73e0b41b192c867231aed8e780f0f856f8811 huttese-apk/sr.ht/py3-zipp/APKBUILD -rw-r--r-- 834 bytes
26b73e0b — Drew DeVault py3-wrapt: drop package 4 years ago
                                                                                
fb31f45a Drew DeVault
9987f460 Drew DeVault
fb31f45a Drew DeVault
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor: Drew DeVault <sir@cmpwn.com>
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-zipp
_pyname=zipp
pkgver=0.6.0
pkgrel=1
pkgdesc="Backport of pathlib-compatible object wrapper for zip files"
url="https://pypi.org/project/zipp/"
arch="noarch"
license="MIT"
depends="py3-more-itertools"
makedepends="py3-setuptools py3-setuptools_scm"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir"/$_pyname-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="18bef5aa3388ab3901bf08888127fc9cc17d8972a52f23ccf9a8035f09ee5598e17ddff833a10b81b2118461e0c517e88413518736763425a728cd0b19cc2052  zipp-0.6.0.tar.gz"