Compare commits
10 Commits
a64ded2242
...
71750b262f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
71750b262f | ||
|
|
f886fd0814 | ||
|
|
2dbadbe9e6 | ||
|
|
e505e13164 | ||
|
|
52ad6d57db | ||
|
|
0640d82615 | ||
|
|
30d8e070ff | ||
|
|
8bba12145b | ||
|
|
6d57562ed4 | ||
|
|
e683f063d2 |
BIN
atpublic-4.0.tar.gz
Normal file
BIN
atpublic-4.0.tar.gz
Normal file
Binary file not shown.
72
python-atpublic.spec
Normal file
72
python-atpublic.spec
Normal file
@ -0,0 +1,72 @@
|
||||
%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 <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
|
||||
Loading…
x
Reference in New Issue
Block a user