!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:
commit
dc512da5d2
BIN
jsx-lexer-2.0.1.tar.gz
Normal file
BIN
jsx-lexer-2.0.1.tar.gz
Normal file
Binary file not shown.
47
python-jsx-lexer.spec
Normal file
47
python-jsx-lexer.spec
Normal 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.
|
||||
Loading…
x
Reference in New Issue
Block a user