Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
71750b262f
!5 Update package to version 4.0
From: @jxy_git 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2023-12-08 09:12:36 +00:00
jxy_git
f886fd0814 Update package to version 4.0 2023-12-08 09:11:35 +08:00
openeuler-ci-bot
2dbadbe9e6
!4 Update to 3.1.1
From: @lyn1001 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-04-26 08:57:19 +00:00
lyn1001
e505e13164 update to 3.1.1 2023-04-26 16:27:08 +08:00
openeuler-ci-bot
52ad6d57db
!3 回退 'Pull Request !2 : Update package'
From: @caodongxia 
Reviewed-by: @cherry530 
Signed-off-by: @cherry530
2023-01-20 02:59:15 +00:00
caodongxia
0640d82615
回退 'Pull Request !2 : Update package' 2023-01-20 02:47:51 +00:00
openeuler-ci-bot
30d8e070ff
!2 Update package
From: @Wangjunqi123 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2022-12-03 08:34:57 +00:00
Wangjunqi123
8bba12145b update version to 3.1.1 2022-12-02 14:52:24 +08:00
openeuler-ci-bot
6d57562ed4 !1 Initialize Package
Merge pull request !1 from GuanYL/master
2020-07-19 23:47:13 +08:00
BruceGW
e683f063d2 init package 2020-07-18 10:39:15 +08:00
2 changed files with 72 additions and 0 deletions

BIN
atpublic-4.0.tar.gz Normal file

Binary file not shown.

72
python-atpublic.spec Normal file
View 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