python-pymdown-extensions/python-pymdown-extensions.spec
2023-06-28 14:20:29 +08:00

50 lines
1.2 KiB
RPMSpec

%global _empty_manifest_terminate_build 0
%global pypi_name pymdown-extensions
%global source_name pymdown_extensions
Name: python-%{pypi_name}
Version: 10.0.1
Release: 1
Summary: Extension pack for Python Markdown.
License: MIT
URL: https://github.com/facelessuser/pymdown-extensions
Source0: https://files.pythonhosted.org/packages/cb/06/5779fe8fa684080bcb0eeabcbcb9bfe2cf14dcf776b687001e7820fba660/pymdown_extensions-10.0.1.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
%description
Extension pack for Python Markdown.
%package -n python3-%{pypi_name}
Summary: %{summary}
%description -n python3-%{pypi_name}
Extension pack for Python Markdown.
%prep
%autosetup -p1 -n %{source_name}-%{version}
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-%{pypi_name}
%doc README.md
%license LICENSE.md
%{python3_sitelib}/pymdownx
%{python3_sitelib}/pymdown_extensions*.dist-info/
%changelog
* Wed Jun 28 2023 Dongxing Wang <dxwangk@isoftstone.com> - 10.0.1-1
- Initial package