summaryrefslogtreecommitdiff
path: root/user/py3-roman/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/py3-roman/APKBUILD')
-rw-r--r--user/py3-roman/APKBUILD18
1 files changed, 8 insertions, 10 deletions
diff --git a/user/py3-roman/APKBUILD b/user/py3-roman/APKBUILD
index cdf338ae3..0105c986a 100644
--- a/user/py3-roman/APKBUILD
+++ b/user/py3-roman/APKBUILD
@@ -2,17 +2,16 @@
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=py3-roman
_pkgname=roman
-pkgver=2.0.0
-pkgrel=2
+pkgver=3.0
+pkgrel=0
pkgdesc="Python library to convert integers to Roman numerals"
-url="http://pypi.python.org/pypi/roman"
+url="https://pypi.org/project/roman/"
arch="noarch"
+# Certified net clean
license="Python-2.1.1" # not SPDX
depends="python3"
-makedepends="python3-dev unzip"
-checkdepends="py3-tox"
-source="$pkgname-$pkgver.zip::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip
- py36.patch"
+makedepends="python3-dev"
+source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/r/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
@@ -23,7 +22,7 @@ build() {
check() {
cd "$builddir"
- tox -e py36
+ python3 setup.py test
}
package() {
@@ -31,5 +30,4 @@ package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="d62a95e835232821dbf7a81d0c6b7df63f18c4116cfc7eee0c691a0b31d3d7b69d2dc2e4ea26e0a169a8e24bf080e8bb1e195b853be4adf1491335a5b4d5702c py3-roman-2.0.0.zip
-8f6bfe0f7259db6091b71c8744592de34ca305a30b5ac44cb366fd3e71ebbead21b892939a15b19cd0e344445f981f16ae493bb70ade171b2ba1d92daa431931 py36.patch"
+sha512sums="468a4ac7188cdf3155698f260de5ecc5bb2072c120c79d046618ac07b6de6f777cfc69661f2e0df4ca66359bb20169d22599b3f342edaa48f8575bdc17b40c08 py3-roman-3.0.tar.gz"