|
|
38637c9 |
%global srcname pyngus
|
|
|
a72b53d |
%global commit 60b6f102e4dc2d976292aa974866c4acce492e27
|
|
|
a72b53d |
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
a72b53d |
%global snapshotdate 20200513
|
|
|
38637c9 |
|
|
|
38637c9 |
Name: python-%{srcname}
|
|
|
a72b53d |
# Uses the snapshot because the upstream does not provides the latest version from git.
|
|
|
a72b53d |
# Please see: https://github.com/kgiusti/pyngus/issues/14
|
|
|
a72b53d |
Version: 2.3.0^%{snapshotdate}git%{shortcommit}
|
|
|
a72b53d |
Release: 2.%{snapshotdate}git%{shortcommit}%{?dist}
|
|
|
38637c9 |
Summary: Callback API implemented over Proton
|
|
|
38637c9 |
|
|
|
a72b53d |
License: Apache-2.0
|
|
|
38637c9 |
URL: https://github.com/kgiusti/%{srcname}
|
|
|
a72b53d |
# Uses the commit because the upstream does not provides the latest version from git.
|
|
|
a72b53d |
# Please see: https://github.com/kgiusti/pyngus/issues/14
|
|
|
a72b53d |
Source: https://github.com/kgiusti/pyngus/archive/%{commit}/%{srcname}-%{shortcommit}.tar.gz
|
|
|
38637c9 |
|
|
|
38637c9 |
BuildArch: noarch
|
|
|
a72b53d |
BuildRequires: python3-devel
|
|
|
38637c9 |
|
|
|
38637c9 |
%global _description \
|
|
|
38637c9 |
A connection oriented messaging framework using QPID Proton.\
|
|
|
38637c9 |
It provides a callback-based API for message passing.
|
|
|
38637c9 |
|
|
|
38637c9 |
%description %{_description}
|
|
|
38637c9 |
|
|
|
38637c9 |
%package -n python3-%{srcname}
|
|
|
38637c9 |
Summary: %{summary}
|
|
|
38637c9 |
|
|
|
38637c9 |
%description -n python3-%{srcname} %{_description}
|
|
|
38637c9 |
|
|
|
38637c9 |
Python 3 version.
|
|
|
38637c9 |
|
|
|
38637c9 |
%prep
|
|
|
a72b53d |
%autosetup -n %{srcname}-%{commit}
|
|
|
a72b53d |
|
|
|
a72b53d |
%generate_buildrequires
|
|
|
a72b53d |
%pyproject_buildrequires
|
|
|
38637c9 |
|
|
|
38637c9 |
%build
|
|
|
a72b53d |
%pyproject_wheel
|
|
|
38637c9 |
|
|
|
38637c9 |
%install
|
|
|
a72b53d |
%py3_shebang_fix setup.py
|
|
|
a72b53d |
%pyproject_install
|
|
|
a72b53d |
%py3_shebang_fix tests/test-runner tests/perf-test.py setup.py examples/perf-tool.py examples/rpc-server.py examples/server.py examples/send.py examples/recv.py examples/rpc-client.py
|
|
|
a72b53d |
|
|
|
a72b53d |
%pyproject_save_files -l %{srcname}
|
|
|
38637c9 |
|
|
|
38637c9 |
%check
|
|
|
a72b53d |
%pyproject_check_import
|
|
|
a72b53d |
%py3_test_envvars PYTHONPATH=%{buildroot}:%{buildroot}/tests
|
|
|
a72b53d |
PYTHONPATH=.:tests tests/test-runner -i "unit_tests.connection.CyrusTest.test_cyrus_sasl_ok" -i "unit_tests.connection.CyrusTest.test_cyrus_sasl_fail"
|
|
|
38637c9 |
|
|
|
a72b53d |
%files -n python3-%{srcname} -f %{pyproject_files}
|
|
|
38637c9 |
%doc README.md
|
|
|
38637c9 |
|
|
|
38637c9 |
%changelog
|
|
|
a72b53d |
* Fri Apr 12 2024 Hirotaka Wakabayashi <hiwkby@yahoo.com> - 2.3.0-2.20200513git60b6f10
|
|
|
a72b53d |
- Fixes the Source URL
|
|
|
a72b53d |
|
|
|
a72b53d |
* Sat Mar 30 2024 Hirotaka Wakabayashi <hiwkby@yahoo.com> - 2.3.0-1.20200513git60b6f10
|
|
|
a72b53d |
- Untretire python-pyngus
|
|
|
a72b53d |
- Updates python-pyngus
|
|
|
a72b53d |
|
|
|
38637c9 |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-16
|
|
|
38637c9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
38637c9 |
|
|
|
38637c9 |
* Mon Jul 10 2023 Python Maint <python-maint@redhat.com> - 2.3.0-15
|
|
|
38637c9 |
- Rebuilt for Python 3.12
|
|
|
38637c9 |
|
|
|
38637c9 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-14
|
|
|
38637c9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
38637c9 |
|
|
|
38637c9 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-13
|
|
|
38637c9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
38637c9 |
|
|
|
38637c9 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.3.0-12
|
|
|
38637c9 |
- Rebuilt for Python 3.11
|
|
|
38637c9 |
|
|
|
38637c9 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-11
|
|
|
38637c9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
38637c9 |
|
|
|
38637c9 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-10
|
|
|
38637c9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
38637c9 |
|
|
|
38637c9 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.3.0-9
|
|
|
38637c9 |
- Rebuilt for Python 3.10
|
|
|
38637c9 |
|
|
|
38637c9 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-8
|
|
|
38637c9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
38637c9 |
|
|
|
38637c9 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-7
|
|
|
38637c9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
38637c9 |
|
|
|
38637c9 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.3.0-6
|
|
|
38637c9 |
- Rebuilt for Python 3.9
|
|
|
38637c9 |
|
|
|
38637c9 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-5
|
|
|
38637c9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
38637c9 |
|
|
|
38637c9 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.3.0-4
|
|
|
38637c9 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
38637c9 |
|
|
|
38637c9 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.3.0-3
|
|
|
38637c9 |
- Rebuilt for Python 3.8
|
|
|
38637c9 |
|
|
|
38637c9 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-2
|
|
|
38637c9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
38637c9 |
|
|
|
38637c9 |
* Tue May 28 2019 Irina Boverman <iboverma@redhat.com> - 2.3.0-1
|
|
|
38637c9 |
- Rebased to 2.3.0
|
|
|
38637c9 |
|
|
|
38637c9 |
* Mon Feb 11 2019 Miro Hrončok <mhroncok@redhat.com> - 2.2.4-4
|
|
|
38637c9 |
- Subpackage python2-pyngus has been removed
|
|
|
38637c9 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
38637c9 |
|
|
|
38637c9 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.4-3
|
|
|
38637c9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
38637c9 |
|
|
|
38637c9 |
* Thu Jul 26 2018 Irina Boverman <iboverma@redhat.com> - 2.2.4-2
|
|
|
38637c9 |
- Added python2-pyngus
|
|
|
38637c9 |
|
|
|
38637c9 |
* Tue Jul 24 2018 Irina Boverman <iboverma@redhat.com> - 2.2.4-1
|
|
|
38637c9 |
- Rebased to 2.2.4
|
|
|
38637c9 |
- Removed python2-pyngus
|
|
|
38637c9 |
|
|
|
38637c9 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-3
|
|
|
38637c9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
38637c9 |
|
|
|
38637c9 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.2.2-2
|
|
|
38637c9 |
- Rebuilt for Python 3.7
|
|
|
38637c9 |
|
|
|
38637c9 |
* Tue Mar 13 2018 Irina Boverman <iboverma@redhat.com> - 2.2.2-1
|
|
|
38637c9 |
- Rebased to 2.2.2
|
|
|
38637c9 |
|
|
|
38637c9 |
* Fri Feb 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.2.1-5
|
|
|
38637c9 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
38637c9 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
38637c9 |
|
|
|
38637c9 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-4
|
|
|
38637c9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
38637c9 |
|
|
|
38637c9 |
* Thu Nov 16 2017 Irina Boverman <iboverma@redhat.com> - 2.2.1-3
|
|
|
38637c9 |
- Rebuilt against qpid-proton 0.18.1
|
|
|
38637c9 |
|
|
|
38637c9 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-2
|
|
|
38637c9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
38637c9 |
|
|
|
38637c9 |
* Tue May 23 2017 Irina Boverman <iboverma@redhat.com> - 2.2.1-1
|
|
|
38637c9 |
- Rebased to 2.2.1
|
|
|
38637c9 |
|
|
|
38637c9 |
* Mon Feb 20 2017 Irina Boverman <iboverma@redhat.com> - 2.1.4-1
|
|
|
38637c9 |
- Rebased to 2.1.4
|
|
|
38637c9 |
- Rebuilt against qpid-proton 0.17.0
|
|
|
38637c9 |
|
|
|
38637c9 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-4
|
|
|
38637c9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
38637c9 |
|
|
|
38637c9 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 2.1.2-3
|
|
|
38637c9 |
- Rebuild for Python 3.6
|
|
|
38637c9 |
|
|
|
38637c9 |
* Thu Sep 8 2016 Irina Boverman <iboverma@redhat.com> - 2.1.2-2
|
|
|
38637c9 |
- Rebuilt against qpid-proton 0.14.0
|
|
|
38637c9 |
|
|
|
38637c9 |
* Thu Sep 01 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.1.2-1
|
|
|
38637c9 |
- Update to 2.1.2
|
|
|
38637c9 |
|
|
|
38637c9 |
* Thu Sep 01 2016 Igor Gnatenko <ignatenko@redhat.com> - 2.1.1-1
|
|
|
38637c9 |
- Update to 2.1.1
|
|
|
38637c9 |
|
|
|
38637c9 |
* Tue Aug 9 2016 Irina Boverman <iboverma@redhat.com> - 2.0.4-1
|
|
|
38637c9 |
- Rebased to 2.0.4
|
|
|
38637c9 |
- Rebuilt against proton 0.13.1
|
|
|
38637c9 |
|
|
|
38637c9 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.3-6
|
|
|
38637c9 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
38637c9 |
|
|
|
38637c9 |
* Fri Jun 24 2016 Irina Boverman <iboverma@redhat.com> - 2.0.3-5
|
|
|
38637c9 |
- Rebuilt against qpid-proton 0.13.0
|
|
|
38637c9 |
|
|
|
38637c9 |
* Mon May 16 2016 Philip Worrall <philip.worrall@googlemail.com> - 2.0.3-4
|
|
|
38637c9 |
- Add python3 subpackage (http://fedora.portingdb.xyz/pkg/python-pyngus/)
|
|
|
38637c9 |
- Edit spec to use the python2/3 specific installation macros
|
|
|
38637c9 |
- Add global macros for package name and summary
|
|
|
38637c9 |
- Add calls to run the testsuite
|
|
|
38637c9 |
- Point the source url at the upstream github repository (for license files)
|
|
|
38637c9 |
|
|
|
38637c9 |
* Wed Mar 23 2016 Irina Boverman <iboverma@redhat.com> - 2.0.3-3
|
|
|
38637c9 |
- Rebuilt against qpid-proton 0.12.1
|
|
|
38637c9 |
|
|
|
38637c9 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-2
|
|
|
38637c9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
38637c9 |
|
|
|
38637c9 |
* Mon Sep 21 2015 Irina Boverman <iboverma@redhat.com> - 2.0.3-1
|
|
|
38637c9 |
- Rebased to 2.0.3
|
|
|
38637c9 |
|
|
|
38637c9 |
* Thu Sep 3 2015 Irina Boverman <iboverma@redhat.com> - 2.0.1-1
|
|
|
38637c9 |
- Rebased to 2.0.1
|
|
|
38637c9 |
- Rebuilt against proton 0.10
|
|
|
38637c9 |
|
|
|
38637c9 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
|
|
|
38637c9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
38637c9 |
|
|
|
38637c9 |
* Wed Nov 12 2014 Darryl L. Pierce <dpierce@redhat.com> - 1.2.0-1
|
|
|
38637c9 |
- Rebased on Pyngus 1.2.0.
|
|
|
38637c9 |
|
|
|
38637c9 |
* Wed Oct 1 2014 Darryl L. Pierce <dpierce@redhat.com> - 1.1.0-1
|
|
|
38637c9 |
- First official build.
|
|
|
38637c9 |
|
|
|
38637c9 |
* Mon Sep 29 2014 Darryl L. Pierce <dpierce@redhat.com> - 1.1.0-0.1
|
|
|
38637c9 |
- Replaced the python-qpid-proton requirement.
|
|
|
38637c9 |
- Added egg info to the list of docs for this package.
|
|
|
38637c9 |
|
|
|
38637c9 |
* Thu Sep 25 2014 Darryl L. Pierce <dpierce@redhat.com> - 1.1.0-0
|
|
|
38637c9 |
- Initial build.
|