Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
80f3d7a0ea
!19 [sync] PR-16: 修复python-py编译失败问题
From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2022-11-03 07:59:58 +00:00
wu-leilei
ff77565fb0 remove documentation from the package
(cherry picked from commit 8393ba9bbbe3f87545098f953abe458060c32d65)
2022-11-02 11:03:36 +08:00
openeuler-ci-bot
be7642c4fc
!18 [sync] PR-10: update version to 1.11.0
From: @openeuler-sync-bot 
Reviewed-by: @licihua 
Signed-off-by: @licihua
2022-10-19 03:27:03 +00:00
shixuantong
0cc383b1db update version to 1.11.0
(cherry picked from commit 68d13615ecef3ead4c921ab0b86aa4cec211786b)
2022-10-19 11:07:29 +08:00
openeuler-ci-bot
a884c77432 !8 [sync] PR-7: update python-py version to 1.10.0
From: @openeuler-sync-bot
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2021-08-20 02:08:27 +00:00
FFrog
6337a60546 update version to 1.10.0
(cherry picked from commit b354ae5786af9e24845e77b6f9c2e43e22f563e8)
2021-08-20 09:20:15 +08:00
openeuler-ci-bot
f5d344a780 !6 回退 'Pull Request !5 : Update python-py to 1.9.0 version'
From: @small_leek
Reviewed-by: @ruebb
Signed-off-by: @ruebb
2020-12-31 15:16:35 +08:00
small_leek
1c3e5142d6 回退 'Pull Request !5 : Update python-py to 1.9.0 version' 2020-12-31 15:11:05 +08:00
openeuler-ci-bot
1958fdfbb8 !5 Update python-py to 1.9.0 version
From: @baizg1107
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-12-09 17:08:30 +08:00
baizg1107
4b3ebf45c2 Update to 1.9.0 2020-12-09 16:22:31 +08:00
3 changed files with 14 additions and 19 deletions

BIN
py-1.11.0.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,18 +1,17 @@
%bcond_with tests
%global with_help 1
%global modname py
%global modnameversion %{modname}-%{version}
%global p2builddir python2tmp
%global p3builddir python3tmp
Name: python-%{modname}
Version: 1.5.4
Release: 5
Version: 1.11.0
Release: 2
Summary: Library with cross-python path, ini-parsing, io, code, log facilities
License: MIT and Public Domain
URL: http://pylib.readthedocs.io/en/stable/
Source: https://files.pythonhosted.org/packages/source/p/%{modname}/%{modnameversion}.tar.gz
Source0: https://files.pythonhosted.org/packages/98/ff/fec109ceb715d2a6b4c4a85a61af3b40c723a961e8828319fbcb15b868dc/py-1.11.0.tar.gz
BuildArch: noarch
%if %{with tests}
@ -34,9 +33,6 @@ following tools and modules:\
%package -n python3-%{modname}
Summary: %{summary}
BuildRequires: python3-devel python3-setuptools python3-setuptools_scm
%if 0%{?with_help}
BuildRequires: %{_bindir}/sphinx-build-3
%endif
%if %{with tests}
BuildRequires: python3-pytest >= 2.9.0, python3-pytest < 2.10
%endif
@ -48,10 +44,7 @@ Obsoletes: platform-python-%{modname} < %{version}-%{release}
%description -n python3-%{modname}
%{_description}
%if 0%{?with_help}
%package_help
%endif
%prep
%autosetup -c -n %{modnameversion}
@ -66,15 +59,11 @@ mv %{modnameversion} %{p3builddir}
%build
pushd %{p3builddir}
%py3_build
%if 0%{?with_help}
make -C doc html PYTHONPATH=$(pwd) SPHINXBUILD=sphinx-build-3
%endif
popd
%install
pushd %{p3builddir}
%py3_install
rm -rf doc/_build/html/.buildinfo
popd
%check
@ -90,15 +79,21 @@ popd
%{python3_sitelib}/py-*.egg-info/
%{python3_sitelib}/py/
%if 0%{?with_help}
%files help
%doc %{p3builddir}/CHANGELOG
%doc %{p3builddir}/CHANGELOG.rst
%doc %{p3builddir}/README.rst
%doc %{p3builddir}/doc/_build/html
%endif
%changelog
* Mon Aug 10 202 zhangjiapeng <zhangjiapeng9@huawei.com> - 1.5.4-5
* Thu Jul 21 2022 wulei <wulei80@h-partners.com> - 1.11.0-2
- Sphinx 4.4.x causes python-py to fail to be compiled, so remove doc from python-py
* Wed Dec 15 2021 shixuantong <shixuantong@huawei.com> - 1.11.0-1
- update version to 1.11.0
* Thu Jul 15 2021 OpenStack_SIG <openstack@openeuler.org> - 1.10.0-1
- Update version to 1.10.0
* Mon Aug 10 2020 zhangjiapeng <zhangjiapeng9@huawei.com> - 1.5.4-5
- Remove python2
* Tue Dec 10 2019 mengxian <mengxian@huawei.com> - 1.5.4-4