aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-uritemplate/APKBUILD
blob: 39bf0a632bc0da044adf3ecf5e79c7aa2d625528 (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
# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-uritemplate
_pkgname=uritemplate
pkgver=3.0.1
pkgrel=0
pkgdesc="Python3 module to use URO templates"
url="https://uritemplate.readthedocs.org"
arch="noarch"
license="BSD-3-Clause OR Apache-2.0"
options="!check"
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-uritemplate" # Backwards compatibility
provides="py-uritemplate=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

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

sha512sums="260da5901d28ca2354d972e00ed468c9bcf2901f948cb7759ff3e9d3a7b67da90ba754e555d6695c5095801b106ffd422459f0860b901a75e01575e159eb8f48  uritemplate-3.0.1.tar.gz"