Update to version 0.5

This commit is contained in:
Universebenzene 2018-11-23 15:47:40 +08:00
parent 1482d2b086
commit eac1d02733
2 changed files with 14 additions and 13 deletions

View file

@ -1,14 +1,13 @@
# Generated by mksrcinfo v8
# Tue Oct 2 09:40:42 UTC 2018
# Fri Nov 23 07:46:26 UTC 2018
pkgbase = python-specutils
pkgdesc = Astropy Affiliated package for 1D spectral operations
pkgver = 0.4
pkgver = 0.5
pkgrel = 1
url = http://specutils.readthedocs.io/en/latest/
arch = i686
arch = x86_64
license = BSD
checkdepends = python-pytest-astropy
makedepends = cython
makedepends = python-numpy
makedepends = python-scipy
@ -18,13 +17,14 @@ pkgbase = python-specutils
makedepends = python-sphinx
makedepends = python-matplotlib
makedepends = python-gwcs
source = https://files.pythonhosted.org/packages/source/s/specutils/specutils-0.4.tar.gz
md5sums = 26d71907fd86b2d1257fc0d6ffc5d982
source = https://files.pythonhosted.org/packages/source/s/specutils/specutils-0.5.tar.gz
md5sums = 19139234762d566853103d3b687a39b0
pkgname = python-specutils
depends = python
depends = python-astropy
optdepends = python-specutils-doc: Documentation for Specutils
optdepends = python-pytest-astropy: For testing
pkgname = python-specutils-doc
pkgdesc = Documentation for Python Specutils module

View file

@ -1,16 +1,16 @@
# Maintainer: Astro Benzene <universebenzene at sina dot com>
pkgbase=python-specutils
pkgname=('python-specutils' 'python-specutils-doc')
pkgver=0.4
pkgver=0.5
pkgrel=1
pkgdesc="Astropy Affiliated package for 1D spectral operations"
arch=('i686' 'x86_64')
url="http://specutils.readthedocs.io/en/latest/"
license=('BSD')
makedepends=('cython' 'python-numpy' 'python-scipy' 'python-six' 'python-astropy' 'python-astropy-helpers' 'python-sphinx' 'python-matplotlib' 'python-gwcs')
checkdepends=('python-pytest-astropy')
#checkdepends=('python-pytest-astropy')
source=("https://files.pythonhosted.org/packages/source/s/specutils/specutils-${pkgver}.tar.gz")
md5sums=('26d71907fd86b2d1257fc0d6ffc5d982')
md5sums=('19139234762d566853103d3b687a39b0')
prepare() {
cd ${srcdir}/specutils-${pkgver}
@ -26,14 +26,15 @@ build() {
python setup.py build_docs
}
check() {
cd ${srcdir}/specutils-${pkgver}
python setup.py test
}
#check() {
# cd ${srcdir}/specutils-${pkgver}
# python setup.py test
#}
package_python-specutils() {
depends=('python' 'python-astropy')
optdepends=('python-specutils-doc: Documentation for Specutils')
optdepends=('python-specutils-doc: Documentation for Specutils'
'python-pytest-astropy: For testing')
cd ${srcdir}/specutils-${pkgver}
# install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}/"