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.1)
Date: Fri, 26 Jun 2026 03:41:53 GMT [thread overview]
Message-ID: <178244531392.1.7286326703800724316.rpms-python-photutils-9e30345ae9e5@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-photutils
Branch : epel10
Commit : 9e30345ae9e580b1965b9413439c7b8ebf7c4bd6
Author : Sergio Pascual <sergiopr@fis.ucm.es>
Date : 2020-12-18T01:52:29+01:00
Stats : +29/-55 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/python-photutils/c/9e30345ae9e580b1965b9413439c7b8ebf7c4bd6?branch=epel10
Log:
New upstream source (1.0.1)
---
diff --git a/.gitignore b/.gitignore
index 927fd60..550f97b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
/photutils-0.6.tar.gz
/photutils-0.7.1.tar.gz
/photutils-0.7.2.tar.gz
+/photutils-1.0.1.tar.gz
diff --git a/photutils-astropy-minversion.patch b/photutils-astropy-minversion.patch
deleted file mode 100644
index c06482d..0000000
--- a/photutils-astropy-minversion.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-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 6e9e077..15c227b 100644
--- a/python-photutils.spec
+++ b/python-photutils.spec
@@ -1,87 +1,69 @@
%global srcname photutils
Name: python-%{srcname}
-Version: 0.7.2
-Release: 3%{?dist}
+Version: 1.0.1
+Release: 1%{?dist}
Summary: Astropy affiliated package for image photometry tasks
License: BSD
URL: http://photutils.readthedocs.org/en/latest/index.html
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
-%description
+%global _description %{expand:
Photutils contains functions for:
* estimating the background and background rms in astronomical images
* detecting sources in astronomical images
* estimating morphological parameters of those sources (e.g.,
centroid and shape parameters)
- * performing aperture and PSF photometry
+ * performing aperture and PSF photometry}
+%description %_description
%package -n python3-%{srcname}
-Summary: Astropy affiliated package for image photometry tasks
+Summary: %{summary}
BuildRequires: python3-devel
-BuildRequires: python3-Cython
-BuildRequires: python3-numpy
-BuildRequires: python3-astropy
-BuildRequires: python3-astropy-helpers
+BuildRequires: %{py3_dist setuptools}
+BuildRequires: %{py3_dist setuptools_scm}
+BuildRequires: %{py3_dist Cython}
+BuildRequires: %{py3_dist numpy} >= 1.17
+BuildRequires: %{py3_dist extension-helpers}
+BuildRequires: %{py3_dist astropy} >= 4.0
# Optional
-BuildRequires: python3-scipy
-BuildRequires: python3-scikit-image
-BuildRequires: python3-scikit-learn
-BuildRequires: python3-matplotlib
+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: python3-pytest
-BuildRequires: python3-pytest-astropy
-BuildRequires: python-pytest-astropy-header
+BuildRequires: %{py3_dist pytest-astropy}
%{?python_provide:%python_provide python3-%{srcname}}
-Recommends: python3-scipy
-Recommends: python3-scikit-image
-Recommends: python3-scikit-learn
-Recommends: python3-matplotlib
+Recommends: %{py3_dist scipy}
+Recommends: %{py3_dist scikit-image} >= 0.14.2
+Recommends: %{py3_dist scikit-learn}
+Recommends: %{py3_dist matplotlib} >= 2.2
-%description -n python3-%{srcname}
-Photutils contains functions for:
- * estimating the background and background rms in astronomical images
- * detecting sources in astronomical images
- * estimating morphological parameters of those sources (e.g.,
- centroid and shape parameters)
- * performing aperture and PSF photometry
+%description -n python3-%{srcname} %_description
%prep
-%autosetup -p1 -n %{srcname}-%{version}
+%autosetup -n %{srcname}-%{version}
%build
%py3_build
%install
%py3_install
-# Remove some c files after install
-find %{buildroot}/%{python3_sitearch}/ -name "*.c" -delete
%check
-# 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
+ pytest-%{python3_version} photutils
popd
-
%files -n python3-%{srcname}
%doc README.rst
%license LICENSE.rst
@@ -89,6 +71,9 @@ popd
%{python3_sitearch}/%{srcname}
%changelog
+* Thu Dec 17 2020 Sergio Pascual <sergiopr@fedoraproject.com> - 1.0.1-1
+- New upstream source (1.0.1)
+
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
diff --git a/sources b/sources
index 73e76ac..9da265d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (photutils-0.7.2.tar.gz) = cd0e835bcf1f1d3f82d96061db3f6aee5c40fb22dbe1316a5ac9e1633ecc41cc825fad592ee884b8d89f7dd4f08c8e90a5cb377428bfad2456aa2db45cb691d5
+SHA512 (photutils-1.0.1.tar.gz) = 3abcace35fde3b8c4de99c56afe813db50bde87bf1aeda65b1b37edf7c9409420f3aa62bd6b98ae4f381542c1fd3aff100b19220f6a7210f2a0c06f8a039f1b5
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=178244531392.1.7286326703800724316.rpms-python-photutils-9e30345ae9e5@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