Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
95cbcbdb94
!7 Update package to version 22.10.0
From: @jxy_git 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2022-12-15 09:31:37 +00:00
jxy_git
2b3d1718ed Update package to version 22.10.0 2022-12-15 16:56:40 +08:00
openeuler-ci-bot
a7de0af316
!5 Package upgrade
From: @lyn1001 
Reviewed-by: @myeuler 
Signed-off-by: @myeuler
2022-06-14 06:27:58 +00:00
lyn1001
447913d189 Package upgrade 2022-06-13 16:47:54 +08:00
openeuler-ci-bot
18edde46e3
!4 解决python-incremental在master分支编译失败 eorror:file not foud ...... py?.?.egg-info
From: @penelope_y 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2022-03-31 09:14:29 +00:00
penelope
aa5259ac7a fix build error caused by py3.10+ wildcard 2022-03-31 17:03:25 +08:00
openeuler-ci-bot
18954b2922 !3 remove python2 subpackage
From: @lei_ju
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-10-29 18:37:51 +08:00
lei_ju
f187557ece remove python2 subpackage 2020-10-29 10:41:53 +08:00
openeuler-ci-bot
f1a8035ebe !2 python-incremental
Merge pull request !2 from wangef/master
2020-05-09 19:18:54 +08:00
wwx913452
b6ae126af8 added python-incremental.yaml 2020-05-07 11:33:14 +08:00
4 changed files with 66 additions and 34 deletions

Binary file not shown.

BIN
incremental-22.10.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,54 +1,82 @@
Name: python-incremental
Version: 17.5.0
Release: 5
Summary: A small library versions your Python projects
License: MIT
URL: https://github.com/twisted/incremental
Source0: https://files.pythonhosted.org/packages/source/i/incremental/incremental-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python2-devel python2-setuptools python3-devel python3-setuptools
%global _empty_manifest_terminate_build 0
Name: python-incremental
Version: 22.10.0
Release: 1
Summary: A small library versions your Python projects
License: MIT
URL: https://github.com/twisted/incremental
Source0: https://files.pythonhosted.org/packages/86/42/9e87f04fa2cd40e3016f27a4b4572290e95899c6dce317e2cdb580f3ff09/incremental-22.10.0.tar.gz
BuildArch: noarch
%description
Incremental is a small library that versions your Python projects.
%package -n python2-incremental
Summary: A small library versions your Python projects
%python_provide python2-incremental
%description -n python2-incremental
Incremental is a small library that versions your Python projects.
%package -n python3-incremental
Summary: A small library versions your Python projects
%python_provide python3-incremental
%package -n python3-incremental
Summary: A small library versions your Python projects
Provides: python-incremental = %{version}-%{release}
BuildRequires: python3-devel python3-setuptools
%description -n python3-incremental
Incremental is a small library that versions your Python projects.
%package help
Summary: Development documents and examples for incremental
Provides: python3-incremental-doc
%description help
Incremental is a small library that versions your Python projects.
%prep
%autosetup -n incremental-%{version} -p1
rm -rf incremental.egg-info
%autosetup -n incremental-%{version}
%build
%py2_build
%py3_build
%install
%py3_install
%py2_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
pushd %{buildroot}
if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/lib64 ]; then
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/bin ]; then
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/sbin ]; then
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
fi
touch doclist.lst
if [ -d usr/share/man ]; then
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%files -n python2-incremental
%doc LICENSE
%doc README.rst
%{python2_sitelib}/incremental
%{python2_sitelib}/incremental-%{version}-py?.?.egg-info
%files -n python3-incremental -f filelist.lst
%dir %{python3_sitelib}/*
%files -n python3-incremental
%doc LICENSE
%doc README.rst
%{python3_sitelib}/incremental
%{python3_sitelib}/incremental-%{version}-py?.?.egg-info
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Thu Dec 15 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 22.10.0-1
- Update package to version 22.10.0
* Thu Jun 09 2022 SimpleUpdate Robot <tc@openeuler.org> - 21.3.0-1
- Upgrade to version 21.3.0
* Thu Mar 31 2022 yangping <yangping69@huawei.com> - 17.5.0-7
- Fix build error caused by py3.10+ wildcard
* Wed Oct 21 2020 leiju <leiju4@huawei.com> - 17.5.0-6
- remove python2 subpackage
* Fri Feb 21 2020 gulining<gulining1@huawei.com> - 17.5.0-5
- Package init.

4
python-incremental.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: twisted/incremental
tag_prefix: incremental-
seperator: .