summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorUniversebenzene2018-12-06 02:48:45 +0800
committerUniversebenzene2018-12-06 02:48:45 +0800
commitf56593c0f4bbaf1b94ad6235cc1e6951a1e0efbd (patch)
tree77199289bcdfcdfbacbc9e177187e9e79158b178
parent7859d41de9a397310e3749820e0e3163bcfc62bd (diff)
downloadaur-f56593c0f4bbaf1b94ad6235cc1e6951a1e0efbd.tar.gz
Update for astropy_helper 3.1
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD12
2 files changed, 9 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c20bbb2d21f..4b8273ff031 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Fri Feb 16 09:36:54 UTC 2018
+# Wed Dec 5 18:48:25 UTC 2018
pkgbase = python-radio_beam
pkgdesc = A tool for manipulating and utilizing two dimensional gaussian beams within the astropy framework
pkgver = 0.2
@@ -11,10 +11,10 @@ pkgbase = python-radio_beam
makedepends = cython
makedepends = cython2
makedepends = python-astropy
- makedepends = python-astropy-helpers
+ makedepends = python-astropy-helpers>=3.1
makedepends = python2-astropy-helpers
makedepends = python-sphinx
- makedepends = python-matplotlib
+ makedepends = python-sphinx-astropy
source = https://files.pythonhosted.org/packages/source/r/radio_beam/radio_beam-0.2.tar.gz
md5sums = 8b8f9bf2e476f4c13c529be4fa626e89
diff --git a/PKGBUILD b/PKGBUILD
index b1af32ff824..84dd9f98bf1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ pkgdesc="A tool for manipulating and utilizing two dimensional gaussian beams wi
arch=('i686' 'x86_64')
url="https://github.com/radio-astro-tools/radio-beam"
license=('BSD')
-makedepends=('cython' 'cython2' 'python-astropy' 'python-astropy-helpers' 'python2-astropy-helpers' 'python-sphinx' 'python-matplotlib')
+makedepends=('cython' 'cython2' 'python-astropy' 'python-astropy-helpers>=3.1' 'python2-astropy-helpers' 'python-sphinx' 'python-sphinx-astropy')
#checkdepends=('python-pytest-astropy' 'python2-pytest' 'python2-astropy')
source=("https://files.pythonhosted.org/packages/source/r/radio_beam/radio_beam-${pkgver}.tar.gz")
md5sums=('8b8f9bf2e476f4c13c529be4fa626e89')
@@ -19,7 +19,7 @@ prepare() {
cp -a ${srcdir}/radio_beam-${pkgver}{,-py2}
}
-build () {
+build() {
msg "Building Python2"
cd ${srcdir}/radio_beam-${pkgver}-py2
python2 setup.py build --use-system-libraries --offline
@@ -32,11 +32,11 @@ build () {
python setup.py build_docs
}
-#check(){
-# cd $srcdir/radio_beam-${pkgver}
+#check() {
+# cd ${srcdir}/radio_beam-${pkgver}
# python setup.py test
#
-# cd $srcdir/radio_beam-${pkgver}-py2
+# cd ${srcdir}/radio_beam-${pkgver}-py2
# python2 setup.py test
#}
@@ -64,7 +64,7 @@ package_python-radio_beam() {
package_python-radio_beam-doc() {
pkgdesc="Documentation for Python Radio Beam module"
- cd ${srcdir}/radio_beam-${pkgver}/build/sphinx
+ cd ${srcdir}/radio_beam-${pkgver}/docs/_build
install -d -m755 "${pkgdir}/usr/share/doc/${pkgbase}"
cp -a html "${pkgdir}/usr/share/doc/${pkgbase}"