summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD16
2 files changed, 11 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 16fe7239588..89c43a6f673 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,3 @@
-# Generated by mksrcinfo v8
-# Sat Jan 19 17:46:45 UTC 2019
pkgbase = python-imexam
pkgdesc = A package for functionality like IRAF's imexamine
pkgver = 0.8.1
@@ -9,8 +7,6 @@ pkgbase = python-imexam
arch = x86_64
license = BSD
license = MIT
- checkdepends = python-pytest-astropy
- checkdepends = python-photutils
makedepends = cython
makedepends = python-ginga
makedepends = python-astropy-helpers>=3.1
@@ -30,6 +26,8 @@ pkgname = python-imexam
optdepends = ds9: For DS9 viewer support
optdepends = python-photutils: For photometry features
optdepends = python-imexam-doc: Documentation for imexam
+ optdepends = python-pytest-astropy: For testing
+ optdepends = python-astropy<3.2: For testing
pkgname = python-imexam-doc
pkgdesc = Documentation for Python imexam module
diff --git a/PKGBUILD b/PKGBUILD
index afecd97b28a..7535a1d023f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ arch=('i686' 'x86_64')
url="https://imexam.readthedocs.io/"
license=('BSD' 'MIT')
makedepends=('cython' 'python-ginga' 'python-astropy-helpers>=3.1' 'python-sphinx-astropy' 'xpa')
-checkdepends=('python-pytest-astropy' 'python-photutils')
+#checkdepends=('python-pytest-astropy' 'python-photutils')
source=("https://files.pythonhosted.org/packages/source/${_pyname:0:1}/${_pyname}/${_pyname}-${pkgver}.tar.gz"
'use_system_xpa.patch')
md5sums=('009489ebdcd6f3a66736b4035b7aa313'
@@ -30,11 +30,11 @@ build() {
python setup.py build_docs
}
-check() {
- cd ${srcdir}/${_pyname}-${pkgver}
-
- python setup.py test
-}
+#check() {
+# cd ${srcdir}/${_pyname}-${pkgver}
+#
+# python setup.py test
+#}
package_python-imexam() {
depends=('python>=3.5' 'python-astropy' 'python-matplotlib')
@@ -42,7 +42,9 @@ package_python-imexam() {
'xpa: For connection with DS9'
'ds9: For DS9 viewer support'
'python-photutils: For photometry features'
- 'python-imexam-doc: Documentation for imexam')
+ 'python-imexam-doc: Documentation for imexam'
+ 'python-pytest-astropy: For testing'
+ 'python-astropy<3.2: For testing')
cd ${srcdir}/${_pyname}-${pkgver}
install -D -m644 -t "${pkgdir}/usr/share/licenses/${pkgname}" licenses/{LICENSE.rst,LICENSE_MIT.txt}