27 lines
805 B
Text
27 lines
805 B
Text
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
pkgname=py3-tika
|
|
_pyname="tika"
|
|
pkgver=1.24
|
|
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="
|
|
495a7b71dae5a054f5016655e20b4763560286854beaa7656e24141bd943d025aede1ce57a4d76b51036ee7b929a9f8f3880d8ada1575d2748d3e6373d2856b4 py3-tika-1.24.tar.gz
|
|
"
|