summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorUniversebenzene2018-12-06 02:35:06 +0800
committerUniversebenzene2018-12-06 02:35:06 +0800
commite20e3b5fb38f654cfbeada2f49a8f9fee32242fc (patch)
tree692053c1270398b7beca75a98024389034d74a71
parenta281b0248a66807be43af18e06b40e2fc795d40e (diff)
downloadaur-e20e3b5fb38f654cfbeada2f49a8f9fee32242fc.tar.gz
Remove doc building
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD39
2 files changed, 24 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a314ecf06f8..8a8ae11cd4b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Tue Aug 7 04:53:45 UTC 2018
+# Wed Dec 5 18:34:00 UTC 2018
pkgbase = python-astroplan
pkgdesc = A python package to help astronomers plan observations
pkgver = 0.4
@@ -12,9 +12,6 @@ pkgbase = python-astroplan
makedepends = python-astropy>=1.3
makedepends = python-pytz
makedepends = python-astropy-helpers
- makedepends = python-sphinx
- makedepends = python-matplotlib
- makedepends = python-astroquery
source = https://files.pythonhosted.org/packages/source/a/astroplan/astroplan-0.4.tar.gz
source = python-astroplan.patch
md5sums = 8ac6dec44aadae0b98775658856a4f01
@@ -28,8 +25,4 @@ pkgname = python-astroplan
optdepends = python-matplotlib: Plotting support
optdepends = python-pytest-mpl: Testing the plot function
optdepends = python-astroquery: Astroquery support
- optdepends = python-astroplan-doc: Documentation for astroplan
-
-pkgname = python-astroplan-doc
- pkgdesc = Documentation for Python astroplan module
diff --git a/PKGBUILD b/PKGBUILD
index 3f1c816bac0..13b34cc48b7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,20 @@
# Maintainer: Astro Benzene <universebenzene at sina dot com>
-pkgbase=python-astroplan
-pkgname=('python-astroplan' 'python-astroplan-doc')
+#pkgbase=python-astroplan
+pkgname=('python-astroplan')
+#'python-astroplan-doc')
pkgver=0.4
pkgrel=4
pkgdesc="A python package to help astronomers plan observations"
arch=('i686' 'x86_64')
url="https://astroplan.readthedocs.io/en/latest/"
license=('BSD')
-makedepends=('cython' 'python-astropy>=1.3' 'python-pytz' 'python-astropy-helpers' 'python-sphinx' 'python-matplotlib' 'python-astroquery')
+makedepends=('cython'
+ 'python-astropy>=1.3'
+ 'python-pytz'
+ 'python-astropy-helpers')
+# 'python-sphinx'
+# 'python-matplotlib'
+# 'python-astroquery')
#checkdepends=('python-matplotlib' 'python-pytest-mpl')
source=("https://files.pythonhosted.org/packages/source/a/astroplan/astroplan-${pkgver}.tar.gz"
'python-astroplan.patch')
@@ -20,15 +27,15 @@ prepare() {
patch -Np1 -i "${srcdir}/python-astroplan.patch"
}
-build () {
+build() {
cd ${srcdir}/astroplan-${pkgver}
python setup.py build --use-system-libraries --offline
- msg "Building Docs"
- python setup.py build_docs
+# msg "Building Docs"
+# python setup.py build_docs
}
-#check(){
+#check() {
# cd ${srcdir}/astroplan-${pkgver}
#
# python setup.py test
@@ -38,8 +45,8 @@ package_python-astroplan() {
depends=('python>=3.5' 'python-numpy>=1.10' 'python-astropy>=1.3' 'python-pytz')
optdepends=('python-matplotlib: Plotting support'
'python-pytest-mpl: Testing the plot function'
- 'python-astroquery: Astroquery support'
- 'python-astroplan-doc: Documentation for astroplan')
+ 'python-astroquery: Astroquery support')
+# 'python-astroplan-doc: Documentation for astroplan')
cd ${srcdir}/astroplan-${pkgver}
install -D -m644 LICENSE.rst -t "${pkgdir}/usr/share/licenses/${pkgname}"
@@ -48,10 +55,10 @@ package_python-astroplan() {
python setup.py install --root=${pkgdir} --prefix=/usr --optimize=1 --use-system-libraries --offline
}
-package_python-astroplan-doc() {
- pkgdesc="Documentation for Python astroplan module"
- cd ${srcdir}/astroplan-${pkgver}/build/sphinx
-
- install -d -m755 "${pkgdir}/usr/share/doc/${pkgbase}"
- cp -a html "${pkgdir}/usr/share/doc/${pkgbase}"
-}
+#package_python-astroplan-doc() {
+# pkgdesc="Documentation for Python astroplan module"
+# cd ${srcdir}/astroplan-${pkgver}/build/sphinx
+#
+# install -d -m755 "${pkgdir}/usr/share/doc/${pkgbase}"
+# cp -a html "${pkgdir}/usr/share/doc/${pkgbase}"
+#}