public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-pyvo] rawhide: update to 1.9.1 + spec cleanup
Date: Fri, 07 Aug 2026 20:12:58 GMT	[thread overview]
Message-ID: <178613357893.1.1943089699176947168.rpms-python-pyvo-072921922077@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-08-07 20:12 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=178613357893.1.1943089699176947168.rpms-python-pyvo-072921922077@fedoraproject.org \
    --to=rosset.filipe@gmail.com \
    --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