diff options
author | Universebenzene | 2019-12-09 01:52:54 +0800 |
---|---|---|
committer | Universebenzene | 2019-12-09 01:52:54 +0800 |
commit | 2ca7ac27972b563b326220a4b9c376bcaf8f65e5 (patch) | |
tree | dfb9d53193b160371e55b56171a47e5c6faeb4dd | |
parent | 6772d5175d3562cc0e0744a80bf83b0abf235ae3 (diff) | |
download | aur-2ca7ac27972b563b326220a4b9c376bcaf8f65e5.tar.gz |
Fix doc astropy link
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 | ||||
-rw-r--r-- | fix_doc_index_astropy_link.patch | 12 |
3 files changed, 19 insertions, 2 deletions
@@ -16,7 +16,9 @@ pkgbase = python-astroplan makedepends = python-astroquery makedepends = graphviz source = https://files.pythonhosted.org/packages/source/a/astroplan/astroplan-0.6.tar.gz + source = fix_doc_index_astropy_link.patch md5sums = a113c9a7f3107a433e3c4bf22e238259 + md5sums = be56be5926b43589b273c16544c5241a pkgname = python-astroplan depends = python>=3.5 @@ -16,13 +16,16 @@ makedepends=('python-setuptools' '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=('a113c9a7f3107a433e3c4bf22e238259') +source=("https://files.pythonhosted.org/packages/source/${_pyname:0:1}/${_pyname}/${_pyname}-${pkgver}.tar.gz" + 'fix_doc_index_astropy_link.patch') +md5sums=('a113c9a7f3107a433e3c4bf22e238259' + 'be56be5926b43589b273c16544c5241a') prepare() { cd ${srcdir}/${_pyname}-${pkgver} sed -i -e '/auto_use/s/True/False/' setup.cfg + patch -Np1 -i "${srcdir}/fix_doc_index_astropy_link.patch" } build() { diff --git a/fix_doc_index_astropy_link.patch b/fix_doc_index_astropy_link.patch new file mode 100644 index 000000000000..2768c9441e1e --- /dev/null +++ b/fix_doc_index_astropy_link.patch @@ -0,0 +1,12 @@ +diff -ura a/docs/index.rst b/docs/index.rst +--- a/docs/index.rst 2017-10-24 00:54:21.000000000 +0800 ++++ b/docs/index.rst 2019-12-09 00:58:09.911329672 +0800 +@@ -26,7 +26,7 @@ + plots (airmass, parallactic angle, sky maps). + * Determining observability of sets of targets given an arbitrary set of + constraints (i.e., altitude, airmass, moon separation/illumination, etc.). +-* `Astropy`_ powered! ++* `Astropy <astropy.org>`_ powered! + + Links + ===== |