summaryrefslogtreecommitdiffstats
path: root/main/py-roman/APKBUILD
blob: 1c48cbed287f32f8aa08353c04330b5adea20885 (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
# Contributor: Matt Smith <mcs@darkregion.net>
# Maintainer:  Matt Smith <mcs@darkregion.net>
pkgname=py-roman
_pkgname=roman
pkgver=1.4.0
pkgrel=3
pkgdesc="Integer to Roman numerals converter"
url="http://pypi.python.org/pypi/roman"
arch="noarch"
license="Python2.1.1"
depends="python"
makedepends="python-dev py-setuptools"
install=
subpackages=
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

_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="4f8832ed4108174b159c2afb4bd1d1dd  roman-1.4.0.tar.gz"