summaryrefslogtreecommitdiff
path: root/user/py3-roman/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2018-04-17 03:14:51 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2018-04-17 03:14:51 +0000
commit58df66140118743fa73b00a0861268771454a52d (patch)
tree8eab53269041756630a60e5b5eabc5a852eb3de8 /user/py3-roman/APKBUILD
parent5217ef782dbc8fed1658ce8eaa0020067ef164ce (diff)
parenteed15ce883433b15cd0254898275ea7dceea0bad (diff)
downloadpackages-58df66140118743fa73b00a0861268771454a52d.tar.gz
packages-58df66140118743fa73b00a0861268771454a52d.tar.bz2
packages-58df66140118743fa73b00a0861268771454a52d.tar.xz
packages-58df66140118743fa73b00a0861268771454a52d.zip
Merge branch 'meta/docutils' into 'master'
docutils and friends ``` Includes: * user/py3-docutils * user/py3-roman * user/py3-pillow * user/py3-olefile ``` See merge request !17
Diffstat (limited to 'user/py3-roman/APKBUILD')
-rw-r--r--user/py3-roman/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/py3-roman/APKBUILD b/user/py3-roman/APKBUILD
new file mode 100644
index 000000000..ce00a3785
--- /dev/null
+++ b/user/py3-roman/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Max Rees <maxcrees@me.com>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=py3-roman
+_pkgname=roman
+pkgver=2.0.0
+pkgrel=2
+pkgdesc="Python library to convert integers to Roman numerals"
+url="http://pypi.python.org/pypi/roman"
+arch="noarch"
+license="Python-2.1.1" # not SPDX
+depends="python3"
+makedepends="python3-dev py3-setuptools unzip"
+checkdepends="py3-tox"
+source="$pkgname-$pkgver.zip::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip
+ py36.patch"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ # Do not bootstrap - tries to access web
+ python3 setup.py build
+}
+
+check() {
+ cd "$builddir"
+ tox -e py36
+}
+
+package() {
+ cd "$builddir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="d62a95e835232821dbf7a81d0c6b7df63f18c4116cfc7eee0c691a0b31d3d7b69d2dc2e4ea26e0a169a8e24bf080e8bb1e195b853be4adf1491335a5b4d5702c py3-roman-2.0.0.zip
+8f6bfe0f7259db6091b71c8744592de34ca305a30b5ac44cb366fd3e71ebbead21b892939a15b19cd0e344445f981f16ae493bb70ade171b2ba1d92daa431931 py36.patch"