public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-astropy] main: Build with bundled wcslib 8.6
@ 2026-06-19 10:41 Sergio Pascual
  0 siblings, 0 replies; only message in thread
From: Sergio Pascual @ 2026-06-19 10:41 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-astropy
Branch : main
Commit : baccb399d3b0bfe4c167242ae82b058b64440708
Author : Sergio Pascual <sergiopr@fedoraproject.org>
Date   : 2026-06-19T12:16:24+02:00
Stats  : +14/-7 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-astropy/c/baccb399d3b0bfe4c167242ae82b058b64440708?branch=main

Log:
Build with bundled wcslib 8.6

---
diff --git a/python-astropy.spec b/python-astropy.spec
index a0c5b98..9ded873 100644
--- a/python-astropy.spec
+++ b/python-astropy.spec
@@ -55,7 +55,7 @@ Requires: %{py3_dist ply}
 # Bundled
 Provides: bundled(cfitsio) = 4.6.3
 Provides: bundled(jquery) = 3.60
-#Provides: bundled(wcslib) = 8.4
+Provides: bundled(wcslib) = 8.6
 
 # Drop doc subpackage, is empty 
 
@@ -81,12 +81,15 @@ rm -rf cextern/expat
 # The buils system requires a subset of the header files
 # cel.h, lin.h, prj.h, spc.h, spx.h, tab.h, wcs.h, 
 # wcserr.h, wcsmath.h, wcsprintf.h
-rm -rf cextern/wcslib/C/*.c
+#rm -rf cextern/wcslib/C/*.c
 
 # Apparently, --current-env doesn't like {list_dependencies_command}
 sed -i 's/{list_dependencies_command}/python -m pip freeze --all/g' tox.ini
 
-export ASTROPY_USE_SYSTEM_ALL=1
+#export ASTROPY_USE_SYSTEM_ALL=1
+export ASTROPY_USE_SYSTEM_ERFA=1
+export ASTROPY_USE_SYSTEM_EXPAT=1
+#export ASTROPY_USE_SYSTEM_WCSLIB=1
 %generate_buildrequires
 %if %{with check}
 %pyproject_buildrequires -e %{toxenv}-test
@@ -95,15 +98,19 @@ export ASTROPY_USE_SYSTEM_ALL=1
 %endif
 
 %build
-export ASTROPY_USE_SYSTEM_ALL=1
+#export ASTROPY_USE_SYSTEM_ALL=1
+export ASTROPY_USE_SYSTEM_ERFA=1
+export ASTROPY_USE_SYSTEM_EXPAT=1
 # Search for headers in subdirs
-export CPATH="/usr/include/wcslib"
+#export CPATH="/usr/include/wcslib"
 %pyproject_wheel
 
 %install
-export ASTROPY_USE_SYSTEM_ALL=1
+#export ASTROPY_USE_SYSTEM_ALL=1
+export ASTROPY_USE_SYSTEM_ERFA=1
+export ASTROPY_USE_SYSTEM_EXPAT=1
 # Search for headers in subdirs
-export CPATH="/usr/include/wcslib"
+#export CPATH="/usr/include/wcslib"
 %pyproject_install
 
 %pyproject_save_files -l astropy

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-19 10:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-19 10:41 [rpms/python-astropy] main: Build with bundled wcslib 8.6 Sergio Pascual

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox