init package
This commit is contained in:
parent
1682b68fed
commit
851210012a
BIN
linkify-it-py-2.0.2.tar.gz
Normal file
BIN
linkify-it-py-2.0.2.tar.gz
Normal file
Binary file not shown.
54
python-linkify-it-py.spec
Normal file
54
python-linkify-it-py.spec
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
%global _empty_manifest_terminate_build 0
|
||||||
|
%global pypi_name linkify-it-py
|
||||||
|
|
||||||
|
%global _description %{expand:
|
||||||
|
This is a Python port of linkify-it [1], a link recognition library with
|
||||||
|
FULL unicode support. It is focused on high quality link pattern
|
||||||
|
detection in plain text. See a JavaScript demo [2].
|
||||||
|
|
||||||
|
References:
|
||||||
|
[1] https://github.com/markdown-it/linkify-it
|
||||||
|
[2] https://markdown-it.github.io/linkify-it/}
|
||||||
|
|
||||||
|
Name: python-%{pypi_name}
|
||||||
|
Version: 2.0.2
|
||||||
|
Release: 1
|
||||||
|
Summary: Link recognition library with full Unicode support
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/tsutsu3/linkify-it-py
|
||||||
|
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-wheel
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: python3-setuptools_scm
|
||||||
|
|
||||||
|
%description %_description
|
||||||
|
|
||||||
|
%package -n python3-%{pypi_name}
|
||||||
|
Summary: Link recognition library with full Unicode support
|
||||||
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||||||
|
|
||||||
|
%description -n python3-%{pypi_name} %_description
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{pypi_name}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%pyproject_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%pyproject_install
|
||||||
|
|
||||||
|
%files -n python3-%{pypi_name}
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%{python3_sitelib}/linkify_it/__pycache__/
|
||||||
|
%{python3_sitelib}/linkify_it_py-*.dist-info/
|
||||||
|
%{python3_sitelib}/linkify_it/
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Aug 17 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 2.0.2-1
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user