summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorUniversebenzene2019-12-08 23:58:57 +0800
committerUniversebenzene2019-12-08 23:58:57 +0800
commit6772d5175d3562cc0e0744a80bf83b0abf235ae3 (patch)
tree12e1ba06f3de5bbb3ff724f9c53d4549a74e3b5d
parentf8b133f905336ed5dc400f9e2f7c14dc3d3d5290 (diff)
downloadaur-6772d5175d3562cc0e0744a80bf83b0abf235ae3.tar.gz
Update to version 0.6
-rw-r--r--.SRCINFO7
-rw-r--r--.gitignore2
-rw-r--r--PKGBUILD9
3 files changed, 12 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bf1ed9bb994..7c21573654f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = python-astroplan
pkgdesc = A python package to help astronomers plan observations
- pkgver = 0.5
+ pkgver = 0.6
pkgrel = 1
url = https://astroplan.readthedocs.io
arch = i686
@@ -14,8 +14,9 @@ pkgbase = python-astroplan
makedepends = python-astropy-helpers
makedepends = python-sphinx-astropy
makedepends = python-astroquery
- source = https://files.pythonhosted.org/packages/source/a/astroplan/astroplan-0.5.tar.gz
- md5sums = db3afc36fbe8458475c10cc32aab735c
+ makedepends = graphviz
+ source = https://files.pythonhosted.org/packages/source/a/astroplan/astroplan-0.6.tar.gz
+ md5sums = a113c9a7f3107a433e3c4bf22e238259
pkgname = python-astroplan
depends = python>=3.5
diff --git a/.gitignore b/.gitignore
index e310b26b7f1..0d6e3b36c63 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,5 +2,7 @@ src
pkg
*.src.tar.gz
*.tar.gz
+*.tar.bz2
*.part
*.pkg.tar.xz
+*.log
diff --git a/PKGBUILD b/PKGBUILD
index ee3e183fd59..b5e2696d286 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgbase=python-astroplan
_pyname=${pkgbase#python-}
pkgname=("python-${_pyname}" "python-${_pyname}-doc")
-pkgver=0.5
+pkgver=0.6
pkgrel=1
pkgdesc="A python package to help astronomers plan observations"
arch=('i686' 'x86_64')
@@ -13,10 +13,11 @@ makedepends=('python-setuptools'
'python-pytz'
'python-astropy-helpers'
'python-sphinx-astropy'
- 'python-astroquery')
+ 'python-astroquery'
+ 'graphviz')
checkdepends=('python-pytest-astropy' 'python-pytest-mpl')
source=("https://files.pythonhosted.org/packages/source/${_pyname:0:1}/${_pyname}/${_pyname}-${pkgver}.tar.gz")
-md5sums=('db3afc36fbe8458475c10cc32aab735c')
+md5sums=('a113c9a7f3107a433e3c4bf22e238259')
prepare() {
cd ${srcdir}/${_pyname}-${pkgver}
@@ -29,6 +30,7 @@ build() {
python setup.py build --use-system-libraries --offline
msg "Building Docs"
+ python -c "from astroplan import download_IERS_A; download_IERS_A()"
python setup.py build_docs
}
@@ -56,6 +58,7 @@ package_python-astroplan-doc() {
pkgdesc="Documentation for Python astroplan module"
cd ${srcdir}/${_pyname}-${pkgver}/docs/_build
+ install -D -m644 -t "${pkgdir}/usr/share/licenses/${pkgname}" ../../LICENSE.rst
install -d -m755 "${pkgdir}/usr/share/doc/${pkgbase}"
cp -a html "${pkgdir}/usr/share/doc/${pkgbase}"
}