python-tensorboard-plugin-wit/python-tensorboard-plugin-wit.spec

70 lines
2.0 KiB
RPMSpec
Raw Permalink Normal View History

%global _empty_manifest_terminate_build 0
Name: python-tensorboard-plugin-wit
2024-01-26 10:19:35 +08:00
Version: 1.8.1
Release: 1
Summary: What-If Tool TensorBoard plugin.
License: Apache 2.0
URL: https://pypi.org/project/tensorboard-plugin-wit/
2024-01-26 10:19:35 +08:00
Source0: https://files.pythonhosted.org/packages/e0/68/e8ecfac5dd594b676c23a7f07ea34c197d7d69b3313afdf8ac1b0a9905a2/tensorboard_plugin_wit-1.8.1-py3-none-any.whl
BuildArch: noarch
%description
What-If Tool TensorBoard plugin
%package -n python3-tensorboard-plugin-wit
Summary: What-If Tool TensorBoard plugin.
Provides: python-tensorboard-plugin-wit
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
%description -n python3-tensorboard-plugin-wit
What-If Tool TensorBoard plugin
%package help
Summary: Development documents and examples for tensorboard-plugin-wit
Provides: python3-tensorboard-plugin-wit-doc
%description help
What-If Tool TensorBoard plugin
%prep
%build
mkdir dist
cp %{SOURCE0} dist
%install
%py3_install_wheel *
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}
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}/doclist.lst .
%files -n python3-tensorboard-plugin-wit
%{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
2024-01-26 10:19:35 +08:00
* Fri Jan 26 2024 fuanan <fuanan3@h-partners.com> - 1.8.1-1
- update version to 1.8.1
- bump http-proxy from 1.17.0 to 1.8.1
- fix broken link
- add chunked inference
- fix attrs in custom predict fn for tensorboard
- fixing infer edge case issue
- explicitly require bash(Change /bin/sh to /bin/bash in build_pip_package.sh)
- add support for witwidget for JupyterLab 3.x.
* Fri Oct 09 2020 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated