diff options
author | Universebenzene | 2022-02-24 12:14:10 +0800 |
---|---|---|
committer | Universebenzene | 2022-02-24 12:14:10 +0800 |
commit | cf06abaec7d3212fdeb99e37cadc95eea904fede (patch) | |
tree | b20991b0dc2ecd664fa6c4700a284776bd2e4acc | |
parent | 8a122f07d3abddfe0c5e72f7014dd7ca356e588f (diff) | |
download | aur-cf06abaec7d3212fdeb99e37cadc95eea904fede.tar.gz |
Update to version 11.9.0
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 11 insertions, 8 deletions
@@ -1,6 +1,6 @@ pkgbase = python-crds pkgdesc = Calibration Reference Data System for HST and JWST - pkgver = 11.8.0 + pkgver = 11.9.0 pkgrel = 1 url = https://hst-crds.stsci.edu/static/users_guide/index.html arch = any @@ -15,8 +15,11 @@ pkgbase = python-crds checkdepends = python-yaml checkdepends = python-asdf makedepends = python-setuptools-scm - source = https://files.pythonhosted.org/packages/source/c/crds/crds-11.8.0.tar.gz - md5sums = ab5843759afff56e38517be7dbc8f6a4 + makedepends = python-wheel + makedepends = python-build + makedepends = python-installer + source = https://files.pythonhosted.org/packages/source/c/crds/crds-11.9.0.tar.gz + md5sums = 09069fe60c4fea351c46492c30802190 pkgname = python-crds depends = python-filelock @@ -2,21 +2,21 @@ pkgbase=python-crds _pyname=${pkgbase#python-} pkgname=("python-${_pyname}") -pkgver=11.8.0 +pkgver=11.9.0 pkgrel=1 pkgdesc="Calibration Reference Data System for HST and JWST" arch=('any') url="https://hst-crds.stsci.edu/static/users_guide/index.html" license=('BSD') -makedepends=('python-setuptools-scm') +makedepends=('python-setuptools-scm' 'python-wheel' 'python-build' 'python-installer') checkdepends=('python-pytest' 'python-lockfile' 'python-filelock' 'python-mock' 'python-astropy' 'python-nose' 'python-pylint' 'python-yaml' 'python-asdf') source=("https://files.pythonhosted.org/packages/source/${_pyname:0:1}/${_pyname}/${_pyname}-${pkgver}.tar.gz") -md5sums=('ab5843759afff56e38517be7dbc8f6a4') +md5sums=('09069fe60c4fea351c46492c30802190') build() { cd ${srcdir}/${_pyname}-${pkgver} - python setup.py build + python -m build --wheel --no-isolation } check() { @@ -32,5 +32,5 @@ package_python-crds() { install -D -m644 -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE install -D -m644 -t "${pkgdir}/usr/share/doc/${pkgname}" README.rst - python setup.py install --root=${pkgdir} --prefix=/usr --optimize=1 + python -m installer --destdir="${pkgdir}" dist/*.whl } |