public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-zope-schema] epel10: Subpackage python2-zope-schema has been removed
@ 2026-11-19 0:37
0 siblings, 0 replies; only message in thread
From: @ 2026-11-19 0:37 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-zope-schema
Branch : epel10
Commit : 2572fa808ca88ba6d404f3591438fa921ff8aebd
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2019-09-08T23:52:58+02:00
Stats : +5/-50 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-zope-schema/c/2572fa808ca88ba6d404f3591438fa921ff8aebd?branch=epel10
Log:
Subpackage python2-zope-schema has been removed
---
diff --git a/python-zope-schema.spec b/python-zope-schema.spec
index 31f3f38..0cc2ebb 100644
--- a/python-zope-schema.spec
+++ b/python-zope-schema.spec
@@ -1,19 +1,10 @@
-%if 0%{?rhel} && 0%{?rhel} <= 6
-%{!?__python2: %global __python2 /usr/bin/python2}
-%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
-%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
-%endif
-
%global modname zope.schema
-%if 0%{?fedora} || 0%{?rhel} >= 8
-%global with_python3 1
-%endif
Summary: Zope 3 schemas
Name: python-zope-schema
Version: 4.4.2
-Release: 15%{?dist}
+Release: 16%{?dist}
Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz
License: ZPLv2.1
BuildArch: noarch
@@ -23,24 +14,6 @@ URL: http://pypi.python.org/pypi/zope.schema
%description
This package is a zope.interface extension for defining data schemas.
-%package -n python2-zope-schema
-Summary: Zope 3 schemas
-%{?python_provide:%python_provide python2-zope-schema}
-
-BuildRequires: python2-devel
-BuildRequires: python2-setuptools
-BuildRequires: python2-zope-event
-# For tests
-BuildRequires: python2-zope-testing
-BuildRequires: python2-zope-interface
-
-Requires: python2-zope-interface
-Requires: python2-zope-event
-
-%description -n python2-zope-schema
-This package is a zope.interface extension for defining data schemas.
-
-%if 0%{?with_python3}
%package -n python3-zope-schema
Summary: Zope 3 schemas
%{?python_provide:%python_provide python3-zope-schema}
@@ -59,7 +32,6 @@ Requires: python3-zope-event
%description -n python3-zope-schema
This package is a zope.interface extension for defining data schemas.
-%endif
%prep
%setup -q -n %{modname}-%{version}
@@ -68,10 +40,7 @@ rm -rf %{modname}.egg-info
%build
-%py2_build
-%if 0%{?with_python3}
%py3_build
-%endif
# build Sphinx documents
sphinx-build-%{python3_version} -b html docs/ build/sphinx/html
@@ -79,14 +48,9 @@ cp -pr build/sphinx/html .
rm -fr html/{.buildinfo,.doctrees}
%install
-%if 0%{?with_python3}
%py3_install
-%endif
-%py2_install
%check
-%{__python2} setup.py test
-%if 0%{?with_python3}
# the test setup and runner are rather, ahem, 'special' (see setup.py
# all_tests). This silly hack makes it fly on recent Python 3.
ln -s %{python3_sitelib}/zope/* src/zope
@@ -94,19 +58,7 @@ ln -s %{python3_sitelib}/zope/* src/zope
# the build, it's no problem
ln -s %{python3_sitearch}/zope/* src/zope >/dev/null || :
%{__python3} setup.py test
-%endif
-
-%files -n python2-zope-schema
-%doc CHANGES.rst COPYRIGHT.txt README.rst
-%doc html/
-%license LICENSE.txt
-%{python2_sitelib}/zope/schema/
-%exclude %{python2_sitelib}/zope/schema/tests/
-%exclude %{python2_sitelib}/zope/schema/*.txt
-%{python2_sitelib}/%{modname}-*.egg-info
-%{python2_sitelib}/%{modname}-*-nspkg.pth
-%if 0%{?with_python3}
%files -n python3-zope-schema
%doc CHANGES.rst COPYRIGHT.txt README.rst
%doc html/
@@ -116,10 +68,13 @@ ln -s %{python3_sitearch}/zope/* src/zope >/dev/null || :
%exclude %{python3_sitelib}/zope/schema/*.txt
%{python3_sitelib}/%{modname}-*.egg-info
%{python3_sitelib}/%{modname}-*-nspkg.pth
-%endif
%changelog
+* Sun Sep 08 2019 Miro Hrončok <mhroncok@redhat.com> - 4.4.2-16
+- Subpackage python2-zope-schema has been removed
+ See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
+
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 4.4.2-15
- Rebuilt for Python 3.8
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-19 0:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-19 0:37 [rpms/python-zope-schema] epel10: Subpackage python2-zope-schema 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