summaryrefslogblamecommitdiff
path: root/user/py3-zipp/APKBUILD
blob: aa57d3dc3f64e41cf0b6a654df4e486f2b8dc46a (plain) (tree)
1
2
3
4
5
6
7
8






                                         
            





                                           
                                    
















                                                                                                                      

                                                                                                                                                                   
# Contributor: Max Rees <maxcrees@me.com>
# Maintainer: Max Rees <maxcrees@me.com>
# FIXME: drop after python3 >= 3.8.0
pkgname=py3-zipp
_pkgname=zipp
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
pkgver=0.6.0
pkgrel=0
pkgdesc="Backport of Python 3.7's zip.Path"
url="https://pypi.python.org/pypi/zipp"
arch="noarch"
# Certified net clean
license="MIT"
depends="python3 py3-more-itertools"
makedepends=""
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz
	scm.patch"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="18bef5aa3388ab3901bf08888127fc9cc17d8972a52f23ccf9a8035f09ee5598e17ddff833a10b81b2118461e0c517e88413518736763425a728cd0b19cc2052  py3-zipp-0.6.0.tar.gz
6eee026c1a7a1a84c1b7584b86d4e95d1c7ba0cbed3554260196de842944a303be2f05a1c4492c95fb9592bef96906fbc643ce638a931d7d69f3e74a6647b935  scm.patch"