!2 sync package to 21.09 from master
From: @orange-snn Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
c8ddd9baf7
BIN
inflection-0.5.1.tar.gz
Normal file
BIN
inflection-0.5.1.tar.gz
Normal file
Binary file not shown.
39
python-inflection.spec
Normal file
39
python-inflection.spec
Normal 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
4
python-inflection.xml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: pypi
|
||||||
|
src_repo: inflection
|
||||||
|
tag_prefix: "^v"
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user