public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-venusian] epel10: Subpackage python2-venusian has been removed
Date: Mon, 22 Jun 2026 15:00:34 GMT [thread overview]
Message-ID: <178214043488.1.2157711791253539358.rpms-python-venusian-2b77be6013c5@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-venusian
Branch : epel10
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
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
reply other threads:[~2026-06-22 15:00 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=178214043488.1.2157711791253539358.rpms-python-venusian-2b77be6013c5@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