!1 Init package version 2.0.1 of python-jsx-lexer

From: @luolu12 
Reviewed-by: @desert-sailor 
Signed-off-by: @desert-sailor
This commit is contained in:
openeuler-ci-bot 2023-08-23 06:16:23 +00:00 committed by Gitee
commit dc512da5d2
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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.