mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 12:06:41 +02:00
32 lines
1,015 B
Text
32 lines
1,015 B
Text
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py3-python-archive
|
|
_pkgname=python-archive
|
|
pkgver=0.2
|
|
pkgrel=7
|
|
pkgdesc="Library for extracting zip and tar archives"
|
|
url="https://github.com/gdub/python-archive"
|
|
arch="noarch"
|
|
license="MIT"
|
|
replaces="py-archive" # for backwards compatibility
|
|
provides="py-archive=$pkgver-r$pkgrel" # for backwards compatibility
|
|
makedepends="py3-setuptools py3-gpep517"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir"/$_pkgname-$pkgver
|
|
options="!check" # no tests
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
gpep517 install-wheel --destdir "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
5f02fe522f44989c1b61db48239cdbda5536ff685174ba93af028591eba276dcefd7655aad3a458d92140f163724d87bbe25711c78a82e06dfb382b6ae9f5683 python-archive-0.2.tar.gz
|
|
"
|