public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-venusian] epel10.2: Subpackage python2-venusian has been removed
@ 2026-06-22 16:02 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-06-22 16:02 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-venusian
Branch : epel10.2
Commit : 2b77be6013c50c7cdd344b8aa11d6c767f7b9a69
Author : Miro Hrončok <miro@hroncok.cz>
Date   : 2019-08-30T11:40:42+02:00
Stats  : +8/-53 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-venusian/c/2b77be6013c50c7cdd344b8aa11d6c767f7b9a69?branch=epel10.2

Log:
Subpackage python2-venusian has been removed

---
diff --git a/python-venusian.spec b/python-venusian.spec
index daf38b6..792e6e2 100644
--- a/python-venusian.spec
+++ b/python-venusian.spec
@@ -1,13 +1,8 @@
-%if 0%{?fedora} || 0%{?rhel} >= 8
-%global with_python3 1
-%endif
-
 %global modname venusian
 
-
 Name:           python-%{modname}
 Version:        1.2.0
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        A library for deferring decorator actions
 
 License:        BSD
@@ -15,17 +10,9 @@ URL:            https://pypi.python.org/pypi/venusian
 Source0:        https://pypi.python.org/packages/source/v/venusian/%{modname}-%{version}.tar.gz
 BuildArch:      noarch
 
-BuildRequires:  python2-setuptools
-BuildRequires:  python2-devel
-BuildRequires:  python2-pytest
-
-
-%if 0%{?with_python3}
 BuildRequires:  python3-devel
 BuildRequires:  python3-pytest
 BuildRequires:  python3-setuptools
-%endif
-
 
 %global _description\
 Venusian is a library which allows framework authors to defer decorator\
@@ -36,22 +23,15 @@ decorator until a separate "scan" phase.\
 
 %description %_description
 
-%package -n python2-venusian
-Summary: %summary
-%{?python_provide:%python_provide python2-venusian}
-
-%description -n python2-venusian %_description
-
-%if 0%{?with_python3}
 %package -n python3-venusian
 Summary:        A library for deferring decorator actions
+%{?python_provide:%python_provide python3-venusian}
 
 %description -n python3-venusian
 Venusian is a library which allows framework authors to defer decorator
 actions.  Instead of taking actions when a function (or class) decorator is
 executed at import time, you can defer the action usually taken by the
 decorator until a separate "scan" phase.
-%endif
 
 %prep
 %setup -q -n %{modname}-%{version}
@@ -59,56 +39,31 @@ decorator until a separate "scan" phase.
 # Remove bundled egg info if it exists
 rm -rf %{modname}.egg-info
 
-%if 0%{?with_python3}
-rm -rf %{py3dir}
-cp -a . %{py3dir}
-%endif
-
 
 %build
-%{__python2} setup.py build
+%py3_build
 
-%if 0%{?with_python3}
-pushd %{py3dir}
-%{__python3} setup.py build
-popd
-%endif
 
 %install
-%if 0%{?with_python3}
-pushd %{py3dir}
-%{__python3} setup.py install -O1 --skip-build --root %{buildroot}
-popd
-%endif
+%py3_install
 
-%{__python2} setup.py install -O1 --skip-build --root %{buildroot}
 
 %check
-%if 0%{?with_python3}
-pushd %{py3dir}
 py.test-3
-popd
-%endif
-
-py.test-2
-
 
-%files -n python2-venusian
-%license LICENSE.txt
-%doc README.rst
-%{python2_sitelib}/%{modname}/
-%{python2_sitelib}/%{modname}-%{version}*.egg-info
 
-%if 0%{?with_python3}
 %files -n python3-venusian
 %license LICENSE.txt
 %doc README.rst
 %{python3_sitelib}/%{modname}/
 %{python3_sitelib}/%{modname}-%{version}*.egg-info
-%endif
 
 
 %changelog
+* Fri Aug 30 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.0-4
+- Subpackage python2-venusian has been removed
+  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
+
 * Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.0-3
 - Rebuilt for Python 3.8
 

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

only message in thread, other threads:[~2026-06-22 16:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-22 16:02 [rpms/python-venusian] epel10.2: Subpackage python2-venusian has been removed 

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