27 lines
807 B
Text
27 lines
807 B
Text
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
pkgname=py3-tika
|
|
_pyname="tika"
|
|
pkgver=2.6.0
|
|
pkgrel=0
|
|
arch="noarch"
|
|
pkgdesc="Apache Tika Python library"
|
|
url="https://pypi.python.org/project/$_pyname"
|
|
license="Apache-2.0"
|
|
depends="python3"
|
|
makedepends="py3-setuptools"
|
|
options="!check" # No testsuite
|
|
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
|
|
builddir="$srcdir"/$_pyname-$pkgver
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build
|
|
}
|
|
sha512sums="
|
|
092986afd0968d41b6a0274b1f1cac5f6a168bc79cea920f65543c46b6541b6b02eceb0ae89fc254b709421dd75ebe50aad0f17a52becbdb27a541b80a08a0ae py3-tika-2.6.0.tar.gz
|
|
"
|