blob: 79b3894239965da4b74de7ff0fbadc63b4892ab9 (
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=0
pkgdesc="Integer to Roman numerals converter"
url="http://pypi.python.org/pypi/roman"
arch="x86 x86_64"
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"
}
md5sums="4f8832ed4108174b159c2afb4bd1d1dd roman-1.4.0.tar.gz"
|