diff options
Diffstat (limited to 'testing/py3-thinc/APKBUILD')
-rw-r--r-- | testing/py3-thinc/APKBUILD | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/testing/py3-thinc/APKBUILD b/testing/py3-thinc/APKBUILD deleted file mode 100644 index f250773d80e..00000000000 --- a/testing/py3-thinc/APKBUILD +++ /dev/null @@ -1,35 +0,0 @@ -# Contributor: Oleg Titov <oleg.titov@gmail.com> -# Maintainer: Oleg Titov <oleg.titov@gmail.com> -pkgname=py3-thinc -pkgver=7.3.1 -pkgrel=1 -pkgdesc="Practical Machine Learning for NLP" -url="https://github.com/explosion/thinc" -arch="x86_64 x86" -license="MIT" -depends="python3 py3-cymem py3-preshed py3-murmurhash py3-blis py3-plac py3-srsly py3-wasabi" -makedepends="python3-dev py3-setuptools cython" -checkdepends="py3-pytest py3-numpy py3-mock py3-tqdm py3-hypothesis" -subpackages="$pkgname-doc" -source="thinc-$pkgver.tar.gz::https://github.com/explosion/thinc/archive/v$pkgver.tar.gz" -builddir="$srcdir/thinc-$pkgver" - -build() { - python3 setup.py build_ext --inplace -} - -check() { - # disable some tests due to use of py3-hypothesis >= 5.0.0 - pytest-3 thinc \ - --ignore=thinc/tests/integration/test_batch_norm.py \ - --ignore=thinc/tests/unit/test_affine.py \ - --ignore=thinc/tests/unit/test_ops.py -} - -package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" - - install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md" -} - -sha512sums="a2aafb1c0d38c4146578f6ac15db93adf839bb7aaf173dd9aaf829eab0e6d682ca30659231d08926dccec4ba4f76bf1d01a2b2762aa8dbe9da21b8886d06d368 thinc-7.3.1.tar.gz" |