!1 Init package python-anyascii of v0.3.2

From: @mengzhaoa 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2023-08-22 01:03:20 +00:00 committed by Gitee
commit e2db8e648f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 47 additions and 0 deletions

BIN
anyascii-0.3.2.tar.gz Normal file

Binary file not shown.

47
python-anyascii.spec Normal file
View File

@ -0,0 +1,47 @@
%global pypi_name anyascii
Name: python-%{pypi_name}
Version: 0.3.2
Release: 1
Summary: Unicode to ASCII transliteration.
License: MIT
URL: https://github.com/anyascii/anyascii
Source0: %{url}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz
BuildArch: noarch
%description
AnyAscii provides ASCII-only replacement strings for practically all Unicode characters. Text is converted character-by-character without considering the context.
%package -n python3-%{pypi_name}
Summary: Unicode to ASCII transliteration.
Provides: python-%{pypi_name}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-flit
%description -n python3-%{pypi_name}
AnyAscii provides ASCII-only replacement strings for practically all Unicode characters. Text is converted character-by-character without considering the context.
%prep
%autosetup -n %{pypi_name}-%{version}
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-%{pypi_name}
%license LICENSE
%doc README.md
%{python3_sitelib}/anyascii-*.dist-info/
%{python3_sitelib}/anyascii/
%changelog
* Mon Aug 21 2023 mengzhaoa <mengzhaoa@isoftstone.com> - 0.3.2-1
- Init package python-anyascii.