diff --git a/inflection-0.5.1.tar.gz b/inflection-0.5.1.tar.gz new file mode 100644 index 0000000..94f256c Binary files /dev/null and b/inflection-0.5.1.tar.gz differ diff --git a/python-inflection.spec b/python-inflection.spec new file mode 100644 index 0000000..c581506 --- /dev/null +++ b/python-inflection.spec @@ -0,0 +1,39 @@ +%define debug_package %{nil} +%define pypi_name inflection + +Name: python-inflection +Version: 0.5.1 +Release: 1 +Summary: A port of Ruby on Rails' inflector to Python +License: Apache License 2.0 +URL: https://github.com/jpvanhal/inflection +Source0: https://files.pythonhosted.org/packages/e1/7e/691d061b7329bc8d54edbf0ec22fbfb2afe61facb681f9aaa9bff7a27d04/%{pypi_name}-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: python3-devel python3-setuptools + +%description +A port of Ruby on Rails' inflector to Python. + +%package -n python3-%{pypi_name} +Summary: python3 package for %{pypi_name}. + + +%description -n python3-%{pypi_name} +A port of Ruby on Rails' inflector to Python + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{pypi_name} +%{python3_sitelib}/* + +%changelog +* Wed Aug 25 2021 orange-snn - 0.5.1-1 +- Package init diff --git a/python-inflection.xml b/python-inflection.xml new file mode 100644 index 0000000..7901ea3 --- /dev/null +++ b/python-inflection.xml @@ -0,0 +1,4 @@ +version_control: pypi +src_repo: inflection +tag_prefix: "^v" +seperator: "."