public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-photutils] epel10: New upstream (0.2)
@ 2026-06-26  3:41 Sergio Pascual
  0 siblings, 0 replies; only message in thread
From: Sergio Pascual @ 2026-06-26  3:41 UTC (permalink / raw)
  To: git-commits

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

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

only message in thread, other threads:[~2026-06-26  3:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-26  3:41 [rpms/python-photutils] epel10: New upstream (0.2) Sergio Pascual

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