Projects
Eulaceura:Factory
python-atpublic
_service:obs_scm:python-atpublic.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:python-atpublic.spec of Package python-atpublic
%global _empty_manifest_terminate_build 0 Name: python-atpublic Version: 5.0 Release: 1 Summary: public -- @public for populating __all__ License: Apache-2.0 URL: http://public.readthedocs.io/ Source0: https://files.pythonhosted.org/packages/source/a/atpublic/atpublic-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-pdm-pep517 BuildRequires: python3-pdm-backend BuildRequires: python3-hatchling %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} -p1 %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 * Fri Aug 30 2024 yaoxin <yao_xin001@hoperun.com> - 5.0-1 - Update to 5.0: * @public is now properly type annotated. * Adopt hatch test and hatch fmt commands. * @public and @private now raise TypeError instead of ValueError if __all__ is not a concrete list object. * Other minor coding improvements identified by ruff. * Switch to Trusted Publishing for publishing new versions to PyPI. * Add support for Python 3.12. * Switch to hatch, replacing pdm and tox. * Thu Dec 07 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 4.0-1 - Update package to version 4.0 * Wed Apr 26 2023 liyanan <thistleslyn@163.com> - 3.1.1-1 - Update to 3.1.1 * Sat Jul 18 2020 Python_Bot <Python_Bot@openeuler.org> - 1.0-1 - Package Spec generated
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2