Compare commits

...

No commits in common. 'i10fe' and 'epel9' have entirely different histories.
i10fe ... epel9

22
.gitignore vendored

@ -1 +1,21 @@
SOURCES/click-8.1.7.tar.gz
/click-1.1.tar.gz
/click-1.1-tests.tgz
/click-2.0.tar.gz
/click-2.0-tests.tgz
/click-2.2.tar.gz
/click-2.4.tar.gz
/click-3.1.tar.gz
/click-3.2.tar.gz
/click-3.3.tar.gz
/click-4.0.tar.gz
/click-4.1.tar.gz
/click-5.1.tar.gz
/click-6.2.tar.gz
/click-6.3.tar.gz
/click-6.6.tar.gz
/click-6.7.tar.gz
/click-7.0.tar.gz
/click-7.1.1.tar.gz
/click-7.1.2.tar.gz
/click-8.0.1.tar.gz
/click-8.0.3.tar.gz

@ -1 +0,0 @@
99cbcac9ae3e71f5f656d4a57d0e26235561045c SOURCES/click-8.1.7.tar.gz

@ -1,16 +1,14 @@
%bcond tests 1
%global pypi_name click
Name: python-click
Version: 8.1.7
Release: 6%{?dist}
Name: python-%{pypi_name}
Version: 8.0.3
Release: 1%{?dist}
Summary: Simple wrapper around optparse for powerful command line utilities
License: BSD-3-Clause
URL: https://github.com/pallets/click
Source0: %{url}/archive/%{version}/click-%{version}.tar.gz
License: BSD
URL: https://github.com/mitsuhiko/click
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python%{python3_pkgversion}-devel
%global _description \
click is a Python package for creating beautiful command line\
@ -20,102 +18,37 @@ comes with good defaults out of the box.
%description %{_description}
%package -n python%{python3_pkgversion}-click
%package -n python%{python3_pkgversion}-%{pypi_name}
Summary: %{summary}
%description -n python%{python3_pkgversion}-click %{_description}
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: pyproject-rpm-macros
%description -n python%{python3_pkgversion}-%{pypi_name} %{_description}
%prep
%autosetup -n click-%{version} -p1
%autosetup -n %{pypi_name}-%{version} -p1
# Use test dependencies without version locks
sed -i 's|requirements/tests.txt|requirements/tests.in|' tox.ini
%generate_buildrequires
%pyproject_buildrequires %{?with_tests:requirements/tests.in}
%pyproject_buildrequires -t
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files click
%pyproject_save_files %{pypi_name}
%check
%pyproject_check_import
%if %{with tests}
%pytest
%endif
%tox
%files -n python%{python3_pkgversion}-click -f %pyproject_files
%files -n python%{python3_pkgversion}-%{pypi_name} -f %pyproject_files
%license LICENSE.rst
%doc README.rst CHANGES.rst
%changelog
* Thu Dec 26 2024 Dmitriy Samoylik <samoylikdv@msvsphere-os.ru> - 8.1.7-6
- Rebuilt for MSVSphere 10
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 8.1.7-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 8.1.7-5
- Rebuilt for Python 3.13
* Wed Jan 31 2023 Maxwell G <maxwell@gtmx.me> - 8.1.7-4
- Add test bcond to make click easier to bootstrap
- Use pytest directly instead of pulling in tox
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 8.1.7-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 8.1.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Aug 23 2023 Charalampos Stratakis <cstratak@redhat.com> - 8.1.7-1
- Update to 8.1.7
Resolves: rhbz#2220975
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 8.1.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 8.1.3-4
- Rebuilt for Python 3.12
* Wed Apr 12 2023 Miro Hrončok <mhroncok@redhat.com> - 8.1.3-3
- Fix test failures with pytest 7.3.0
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 8.1.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Aug 06 2022 Charalampos Stratakis <cstratak@redhat.com> - 8.1.3-1
- Update to 8.1.3
Resolves: rhbz#2080026
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 8.1.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 8.1.2-2
- Rebuilt for Python 3.11
* Tue Apr 05 2022 Charalampos Stratakis <cstratak@redhat.com> - 8.1.2-1
- Update to 8.1.2
Resolves: rhbz#2069360
* Wed Mar 02 2022 Charalampos Stratakis <cstratak@redhat.com> - 8.0.4-2
- Unpin pytest version
* Thu Feb 24 2022 Charalampos Stratakis <cstratak@redhat.com> - 8.0.4-1
- Update to 8.0.4
Resolves: rhbz#2056119
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Nov 05 2021 Karolina Surma <ksurma@redhat.com> - 8.0.3-1
- Update to 8.0.3
Resolves: rhbz#2012353

@ -0,0 +1 @@
SHA512 (click-8.0.3.tar.gz) = 73d29b73d5f90132282753fa1b53f42a690ebf713e8e4f2e3ff3c8820ef71ed82c5165bf61563341170a263c4202adb5690540fdeb6501fb9d81d2db06a5e89e
Loading…
Cancel
Save