diff options
author | Matt Smith <mcs@darkregion.net> | 2010-12-14 23:22:43 -0600 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-12-16 10:28:55 +0000 |
commit | 439d075504ad53357d637e3c9d1811865e003bf5 (patch) | |
tree | 3c7c0d97ef97d8e2a3801911a93b4148dafa4f04 /testing/py-roman | |
parent | 1aed61596e25367d5bd13a5ed43a8e70ab6841c4 (diff) | |
download | aports-439d075504ad53357d637e3c9d1811865e003bf5.tar.bz2 aports-439d075504ad53357d637e3c9d1811865e003bf5.tar.xz |
testing/py-roman: new aport
Diffstat (limited to 'testing/py-roman')
-rw-r--r-- | testing/py-roman/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/py-roman/APKBUILD b/testing/py-roman/APKBUILD new file mode 100644 index 0000000000..79b3894239 --- /dev/null +++ b/testing/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=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" |