Package init

This commit is contained in:
starlet-dx 2023-04-28 14:58:43 +08:00
parent 94b27fe083
commit 66e2650a4d
3 changed files with 52 additions and 0 deletions

BIN
inflect-5.6.2.tar.gz Normal file

Binary file not shown.

48
python-inflect.spec Normal file
View File

@ -0,0 +1,48 @@
%global pkg_description %{expand:
Correctly generate plurals, singular nouns, ordinals, indefinite articles; convert numbers to words.}
Name: python-inflect
Version: 5.6.2
Release: 1
Summary: Correctly generate plurals, ordinals, indefinite articles; convert numbers to words
License: MIT
Group: Development/Languages/Python
URL: https://pypi.org/project/inflect/
Source0: https://files.pythonhosted.org/packages/source/i/inflect/inflect-%{version}.tar.gz
BuildRequires: python3-devel
BuildRequires: python3-pytest
BuildRequires: python3-setuptools_scm
BuildRequires: python3-toml
BuildRequires: python3-pip python3-wheel
Requires: python-toml
BuildArch: noarch
%description %{pkg_description}
%package -n python3-inflect
Summary: %{Summary}
%description -n python3-inflect %{pkg_description}
%prep
%autosetup -n inflect-%{version} -p1
%build
%pyproject_build
%install
%pyproject_install inflect==%{version}
%check
pytest
%files -n python3-inflect
%license LICENSE
%doc CHANGES.rst README.rst
%{python3_sitelib}/inflect*
%changelog
* Fri Apr 28 2023 yaoxin <yao_xin001@hoperun.com> - 5.6.2-1
- Package init

4
python-inflect.yaml Normal file
View File

@ -0,0 +1,4 @@
version-ctrl: pypi
src_repo: jaraco/inflect
tag_prefix: "^v"
seperator: "."