ayaports/user/py3-tika/APKBUILD

28 lines
807 B
Text
Raw Normal View History

2023-01-10 19:12:28 +00:00
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
2021-11-30 21:44:44 +00:00
2023-01-10 19:12:28 +00:00
pkgname=py3-tika
_pyname="tika"
2023-04-01 13:18:15 +00:00
pkgver=2.6.0
2021-11-30 21:44:44 +00:00
pkgrel=0
2023-08-11 19:49:05 +00:00
arch="noarch"
2023-01-10 19:12:28 +00:00
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"
2021-11-30 21:44:44 +00:00
builddir="$srcdir"/$_pyname-$pkgver
build() {
2023-01-10 19:12:28 +00:00
python3 setup.py build
2021-11-30 21:44:44 +00:00
}
package() {
2023-01-10 19:12:28 +00:00
python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build
2021-11-30 21:44:44 +00:00
}
sha512sums="
2023-04-01 13:18:15 +00:00
092986afd0968d41b6a0274b1f1cac5f6a168bc79cea920f65543c46b6541b6b02eceb0ae89fc254b709421dd75ebe50aad0f17a52becbdb27a541b80a08a0ae py3-tika-2.6.0.tar.gz
2021-11-30 21:44:44 +00:00
"