diff options
author | Simon Perry (Pezz) | 2018-05-10 13:48:37 +1000 |
---|---|---|
committer | Simon Perry (Pezz) | 2018-05-10 13:48:37 +1000 |
commit | c0b8f5102689341b3a0d8566e4542428ae7007a7 (patch) | |
tree | 29e2399787510cb20860776accb03e95c7014de6 | |
download | aur-c0b8f5102689341b3a0d8566e4542428ae7007a7.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8cd1856ba80c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = python-roman + pkgdesc = Integer to Roman numerals converter + pkgver = 2.0.0 + pkgrel = 1 + url = https://pypi.python.org/pypi/roman + arch = any + license = PSF + makedepends = python-setuptools + source = https://pypi.python.org/packages/source/r/roman/roman-2.0.0.zip + sha256sums = 90e83b512b44dd7fc83d67eb45aa5eb707df623e6fc6e66e7f273abd4b2613ae + +pkgname = python-roman + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7a4cc152119a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Simon Perry <aur [at] sanxion [dot] net> +# Contributor: Aaron DeVore <aaron.devore@gmail.com> + +pkgname=python-roman +pkgver=2.0.0 +pkgrel=1 +pkgdesc="Integer to Roman numerals converter" +url="https://pypi.python.org/pypi/roman" +makedepends=('python-setuptools') +license=('PSF') +arch=('any') +source=("https://pypi.python.org/packages/source/r/roman/roman-${pkgver}.zip") +sha256sums=('90e83b512b44dd7fc83d67eb45aa5eb707df623e6fc6e66e7f273abd4b2613ae') + +build() { + cd "${srcdir}/roman-${pkgver}" + python setup.py build +} + +package() { + cd "${srcdir}/roman-${pkgver}" + python setup.py install --root="$pkgdir" --optimize=1 +} + |