public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-pymemcache] epel10.3: Python2 binary package has been removed
Date: Wed, 30 Sep 2026 11:59:10 GMT [thread overview]
Message-ID: <179076955066.1.13978202256088069590.rpms-python-pymemcache-b90ab409945f@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-pymemcache
Branch : epel10.3
Commit : b90ab409945f4863b13d57ae0d16cb66d29c582d
Author : Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Date : 2018-10-11T19:02:12+02:00
Stats : +5/-34 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-pymemcache/c/b90ab409945f4863b13d57ae0d16cb66d29c582d?branch=epel10.3
Log:
Python2 binary package has been removed
---
diff --git a/python-pymemcache.spec b/python-pymemcache.spec
index 0dd3e6a..48628d5 100644
--- a/python-pymemcache.spec
+++ b/python-pymemcache.spec
@@ -7,13 +7,11 @@
%if 0%{?rhel} && 0%{?rhel} <= 6
%{!?__python2: %global __python2 /usr/bin/python}
-%{!?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
Name: python-%{pypi_name}
Version: 1.2.5
-Release: 14%{?dist}
+Release: 15%{?dist}
Summary: A comprehensive, fast, pure Python memcached client
License: ASL 2.0
@@ -21,11 +19,6 @@ URL: https://github.com/Pinterest/pymemcache
Source0: https://pypi.python.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
BuildArch: noarch
-BuildRequires: python2-devel
-BuildRequires: python2-nose >= 1.0
-BuildRequires: python2-setuptools
-BuildRequires: python2-six
-
%global _description\
pymemcache supports the following features:\
\
@@ -38,13 +31,6 @@ pymemcache supports the following features:\
%description %_description
-%package -n python2-%{pypi_name}
-Summary: %summary
-Requires: python2-six
-%{?python_provide:%python_provide python2-%{pypi_name}}
-
-%description -n python2-%{pypi_name} %_description
-
%if 0%{?with_python3}
%package -n python3-%{pypi_name}
Summary: A comprehensive, fast, pure Python memcached client
@@ -70,46 +56,27 @@ pymemcache supports the following features:
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
-%if 0%{?with_python3}
-rm -rf %{py3dir}
-cp -a . %{py3dir}
-find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|'
-%endif # with_python3
%build
-%{__python2} setup.py build
%if 0%{?with_python3}
-pushd %{py3dir}
%{__python3} setup.py build
-popd
%endif
%install
-%{__python2} setup.py install --skip-build --root %{buildroot}
%if 0%{?with_python3}
-pushd %{py3dir}
%{__python3} setup.py install --skip-build --root %{buildroot}
-popd
%endif
%check
-%{__python2} setup.py nosetests
%if 0%{?with_python3}
-pushd %{py3dir}
%{__python3} setup.py nosetests
-popd
%endif
-%files -n python2-%{pypi_name}
-%doc README.md LICENSE.txt
-%{python2_sitelib}/%{pypi_name}
-%{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
-
%if 0%{?with_python3}
%files -n python3-%{pypi_name}
%doc README.md LICENSE.txt
@@ -118,6 +85,10 @@ popd
%endif
%changelog
+* Thu Oct 11 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.2.5-15
+- Python2 binary package has been removed
+ See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
+
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
reply other threads:[~2026-09-30 11:59 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=179076955066.1.13978202256088069590.rpms-python-pymemcache-b90ab409945f@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