Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
a14b88ecb9
!15 [sync] PR-13: Package upgrade
From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2022-10-24 01:12:05 +00:00
caodongxia
9e3c07ea1f Package upgrade
(cherry picked from commit f53cd1f57d6554870c9de11c1b6223964159c1f3)
2022-10-21 19:32:31 +08:00
openeuler-ci-bot
91aa0936e7 !9 [sync] PR-7: Provides python-path for compatibility
From: @openeuler-sync-bot
Reviewed-by: @myeuler
Signed-off-by: @myeuler
2021-10-30 06:52:11 +00:00
lingsheng
d3e3eaeccc Provides python-path for compatibility
(cherry picked from commit 6a2a17413975e87aeab4e169dbe0e1efcadedc3c)
2021-10-28 18:35:19 +08:00
openeuler-ci-bot
56cedb83a6 !4 fix test error
From: @jackie_wu123
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2021-01-12 10:02:01 +08:00
jackie_wu
6fb8610979 fix test error 2021-01-11 19:17:45 +08:00
openeuler-ci-bot
d73a774c01 !3 drop python2 subpackage
From: @wangxiao65
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-10-30 10:14:10 +08:00
wangxiao65
a7c755b38b drop python2 subpackage 2020-10-29 11:49:25 +08:00
openeuler-ci-bot
30e136a6cb !2 python-path
Merge pull request !2 from wangef/master
2020-05-19 14:14:25 +08:00
wwx913452
ff3e7e133b added python-path.yaml 2020-05-07 15:17:49 +08:00
4 changed files with 23 additions and 24 deletions

BIN
path-16.3.0.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,57 +1,52 @@
Name: python-path
Version: 5.2
Release: 15
Version: 16.3.0
Release: 1
Summary: Python module wrapper for path
License: MIT
URL: https://pypi.python.org/pypi/path.py
Source0: https://pypi.python.org/packages/source/p/path.py/path.py-%{version}.zip
Source0: https://files.pythonhosted.org/packages/63/3c/e7aa896607ec85b9eb722f7258c9e648d8d1224bb14ec437fd5421487401/path-16.3.0.tar.gz
BuildArch: noarch
BuildRequires: python2-devel pytest python3-devel python3-setuptools python3-pytest
BuildRequires: python3-devel python3-setuptools python3-pytest python3-setuptools_scm
%description
This package implements path objects as first-class entities,
allowing common operations on files to be invoked on those path objects directly.
%package -n python2-path
Summary: Python2 module wrapper for path
%{?python_provide:%python_provide python2-path}
%description -n python2-path
This package implements a path objects as first-class entities,
allowing common operations on files to be invoked on those path objects directly.
%package -n python3-path
Summary: Python3 module wrapper for path
%{?python_provide:%python_provide python3-path}
%description -n python3-path
This package implements a path objects as first-class entities,
allowing common operations on files to be invoked on those path objects directly.
%prep
%autosetup -n path.py-%{version}
%autosetup -n path-%{version} -p1
%build
%py3_build
%py2_build
%check
cd build/lib
LC_ALL=en_US.UTF-8 py.test-2 -v
LC_ALL=en_US.UTF-8 %{_bindir}/py.test-%{python3_version} -v
cd -
/usr/bin/pytest
%install
%py3_install
%py2_install
%files -n python2-path
%doc CHANGES.rst README.rst
%{python2_sitelib}/*
%files -n python3-path
%{python3_sitelib}/*
%changelog
* Thu Jun 30 2022 caodongxia <caodongxia@h-partners.com> - 16.3.0-1
- Update to 16.3.0
* Mon Sep 27 2021 lingsheng <lingsheng@huawei.com> - 5.2-18
- Provides python-path for compatibility
* Sat Jan 9 2021 wutao <wutao61@huawei.com> 5.2-17
- fix test failures adpating to pytest
* Wed Oct 21 2020 wangxiao <wangxiao65@huawei.com> - 5.2-16
- drop python2 subpackage
* Wed Mar 4 2020 zhujunhao <zhujunhao5@huawei.com> - 5.2-15
- Package init

4
python-path.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: pypi
src_repo: path.py
tag_prefix: ^v
seperator: .