Compare commits

..

17 commits

Author SHA1 Message Date
Python Maint
183df03650 Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 12:47:38 +02:00
Python Maint
69be73e0ca Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 13:16:38 +02:00
Fedora Release Engineering
4790142864 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 06:46:30 +00:00
Python Maint
9c88a066ee Rebuilt for Python 3.14 2025-06-03 08:20:08 +02:00
Fedora Release Engineering
6bae6dce5f Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-18 12:05:19 +00:00
Miroslav Suchý
2fff915a50 convert ASL 2.0 license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-07-24 17:01:53 +02:00
Fedora Release Engineering
f87413066c Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 09:39:27 +00:00
Python Maint
4fa67ddf95 Rebuilt for Python 3.13 2024-06-07 23:23:33 +02:00
Fedora Release Engineering
d737deed68 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 01:29:32 +00:00
Fedora Release Engineering
0057a4e4a1 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 23:29:13 +00:00
Zane Bitter
917c3d7a38 Depend on fixtures[streams] directly
Now that the streams extra has been added to python-fixtures (in
4.0.1-6.fc40), we can use the correct dependencies from upstream and not
have to specify the transitive dependencies ourselves.
2023-10-25 11:40:55 +13:00
Zane Bitter
5ee5fb0562 Update to version 0.5.2 from upstream
Fix integration tests with less v633 and make them reliable again.
2023-10-16 23:38:49 +13:00
Fedora Release Engineering
6feb4b2444 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 07:30:52 +00:00
Python Maint
dee0ec0b1e Rebuilt for Python 3.12 2023-07-03 20:45:26 +02:00
Karolina Surma
e1a1ea3f16 Don't require linters for Fedora build
Usage of the linters is discouraged when packaging downstream.
Source: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
2023-07-03 20:44:01 +02:00
Karolina Surma
fb8eb73c8b Skip test_end_to_end - they fail with newer less in Fedora 2023-07-03 20:44:01 +02:00
Karolina Surma
1042580696 Add the missing depedency on python-testtools 2023-07-03 20:08:22 +02:00
3 changed files with 79 additions and 43 deletions

View file

@ -1,29 +0,0 @@
From 5cb057af95db1f7a00f6b393401b1ca4f6a2cd14 Mon Sep 17 00:00:00 2001
From: Zane Bitter <zbitter@redhat.com>
Date: Mon, 16 Oct 2023 23:07:52 +1300
Subject: [PATCH] Do not depend on fixtures[streams]
The streams extra is not yet packaged in Fedora, so we can't depend on
it. Instead, depend on testtools directly.
---
tox.ini | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tox.ini b/tox.ini
index 8e54cba..3b2ed0a 100644
--- a/tox.ini
+++ b/tox.ini
@@ -6,9 +6,8 @@ isolated_build = true
deps =
pytest
fixtures
- fixtures[streams]
pip>=19;python_version<'3.7'
- testtools;python_version<'3.7'
+ testtools
commands =
pytest
--
2.41.0

View file

@ -17,17 +17,14 @@
Name: python-%{srcname}
Version: 0.5.2
Release: 1%{?dist}
Release: 12%{?dist}
Summary: A Python library to provide automatic paging for console output
License: ASL 2.0
# Automatically converted from old format: ASL 2.0 - review is highly recommended.
License: Apache-2.0
URL: https://pypi.python.org/pypi/autopage
Source0: %{pypi_source}
Source1: setup.py
# autopage should ideally require fixtures[streams], but we don't have that
# packaged in Fedora yet.
Patch1: 0001-Do-not-depend-on-fixtures-streams.patch
BuildArch: noarch
%global _description %{expand:
@ -44,10 +41,7 @@ BuildRequires: pyproject-rpm-macros
%else
%if %{with enable_tests}
BuildRequires: %{py3_dist fixtures}
# autopage should ideally require fixtures[streams], but we don't have that
# packaged in Fedora yet. Once that is available, we can depend on only that
# instead of testtools.
BuildRequires: %{py3_dist testtools}
BuildRequires: %{py3_dist fixtures[streams]}
%endif
%endif
@ -98,9 +92,81 @@ cp %{SOURCE1} ./
%doc README.md
%changelog
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 0.5.2-12
- Rebuilt for Python 3.14.0rc3 bytecode
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 0.5.2-11
- Rebuilt for Python 3.14.0rc2 bytecode
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 0.5.2-9
- Rebuilt for Python 3.14
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Wed Jul 24 2024 Miroslav Suchý <msuchy@redhat.com> - 0.5.2-7
- convert license to SPDX
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 0.5.2-5
- Rebuilt for Python 3.13
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Oct 25 2023 Zane Bitter <zaneb@fedoraproject.org> 0.5.2-2
- Depend on fixtures[streams] directly
* Mon Oct 16 2023 Zane Bitter <zaneb@fedoraproject.org> 0.5.2-1
- Fix tests with less v633
- Fix test reliability
* Wed May 24 2023 Zane Bitter <zaneb@fedoraproject.org> 0.5.1-1
- Initial build for EPEL 9
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon Jul 03 2023 Python Maint <python-maint@redhat.com> - 0.5.1-6
- Rebuilt for Python 3.12
* Mon Jul 03 2023 Karolina Surma <ksurma@redhat.com> - 0.5.1-5
- Add the missing test dependency on python-testtools
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jun 15 2022 Python Maint <python-maint@redhat.com> - 0.5.1-2
- Rebuilt for Python 3.11
* Fri May 27 2022 Zane Bitter <zaneb@fedoraproject.org> 0.5.1-1
- Update to v0.5.1 to fix test reliability
* Fri Jan 21 2022 Zane Bitter <zaneb@fedoraproject.org> 0.5.0-1
- Update to v0.5.0
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Oct 27 2021 Zane Bitter <zaneb@fedoraproject.org> 0.4.0-2
- Update specfile to build for more distros
* Mon Jul 12 2021 Zane Bitter <zaneb@fedoraproject.org> 0.4.0-1
- Update to v0.4.0
* Fri Jun 25 2021 Zane Bitter <zaneb@fedoraproject.org> 0.3.1-1
- Update to v0.3.1 for easier packaging
* Fri Jun 25 2021 Zane Bitter <zaneb@fedoraproject.org> 0.3.0-2
- Support building for EPEL
* Fri Jun 18 2021 Zane Bitter <zaneb@fedoraproject.org> 0.3.0-1
- Initial build

View file

@ -1,4 +1,3 @@
from setuptools import setup
if __name__ == '__main__':
setup(install_requires=["setuptools>=30.3.0"])
setup(install_requires=["setuptools>=30.3.0"])