add package

This commit is contained in:
orange-snn 2021-08-25 16:45:04 +08:00
parent c75e3d9940
commit 4938a29193
3 changed files with 43 additions and 0 deletions

BIN
inflection-0.5.1.tar.gz Normal file

Binary file not shown.

39
python-inflection.spec Normal file
View File

@ -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<songnannan2@huawei.com> - 0.5.1-1
- Package init

4
python-inflection.xml Normal file
View File

@ -0,0 +1,4 @@
version_control: pypi
src_repo: inflection
tag_prefix: "^v"
seperator: "."