summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorUniversebenzene2018-02-03 23:46:47 +0800
committerUniversebenzene2018-02-03 23:46:47 +0800
commit821d3328b724f9949de5e3937f183b1eab6f668d (patch)
tree70514852bb6d81000ce0165c2f064e03b1262a47
parent0dc3c5d418f04d86c160d769217dd73cb3298af4 (diff)
downloadaur-821d3328b724f9949de5e3937f183b1eab6f668d.tar.gz
Add an optional dependency
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD3
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 91e18c3a36a..726a82ebab4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sat Feb 3 11:11:29 UTC 2018
+# Sat Feb 3 15:45:40 UTC 2018
pkgbase = python-astroplan
pkgdesc = A python package to help astronomers plan observations
pkgver = 0.4
- pkgrel = 1
+ pkgrel = 2
url = https://astroplan.readthedocs.io/en/latest/
arch = i686
arch = x86_64
@@ -14,6 +14,7 @@ pkgbase = python-astroplan
depends = python-astropy>=1.3
depends = python-pytz
optdepends = python-matplotlib: Plotting support
+ optdepends = python-pytest-mpl: Testing the plot function
optdepends = python-astroquery: Astroquery support
source = https://files.pythonhosted.org/packages/source/a/astroplan/astroplan-0.4.tar.gz
source = astroplan-ephem.patch
diff --git a/PKGBUILD b/PKGBUILD
index 7a2021e0f67..6a1f4a0e035 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Astro Benzene <universebenzene at sina dot com>
pkgname=python-astroplan
pkgver=0.4
-pkgrel=1
+pkgrel=2
pkgdesc="A python package to help astronomers plan observations"
arch=('i686' 'x86_64')
url="https://astroplan.readthedocs.io/en/latest/"
@@ -9,6 +9,7 @@ license=('BSD')
depends=('python>=3.5' 'python-numpy' 'python-astropy>=1.3' 'python-pytz')
makedepends=('cython')
optdepends=('python-matplotlib: Plotting support'
+ 'python-pytest-mpl: Testing the plot function'
'python-astroquery: Astroquery support')
source=("https://files.pythonhosted.org/packages/source/a/astroplan/astroplan-${pkgver}.tar.gz"
'astroplan-ephem.patch')