diff options
author | Matt Smith <mcs@darkregion.net> | 2011-03-23 16:35:10 -0500 |
---|---|---|
committer | Matt Smith <mcs@darkregion.net> | 2011-03-23 16:35:10 -0500 |
commit | a0e5c8e04d046e06f491257e4322c7d01870a813 (patch) | |
tree | b34735f170203ac773931e37f28aee276c2c67b7 /main/py-roman | |
parent | 3ff6abeda0154d79fe550334c3478495a60f7d55 (diff) | |
download | aports-a0e5c8e04d046e06f491257e4322c7d01870a813.tar.bz2 aports-a0e5c8e04d046e06f491257e4322c7d01870a813.tar.xz |
main/py-roman: moved from testing
Diffstat (limited to 'main/py-roman')
-rw-r--r-- | main/py-roman/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/main/py-roman/APKBUILD b/main/py-roman/APKBUILD new file mode 100644 index 0000000000..2e1cb18bbb --- /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" |