aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-translationstring/APKBUILD
blob: 188388763bd6f5d7eb9fc9cdb1a2ffddcc1dd27c (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-translationstring
_pkgname=translationstring
pkgver=1.1
pkgrel=0
pkgdesc="A Python utility library for i18n"
url="http://docs.pylonsproject.org/projects/translationstring/dev/"
arch="noarch"
license="BSD"
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-translationstring" # Backwards compatibility
provides="py-translationstring=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

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

sha512sums="76c8ef9bd745e6b52b6f383d277d94706dab5d6419543048d2138fb779cdfb19a7ce6452e99bbaad983c961233155690849dfda57db10a87d11240990e9adfd8  translationstring-1.1.tar.gz"