summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorUniversebenzene2020-03-30 00:03:46 +0800
committerUniversebenzene2020-03-30 00:03:46 +0800
commit07d59777d5443df5eb4684c5541413e399c9cbd7 (patch)
treee825e465ea74b22bf76d9801bcaf6b0ae05b9475
parent8471566dc518f446604fd537aa7295ee8bd8815b (diff)
downloadaur-07d59777d5443df5eb4684c5541413e399c9cbd7.tar.gz
Update to version 3.1.0
-rw-r--r--.SRCINFO28
-rw-r--r--.gitignore3
-rw-r--r--PKGBUILD55
3 files changed, 46 insertions, 40 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 54feca9fc6c..f0f80c2eeea 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,30 +1,26 @@
pkgbase = python-acstools
pkgdesc = Python Tools for ACS (Advanced Camera for Surveys) Data
- pkgver = 3.0.0
+ pkgver = 3.1.0
pkgrel = 1
url = https://acstools.readthedocs.io/
arch = i686
arch = x86_64
license = BSD
- checkdepends = python-pytest
- makedepends = python-setuptools
- makedepends = python-relic
- makedepends = python-astropy
- makedepends = python-beautifulsoup4
- makedepends = python-sphinx-automodapi
- makedepends = python-sphinx_rtd_theme
- makedepends = python-matplotlib
- source = https://files.pythonhosted.org/packages/source/a/acstools/acstools-3.0.0.tar.gz
+ checkdepends = python-pytest-astropy-header
+ checkdepends = python-astropy
+ checkdepends = python-beautifulsoup4
+ checkdepends = python-requests
+ checkdepends = python-ci_watson
+ makedepends = python-setuptools-scm
+ source = https://files.pythonhosted.org/packages/source/a/acstools/acstools-3.1.0.tar.gz
source = https://raw.githubusercontent.com/spacetelescope/acstools/master/LICENSE.md
- md5sums = 8dee698a8ecb7d6f34b9104bc22a4caf
- md5sums = eb7a4d353fae4eb8212e6f7ae374a5d2
+ md5sums = 79006400b47ab2fca9121d2480508a64
+ md5sums = 842677f1439854aa021b76c36a50fe5a
pkgname = python-acstools
- depends = python>=3.5
+ depends = python>=3.6
depends = python-astropy>=2
depends = python-beautifulsoup4
+ depends = python-requests
optdepends = python-acstools-doc: Documentation for Python ACS Tools
-pkgname = python-acstools-doc
- pkgdesc = Documentation for Python ACS Tools
-
diff --git a/.gitignore b/.gitignore
index ef6375f7561..64c415e6fe9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,5 +4,6 @@ pkg
*.tar.gz
*.tar.bz2
*.part
-*.pkg.tar.xz
+*.pkg.tar.*
+*.log
LICENSE*
diff --git a/PKGBUILD b/PKGBUILD
index b6b56af659b..fc371aedec3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,42 +1,51 @@
# Maintainer: Astro Benzene <universebenzene at sina dot com>
pkgbase=python-acstools
_pyname=${pkgbase#python-}
-pkgname=("python-${_pyname}" "python-${_pyname}-doc")
-pkgver=3.0.0
+pkgname=("python-${_pyname}")
+#"python-${_pyname}-doc")
+pkgver=3.1.0
pkgrel=1
pkgdesc="Python Tools for ACS (Advanced Camera for Surveys) Data"
arch=('i686' 'x86_64')
url="https://acstools.readthedocs.io/"
license=('BSD')
-makedepends=('python-setuptools' 'python-relic' 'python-astropy' 'python-beautifulsoup4' 'python-sphinx-automodapi' 'python-sphinx_rtd_theme' 'python-matplotlib')
-checkdepends=('python-pytest')
+makedepends=('python-setuptools-scm')
+#'python-pandas')
+#'python-astropy' 'python-beautifulsoup4' 'python-sphinx-automodapi' 'python-sphinx_rtd_theme' 'python-matplotlib')
+# 'python-relic'
+checkdepends=('python-pytest-astropy-header'
+ 'python-astropy'
+ 'python-beautifulsoup4'
+ 'python-requests'
+ 'python-ci_watson')
source=("https://files.pythonhosted.org/packages/source/${_pyname:0:1}/${_pyname}/${_pyname}-${pkgver}.tar.gz"
"https://raw.githubusercontent.com/spacetelescope/acstools/master/LICENSE.md")
-md5sums=('8dee698a8ecb7d6f34b9104bc22a4caf'
- 'eb7a4d353fae4eb8212e6f7ae374a5d2')
+md5sums=('79006400b47ab2fca9121d2480508a64'
+ '842677f1439854aa021b76c36a50fe5a')
-prepare() {
- cd ${srcdir}/${_pyname}-${pkgver}
-
- rm -r relic
-}
+#prepare() {
+# cd ${srcdir}/${_pyname}-${pkgver}
+#
+## rm -r relic
+#}
build() {
cd ${srcdir}/${_pyname}-${pkgver}
python setup.py build
- msg "Building Docs"
- python setup.py build_sphinx
+# msg "Building Docs"
+# cd ${srcdir}/${_pyname}-${pkgver}/doc
+# PYTHONPATH="../build/lib" make html
}
check() {
cd ${srcdir}/${_pyname}-${pkgver}
- python setup.py test
+ pytest
}
-package_python-acstools() {
- depends=('python>=3.5' 'python-astropy>=2' 'python-beautifulsoup4')
+package() {
+ depends=('python>=3.6' 'python-astropy>=2' 'python-beautifulsoup4' 'python-requests')
optdepends=('python-acstools-doc: Documentation for Python ACS Tools')
cd ${srcdir}/${_pyname}-${pkgver}
@@ -45,10 +54,10 @@ package_python-acstools() {
python setup.py install --root=${pkgdir} --prefix=/usr --optimize=1
}
-package_python-acstools-doc() {
- pkgdesc="Documentation for Python ACS Tools"
- cd ${srcdir}/${_pyname}-${pkgver}/build/sphinx
-
- install -d -m755 "${pkgdir}/usr/share/doc/${pkgbase}"
- cp -a html "${pkgdir}/usr/share/doc/${pkgbase}"
-}
+#package_python-acstools-doc() {
+# pkgdesc="Documentation for Python ACS Tools"
+# cd ${srcdir}/${_pyname}-${pkgver}/build/sphinx
+#
+# install -d -m755 "${pkgdir}/usr/share/doc/${pkgbase}"
+# cp -a html "${pkgdir}/usr/share/doc/${pkgbase}"
+#}