mirror of
https://github.com/archlinux/aur.git
synced 2026-02-11 07:34:23 +01:00
Update to version 1.13.0
This commit is contained in:
parent
62315902c8
commit
16ab220a9d
2 changed files with 9 additions and 10 deletions
8
.SRCINFO
8
.SRCINFO
|
|
@ -1,10 +1,10 @@
|
|||
pkgbase = python-specutils
|
||||
pkgdesc = Astropy Affiliated package for 1D spectral operations
|
||||
pkgver = 1.12.0
|
||||
pkgver = 1.13.0
|
||||
pkgrel = 1
|
||||
url = http://specutils.readthedocs.io
|
||||
arch = any
|
||||
license = BSD
|
||||
license = BSD-3-Clause
|
||||
checkdepends = python-pytest-astropy-header
|
||||
checkdepends = python-pytest-doctestplus
|
||||
checkdepends = python-pytest-remotedata
|
||||
|
|
@ -17,11 +17,11 @@ pkgbase = python-specutils
|
|||
makedepends = python-gwcs
|
||||
makedepends = python-ndcube>=2.0
|
||||
makedepends = graphviz
|
||||
source = https://files.pythonhosted.org/packages/source/s/specutils/specutils-1.12.0.tar.gz
|
||||
source = https://files.pythonhosted.org/packages/source/s/specutils/specutils-1.13.0.tar.gz
|
||||
source = https://stsci.box.com/shared/static/28a88k1qfipo4yxc4p4d40v4axtlal8y.fits
|
||||
source = https://data.sdss.org/sas/dr16/sdss/spectro/redux/26/spectra/1323/spec-1323-52797-0012.fits
|
||||
source = use_local_doc_fits_offline.patch
|
||||
md5sums = dc5ad9a791537d660ea2727d979af4e2
|
||||
md5sums = 713b7df9212bffa34a5a66f42972fac9
|
||||
md5sums = 6de4c8ee5659e87a302e3de595074ba5
|
||||
md5sums = 3586c5d0810108a182ba9146908dc180
|
||||
md5sums = 49c57591fdc60365a3e31a0f10e4e57d
|
||||
|
|
|
|||
11
PKGBUILD
11
PKGBUILD
|
|
@ -2,12 +2,12 @@
|
|||
pkgbase=python-specutils
|
||||
_pyname=${pkgbase#python-}
|
||||
pkgname=("python-${_pyname}" "python-${_pyname}-doc")
|
||||
pkgver=1.12.0
|
||||
pkgver=1.13.0
|
||||
pkgrel=1
|
||||
pkgdesc="Astropy Affiliated package for 1D spectral operations"
|
||||
arch=('any')
|
||||
url="http://specutils.readthedocs.io"
|
||||
license=('BSD')
|
||||
license=('BSD-3-Clause')
|
||||
makedepends=('python-setuptools-scm'
|
||||
'python-wheel'
|
||||
'python-build'
|
||||
|
|
@ -20,13 +20,13 @@ makedepends=('python-setuptools-scm'
|
|||
checkdepends=('python-pytest-astropy-header'
|
||||
'python-pytest-doctestplus'
|
||||
'python-pytest-remotedata'
|
||||
'python-matplotlib') # gwcs, ndcube already in makedepends
|
||||
'python-matplotlib') # gwcs, ndcube already in makedepends; header in conftest.py
|
||||
source=("https://files.pythonhosted.org/packages/source/${_pyname:0:1}/${_pyname}/${_pyname}-${pkgver}.tar.gz"
|
||||
"https://stsci.box.com/shared/static/28a88k1qfipo4yxc4p4d40v4axtlal8y.fits"
|
||||
"https://data.sdss.org/sas/dr16/sdss/spectro/redux/26/spectra/1323/spec-1323-52797-0012.fits"
|
||||
'use_local_doc_fits_offline.patch')
|
||||
#https://dr15.sdss.org/sas/dr15/manga/spectro/redux/v2_4_3/8485/stack/manga-8485-1901-LOGRSS.fits.gz
|
||||
md5sums=('dc5ad9a791537d660ea2727d979af4e2'
|
||||
md5sums=('713b7df9212bffa34a5a66f42972fac9'
|
||||
'6de4c8ee5659e87a302e3de595074ba5'
|
||||
'3586c5d0810108a182ba9146908dc180'
|
||||
'49c57591fdc60365a3e31a0f10e4e57d')
|
||||
|
|
@ -37,7 +37,7 @@ prepare() {
|
|||
cp ${srcdir}/*.fits docs
|
||||
patch -Np1 -i "${srcdir}/use_local_doc_fits_offline.patch"
|
||||
# sed -i "/astropy.utils.exceptions/a \ ignore:Subclassing validator classes is not intended:DeprecationWarning" setup.cfg
|
||||
sed -i "/astropy.utils.exceptions/a \ ignore:pkg_resources is deprecated as an API:DeprecationWarning" setup.cfg
|
||||
# sed -i "/astropy.utils.exceptions/a \ ignore:pkg_resources is deprecated as an API:DeprecationWarning" setup.cfg
|
||||
}
|
||||
|
||||
build() {
|
||||
|
|
@ -50,7 +50,6 @@ build() {
|
|||
|
||||
check() {
|
||||
cd ${srcdir}/${_pyname}-${pkgver}
|
||||
|
||||
# skip some tests that need lots of online data or cost lots of time
|
||||
pytest --ignore=docs/_build \
|
||||
--ignore=specutils/io/asdf/tags/tests/test_spectra.py \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue