public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-photutils] epel10: Remove python2 subpackage (#1632572)
Date: Fri, 26 Jun 2026 03:41:48 GMT [thread overview]
Message-ID: <178244530825.1.54589548966707381.rpms-python-photutils-ca71ff4f733e@fedoraproject.org> (raw)
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
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=178244530825.1.54589548966707381.rpms-python-photutils-ca71ff4f733e@fedoraproject.org \
--to=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