Blob Blame History Raw
%global srcname inflection

Name:           python-%{srcname}
Version:        0.3.1
Release:        1%{?dist}
Summary:        Port of Ruby on Rails inflector to Python

License:        MIT
Source:         %{pypi_source}

BuildArch:      noarch

%global _description %{expand:
Inflection is a string transformation library. It singularizes and pluralizes
English words, and transforms strings from CamelCase to underscored string.
Inflection is a port of Ruby on Rails’ inflector to Python.}

%description %{_description}

%package     -n python3-%{srcname}
Summary:        %{summary}
%{?python_provide:%python_provide python3-%{srcname}}
BuildRequires:  python3-devel
BuildRequires:  python3dist(setuptools)
BuildRequires:  python3dist(pytest)

%description -n python3-%{srcname} %{_description}

Python 3 version.

%autosetup -n %{srcname}-%{version} -p1
rm -vr *.egg-info



%python3 -m pytest -v

%files -n python3-%{srcname}
%license LICENSE
%doc README.rst CHANGES.rst

* Sat Sep 07 2019 Igor Gnatenko <> - 0.3.1-1
- Initial package