mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
31 lines
828 B
Text
31 lines
828 B
Text
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
pkgname=py3-arxiv
|
|
_pkgorig=arxiv.py
|
|
pkgver=1.4.3
|
|
pkgrel=0
|
|
pkgdesc="Python wrapper for the arXiv API"
|
|
url="https://github.com/lukasschwab/arxiv.py"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3 py3-feedparser"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest py3-flake8"
|
|
source="https://github.com/lukasschwab/arxiv.py/archive/$pkgver/$_pkgorig-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgorig-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 -m pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
66910184011867cdb159a987687290c6549fef03fd60310c6c1954aaddd60aa551b903957659aaa05de495d81352dba9ef75a21b35c104172227e8e071fc4af5 arxiv.py-1.4.3.tar.gz
|
|
"
|