diff --git a/jsx-lexer-2.0.1.tar.gz b/jsx-lexer-2.0.1.tar.gz new file mode 100644 index 0000000..29ce42e Binary files /dev/null and b/jsx-lexer-2.0.1.tar.gz differ diff --git a/python-jsx-lexer.spec b/python-jsx-lexer.spec new file mode 100644 index 0000000..e3d91af --- /dev/null +++ b/python-jsx-lexer.spec @@ -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 - 2.0.1-1 +- Initial package.