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

A new commit has been pushed.

Repo   : rpms/python-photutils
Branch : epel10
Commit : ca71ff4f733e25584ddf0f96a2828887ba13fd8c
Author : Miro Hrončok <miro@hroncok.cz>
Date   : 2018-10-01T16:31:41+02:00
Stats  : +5/-44 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-photutils/c/ca71ff4f733e25584ddf0f96a2828887ba13fd8c?branch=epel10

Log:
Remove python2 subpackage (#1632572)

---
diff --git a/python-photutils.spec b/python-photutils.spec
index a00e3a0..333d56b 100644
--- a/python-photutils.spec
+++ b/python-photutils.spec
@@ -2,7 +2,7 @@
 
 Name: python-%{srcname}
 Version: 0.4
-Release: 7%{?dist}
+Release: 8%{?dist}
 Summary: Astropy affiliated package for image photometry tasks
 License: BSD
 
@@ -17,7 +17,7 @@ Patch0:  python-photutils-Use-astropy_helpers-provided-by-the-system.patch
 Patch1:  python-photutils-fixes-for-numpy-1.14.patch
 
 BuildRequires: gcc
-BuildRequires: python2-devel python3-devel
+BuildRequires: python3-devel
 
 %description
 Photutils contains functions for:
@@ -27,36 +27,6 @@ Photutils contains functions for:
     centroid and shape parameters)
  * performing aperture and PSF photometry
 
-%package -n python2-%{srcname}
-Summary: Astropy affiliated package for image photometry tasks
-
-BuildRequires: python2-devel
-BuildRequires: python2-Cython
-BuildRequires: python2-numpy
-BuildRequires: python2-astropy
-BuildRequires: python2-astropy-helpers
-# Optional
-BuildRequires: python2-scipy
-BuildRequires: python2-scikit-image
-BuildRequires: python2-matplotlib
-# For tests
-BuildRequires: python2-pytest
-
-%{?python_provide:%python_provide python2-%{srcname}}
-
-Requires: python2-numpy
-Requires: python2-astropy
-Recommends: python2-scipy
-Recommends: python2-scikit-image
-Recommends: python2-matplotlib
-
-%description -n python2-%{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
 
 %package -n python3-%{srcname}
 Summary: Astropy affiliated package for image photometry tasks
@@ -93,15 +63,12 @@ Photutils contains functions for:
 %autosetup -p1 -n %{srcname}-%{version}
 
 %build
-%py2_build
 %py3_build
 
 %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
 
 %check
 # Empty matplotlibrc
@@ -113,19 +80,10 @@ export PYTHONDONTWRITEBYTECODE=1
 
 # Disable tests and wait for new release fixing them
 # https://github.com/astropy/photutils/issues/677
-#pushd %%{buildroot}/%%{python2_sitearch}
-#py.test-%%{python2_version} %%{srcname}
-#popd
-
 #pushd %%{buildroot}/%%{python3_sitearch}
 #py.test-%%{python3_version} %%{srcname}
 #popd
 
-%files -n python2-%{srcname}
-%doc README.rst
-%license LICENSE.rst
-%{python2_sitearch}/%{srcname}-%{version}-py%{python2_version}.egg-info
-%{python2_sitearch}/%{srcname}
 
 %files -n python3-%{srcname}
 %doc README.rst
@@ -134,6 +92,9 @@ export PYTHONDONTWRITEBYTECODE=1
 %{python3_sitearch}/%{srcname}
 
 %changelog
+* Mon Oct 01 2018 Miro Hrončok <mhroncok@redhat.com> - 0.4-8
+- Remove python2 subpackage (#1632572)
+
 * Sun Jul 15 2018 Christian Dersch <lupinix@fedoraproject.org> - 0.4-7
 - BuildRequires: gcc
 

^ 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: Remove python2 subpackage (#1632572) 

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