summaryrefslogtreecommitdiffstats
path: root/main/py-roman/APKBUILD
diff options
context:
space:
mode:
authorMatt Smith <mcs@darkregion.net>2011-03-23 16:35:10 -0500
committerMatt Smith <mcs@darkregion.net>2011-03-23 16:35:10 -0500
commita0e5c8e04d046e06f491257e4322c7d01870a813 (patch)
treeb34735f170203ac773931e37f28aee276c2c67b7 /main/py-roman/APKBUILD
parent3ff6abeda0154d79fe550334c3478495a60f7d55 (diff)
downloadaports-a0e5c8e04d046e06f491257e4322c7d01870a813.tar.bz2
aports-a0e5c8e04d046e06f491257e4322c7d01870a813.tar.xz
main/py-roman: moved from testing
Diffstat (limited to 'main/py-roman/APKBUILD')
-rw-r--r--main/py-roman/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/main/py-roman/APKBUILD b/main/py-roman/APKBUILD
new file mode 100644
index 000000000..2e1cb18bb
--- /dev/null
+++ b/main/py-roman/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Matt Smith <mcs@darkregion.net>
+# Maintainer: Matt Smith <mcs@darkregion.net>
+pkgname=py-roman
+_pkgname=roman
+pkgver=1.4.0
+pkgrel=2
+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"