aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-gettext/APKBUILD
blob: 97b2475969e70240c643971962a93fbe4b96f6ee (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
28
29
30
31
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-gettext
_pkgname=gettext
pkgver=4.0
pkgrel=2
pkgdesc="Python implementation of Gettext"
url="https://github.com/hannosch/python-gettext"
arch="noarch"
license="GPL-3.0-or-later"
makedepends="py3-setuptools"
checkdepends="py3-tox py3-six"
source="$pkgname-$pkgver.tar.gz::https://github.com/hannosch/python-gettext/archive/$pkgver.tar.gz"
builddir="$srcdir/python-$_pkgname-$pkgver"

replaces="py-gettext" # Backwards compatibility
provides="py-gettext=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

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

sha512sums="b33786ddd32d5e6c31b062ea88131788f8ba68fcd40e2a519e433584b662f766fd866fc249bc77ae06174d133fbae63b0ef9acf45161ff7d79ceab893afde873  py3-gettext-4.0.tar.gz"