diff options
| author | Bart Ribbers <bribbers@disroot.org> | 2020-05-03 14:42:04 +0200 |
|---|---|---|
| committer | Rasmus Thomsen <oss@cogitri.dev> | 2020-05-09 20:05:23 +0000 |
| commit | e57d4f3372bf202138cdffd8d0341765f5e51153 (patch) | |
| tree | e894efa5ea86834f266a8de275a53131b86a3265 /testing | |
| parent | 2b1edd1088247e25cfa096e6cd08137c07490ee6 (diff) | |
| download | aports-e57d4f3372bf202138cdffd8d0341765f5e51153.tar.bz2 aports-e57d4f3372bf202138cdffd8d0341765f5e51153.tar.xz | |
testing/py3-wolframalpha: new aport
Diffstat (limited to 'testing')
| -rw-r--r-- | testing/py3-wolframalpha/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
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 <bribbers@disroot.org> +# Maintainer: Bart Ribberse <bribbers@disroot.org> +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" |
