From e57d4f3372bf202138cdffd8d0341765f5e51153 Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Sun, 3 May 2020 14:42:04 +0200 Subject: testing/py3-wolframalpha: new aport --- testing/py3-wolframalpha/APKBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 testing/py3-wolframalpha/APKBUILD (limited to 'testing') diff --git a/testing/py3-wolframalpha/APKBUILD b/testing/py3-wolframalpha/APKBUILD new file mode 100644 index 0000000000..e1b6621697 --- /dev/null +++ b/testing/py3-wolframalpha/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Bart Ribberse +# Maintainer: Bart Ribberse +pkgname=py3-wolframalpha +pkgver=4.0.0 +pkgrel=0 +pkgdesc="Wolfram|Alpha 2.0 API client" +url="https://github.com/jaraco/wolframalpha" +arch="noarch" +license="MIT" +depends="python3 py3-xmltodict py3-jaraco-itertools" +makedepends="py3-setuptools py3-setuptools_scm py3-toml" +checkdepends="py3-pytest py3-pytest-black py3-pytest-flake8 py3-pytest-cov" +source="https://pypi.python.org/packages/source/w/wolframalpha/wolframalpha-$pkgver.tar.gz" +options="!check" # Flake8 failures I do not yet know how to resolve +builddir="$srcdir/wolframalpha-$pkgver" + +build() { + python3 setup.py build +} + +check() { + pytest \ + --ignore wolframalpha/test_pmxbot.py \ + --ignore wolframalpha/pmxbot.py +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="41fa275f9fe05e3eb37d7fd02c9e5883e7828be60a94fab70b454e112c5b59378866c834c35b8c9c93db08ae7c13e635755b033527f2a3b4089e43863f329a31 wolframalpha-4.0.0.tar.gz" -- cgit v1.2.3