%global eggname pyLibravatar %global modname libravatar Name: python-pylibravatar Version: 1.6 Release: 36%{?dist} Summary: Python module for Libravatar # The full text of the license isn't shipped # https://bugs.launchpad.net/pylibravatar/+bug/1173603 License: MIT URL: http://pypi.python.org/pypi/pyLibravatar Source0: http://pypi.python.org/packages/source/p/%{eggname}/%{eggname}-%{version}.tar.gz # https://code.launchpad.net/~ralph-bean/pylibravatar/tcp-dns/+merge/263157 Patch0: python-pylibravatar-dns-srv-tcp.patch BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-py3dns BuildRequires: python3-setuptools %global _description\ PyLibravatar is an easy way to make use of the federated Libravatar\ avatar hosting service from within your Python applications. %description %_description %package -n python3-pylibravatar Summary: Python module for Libravatar Requires: python3-py3dns %description -n python3-pylibravatar PyLibravatar is an easy way to make use of the federated Libravatar avatar hosting service from within your Python applications. %prep %setup -q -n %{eggname}-%{version} %patch0 # Correct wrong-file-end-of-line-encoding rpmlint issue sed -i 's/\r//' README.txt sed -i 's/\r//' Changelog.txt # Remove bundled egg-info in case it exists rm -rf %{eggname}.egg-info %build %{__python3} setup.py build %install %{__python3} setup.py install -O1 --skip-build --root=%{buildroot} %files -n python3-pylibravatar # Upstream doesn't ship the license full text # https://bugs.launchpad.net/pylibravatar/+bug/1173603 %doc README.txt Changelog.txt %{python3_sitelib}/%{modname}.py %{python3_sitelib}/__pycache__/*%{modname}* %{python3_sitelib}/%{eggname}-%{version}-* %changelog * Fri Jan 26 2024 Fedora Release Engineering - 1.6-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 1.6-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 1.6-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jul 06 2023 Python Maint - 1.6-33 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 1.6-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.6-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 1.6-30 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 1.6-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.6-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.6-27 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 1.6-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.6-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun May 24 2020 Miro Hrončok - 1.6-24 - Rebuilt for Python 3.9 * Thu Oct 03 2019 Miro Hrončok - 1.6-23 - Rebuilt for Python 3.8.0rc1 (#1748018) * Sat Aug 17 2019 Miro Hrončok - 1.6-22 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.6-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Jun 18 2019 Miro Hrončok - 1.6-20 - Subpackage python2-pylibravatar has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Sat Feb 02 2019 Fedora Release Engineering - 1.6-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Jul 25 2018 Pierre-Yves Chibon - 1.6-18 - Use the py2 version of the macros * Sat Jul 14 2018 Fedora Release Engineering - 1.6-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Jun 18 2018 Miro Hrončok - 1.6-16 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 1.6-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Jan 27 2018 Iryna Shcherbina - 1.6-14 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 1.6-13 - Python 2 binary package renamed to python2-pylibravatar See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 * Thu Jul 27 2017 Fedora Release Engineering - 1.6-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.6-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 1.6-10 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 1.6-9 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Feb 04 2016 Fedora Release Engineering - 1.6-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Nov 10 2015 Fedora Release Engineering - 1.6-7 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 * Fri Jun 26 2015 Ralph Bean - 1.6-6 - Apply patch to use tcp for dns srv queries. * Thu Jun 18 2015 Fedora Release Engineering - 1.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed May 28 2014 Kalev Lember - 1.6-3 - Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 * Tue Sep 24 2013 Ralph Bean - 1.6-2 - Fix file ownership in python3 subpackage. * Tue Sep 24 2013 Ralph Bean - 1.6-1 - Latest upstream with python3 support. - Enable the python3 subpackage. * Sun Aug 04 2013 Fedora Release Engineering - 1.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Mon Jul 01 2013 Ralph Bean - 1.5-2 - Correct wrong-file-end-of-line-encoding rpmlint issue. * Sat Apr 27 2013 Ralph Bean - 1.5-1 - Initial packaging for Fedora. - There is no test suite at this point. - Upstream doesn't seem to ship the license full text at this point.