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 (0.2)
Date: Fri, 26 Jun 2026 03:41:37 GMT	[thread overview]
Message-ID: <178244529795.1.15018633904966367133.rpms-python-photutils-93f57528839d@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-photutils
Branch : epel10
Commit : 93f57528839d7bdee866bb33f0b5ef631542da3f
Author : Sergio Pascual <sergiopr@fis.ucm.es>
Date   : 2016-01-06T21:42:05+01:00
Stats  : +40/-12 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/python-photutils/c/93f57528839d7bdee866bb33f0b5ef631542da3f?branch=epel10

Log:
New upstream (0.2)

---
diff --git a/.gitignore b/.gitignore
index d1fbe91..8142cee 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /photutils-0.1.tar.gz
+/photutils-0.2.tar.gz

diff --git a/python-photutils.spec b/python-photutils.spec
index a16fee8..bad5a36 100644
--- a/python-photutils.spec
+++ b/python-photutils.spec
@@ -1,8 +1,8 @@
 %global srcname photutils
 
 Name: python-%{srcname}
-Version: 0.1
-Release: 6%{?dist}
+Version: 0.2
+Release: 1%{?dist}
 Summary: Astropy affiliated package for image photometry tasks
 License: BSD
 
@@ -24,13 +24,22 @@ Summary: Astropy affiliated package for image photometry tasks
 
 BuildRequires: python2-devel
 BuildRequires: Cython
+BuildRequires: numpy
 BuildRequires: python2-astropy
+# Optional
+BuildRequires: scipy
 BuildRequires: python2-scikit-image
+BuildRequires: python-matplotlib
 # For tests
 BuildRequires: python2-pytest
+
 %{?python_provide:%python_provide python2-%{srcname}}
+
+Requires: numpy
 Requires: python2-astropy
-Requires: python2-scikit-image
+Recommends: scipy
+Recommends: python2-scikit-image
+Recommends: python2-matplotlib
 
 %description -n python2-%{srcname}
 Photutils contains functions for:
@@ -43,13 +52,24 @@ Photutils contains functions for:
 %package -n python3-%{srcname}
 Summary: Astropy affiliated package for image photometry tasks
 
-BuildRequires: python3-devel python3-astropy python3-Cython
+BuildRequires: python3-devel
+BuildRequires: python3-Cython
+BuildRequires: python3-numpy
+BuildRequires: python3-astropy
+# Optional
+BuildRequires: python3-scipy
 BuildRequires: python3-scikit-image
+BuildRequires: python3-matplotlib
 # For tests
 BuildRequires: python3-pytest
+
 %{?python_provide:%python_provide python3-%{srcname}}
+
+Requires: python3-numpy
 Requires: python3-astropy
-Requires: python3-scikit-image
+Recommends: python3-scipy
+Recommends: python3-scikit-image
+Recommends: python3-matplotlib
 
 %description -n python3-%{srcname}
 Photutils contains functions for:
@@ -69,18 +89,22 @@ Photutils contains functions for:
 %install
 %py2_install
 %py3_install
+# Remove some c files after install
+find %{buildroot}/%{python3_sitearch}/ -name "*.c" -delete
+find %{buildroot}/%{python2_sitearch}/ -name "*.c" -delete
 
-# Disable the aperture_photometry tests due to a bug
-# https://github.com/astropy/photutils/issues/242
-# Disable all tests until 0.2 is released
-# https://github.com/astropy/photutils/issues/293
 %check
+# Fake matplotlibrc
+mkdir -p matplotlib
+touch matplotlib/matplotlibrc
+export XDG_CONFIG_HOME=`pwd`
+
 pushd %{buildroot}/%{python2_sitearch}
-#py.test-%{python2_version} -k "not aperture_photometry" %{srcname}
+py.test-%{python2_version} %{srcname}
 popd
 
 pushd %{buildroot}/%{python3_sitearch}
-#py.test-%{python3_version} -k "not aperture_photometry" %{srcname}
+py.test-%{python3_version} %{srcname}
 popd
 
 %files -n python2-%{srcname}
@@ -96,6 +120,9 @@ popd
 %{python3_sitearch}/%{srcname}
 
 %changelog
+* Wed Jan 06 2016 Sergio Pascual <sergiopr@fedoraproject.com> - 0.2-1
+- New upstream (0.2)
+
 * Thu Nov 26 2015 Sergio Pascual <sergiopr@fedoraproject.com> - 0.1-6
 - Using new macros
 - Disable tests until 0.2 is released

diff --git a/sources b/sources
index d1e37f9..73207c6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-76f51bc70c32f7bb0bccfd5b1a299a71  photutils-0.1.tar.gz
+55cd1924eb4ee88dbab8f68d423f65fc  photutils-0.2.tar.gz

                 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=178244529795.1.15018633904966367133.rpms-python-photutils-93f57528839d@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