aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-roman/APKBUILD
blob: 9c088a17d166bafbb2b60aa6795f6b96e2dcde69 (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
32
33
34
35
# Contributor: Matt Smith <mcs@darkregion.net>
# Maintainer: Matt Smith <mcs@darkregion.net>
pkgname=py-roman
_pkgname=roman
pkgver=2.0.0
pkgrel=0
pkgdesc="Integer to Roman numerals converter"
url="http://pypi.python.org/pypi/roman"
arch="noarch"
license="Python"
depends="python"
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip"

_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
	cd "$_builddir"
	# apply patches here
}

build() {
	cd "$_builddir"
	python setup.py build || return 1
}

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

md5sums="aa71d131eec16d45c030fd06a27c9d17  roman-2.0.0.zip"
sha256sums="90e83b512b44dd7fc83d67eb45aa5eb707df623e6fc6e66e7f273abd4b2613ae  roman-2.0.0.zip"
sha512sums="d62a95e835232821dbf7a81d0c6b7df63f18c4116cfc7eee0c691a0b31d3d7b69d2dc2e4ea26e0a169a8e24bf080e8bb1e195b853be4adf1491335a5b4d5702c  roman-2.0.0.zip"