1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 18:55:29 +03:00
aports/community/py3-arxivloader/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

35 lines
938 B
Text

# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
pkgname=py3-arxivloader
_pkgorig=arxivloader
pkgver=1.0.2
pkgrel=2
pkgdesc="Wrapper for the arXiv API"
url="https://github.com/stammler/arxivloader"
arch="noarch"
license="BSD-3-Clause"
options="!check" # no tests provided by the upstream (for now)
depends="
python3
py3-beautifulsoup4
py3-lxml
py3-numpy
py3-pandas
py3-requests
py3-tqdm
"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/a/arxivloader/arxivloader-$pkgver.tar.gz"
builddir="$srcdir/$_pkgorig-$pkgver"
build() {
python3 setup.py build
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
42fe244f72b95d06a43caacd9971494d957e83b9cd6afab17ef7d555ec42b38eb80d302b53dcdc62df9cf60d7cb8adb3cd1517a077f93b63ac1fa83a6c169ac0 py3-arxivloader-1.0.2.tar.gz
"