init packages of version 2.0.1 jsx-lexer

This commit is contained in:
luolu12 2023-08-18 14:48:12 +08:00
parent 6f7c6c87d3
commit 39a946993b
2 changed files with 47 additions and 0 deletions

BIN
jsx-lexer-2.0.1.tar.gz Normal file

Binary file not shown.

47
python-jsx-lexer.spec Normal file
View File

@ -0,0 +1,47 @@
%global pypi_name jsx-lexer
Name: python-%{pypi_name}
Version: 2.0.1
Release: 1
Summary: A JSX lexer for Pygments
License: MIT License
URL: https://github.com/fcurella/jsx-lexer
Source0: https://files.pythonhosted.org/packages/37/88/8678fcb9f7db1aa7efb338d58f320203b74e865a12583c108291ed9d3df7/jsx-lexer-2.0.1.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
%description
A JSX lexer for Pygments
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
A JSX lexer for Pygments
%prep
%autosetup -n %{pypi_name}-%{version}
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-%{pypi_name}
%license LICENSE
%doc README.rst
%{python3_sitelib}/jsx
%{python3_sitelib}/jsx_lexer*
%changelog
* Fri Aug 18 2023 luolu12 <luluoc@isoftstone.com> - 2.0.1-1
- Initial package.