From c6cbe4f9a68e4fb17e1ebcc6ef3ee01456046aa0 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 22 Aug 2023 07:30:05 +0000 Subject: automatic import of python-anyascii --- python-anyascii.spec | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 python-anyascii.spec (limited to 'python-anyascii.spec') diff --git a/python-anyascii.spec b/python-anyascii.spec new file mode 100644 index 0000000..d067f28 --- /dev/null +++ b/python-anyascii.spec @@ -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 - 0.3.2-1 +- Init package python-anyascii. -- cgit v1.2.3