Commit f778c158 authored by prspkt's avatar prspkt Committed by Natanael Copa

main/py-roman: upgrade to 3.2

* Clarify license and run test suite.
parent c71df0c0
......@@ -2,16 +2,16 @@
# Maintainer: Matt Smith <mcs@darkregion.net>
pkgname=py-roman
_pkgname=roman
pkgver=2.0.0
pkgrel=4
pkgver=3.2
pkgrel=0
pkgdesc="Integer to Roman numerals converter"
url="https://pypi.python.org/pypi/roman"
arch="noarch"
license="Python"
license="Python-2.0"
depends=""
makedepends="python2-dev python3-dev py-setuptools"
subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
......@@ -20,6 +20,11 @@ build() {
python3 setup.py build || return 1
}
check() {
python2 setup.py test
python3 setup.py test
}
package() {
mkdir -p "$pkgdir"
}
......@@ -43,4 +48,4 @@ _py() {
$python setup.py install --prefix=/usr --root="$subpkgdir"
}
sha512sums="d62a95e835232821dbf7a81d0c6b7df63f18c4116cfc7eee0c691a0b31d3d7b69d2dc2e4ea26e0a169a8e24bf080e8bb1e195b853be4adf1491335a5b4d5702c roman-2.0.0.zip"
sha512sums="142904551745c8b7874d52c8d04f483b0c18b18ba8bc3d3a51fcf509e09b3a3f8a28d0b88bdd8282957bf3d698b1bab86de7fb4808cde9b0e5cfb910deca35ab roman-3.2.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment