summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorUniversebenzene2019-02-25 14:44:21 +0800
committerUniversebenzene2019-02-25 14:44:21 +0800
commit97ee2305601ec27821ccfd3dcfea0a4f5d3cf92c (patch)
tree021a028b4fa9b371babbb39712e65d2bc4aa6105
parentc35d55c388601a4be7c920c03386d90d2c9998cd (diff)
downloadaur-97ee2305601ec27821ccfd3dcfea0a4f5d3cf92c.tar.gz
Update to version 3.1.2
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD25
2 files changed, 18 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 620a58d2b93..da435159250 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
# Generated by mksrcinfo v8
-# Mon Jan 7 02:44:35 UTC 2019
+# Mon Feb 25 06:42:42 UTC 2019
pkgbase = python-astropy-doc
pkgdesc = Documentation for AstroPy
- pkgver = 3.1.1
+ pkgver = 3.1.2
pkgrel = 1
url = http://www.astropy.org
arch = i686
arch = x86_64
license = BSD
- makedepends = python-astropy=3.1.1
+ makedepends = python-astropy=3.1.2
makedepends = python-yaml
makedepends = python-pillow
makedepends = python-astropy-helpers>=3.1
@@ -16,8 +16,8 @@ pkgbase = python-astropy-doc
makedepends = python-scikit-image
makedepends = python-pytest
makedepends = python-sphinx-astropy
- source = https://files.pythonhosted.org/packages/source/a/astropy/astropy-3.1.1.tar.gz
- md5sums = be7267b5b15face74626876fc2901119
+ source = https://files.pythonhosted.org/packages/source/a/astropy/astropy-3.1.2.tar.gz
+ md5sums = 2e197984c6ab44672b807bc25ce4b03f
pkgname = python-astropy-doc
diff --git a/PKGBUILD b/PKGBUILD
index d4729077c14..47437bf6606 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,31 +1,32 @@
# Maintainer: Astro Benzene <universebenzene at sina dot com>
-pkgname=python-astropy-doc
-pkgver=3.1.1
+_pyname=astropy
+pkgname=python-${_pyname}-doc
+pkgver=3.1.2
pkgrel=1
pkgdesc="Documentation for AstroPy"
arch=('i686' 'x86_64')
url="http://www.astropy.org"
license=('BSD')
-makedepends=("python-astropy=${pkgver}" 'python-yaml' 'python-pillow' 'python-astropy-helpers>=3.1' 'graphviz' 'python-scikit-image' 'python-pytest' 'python-sphinx-astropy')
-source=("https://files.pythonhosted.org/packages/source/a/astropy/astropy-${pkgver}.tar.gz")
-md5sums=('be7267b5b15face74626876fc2901119')
+makedepends=("python-${_pyname}=${pkgver}" 'python-yaml' 'python-pillow' 'python-astropy-helpers>=3.1' 'graphviz' 'python-scikit-image' 'python-pytest' 'python-sphinx-astropy')
+source=("https://files.pythonhosted.org/packages/source/${_pyname:0:1}/${_pyname}/${_pyname}-${pkgver}.tar.gz")
+md5sums=('2e197984c6ab44672b807bc25ce4b03f')
prepare() {
- cd ${srcdir}/astropy-${pkgver}
+ cd ${srcdir}/${_pyname}-${pkgver}
sed -i -e '/auto_use/s/True/False/' setup.cfg
}
build() {
- cd ${srcdir}/astropy-${pkgver}/docs
+ cd ${srcdir}/${_pyname}-${pkgver}/docs
make html
}
package() {
- cd ${srcdir}/astropy-${pkgver}/docs/_build
+ cd ${srcdir}/${_pyname}-${pkgver}/docs/_build
- install -d -m755 "${pkgdir}/usr/share/doc/python-astropy"
- cp -a html "${pkgdir}/usr/share/doc/python-astropy"
- install -m644 -t "${pkgdir}/usr/share/doc/python-astropy/html/_static" ../_static/*
- install -m644 -t "${pkgdir}/usr/share/doc/python-astropy/html/_images" ../_static/*
+ install -d -m755 "${pkgdir}/usr/share/doc/${pkgname%-doc}"
+ cp -a html "${pkgdir}/usr/share/doc/${pkgname%-doc}"
+ install -m644 -t "${pkgdir}/usr/share/doc/${pkgname%-doc}/html/_static" ../_static/*
+ install -m644 -t "${pkgdir}/usr/share/doc/${pkgname%-doc}/html/_images" ../_static/*
}