public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-photutils] epel10: New upstream source (0.7.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 : ee8e0fafa1ae070f4291174870bb0a53da26cee9
Author : Sergio Pascual <sergiopr@fis.ucm.es>
Date : 2020-03-02T19:35:08+01:00
Stats : +27/-11 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/python-photutils/c/ee8e0fafa1ae070f4291174870bb0a53da26cee9?branch=epel10
Log:
New upstream source (0.7.2)
Patch astropy version in setup.cfg (bz#1758141)
---
diff --git a/.gitignore b/.gitignore
index 44d3af7..927fd60 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
/photutils-0.5.tar.gz
/photutils-0.6.tar.gz
/photutils-0.7.1.tar.gz
+/photutils-0.7.2.tar.gz
diff --git a/photutils-astropy-minversion.patch b/photutils-astropy-minversion.patch
new file mode 100644
index 0000000..c06482d
--- /dev/null
+++ b/photutils-astropy-minversion.patch
@@ -0,0 +1,12 @@
+diff -ur photutils-0.7.2/setup.cfg photutils-0.7.2.astropy_version/setup.cfg
+--- photutils-0.7.2/setup.cfg 2019-12-09 19:20:43.000000000 +0100
++++ photutils-0.7.2.astropy_version/setup.cfg 2020-03-02 18:39:17.275220662 +0100
+@@ -34,7 +34,7 @@
+ numpy>=1.13
+ install_requires =
+ numpy>=1.13
+- astropy>=2.0.12,!=3.0.*,!=3.1,!=3.1.1
++ astropy>=3.1.2
+ tests_require =
+ pytest
+ pytest-remotedata
diff --git a/python-photutils.spec b/python-photutils.spec
index 2569e28..3043467 100644
--- a/python-photutils.spec
+++ b/python-photutils.spec
@@ -1,14 +1,17 @@
%global srcname photutils
Name: python-%{srcname}
-Version: 0.7.1
-Release: 2%{?dist}
+Version: 0.7.2
+Release: 1%{?dist}
Summary: Astropy affiliated package for image photometry tasks
License: BSD
URL: http://photutils.readthedocs.org/en/latest/index.html
-# Use the un-Cythonized github tar, as we need the newer Fedora Cython to build with Python 3.7
Source0: %{pypi_source}
+# Patch astropy version in setup.cfg
+# Automatic generator doesn't like *
+# https://bugzilla.redhat.com/show_bug.cgi?id=1758141
+Patch1: photutils-astropy-minversion.patch
BuildRequires: gcc
BuildRequires: python3-devel
@@ -38,11 +41,10 @@ BuildRequires: python3-matplotlib
# For tests
BuildRequires: python3-pytest
BuildRequires: python3-pytest-astropy
+BuildRequires: python-pytest-astropy-header
%{?python_provide:%python_provide python3-%{srcname}}
-Requires: python3-numpy
-Requires: python3-astropy
Recommends: python3-scipy
Recommends: python3-scikit-image
Recommends: python3-scikit-learn
@@ -68,19 +70,16 @@ Photutils contains functions for:
find %{buildroot}/%{python3_sitearch}/ -name "*.c" -delete
%check
-%ifnarch s390x
# Empty matplotlibrc
mkdir -p matplotlib
touch matplotlib/matplotlibrc
export XDG_CONFIG_HOME=`pwd`
# Avoid writing bad pyc files
export PYTHONDONTWRITEBYTECODE=1
-
+export PYTEST_ADDOPTS="-v -p no:cacheprovider"
pushd %{buildroot}/%{python3_sitearch}
-py.test-%{python3_version} photutils
-rm -rf .pytest_cache
+ py.test-%{python3_version} photutils
popd
-%endif # ifnarch s390x
%files -n python3-%{srcname}
@@ -90,6 +89,10 @@ popd
%{python3_sitearch}/%{srcname}
%changelog
+* Mon Mar 02 2020 Sergio Pascual <sergiopr@fedoraproject.com> - 0.7.2-1
+- New upstream source (0.7.2)
+- Patch astropy version in setup.cfg (bz#1758141)
+
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
diff --git a/sources b/sources
index c0a8447..73e76ac 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (photutils-0.7.1.tar.gz) = 00d8ce7bf3fa4f40d687b6b23b7247ae96bc2d4bb56c6eda4e85b20791bda979b6a6f466e0b25bdc91fd28cd01a87a4d5e8d9cfcb0ce0601b5fe270d82392156
+SHA512 (photutils-0.7.2.tar.gz) = cd0e835bcf1f1d3f82d96061db3f6aee5c40fb22dbe1316a5ac9e1633ecc41cc825fad592ee884b8d89f7dd4f08c8e90a5cb377428bfad2456aa2db45cb691d5
^ 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 source (0.7.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