Date: Sunday, March 5, 2023 @ 23:14:47
  Author: arojas
Revision: 1415177

archrelease: copy trunk to community-x86_64

Added:
  python-astropy/repos/community-x86_64/PKGBUILD
    (from rev 1415176, python-astropy/trunk/PKGBUILD)
Deleted:
  python-astropy/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  108 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 54 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-05 23:14:38 UTC (rev 1415176)
+++ PKGBUILD    2023-03-05 23:14:47 UTC (rev 1415177)
@@ -1,54 +0,0 @@
-# Maintainer: Bruno Pagani <[email protected]>
-# Contributor: Médéric Boquien <[email protected]>
-
-_pkg=astropy
-pkgname=python-${_pkg}
-pkgver=5.2
-pkgrel=1
-pkgdesc="Common core package for Astronomy"
-arch=(x86_64)
-url="https://www.astropy.org/";
-license=(BSD)
-depends=(python cfitsio expat wcslib python-numpy python-pyerfa python-yaml 
python-packaging)
-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'
-            'python-bleach: sanitize text when disabling HTML escaping in the 
Table HTML writer'
-            'libxml2: validates VOTABLE XML files'
-            'python-pandas: convert Table objects from/to pandas DataFrame 
objects'
-            'python-sortedcontainers: faster SCEngine indexing engine with 
Table'
-            'python-pytz: specify and convert between timezones'
-            #'python-jplephem: retrieves JPL ephemeris of Solar System objects'
-            'python-setuptools: discovery of entry points which are used to 
insert fitters into astropy.modeling.fitting'
-            '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'
-            '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=('d335604025f6e16f7c9bf82d5ba28e5db4745a82e5823a9d17bdd9b9bd46b2a2')
-
-build() {
-  cd ${_pkg}-${pkgver}
-  ASTROPY_USE_SYSTEM_ALL=1 python setup.py build
-}
-
-# 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 astropy
-#}
-
-package() {
-  cd ${_pkg}-${pkgver}
-  ASTROPY_USE_SYSTEM_ALL=1 python setup.py install --skip-build 
--root="${pkgdir}" --optimize=1
-  install -Dm644 LICENSE.rst -t "${pkgdir}"/usr/share/licenses/$pkgname/
-}

Copied: python-astropy/repos/community-x86_64/PKGBUILD (from rev 1415176, 
python-astropy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-03-05 23:14:47 UTC (rev 1415177)
@@ -0,0 +1,54 @@
+# Maintainer: Bruno Pagani <[email protected]>
+# Contributor: Médéric Boquien <[email protected]>
+
+_pkg=astropy
+pkgname=python-${_pkg}
+pkgver=5.2.1
+pkgrel=1
+pkgdesc="Common core package for Astronomy"
+arch=(x86_64)
+url="https://www.astropy.org/";
+license=(BSD)
+depends=(python cfitsio expat wcslib python-numpy python-pyerfa python-yaml 
python-packaging)
+makedepends=(python-build python-installer python-wheel python-setuptools-scm 
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'
+            'python-bleach: sanitize text when disabling HTML escaping in the 
Table HTML writer'
+            'libxml2: validates VOTABLE XML files'
+            'python-pandas: convert Table objects from/to pandas DataFrame 
objects'
+            'python-sortedcontainers: faster SCEngine indexing engine with 
Table'
+            'python-pytz: specify and convert between timezones'
+            #'python-jplephem: retrieves JPL ephemeris of Solar System objects'
+            'python-setuptools: discovery of entry points which are used to 
insert fitters into astropy.modeling.fitting'
+            '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'
+            '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=('f6ae27a077f8ea84903efa76c790b985617341a0084b0d21c391f7a3f332ac23')
+
+build() {
+  cd ${_pkg}-${pkgver}
+  ASTROPY_USE_SYSTEM_ALL=1 python -m build --wheel --no-isolation 
--skip-dependency-check
+}
+
+# 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 astropy
+#}
+
+package() {
+  cd ${_pkg}-${pkgver}
+  ASTROPY_USE_SYSTEM_ALL=1 python -m installer --destdir="${pkgdir}" dist/*.whl
+  install -Dm644 LICENSE.rst -t "${pkgdir}"/usr/share/licenses/$pkgname/
+}

Reply via email to