From 50be928c4472b1e668d8639820481482cbd93b0f Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 7 May 2019 08:05:00 -0400 Subject: [PATCH] import python-blinker-1.3-14.el8 --- .gitignore | 1 + .python-blinker.metadata | 1 + SPECS/python-blinker.spec | 151 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 153 insertions(+) create mode 100644 .gitignore create mode 100644 .python-blinker.metadata create mode 100644 SPECS/python-blinker.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d5a4717 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/blinker-1.3.tar.gz diff --git a/.python-blinker.metadata b/.python-blinker.metadata new file mode 100644 index 0000000..2528df4 --- /dev/null +++ b/.python-blinker.metadata @@ -0,0 +1 @@ +8b9cce8010f47014c86cf8a6eb16f840123a1dba SOURCES/blinker-1.3.tar.gz diff --git a/SPECS/python-blinker.spec b/SPECS/python-blinker.spec new file mode 100644 index 0000000..35b713c --- /dev/null +++ b/SPECS/python-blinker.spec @@ -0,0 +1,151 @@ +%global mod_name blinker +%global with_python3 1 + +%if 0%{?rhel} > 7 +# Disable python2 build by default +%bcond_with python2 +%else +%bcond_without python2 +%endif + +Name: python-blinker +Version: 1.3 +Release: 14%{?dist} +Summary: Fast, simple object-to-object and broadcast signaling + +Group: Development/Libraries +License: MIT +URL: http://discorporate.us/projects/Blinker/ +Source0: http://pypi.python.org/packages/source/b/%{mod_name}/%{mod_name}-%{version}.tar.gz + +BuildArch: noarch +%if %{with python2} +BuildRequires: python2-devel +BuildRequires: python2-setuptools +%endif # with python2 +%if 0%{?with_python3} +BuildRequires: python3-devel +BuildRequires: python3-setuptools +%endif + +%global _description\ +Blinker provides a fast dispatching system that allows any number\ +of interested parties to subscribe to events, or "signals". + +%description %_description + +%if %{with python2} +%package -n python2-blinker +Summary: %summary +%{?python_provide:%python_provide python2-blinker} + +%description -n python2-blinker %_description +%endif # with python2 + +%if 0%{?with_python3} +%package -n python3-blinker +Summary: Fast, simple object-to-object and broadcast signaling +%{?python_provide:%python_provide python3-blinker} + +%description -n python3-blinker +Blinker provides a fast dispatching system that allows any number +of interested parties to subscribe to events, or "signals". +%endif + +%prep +%setup -q -n %{mod_name}-%{version} + +%build +%if %{with python2} +%py2_build +%endif # with python2 + +%if 0%{?with_python3} +%py3_build +%endif + +%install + +%if 0%{?with_python3} +%py3_install +%endif + +%if %{with python2} +%py2_install +%endif # with python2 + +%if %{with python2} +%files -n python2-blinker +%license LICENSE +%doc docs/ CHANGES README PKG-INFO +%{python2_sitelib}/*.egg-info +%{python2_sitelib}/%{mod_name} +%endif # with python2 + +%if 0%{?with_python3} +%files -n python3-blinker +%license LICENSE +%doc docs/ CHANGES README PKG-INFO +%{python3_sitelib}/*.egg-info +%{python3_sitelib}/%{mod_name} +%endif + + +%changelog +* Tue Jun 19 2018 Charalampos Stratakis - 1.3-14 +- Conditionalize the python2 subpackage + +* Fri Feb 09 2018 Fedora Release Engineering - 1.3-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 1.3-12 +- Python 2 binary package renamed to python2-blinker + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + +* Thu Jul 27 2017 Fedora Release Engineering - 1.3-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 1.3-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Dec 13 2016 Stratakis Charalampos - 1.3-9 +- Rebuild for Python 3.6 + +* Tue Dec 13 2016 Stratakis Charalampos - 1.3-8 +- Rebuild for Python 3.6 + +* Tue Jul 19 2016 Fedora Release Engineering - 1.3-7 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Thu Feb 04 2016 Fedora Release Engineering - 1.3-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Nov 10 2015 Fedora Release Engineering - 1.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + +* Thu Jun 18 2015 Fedora Release Engineering - 1.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed May 14 2014 Bohuslav Kabrda - 1.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 + +* Tue Sep 24 2013 Praveen Kumar - 1.3-1 +- Updated source and added python3 support + +* Sun Aug 04 2013 Fedora Release Engineering - 1.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 1.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Jul 21 2012 Fedora Release Engineering - 1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Jul 22 2011 Praveen Kumar - 1.1-1 +- Initial RPM