python-jaraco-functools/python-jaraco-functools.spec

88 lines
2.8 KiB
RPMSpec
Raw Permalink Normal View History

2020-12-14 17:17:25 +08:00
%global _empty_manifest_terminate_build 0
2020-12-24 16:50:49 +08:00
Name: python-jaraco-functools
2024-02-21 15:49:13 +08:00
Version: 4.0.0
2023-07-04 20:34:13 +08:00
Release: 1
2020-12-24 16:50:49 +08:00
Summary: Functools like those found in stdlib
License: MIT
URL: https://pypi.org/project/jaraco.functools/
2024-02-21 15:49:13 +08:00
Source0: https://files.pythonhosted.org/packages/57/7c/fe770e264913f9a49ddb9387cca2757b8d7d26f06735c1bfbb018912afce/jaraco.functools-4.0.0.tar.gz
2020-12-24 16:50:49 +08:00
BuildArch: noarch
2020-12-14 17:17:25 +08:00
2020-12-24 16:50:49 +08:00
Requires: python3-more-itertools
Requires: python3-sphinx
Requires: python3-pytest
Requires: python3-pytest-checkdocs
Requires: python3-pytest-flake8
Requires: python3-pytest-black
Requires: python3-pytest-cov
Requires: python3-toml
2020-12-14 17:17:25 +08:00
%description
Functools like those found in stdlib
%package -n python3-jaraco-functools
2020-12-24 16:50:49 +08:00
Summary: Functools like those found in stdlib
2022-12-01 16:15:28 +08:00
Provides: python-jaraco-functools = %{version}-%{release}
2020-12-24 16:50:49 +08:00
BuildRequires: python3-devel
2023-04-28 10:52:11 +08:00
BuildRequires: python3-pip python3-wheel python3-flit
2020-12-24 16:50:49 +08:00
BuildRequires: python3-setuptools_scm
BuildRequires: python3-toml
2020-12-14 17:17:25 +08:00
%description -n python3-jaraco-functools
Functools like those found in stdlib
%package help
2020-12-24 16:50:49 +08:00
Summary: Development documents and examples for jaraco.functools
Provides: python3-jaraco-functools-doc
2020-12-14 17:17:25 +08:00
%description help
Documentation for jaraco-functools
%prep
%autosetup -n jaraco.functools-%{version} -p1
2020-12-14 17:17:25 +08:00
%build
2023-04-28 10:52:11 +08:00
%pyproject_build
2020-12-14 17:17:25 +08:00
%install
2024-02-21 15:49:13 +08:00
%pyproject_install
2020-12-14 17:17:25 +08:00
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
2023-04-28 10:52:11 +08:00
%files -n python3-jaraco-functools
%{python3_sitelib}/*
%files help
2020-12-14 17:17:25 +08:00
%{_docdir}/*
%changelog
2024-02-21 15:49:13 +08:00
* Wed Feb 21 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 4.0.0-1
- Update package to version 4.0.0
2023-07-04 20:34:13 +08:00
* Tue Jul 04 2023 chenzixuan <chenzixuan@kylinos.cn> - 3.8.0-1
- Update package to version 3.8.0
2023-04-28 10:52:11 +08:00
* Fri Apr 28 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 3.6.0-2
- Use pyproject to compile package
2023-03-30 10:30:45 +08:00
* Thu Mar 30 2023 wubijie <wubijie@kylinos.cn> - 3.6.0-1
- Update package to version 3.6.0
* Mon Feb 27 2023 yaoxin <yaoxin30@h-partners.com> - 3.5.2-3
- Fix installation conflicts between python3-jaraco-functools and python3-tempora
* Fri Feb 24 2023 yaoxin <yaoxin30@h-partners.com> - 3.5.2-2
- Fix installation conflicts between python3-jaraco-functools and python3-importlib-metadata
2022-12-01 16:15:28 +08:00
* Thu Dec 01 2022 liqiuyu <liqiuyu@kylinos.cn> - 3.5.2-1
- Update package to version 3.5.2
2022-04-02 16:20:00 +08:00
* Sat Apr 02 2022 xigaoxinyan <xigaoxinyan@huawei.com> - 3.0.1-3
- Fix build error caused by py3.10+ wildcard
2020-12-24 16:50:49 +08:00
* Thu Dec 24 2020 zhanghua <zhanghua40@huawei.com> - 3.0.1-2
- fix random build failed
* Fri Nov 13 2020 Python_Bot <Python_Bot@openeuler.org> - 3.0.1-1
2020-12-14 17:17:25 +08:00
- Package Spec generated