aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-packaging/APKBUILD
blob: b123b254f727583191b7dd51634eeb8f49ad88c2 (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
28
# Maintainer: Breno Leitao <breno.leitao@gmail.com>
pkgname=py3-packaging
_pkgname=packaging
pkgver=19.2
pkgrel=2
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"
makedepends="py3-setuptools"
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="af7312a85292f577d3e6e57154f10fb380bbdee749344ba4b226a09f22bf5ca664ed63c62cd5b4dea0be5eb5cff5c17ad04415aab8c925fa90dcae2e1c6dee5a  packaging-19.2.tar.gz"