aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-uritemplate/APKBUILD
blob: 5f9c64af06f9266e0466e196c9423a0a3edb40d7 (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
31
# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-uritemplate
_pkgname=uritemplate.py
pkgver=0.3.0
pkgrel=0
pkgdesc="Python module to use URO templates"
url=" https://uritemplate.readthedocs.org"
arch="noarch"
license="BSD"
depends=""
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$_pkgname-$pkgver
build() {
	cd "$_builddir"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="4dd14904ba502c6ff8d6276e004404de  uritemplate.py-0.3.0.tar.gz"
sha256sums="fd79aa529a7968c62d96ac6731a94349c5a615dac74968526c573c65796c7b77  uritemplate.py-0.3.0.tar.gz"
sha512sums="33c606337f4109301c73383d646bdc63f88426d39d870bf293b2d9cff1210adb8bde4105a7dbc2769071bf038bb203dcbb1d3d40bf95b1c572519c53dca65b1d  uritemplate.py-0.3.0.tar.gz"