2020-12-14 17:16:00 +08:00
|
|
|
%global _empty_manifest_terminate_build 0
|
|
|
|
|
Name: python-jaraco-classes
|
2023-08-01 11:11:37 +08:00
|
|
|
Version: 3.3.0
|
|
|
|
|
Release: 1
|
2020-12-14 17:16:00 +08:00
|
|
|
Summary: Utility functions for Python class constructs
|
2022-10-08 15:41:11 +08:00
|
|
|
License: MIT
|
|
|
|
|
URL: https://github.com/jaraco/jaraco.classes
|
2023-08-01 11:11:37 +08:00
|
|
|
Source0: https://files.pythonhosted.org/packages/8b/de/d0a466824ce8b53c474bb29344e6d6113023eb2c3793d1c58c0908588bfa/jaraco.classes-3.3.0.tar.gz
|
2023-04-25 20:48:41 +08:00
|
|
|
|
2020-12-14 17:16:00 +08:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
2022-10-08 15:41:11 +08:00
|
|
|
Recommends: %{name}-help = %{version}-%{release}
|
2022-05-31 17:55:07 +08:00
|
|
|
|
2023-04-25 20:48:41 +08:00
|
|
|
BuildRequires: python3-pip
|
|
|
|
|
BuildRequires: python3-hatchling
|
|
|
|
|
BuildRequires: python3-hatch-vcs
|
|
|
|
|
BuildRequires: python3-wheel
|
2020-12-14 17:16:00 +08:00
|
|
|
Requires: python3-more-itertools
|
|
|
|
|
Requires: python3-sphinx
|
|
|
|
|
Requires: python3-pytest
|
|
|
|
|
Requires: python3-pytest-checkdocs
|
2022-10-08 15:41:11 +08:00
|
|
|
Requires: python3-flake8
|
2020-12-14 17:16:00 +08:00
|
|
|
Requires: python3-pytest-flake8
|
|
|
|
|
Requires: python3-pytest-cov
|
2022-10-08 15:41:11 +08:00
|
|
|
Requires: python3-pytest-enabler
|
|
|
|
|
Requires: python3-pytest-black
|
|
|
|
|
Requires: python3-pytest-mypy
|
2020-12-14 17:16:00 +08:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Utility functions for Python class constructs.
|
|
|
|
|
|
|
|
|
|
%package -n python3-jaraco-classes
|
|
|
|
|
Summary: Utility functions for Python class constructs
|
|
|
|
|
Provides: python-jaraco-classes
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-setuptools
|
2021-01-05 11:18:43 +08:00
|
|
|
BuildRequires: python3-setuptools_scm >= 1.15
|
2022-10-08 15:41:11 +08:00
|
|
|
BuildRequires: python3-sphinx
|
|
|
|
|
BuildRequires: python3-pytest
|
2020-12-14 17:16:00 +08:00
|
|
|
%description -n python3-jaraco-classes
|
|
|
|
|
Utility functions for Python class constructs.
|
|
|
|
|
|
|
|
|
|
%package help
|
|
|
|
|
Summary: Development documents and examples for jaraco.classes
|
|
|
|
|
Provides: python3-jaraco-classes-doc
|
|
|
|
|
%description help
|
|
|
|
|
Documentation for jaraco-classes
|
|
|
|
|
|
|
|
|
|
%prep
|
2023-02-27 17:13:48 +08:00
|
|
|
%autosetup -n jaraco.classes-%{version} -p1
|
2020-12-14 17:16:00 +08:00
|
|
|
|
|
|
|
|
%build
|
2023-04-25 20:48:41 +08:00
|
|
|
%pyproject_build
|
2020-12-14 17:16:00 +08:00
|
|
|
|
|
|
|
|
%install
|
2023-04-25 20:48:41 +08:00
|
|
|
%pyproject_install jaraco.classes==%{version}
|
2020-12-14 17:16:00 +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
|
|
|
|
|
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
|
|
|
|
pushd %{buildroot}
|
|
|
|
|
if [ -d usr/lib ]; then
|
|
|
|
|
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
|
|
|
|
fi
|
|
|
|
|
if [ -d usr/lib64 ]; then
|
|
|
|
|
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
|
|
|
|
fi
|
|
|
|
|
if [ -d usr/bin ]; then
|
|
|
|
|
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
|
|
|
|
|
fi
|
|
|
|
|
if [ -d usr/sbin ]; then
|
|
|
|
|
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
|
|
|
|
|
fi
|
|
|
|
|
touch doclist.lst
|
|
|
|
|
if [ -d usr/share/man ]; then
|
|
|
|
|
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
|
|
|
|
fi
|
|
|
|
|
popd
|
|
|
|
|
mv %{buildroot}/filelist.lst .
|
|
|
|
|
mv %{buildroot}/doclist.lst .
|
|
|
|
|
|
2023-02-27 17:13:48 +08:00
|
|
|
%files -n python3-jaraco-classes -f filelist.lst
|
|
|
|
|
%dir %{python3_sitelib}/*
|
2023-04-25 20:48:41 +08:00
|
|
|
%{python3_sitelib}/jaraco/classes
|
2020-12-14 17:16:00 +08:00
|
|
|
|
|
|
|
|
%files help -f doclist.lst
|
|
|
|
|
%{_docdir}/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-08-01 11:11:37 +08:00
|
|
|
* Tue Aug 01 2023 zhangchenglin <zhangchenglin@kylinos.cn> - 3.3.0-1
|
|
|
|
|
- Update package to version 3.3.0
|
|
|
|
|
|
2023-04-25 20:48:41 +08:00
|
|
|
* Tue Apr 25 2023 caodongxia <caodongxia@h-partners.com> - 3.2.3-4
|
|
|
|
|
- Adapting to the pyproject.toml compilation mode
|
|
|
|
|
|
2023-02-27 17:13:48 +08:00
|
|
|
* Mon Feb 27 2023 yaoxin <yaoxin30@h-partners.com> - 3.2.3-3
|
|
|
|
|
- Adaptation to setup.py and modify the patching mode to resolve installation conflicts
|
|
|
|
|
|
2023-02-24 16:00:03 +08:00
|
|
|
* Fri Feb 24 2023 yaoxin <yaoxin30@h-partners.com> - 3.2.3-2
|
|
|
|
|
- Fix installation conflicts between python3-jaraco-classes and python-jaraco-collections
|
|
|
|
|
|
2022-10-08 15:41:11 +08:00
|
|
|
* Sat Oct 08 2022 guozhengxin <guozhengxin@kylinos.cn> - 3.2.3-1
|
|
|
|
|
- Upgrade package to version 3.2.3
|
|
|
|
|
|
2022-05-31 17:55:07 +08:00
|
|
|
* Tue May 31 2022 houyingchao <houyingchao@h-partners.com> - 3.2.1-1
|
|
|
|
|
- Upgrade to 3.2.1
|
|
|
|
|
|
2022-06-16 06:15:09 +00:00
|
|
|
* Tue Jan 05 2021 lingsheng <lingsheng@huawei.com> - 3.1.0-2
|
2021-01-05 11:18:43 +08:00
|
|
|
- Add buildrequire python3-setuptools_scm
|
|
|
|
|
|
|
|
|
|
* Fri Nov 13 2020 Python_Bot <Python_Bot@openeuler.org> - 3.1.0-1
|
2020-12-14 17:16:00 +08:00
|
|
|
- Package init
|