public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sergio Pascual <sergiopr@fis.ucm.es>
To: git-commits@fedoraproject.org
Subject: [rpms/python-photutils] epel10: New upstream source (1.0.2)
Date: Fri, 26 Jun 2026 03:41:54 GMT	[thread overview]
Message-ID: <178244531484.1.7594987034702629036.rpms-python-photutils-a45aa7f24b39@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-photutils
            Branch : epel10
            Commit : a45aa7f24b39c6ba39590030e9b54eb4696e90a2
            Author : Sergio Pascual <sergiopr@fis.ucm.es>
            Date   : 2021-02-15T19:25:01+01:00
            Stats  : +16/-7 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-photutils/c/a45aa7f24b39c6ba39590030e9b54eb4696e90a2?branch=epel10

            Log:
            New upstream source (1.0.2)
Use bcond to potentially disable testing

---
diff --git a/.gitignore b/.gitignore
index 550f97b..746d959 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@
 /photutils-0.7.1.tar.gz
 /photutils-0.7.2.tar.gz
 /photutils-1.0.1.tar.gz
+/photutils-1.0.2.tar.gz

diff --git a/python-photutils.spec b/python-photutils.spec
index 90e6d5c..eb21ac0 100644
--- a/python-photutils.spec
+++ b/python-photutils.spec
@@ -1,8 +1,10 @@
+%bcond_without check
+
 %global srcname photutils
 
 Name: python-%{srcname}
-Version: 1.0.1
-Release: 2%{?dist}
+Version: 1.0.2
+Release: 1%{?dist}
 Summary: Astropy affiliated package for image photometry tasks
 License: BSD
 
@@ -31,15 +33,15 @@ BuildRequires: %{py3_dist Cython}
 BuildRequires: %{py3_dist numpy} >= 1.17
 BuildRequires: %{py3_dist extension-helpers}
 BuildRequires: %{py3_dist astropy} >= 4.0
+%if %{with check}
 # Optional
+BuildRequires: %{py3_dist pytest}
+BuildRequires: %{py3_dist pytest-astropy}
 BuildRequires: %{py3_dist scipy}
 BuildRequires: %{py3_dist scikit-image} >= 0.14.2
 BuildRequires: %{py3_dist scikit-learn}
 BuildRequires: %{py3_dist matplotlib} >= 2.2
-# For tests
-BuildRequires: %{py3_dist pytest-astropy}
-
-%{?python_provide:%python_provide python3-%{srcname}}
+%endif
 
 Recommends: %{py3_dist scipy}
 Recommends: %{py3_dist scikit-image} >= 0.14.2
@@ -57,12 +59,14 @@ Recommends: %{py3_dist matplotlib} >= 2.2
 %install
 %py3_install
 
+%if %{with check}
 %check
 export PYTHONDONTWRITEBYTECODE=1
 export PYTEST_ADDOPTS="-v -p no:cacheprovider"
 pushd %{buildroot}/%{python3_sitearch}
  pytest-%{python3_version} photutils
 popd
+%endif 
 
 %files -n python3-%{srcname}
 %doc README.rst
@@ -71,6 +75,10 @@ popd
 %{python3_sitearch}/%{srcname}
 
 %changelog
+* Mon Feb 15 2021 Sergio Pascual <sergiopr@fedoraproject.com> - 1.0.2-1
+- New upstream source (1.0.2)
+- Use bcond to potentially disable testing
+
 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
 

diff --git a/sources b/sources
index 9da265d..d9e7190 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (photutils-1.0.1.tar.gz) = 3abcace35fde3b8c4de99c56afe813db50bde87bf1aeda65b1b37edf7c9409420f3aa62bd6b98ae4f381542c1fd3aff100b19220f6a7210f2a0c06f8a039f1b5
+SHA512 (photutils-1.0.2.tar.gz) = 1a437844c2ccc9382e2dd87c507c8e2b28752491efce25975f0bfc0282ecf7fb0e5e02c7a2be34e2314576a143fe541f401ad0a5ceda3ed32ce906d3b3d6945b

                 reply	other threads:[~2026-06-26  3: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=178244531484.1.7594987034702629036.rpms-python-photutils-a45aa7f24b39@fedoraproject.org \
    --to=sergiopr@fis.ucm.es \
    --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