diff --git a/inflect-5.6.2.tar.gz b/inflect-5.6.2.tar.gz new file mode 100644 index 0000000..737aaae Binary files /dev/null and b/inflect-5.6.2.tar.gz differ diff --git a/python-inflect.spec b/python-inflect.spec new file mode 100644 index 0000000..4185337 --- /dev/null +++ b/python-inflect.spec @@ -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 - 5.6.2-1 +- Package init diff --git a/python-inflect.yaml b/python-inflect.yaml new file mode 100644 index 0000000..c107921 --- /dev/null +++ b/python-inflect.yaml @@ -0,0 +1,4 @@ +version-ctrl: pypi +src_repo: jaraco/inflect +tag_prefix: "^v" +seperator: "."