|
rdobuilder |
17cbbc |
## START: Set by rpmautospec
|
|
rdobuilder |
17cbbc |
## (rpmautospec version 0.2.6)
|
|
rdobuilder |
17cbbc |
%define autorelease(e:s:pb:) %{?-p:0.}%{lua:
|
|
rdobuilder |
17cbbc |
release_number = 3;
|
|
rdobuilder |
17cbbc |
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
rdobuilder |
17cbbc |
print(release_number + base_release_number - 1);
|
|
rdobuilder |
17cbbc |
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist}
|
|
rdobuilder |
17cbbc |
## END: Set by rpmautospec
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
%global pypi_name jeepney
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
Name: python-%{pypi_name}
|
|
rdobuilder |
17cbbc |
Version: 0.8.0
|
|
rdobuilder |
17cbbc |
Release: %autorelease
|
|
rdobuilder |
17cbbc |
Summary: Low-level, pure Python DBus protocol wrapper
|
|
rdobuilder |
17cbbc |
License: MIT
|
|
rdobuilder |
17cbbc |
URL: https://gitlab.com/takluyver/jeepney
|
|
rdobuilder |
17cbbc |
Source0: %pypi_source
|
|
rdobuilder |
17cbbc |
BuildArch: noarch
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
BuildRequires: python3-devel
|
|
rdobuilder |
17cbbc |
BuildRequires: pyproject-rpm-macros
|
|
rdobuilder |
17cbbc |
# Dependencies to build the documentation:
|
|
rdobuilder |
17cbbc |
BuildRequires: make
|
|
rdobuilder |
17cbbc |
BuildRequires: python3-sphinx
|
|
rdobuilder |
17cbbc |
BuildRequires: python3dist(sphinx-rtd-theme)
|
|
rdobuilder |
17cbbc |
# Test dependencies:
|
|
rdobuilder |
17cbbc |
BuildRequires: python3dist(async-timeout)
|
|
rdobuilder |
17cbbc |
BuildRequires: python3dist(pytest)
|
|
rdobuilder |
17cbbc |
BuildRequires: python3dist(pytest-asyncio)
|
|
rdobuilder |
17cbbc |
BuildRequires: python3dist(pytest-trio)
|
|
rdobuilder |
17cbbc |
BuildRequires: python3dist(testpath)
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
%description
|
|
rdobuilder |
17cbbc |
This is a low-level, pure Python DBus protocol client. It has an I/O-free core,
|
|
rdobuilder |
17cbbc |
and integration modules for different event loops.
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
%package -n python3-%{pypi_name}
|
|
rdobuilder |
17cbbc |
Summary: %{summary}
|
|
rdobuilder |
17cbbc |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
%description -n python3-%{pypi_name}
|
|
rdobuilder |
17cbbc |
This is a low-level, pure Python DBus protocol client. It has an I/O-free core,
|
|
rdobuilder |
17cbbc |
and integration modules for different event loops.
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
%prep
|
|
rdobuilder |
17cbbc |
%autosetup -n %{pypi_name}-%{version}
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
%generate_buildrequires
|
|
rdobuilder |
17cbbc |
%pyproject_buildrequires
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
%build
|
|
rdobuilder |
17cbbc |
%pyproject_wheel
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
make -C docs SPHINXBUILD=sphinx-build-3 html
|
|
rdobuilder |
17cbbc |
rm -rf docs/_build/html/{.buildinfo,_sources}
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
%install
|
|
rdobuilder |
17cbbc |
%pyproject_install
|
|
rdobuilder |
17cbbc |
%pyproject_save_files %pypi_name
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
%check
|
|
rdobuilder |
17cbbc |
%pytest -v
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
%files -n python3-%{pypi_name} -f %pyproject_files
|
|
rdobuilder |
17cbbc |
%license LICENSE
|
|
rdobuilder |
17cbbc |
%doc README.rst examples/ docs/_build/html/
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
%changelog
|
|
rdobuilder |
17cbbc |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> 0.8.0-3
|
|
rdobuilder |
17cbbc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> 0.8.0-2
|
|
rdobuilder |
17cbbc |
- Rebuilt for Python 3.11
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
* Tue Apr 05 2022 Göran Uddeborg <goeran@uddeborg.se> 0.8.0-1
|
|
rdobuilder |
17cbbc |
- Upgrade to 0.8.0 (#1987023)
|
|
rdobuilder |
17cbbc |
- Update SPEC file to current Python packaging guidelines and RPM macros
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> 0.7.1-2
|
|
rdobuilder |
17cbbc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
* Tue Aug 03 2021 Göran Uddeborg <goeran@uddeborg.se> 0.7.1-1
|
|
rdobuilder |
17cbbc |
- Upgrade to 0.7.1 (#1987023)
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
* Tue Aug 03 2021 Göran Uddeborg <goeran@uddeborg.se> 0.7.0-4
|
|
rdobuilder |
17cbbc |
- Activate autorelease
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-2
|
|
rdobuilder |
17cbbc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
* Sun Jul 11 2021 Göran Uddeborg <goeran@uddeborg.se> - 0.7.0-1
|
|
rdobuilder |
17cbbc |
- Upgrade to 0.7.0 (#1981018)
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.6.0-3
|
|
rdobuilder |
17cbbc |
- Rebuilt for Python 3.10
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2
|
|
rdobuilder |
17cbbc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
* Wed Jan 06 2021 Joel Capitao <jcapitao@redhat.com> - 0.6.0-1
|
|
rdobuilder |
17cbbc |
- Update to 0.6.0 (#1899516)
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
* Sun Nov 15 2020 Göran Uddeborg <goeran@uddeborg.se> - 0.5.0-1
|
|
rdobuilder |
17cbbc |
- Upgrade to 0.5.0 (#1896570)
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-3
|
|
rdobuilder |
17cbbc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.4.3-2
|
|
rdobuilder |
17cbbc |
- Rebuilt for Python 3.9
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
* Wed Mar 4 2020 Göran Uddeborg <goeran@uddeborg.se> - 0.4.3-1
|
|
rdobuilder |
17cbbc |
- Upgrade to 0.4.3 (#1809631)
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
* Thu Feb 13 2020 Christopher Tubbs <ctubbsii@fedoraproject.org> - 0.4.2-1
|
|
rdobuilder |
17cbbc |
- Upgrade to 0.4.2
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-2
|
|
rdobuilder |
17cbbc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
* Tue Sep 10 2019 Göran Uddeborg <goeran@uddeborg.se> - 0.4.1-1
|
|
rdobuilder |
17cbbc |
- Upgrade to 0.4.1
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4-4
|
|
rdobuilder |
17cbbc |
- Rebuilt for Python 3.8
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-3
|
|
rdobuilder |
17cbbc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-2
|
|
rdobuilder |
17cbbc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
rdobuilder |
17cbbc |
|
|
rdobuilder |
17cbbc |
* Mon Sep 24 2018 Miro Hrončok <mhroncok@redhat.com> - 0.4-1
|
|
rdobuilder |
17cbbc |
- Initial package
|
|
rdobuilder |
17cbbc |
|