aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-extras/APKBUILD
blob: 411b7123f10afab5331f81b7716f45a5bad64e59 (plain) (blame)
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
30
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-extras
_pkgname=extras
pkgver=1.0.0
pkgrel=3
pkgdesc="Useful extra bits for Python - things that shold be in the standard library"
url="https://pypi.python.org/pypi/extras/"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
replaces="py-extras" # Backwards Compatibility
provides="py-extras=$pkgver-r$pkgrel" # Backwards Compatibility

check() {
	python3 setup.py check
}

build() {
	python3 setup.py build
}

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

sha512sums="510c796628f28db90bb96c7c9ba5fc9b2b950d2968e219efe67f3899bbe7ef68fe5de1494f8fd640f13a1ccd329e7dac9cd38aa965ab1e07c4cd287c04da50fb  extras-1.0.0.tar.gz"