public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sergio Pascual <sergiopr@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/python-astropy] main: Build with bundled wcslib 8.6
Date: Fri, 19 Jun 2026 10:41:39 GMT	[thread overview]
Message-ID: <178186569930.1.14180013627154156434.rpms-python-astropy-baccb399d3b0@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-06-19 10:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178186569930.1.14180013627154156434.rpms-python-astropy-baccb399d3b0@fedoraproject.org \
    --to=sergiopr@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox