blob: 46d2099b870191fb71813f93796dbd708effd712 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: Will Handley <wh260@cam.ac.uk> (aur.archlinux.org/account/wjhandley)
pkgname=python-ads
_name=${pkgname#python-}
pkgver=0.12.3
pkgrel=1
pkgdesc="A Python Module to Interact with NASA's ADS that Doesn't Suckā¢"
arch=(any)
url="https://github.com/andycasey/ads"
license=('custom')
groups=()
makedepends=('python-setuptools')
depends=(python-six python-requests python-httpretty python-werkzeug python-mock)
provides=()
conflicts=("${pkgname}-git")
replaces=()
backup=()
options=(!emptydirs)
install=
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=(ce523f266f6b815bf1d6371b6e7791b4d10989ebe743681b27bd54301f7cdcc9)
build() {
cd "$srcdir/$_name-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/$_name-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|