Compare commits

..

No commits in common. "c9-beta" and "c10s" have entirely different histories.

6 changed files with 62 additions and 72 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/prompt_toolkit-3.0.38.tar.gz
prompt_toolkit-*.tar.gz

View File

@ -1 +0,0 @@
a45022d4b1b3bd827cb2e094de7ce40cc7b05337 SOURCES/prompt_toolkit-3.0.38.tar.gz

View File

@ -1,72 +1,3 @@
%global common_description %{expand:
prompt_toolkit is a library for building powerful interactive command line
applications in Python.}
Name: python-prompt-toolkit
Version: 3.0.38
Release: 4%{?dist}
Summary: Library for building powerful interactive command line applications in Python
License: BSD-3-Clause
URL: https://github.com/prompt-toolkit/python-prompt-toolkit
Source: %{pypi_source prompt_toolkit}
BuildArch: noarch
%description %{common_description}
%package -n python3-prompt-toolkit
Summary: %{summary}
BuildRequires: python3-devel
BuildRequires: python3-pytest
# https://github.com/jonathanslenders/python-prompt-toolkit/issues/94
Recommends: python3-pygments
%description -n python3-prompt-toolkit %{common_description}
%prep
%autosetup -n prompt_toolkit-%{version}
%generate_buildrequires
%pyproject_buildrequires
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files prompt_toolkit
%check
%pytest
%files -n python3-prompt-toolkit -f %{pyproject_files}
%doc README.rst AUTHORS.rst CHANGELOG
%changelog
* Tue Jan 30 2024 Major Hayden <major@mhtx.net> - 3.0.38-4
- Bump revision after adding gating.yaml
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.38-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 3.0.38-2
- Rebuilt for Python 3.12
* Wed Mar 01 2023 Carl George <carl@george.computer> - 3.0.38-1
- Update to 3.0.38, resolves rhbz#2173899
* Sun Feb 26 2023 Carl George <carl@george.computer> - 3.0.37-1
- Update to 3.0.37, resolves rhbz#2172242
* Sat Feb 18 2023 Carl George <carl@george.computer> - 3.0.36^1.5eb6efd-1
- Update to upstream snapshot for Python 3.12 compatibility, resolves rhbz#2165570
@ -215,4 +146,3 @@ Recommends: python3-pygments
* Tue Dec 29 2015 Fabio Alessandro Locati <fale@fedoraproject.org> - 0.54-1
- Initial package.

5
gating.yaml Normal file
View File

@ -0,0 +1,5 @@
--- !Policy
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -0,0 +1,55 @@
%global common_description %{expand:
prompt_toolkit is a library for building powerful interactive command line
applications in Python.}
Name: python-prompt-toolkit
Version: 3.0.41
Release: %autorelease
Summary: Library for building powerful interactive command line applications in Python
License: BSD-3-Clause
URL: https://github.com/prompt-toolkit/python-prompt-toolkit
Source: %{pypi_source prompt_toolkit}
BuildArch: noarch
%description %{common_description}
%package -n python3-prompt-toolkit
Summary: %{summary}
BuildRequires: python3-devel
BuildRequires: python3-pytest
# https://github.com/jonathanslenders/python-prompt-toolkit/issues/94
Recommends: python3-pygments
%description -n python3-prompt-toolkit %{common_description}
%prep
%autosetup -n prompt_toolkit-%{version}
%generate_buildrequires
%pyproject_buildrequires
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files prompt_toolkit
%check
%pytest
%files -n python3-prompt-toolkit -f %{pyproject_files}
%doc README.rst AUTHORS.rst CHANGELOG
%changelog
%autochangelog

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (prompt_toolkit-3.0.41.tar.gz) = ac8782b06275df01b32ccfaf6055b3b1bf4ff4aecfa76599b143025d79a7459f2722c659363d288361953105ef617337de1c5a71b693f7c28716d0c3df0e2c75