You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
156 lines
4.9 KiB
156 lines
4.9 KiB
%global debug_package %{nil}
|
|
%global _description \
|
|
This is a very simple decorator and function which populates a \
|
|
module's __all__ and optionally the module globals. \
|
|
This provides both a pure-Python implementation and a C implementation. \
|
|
It is proposed that the C implementation be added to built-ins for \
|
|
Python 3.6.
|
|
|
|
|
|
Name: python-atpublic
|
|
Version: 4.1.0
|
|
Release: 3%{?dist}
|
|
Summary: Decorator for populating a Python module's __all__
|
|
|
|
License: Apache-2.0
|
|
URL: https://gitlab.com/warsaw/public
|
|
Source: %pypi_source atpublic
|
|
|
|
Patch: disable_cov.patch
|
|
|
|
BuildRequires: gcc
|
|
BuildRequires: python3-devel
|
|
# for tests
|
|
BuildRequires: python3-pytest
|
|
BuildRequires: python3-sybil
|
|
|
|
%description %{_description}
|
|
|
|
|
|
%package -n python3-atpublic
|
|
Summary: %{summary}
|
|
Requires: python3-setuptools
|
|
|
|
%description -n python3-atpublic %{_description}
|
|
|
|
|
|
%prep
|
|
%autosetup -n atpublic-%{version}
|
|
|
|
|
|
%generate_buildrequires
|
|
%pyproject_buildrequires
|
|
|
|
|
|
%build
|
|
export ATPUBLIC_BUILD_EXTENSION=1
|
|
%pyproject_wheel
|
|
|
|
|
|
%install
|
|
export ATPUBLIC_BUILD_EXTENSION=1
|
|
%pyproject_install
|
|
%pyproject_save_files public
|
|
|
|
|
|
%check
|
|
%pytest
|
|
|
|
|
|
%files -n python3-atpublic -f %{pyproject_files}
|
|
%license LICENSE
|
|
%doc README.rst docs/
|
|
|
|
|
|
%changelog
|
|
* Wed Jan 01 2025 Arkady L. Shane <tigro@msvsphere-os.ru> - 4.1.0-3
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 4.1.0-2
|
|
- Rebuilt for Python 3.13
|
|
|
|
* Fri Apr 05 2024 Tomáš Hrnčiar <thrnciar@redhat.com> - 4.1.0-1
|
|
- Update to 4.1.0
|
|
- Fixes: rhbz#2211562
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 3.1.1-3
|
|
- Rebuilt for Python 3.12
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
* Fri Oct 28 2022 Jonathan Wright <jonathan@almalinux.org> - 3.1.1-1
|
|
- Update to 3.1.1 rhbz#1861230
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-11
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.0-10
|
|
- Rebuilt for Python 3.11
|
|
|
|
* Wed Mar 30 2022 Aurélien Bompard <abompard@fedoraproject.org> - 1.0-9
|
|
- rebuilt
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-8
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.0-6
|
|
- Rebuilt for Python 3.10
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.0-3
|
|
- Rebuilt for Python 3.9
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
* Mon Sep 30 2019 Aurelien Bompard <abompard@fedoraproject.org> - 1.0-1
|
|
- Version 1.0
|
|
|
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.5-9
|
|
- Rebuilt for Python 3.8
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-8
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.5-5
|
|
- Rebuilt for Python 3.7
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
* Mon Dec 05 2016 Aurelien Bompard <abompard@fedoraproject.org> - 0.4-1
|
|
- Initial package.
|