aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-packaging/APKBUILD
blob: f63a873601fe1379d73a0d1ae0ac4410180fa570 (plain)
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
# Maintainer: Breno Leitao <breno.leitao@gmail.com>
pkgname=py3-packaging
_pkgname=packaging
pkgver=20.3
pkgrel=0
pkgdesc="Core utilities for Python3 packages"
options="!check" # Requires python  module 'pretend'
url="https://pypi.python.org/pypi/packaging"
arch="noarch"
license="Apache-2.0 AND BSD-2-Clause"
depends="python3 py3-parsing py3-six"
source="https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

replaces="py-packaging" # Backwards compatibility
provides="py-packaging=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

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


sha512sums="b27ad6f72bfe0965a6e6bff78e4e37d4cbab73dc0a1b019673c85615c9d99edf237effeb9756702c6e8c1575a2d981f6d1af364c73d0a451fbb167d64678630f  packaging-20.3.tar.gz"