aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-funcsigs/APKBUILD
blob: bd293955a27fef64682ab2a83d31712553d19376 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-funcsigs
_pkgname=funcsigs
pkgver=1.0.2
pkgrel=4
pkgdesc="Python3 function signatures from PEP362 for Python 3.2+"
url="http://funcsigs.readthedocs.org"
arch="noarch"
license="Apache-2.0"
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-funcsigs" # Backwards compatibility
provides="py-funcsigs=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

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

sha512sums="4e583bb7081bb1d6c0fe5a6935ca03032d562b93ef5c11b51a72ce9e7ac12902451cc2233c7e6f70440629d88d8e6e9625965ee408100b80b0024f3a6204afda  funcsigs-1.0.2.tar.gz"