53 lines
1.5 KiB
RPMSpec
53 lines
1.5 KiB
RPMSpec
Name: python-path
|
|
Version: 16.3.0
|
|
Release: 1
|
|
Summary: Python module wrapper for path
|
|
License: MIT
|
|
URL: https://pypi.python.org/pypi/path.py
|
|
Source0: https://files.pythonhosted.org/packages/63/3c/e7aa896607ec85b9eb722f7258c9e648d8d1224bb14ec437fd5421487401/path-16.3.0.tar.gz
|
|
BuildArch: noarch
|
|
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 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-%{version} -p1
|
|
|
|
%build
|
|
%py3_build
|
|
|
|
%check
|
|
/usr/bin/pytest
|
|
|
|
%install
|
|
%py3_install
|
|
|
|
%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
|