!1 Init python-uc-micro-py package to version v1.0.2

From: @li-miaomiao_zhr 
Reviewed-by: @desert-sailor 
Signed-off-by: @desert-sailor
This commit is contained in:
openeuler-ci-bot 2023-08-17 23:04:17 +00:00 committed by Gitee
commit be7dffe41e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 48 additions and 0 deletions

48
python-uc-micro-py.spec Normal file
View File

@ -0,0 +1,48 @@
%global _empty_manifest_terminate_build 0
%global pypi_name uc-micro-py
%global _description %{expand:
Micro subset of Unicode data files for linkify-it.py projects. This is
a Python port of uc.micro (https://github.com/markdown-it/uc.micro).}
Name: python-%{pypi_name}
Version: 1.0.2
Release: 1
Summary: Micro subset of Unicode data files for linkify-it.py projects
License: MIT
URL: https://github.com/tsutsu3/uc.micro-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: Micro subset of Unicode data files for linkify-it.py projects
%{?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}/uc_micro/
%{python3_sitelib}/uc_micro_py-*.dist-info/
%changelog
* Thu Aug 17 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 1.0.2-1
- Package init

BIN
uc-micro-py-1.0.2.tar.gz Normal file

Binary file not shown.