%global _empty_manifest_terminate_build 0 Name: python-atpublic Version: 4.0 Release: 1 Summary: public -- @public for populating __all__ License: Apache 2.0 URL: http://public.readthedocs.io/ Source0: https://files.pythonhosted.org/packages/4f/c8/22e1e6e2fe2cbe7a789a30d6288db3c1dbdbbe06af0d61277a97e4960b9e/atpublic-4.0.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-pdm-pep517 BuildRequires: python3-pdm-backend %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 builtins_ for Python 3.6. %package -n python3-atpublic Summary: public -- @public for populating __all__ Provides: python-atpublic = %{version}-%{release} BuildRequires: python3-devel BuildRequires: python3-setuptools %description -n python3-atpublic 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 builtins_ for Python 3.6. %package help Summary: Development documents and examples for atpublic Provides: python3-atpublic-doc %description help 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 builtins_ for Python 3.6. %prep %autosetup -n atpublic-%{version} %build %pyproject_build %install %pyproject_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi %files -n python3-atpublic %{python3_sitelib}/* %files help %{_docdir}/* %changelog * Thu Dec 07 2023 jiangxinyu - 4.0-1 - Update package to version 4.0 * Wed Apr 26 2023 liyanan - 3.1.1-1 - Update to 3.1.1 * Sat Jul 18 2020 Python_Bot - 1.0-1 - Package Spec generated