Name: python-memcached Version: 1.59 Release: 16%{?dist} Summary: A Python memcached client library # Automatically converted from old format: Python - review is highly recommended. License: LicenseRef-Callaway-Python URL: https://github.com/linsomniac/python-memcached Source0: https://github.com/linsomniac/python-memcached/archive/%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-six # Required for running test suite BuildRequires: %{_bindir}/memcached BuildRequires: python3-pytest %global _description\ This software is a 100% Python interface to the memcached memory cache\ daemon. It is the client side software which allows storing values in one\ or more, possibly remote, memcached servers. Search google for memcached\ for more information. %description %_description %package -n python3-memcached Summary: %summary %{?python_provide:%python_provide python3-memcached} %description -n python3-memcached %_description %prep %autosetup -n %{name}-%{version} # Fix version information sed -i 's/1\.58/1\.59/' memcache.py # Use the standard library mock instead of the external one sed -i -e 's/^import mock/from unittest import mock/' \ tests/test_memcache.py %build %py3_build %install %py3_install %check pidfile=$(mktemp) memcached -d -P $pidfile %pytest kill $(cat $pidfile) %files -n python3-memcached %doc ChangeLog README.md %attr(755,root,root) %{python3_sitelib}/memcache.py %{python3_sitelib}/memcache.py %{python3_sitelib}/__pycache__/memcache.* %{python3_sitelib}/python_memcached-%{version}-py*.egg-info/ %changelog * Wed Sep 04 2024 Miroslav Suchý - 1.59-16 - convert license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 1.59-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 1.59-14 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 1.59-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 1.59-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 1.59-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 1.59-10 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 1.59-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.59-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 1.59-7 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 1.59-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.59-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Jun 03 2021 Python Maint - 1.59-4 - Rebuilt for Python 3.10 * Mon Feb 08 2021 Charalampos Stratakis - 1.59-3 - Enable testing with pytest and use the github tarball * Wed Jan 27 2021 Fedora Release Engineering - 1.59-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Sep 14 2020 Joel Capitao - 1.59-1 - Update to 1.59 * Wed Jul 29 2020 Fedora Release Engineering - 1.58-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sat May 23 2020 Miro Hrončok - 1.58-13 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.58-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Sep 17 2019 Miro Hrončok - 1.58-11 - Subpackage python2-memcached has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Fri Aug 16 2019 Miro Hrončok - 1.58-10 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.58-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.58-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 1.58-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat Jun 16 2018 Miro Hrončok - 1.58-6 - Rebuilt for Python 3.7 * Wed May 23 2018 Miro Hrončok - 1.58-5 - Merge with the Python 3 package - Run upstream tests * Fri Feb 09 2018 Fedora Release Engineering - 1.58-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Jan 26 2018 Iryna Shcherbina - 1.58-3 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - 1.58-2 - Python 2 binary package renamed to python2-memcached See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 * Tue Aug 29 2017 Haïkel Guémar - 1.58-1 - Upstream 1.58 * Thu Jul 27 2017 Fedora Release Engineering - 1.54-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.54-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Jul 19 2016 Fedora Release Engineering - 1.54-4 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Tue Mar 8 2016 Haïkel Guémar - 1.54-3 - Use versioned python macros * Thu Feb 04 2016 Fedora Release Engineering - 1.54-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sat Dec 26 2015 Kevin Fenzi - 1.54-1 - Update to 1.54 * Thu Jun 18 2015 Fedora Release Engineering - 1.53-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.53-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Oct 15 2013 Stephen Gallagher - 1.53-1 - New upstream release 1.53 - Fixing set_multi() so that if the server closes the connection it will no longer raise AttributeError - readline() now will mark the connection dead if the read fails - Changing check_keys to use re.match() instead of str.translate(), because re.match() works with Python < 2.6 - Add a MANIFEST.in file - Client() now takes a "check_keys" option, which defaults to True - Converting control character checking of keys based on performance testing of alternatives - Converted unicode tests from using u'' - Doing a "set" after server goes away, raised AttributeError: 'NoneType' object has no attribute 'sendall' - incr/decr return None instead of 0 on server connection failure - Supports IPv6 connections using: "inet6:[fd00::32:19f7]:11000" * Sun Aug 04 2013 Fedora Release Engineering - 1.48-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.48-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Nov 01 2012 Radek Novacek 1.48-2 - Enable running tests in %check * Wed Oct 31 2012 Radek Novacek 1.48-1 - Update to 1.48 * Sat Jul 21 2012 Fedora Release Engineering - 1.47-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jan 14 2012 Fedora Release Engineering - 1.47-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering - 1.47-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Dec 21 2010 Kevin Fenzi - 1.47-1 - Update to 1.47 * Thu Jul 22 2010 David Malcolm - 1.43-6 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild * Sun Jul 26 2009 Fedora Release Engineering - 1.43-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 1.43-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sat Nov 29 2008 Ignacio Vazquez-Abrams - 1.43-3 - Rebuild for Python 2.6 * Wed Sep 3 2008 Tom "spot" Callaway 1.43-2 - add BR: python-setuptools * Wed Sep 3 2008 Tom "spot" Callaway 1.43-1 - fix license tag - update to 1.43 * Tue Aug 14 2007 Sean Reifschneider 1.39-1 - Update to 1.39 upstream release. * Sat Aug 11 2007 Sean Reifschneider 1.38-1 - Update to 1.38 upstream release. * Sun Jun 10 2007 Sean Reifschneider 1.36-3 - Changes based on feedback from Ruben Kerkhof: - Fixing license. - Removing PKG-INFO from doc. - Fixing summary. - Removing setuptools build dependency. - Changing permissions of memcache module to * Sat Jun 09 2007 Sean Reifschneider 1.36-2 - Adding python-devel build requirement. * Sat Jun 09 2007 Sean Reifschneider 1.36-1 - Initial RPM spec file.