summaryrefslogtreecommitdiff
path: root/user/py3-roman/APKBUILD
blob: 068e0096378de65c6e5ec2d704b4c3567e7453ea (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
# Contributor: Max Rees <maxcrees@me.com>
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=py3-roman
_pkgname=roman
pkgver=3.2
pkgrel=0
pkgdesc="Python library to convert integers to Roman numerals"
url="https://pypi.org/project/roman/"
arch="noarch"
# Certified net clean
license="Python-2.1.1"  # not SPDX
depends="python3"
makedepends="python3-dev"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/r/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	# Do not bootstrap - tries to access web
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="142904551745c8b7874d52c8d04f483b0c18b18ba8bc3d3a51fcf509e09b3a3f8a28d0b88bdd8282957bf3d698b1bab86de7fb4808cde9b0e5cfb910deca35ab  py3-roman-3.2.tar.gz"