python-path/python-path.spec

58 lines
1.6 KiB
RPMSpec
Raw Normal View History

2020-03-04 18:31:57 +08:00
Name: python-path
2022-08-09 16:14:18 +08:00
Version: 16.4.0
2022-07-01 17:56:06 +08:00
Release: 1
2020-03-04 18:31:57 +08:00
Summary: Python module wrapper for path
License: MIT
2022-08-09 16:14:18 +08:00
URL: https://github.com/jaraco/path
Source0: https://files.pythonhosted.org/packages/04/b7/076f0188859b31fcdd9b824cfad63b8ec0c2b354497684f90e486ecb4afa/path-16.4.0.tar.gz
2020-03-04 18:31:57 +08:00
BuildArch: noarch
2022-07-01 17:56:06 +08:00
BuildRequires: python3-devel python3-setuptools python3-pytest python3-setuptools_scm
2022-08-09 16:14:18 +08:00
Patch0: 0001-add-setup-file.patch
2020-03-04 18:31:57 +08:00
%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 python3-path
Summary: Python3 module wrapper for path
2021-09-27 15:52:04 +08:00
%{?python_provide:%python_provide python3-path}
2020-03-04 18:31:57 +08:00
%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
2022-07-01 17:56:06 +08:00
%autosetup -n path-%{version} -p1
2022-08-09 16:14:18 +08:00
%patch0
2020-03-04 18:31:57 +08:00
%build
%py3_build
%check
2022-07-01 17:56:06 +08:00
/usr/bin/pytest
2020-03-04 18:31:57 +08:00
%install
%py3_install
%files -n python3-path
%{python3_sitelib}/*
%changelog
2022-08-09 16:14:18 +08:00
* Tue Aug 09 2022 liqiuyu <liqiuyu@kylinos.cn> - 16.4.0-1
- Update to 16.4.0
2022-07-01 17:56:06 +08:00
* Thu Jun 30 2022 caodongxia <caodongxia@h-partners.com> - 16.3.0-1
- Update to 16.3.0
2021-09-27 15:52:04 +08:00
* Mon Sep 27 2021 lingsheng <lingsheng@huawei.com> - 5.2-18
- Provides python-path for compatibility
2021-01-11 19:17:45 +08:00
* Sat Jan 9 2021 wutao <wutao61@huawei.com> 5.2-17
- fix test failures adpating to pytest
2020-10-29 11:49:25 +08:00
* Wed Oct 21 2020 wangxiao <wangxiao65@huawei.com> - 5.2-16
- drop python2 subpackage
2020-03-04 18:31:57 +08:00
* Wed Mar 4 2020 zhujunhao <zhujunhao5@huawei.com> - 5.2-15
- Package init