public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pyvo] rawhide: update to 1.9.1 + spec cleanup
@ 2026-08-07 20:12 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-08-07 20:12 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-pyvo
            Branch : rawhide
            Commit : 07292192207798fca3a984f822d998db9da83fab
            Author : Filipe Rosset <rosset.filipe@gmail.com>
            Date   : 2026-07-27T00:59:13-03:00
            Stats  : +12/-12 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-pyvo/c/07292192207798fca3a984f822d998db9da83fab?branch=rawhide

            Log:
            update to 1.9.1 + spec cleanup

Resolves: rhbz#2439586
Resolves: rhbz#2504573

Signed-off-by: Filipe Rosset <rosset.filipe@gmail.com>

---
diff --git a/.gitignore b/.gitignore
index 9eb4979..6371473 100644
--- a/.gitignore
+++ b/.gitignore
@@ -26,3 +26,4 @@
 /pyvo-1.7.tar.gz
 /pyvo-1.7.1.tar.gz
 /pyvo-1.8.tar.gz
+/pyvo-1.9.1.tar.gz

diff --git a/python-pyvo.spec b/python-pyvo.spec
index 9501668..232f289 100644
--- a/python-pyvo.spec
+++ b/python-pyvo.spec
@@ -1,5 +1,4 @@
 %global srcname pyvo
-
 %global sum Access to remote data and services of the Virtual observatory (VO) using Python
 %global desc                                                             \
 PyVO is a package providing access to remote data and services of the    \
@@ -13,35 +12,34 @@ The pyvo module currently provides these main capabilities:              \
 * Get information about an object via its name                   
 
 Name:           python-%{srcname}
-Version:        1.8
+Version:        1.9.1
 Release:        %autorelease
 Summary:        %{sum}
-
 License:        BSD-3-Clause
 URL:            https://github.com/astropy/%{srcname}
-Source:        %{pypi_source %{srcname}} 
+Source:         %{pypi_source %{srcname}}
 Patch:          https://github.com/astropy/pyvo/pull/771.patch
 
 BuildArch:      noarch
-
 BuildRequires:  python3-devel
 
-Provides:       python3-pyvo-doc = %{version}-%{release}
-Obsoletes:      python3-pyvo-doc = %{version}-%{release}
-
 %description
 %{desc}
 
 %package -n python3-%{srcname}
 Summary:        %{sum}
-Requires:       astropy-tools
-%{?python_provide:%python_provide python3-%{srcname}}
+Provides:       python3-pyvo-doc = %{version}-%{release}
+Obsoletes:      python3-pyvo-doc < %{version}-%{release}
 
 %description -n python3-%{srcname}
 %{desc}
 
 %prep
-%autosetup -p1 -n %{srcname}-%{version} 
+%autosetup -p1 -n %{srcname}-%{version}
+# Remove shebangs from non-executable python modules
+find %{srcname} -name '*.py' -exec sed -i -e '1{/^#!/d}' {} +
+# Remove zero-length placeholder files (excluding __init__.py)
+find %{srcname} -name '*.py' -not -name '__init__.py' -size 0 -delete
 
 %generate_buildrequires
 %pyproject_buildrequires -e %{toxenv}-test
@@ -55,6 +53,7 @@ Requires:       astropy-tools
 %pyproject_save_files pyvo
 
 %check
+export PYTEST_ADDOPTS="${PYTEST_ADDOPTS:-} -W ignore::astropy.utils.exceptions.AstropyDeprecationWarning"
 %tox
 
 %files -n python3-%{srcname} -f %{pyproject_files}

diff --git a/sources b/sources
index 172b485..2e9673d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pyvo-1.8.tar.gz) = 7730712315e27d723735f3382fb7f50b8cea991830f9a14d8961e0ce36e528312e290181861051c337eed21d6f6b64395d61619059d3b62670d72a378bddd805
+SHA512 (pyvo-1.9.1.tar.gz) = 3bb1539e93e6ea720ab13931b10af0ac1f4435346d4fa8a01bd90308cfafca56e4ba5b6092d7187a8e14323d16e5ec11681d343a4742d442ee91668937f228ab

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

only message in thread, other threads:[~2026-08-07 20:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-07 20:12 [rpms/python-pyvo] rawhide: update to 1.9.1 + spec cleanup Filipe Rosset

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