!1 Package init
From: @starlet-dx Reviewed-by: @cherry530 Signed-off-by: @cherry530
This commit is contained in:
commit
b26382e71a
BIN
inflect-5.6.2.tar.gz
Normal file
BIN
inflect-5.6.2.tar.gz
Normal file
Binary file not shown.
48
python-inflect.spec
Normal file
48
python-inflect.spec
Normal 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
4
python-inflect.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version-ctrl: pypi
|
||||
src_repo: jaraco/inflect
|
||||
tag_prefix: "^v"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user