!1 init packages version 0.2.0 of python-sphinxext-altair
From: @luolu12 Reviewed-by: @desert-sailor Signed-off-by: @desert-sailor
This commit is contained in:
commit
e5999f97e5
50
python-sphinxext-altair.spec
Normal file
50
python-sphinxext-altair.spec
Normal file
@ -0,0 +1,50 @@
|
||||
%global pypi_name sphinxext-altair
|
||||
%global source_name sphinxext_altair
|
||||
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 0.2.0
|
||||
Release: 1
|
||||
Summary: sphinxext-altair: Sphinx extension for embedding Altair charts
|
||||
|
||||
License: BSD-1-Clause
|
||||
URL: https://github.com/altair-viz/sphinxext-altair
|
||||
Source0: https://files.pythonhosted.org/packages/ea/2c/41b5f3079481f4e49a9451be1a429fda3dec1e51786875e104ef3c95d836/sphinxext_altair-0.2.0.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-wheel
|
||||
BuildRequires: python3-hatchling
|
||||
BuildRequires: python3-maturin
|
||||
|
||||
%description
|
||||
sphinxext-altair provides the directive altair-plot to insert live-rendered Altair plots within your Sphinx documentation
|
||||
|
||||
%package -n python3-%{pypi_name}
|
||||
Summary: %{summary}
|
||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||||
|
||||
|
||||
%description -n python3-%{pypi_name}
|
||||
sphinxext-altair provides the directive altair-plot to insert live-rendered Altair plots within your Sphinx documentation
|
||||
|
||||
%prep
|
||||
%autosetup -n %{source_name}-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_build
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
|
||||
%files -n python3-%{pypi_name}
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{python3_sitelib}/%{source_name}*
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Aug 28 2023 luolu12 <luluoc@isoftstone.com> - 0.2.0-1
|
||||
- Initial package.
|
||||
BIN
sphinxext_altair-0.2.0.tar.gz
Normal file
BIN
sphinxext_altair-0.2.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user