Date: Monday, January 9, 2023 @ 23:09:42
  Author: archange
Revision: 1382199

upgpkg: python-astropy 5.2-1

Modified:
  python-astropy/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-09 22:55:57 UTC (rev 1382198)
+++ PKGBUILD    2023-01-09 23:09:42 UTC (rev 1382199)
@@ -3,7 +3,7 @@
 
 _pkg=astropy
 pkgname=python-${_pkg}
-pkgver=5.1.1
+pkgver=5.2
 pkgrel=1
 pkgdesc="Common core package for Astronomy"
 arch=(x86_64)
@@ -13,6 +13,8 @@
 makedepends=(python-setuptools python-extension-helpers)
 optdepends=('python-matplotlib: plotting functionality astropy.visualization'
             'python-scipy: variety of features in several modules'
+            'python-certifi'
+            'python-dask'
             'python-h5py: read/write Table objects from/to HDF5 files'
             'python-beautifulsoup4: read Table objects from HTML files'
             'python-html5lib: read Table objects from HTML files using the 
pandas reader'
@@ -26,10 +28,11 @@
             'python-mpmath: ‘kraft-burrows-nousek’ interval in 
poisson_conf_interval'
             #'python-asdf: serialization of various Astropy classes into a 
portable, hierarchical, human-readable representation'
             'python-bottleneck: improves the performance of sigma-clipping and 
other functionality that may require computing statistics on arrays with NaN 
values'
-            'python-pyarrow: read/write Table objects from/to Parquet files')
-checkdepends=(python-pytest)
+            'python-pyarrow: read/write Table objects from/to Parquet files'
+            'python-fsspec: opening remote and cloud-hosted FITS files')
+#checkdepends=(python-pytest python-pytest-xdist python-hypothesis)
 
source=(https://files.pythonhosted.org/packages/source/a/${_pkg}/${_pkg}-${pkgver}.tar.gz)
-sha256sums=('ba4bd696af7090fd399b464c704bf27b5633121e461785edc70432606a94bd81')
+sha256sums=('d335604025f6e16f7c9bf82d5ba28e5db4745a82e5823a9d17bdd9b9bd46b2a2')
 
 build() {
   cd ${_pkg}-${pkgver}
@@ -36,12 +39,12 @@
   ASTROPY_USE_SYSTEM_ALL=1 python setup.py build
 }
 
-# Import issues, no time to investigate
+# Tests require a lot of unpackaged pytest modules
 #check() {
 #  cd ${_pkg}-${pkgver}
+#  sed "s|addopts = --color=yes --doctest-rst|addopts = --color=yes|" -i 
setup.cfg
 #  local python_version=$(python -c 'import sys; print("".join(map(str, 
sys.version_info[:2])))')
-#  PYTHONPATH="${PWD}"/build/lib.linux-${CARCH}-cpython-${python_version}/
-#  pytest -vv --color=yes
+#  PYTHONPATH="${PWD}"/build/lib.linux-${CARCH}-cpython-${python_version/./}/ 
pytest -vv --color=yes astropy
 #}
 
 package() {

Reply via email to