Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
4d1fcf8719
!8 Upgrade version to 1.8.1
From: @cherry530 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2024-03-06 01:35:43 +00:00
cherry530
5e75644bdf Upgrade version to 1.8.1
Signed-off-by: cherry530 <707078654@qq.com>
2024-03-05 17:16:45 +08:00
openeuler-ci-bot
4b474b024e
!7 Upgrade package to 1.4.0 version
From: @cherry530 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-04-27 09:03:54 +00:00
cherry530
29d0fa271c Upgrade to 1.4.0
Signed-off-by: cherry530 <707078654@qq.com>
2023-04-27 10:14:07 +08:00
openeuler-ci-bot
458a79d450
!5 updata package
From: @wenzhiwei11 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2022-08-08 08:57:31 +00:00
wenzhiwei11
62d085881b update to 1.3.2 2022-08-05 11:25:09 +08:00
openeuler-ci-bot
cda019884a
!3 [sync] PR-2: fix install require
From: @openeuler-sync-bot 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2022-07-25 07:20:51 +00:00
zhangy1317
6afa937c05 fix install require
(cherry picked from commit a234ad8a27948e0739b6f10704578ebf6febeccd)
2022-07-25 10:52:36 +08:00
openeuler-ci-bot
98f4a644cc !1 python-xmod:Add source packages and spec file
From: @zhangy1317
Reviewed-by: @shinwell_hu
Signed-off-by: @shinwell_hu
2021-01-07 16:53:35 +08:00
zhangy1317
a8d670111c add spec and tar file 2020-12-31 11:31:07 +08:00
2 changed files with 69 additions and 0 deletions

69
python-xmod.spec Normal file
View File

@ -0,0 +1,69 @@
%global _empty_manifest_terminate_build 0
Name: python-xmod
Version: 1.8.1
Release: 1
Summary: Create and recursively fill a temporary directory
License: MIT
URL: https://github.com/rec/xmod
Source0: https://files.pythonhosted.org/packages/source/x/xmod/xmod-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-pip python3-hatchling python3-hatch-vcs python3-wheel
BuildRequires: python3-poetry-core
%description
``xmod`` is a tiny library that extends a module to do things that normally
only a class could do - handy for modules that "just do one thing".
%package -n python3-xmod
Summary: Create and recursively fill a temporary directory
Provides: python-xmod
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%description -n python3-xmod
``xmod`` is a tiny library that extends a module to do things that normally
only a class could do - handy for modules that "just do one thing".
%package help
Summary: Development documents and examples for xmod
Provides: python3-xmod-doc
%description help
``xmod`` is a tiny library that extends a module to do things that normally
only a class could do - handy for modules that "just do one thing".
%prep
%autosetup -n xmod-%{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
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
%files -n python3-xmod
%{python3_sitelib}/xmod*
%files help
%{_docdir}/*
%changelog
* Tue Mar 05 2024 xu_ping <707078654@qq.com> - 1.8.1-1
- Update to 1.8.1
* Tue Apr 25 2023 xu_ping <707078654@qq.com> - 1.4.0-1
- Update to 1.4.0
* Fri Aug 5 2022 wenzhiwei <wenzhiwei@kylinos.cn> - 1.3.2-1
- Update to 1.3.2
* Tue Mar 1 2022 zhangy <zhangy1317@foxmai.com>
- Fix install require
* Thu Dec 31 2020 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated

BIN
xmod-1.8.1.tar.gz Normal file

Binary file not shown.