mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
35 lines
953 B
Plaintext
35 lines
953 B
Plaintext
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
pkgname=py3-autograd
|
|
_pkgorig=autograd
|
|
pkgver=1.5
|
|
pkgrel=3
|
|
pkgdesc="Efficiently computes derivatives of numpy code"
|
|
url="https://github.com/HIPS/autograd"
|
|
arch="noarch"
|
|
license="MIT"
|
|
options="!check" # no tests in pypi version/ no latest GH releases
|
|
depends="
|
|
python3
|
|
py3-future
|
|
py3-numpy
|
|
py3-scipy
|
|
"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest py3-pytest-cov"
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/a/autograd/autograd-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgorig-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
9308a04ecdd561a8332b6c9b411644530b2636dc72aca64af3fc6633eaab39ce645634698f6248e9d2c242261fb413fad9399d127dafda1a7c88337766f65fec py3-autograd-1.5.tar.gz
|
|
"
|