!1 add package of python-bracex with version 2.3.1 to src-openEuler
From: @li-miaomiao_zhr Reviewed-by: @desert-sailor Signed-off-by: @desert-sailor
This commit is contained in:
commit
a0cf49c8eb
BIN
bracex-2.3.tar.gz
Normal file
BIN
bracex-2.3.tar.gz
Normal file
Binary file not shown.
53
python-bracex.spec
Normal file
53
python-bracex.spec
Normal file
@ -0,0 +1,53 @@
|
||||
# Created by pyp2rpm-3.3.5
|
||||
%global pypi_name bracex
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 2.3
|
||||
Release: 1
|
||||
Summary: Bash style brace expander
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/facelessuser/bracex
|
||||
Source0: https://github.com/facelessuser/bracex/archive/%{version}.tar.gz#/%{pypi_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3dist(pytest)
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-setuptools_scm
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-wheel
|
||||
BuildRequires: python3-hatchling
|
||||
|
||||
%description
|
||||
Bracex is a brace expanding library (à la Bash) for Python.
|
||||
Brace expanding is used to generate arbitrary strings.
|
||||
|
||||
%package -n python3-%{pypi_name}
|
||||
Summary: %{summary}
|
||||
|
||||
%description -n python3-%{pypi_name}
|
||||
Bracex is a brace expanding library (à la Bash) for Python.
|
||||
Brace expanding is used to generate arbitrary strings.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pypi_name}-%{version}
|
||||
# Remove bundled egg-info
|
||||
rm -rf %{pypi_name}.egg-info
|
||||
|
||||
%build
|
||||
%pyproject_build
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
|
||||
%files -n python3-%{pypi_name}
|
||||
%license LICENSE.md docs/src/markdown/about/license.md
|
||||
%doc README.md
|
||||
%{python3_sitelib}/%{pypi_name}
|
||||
%{python3_sitelib}/bracex-*.dist-info/
|
||||
|
||||
%changelog
|
||||
* Wed Jun 21 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 2.3-1
|
||||
- add package of python-bracex with version 2.3 to src-openEuler
|
||||
Loading…
x
Reference in New Issue
Block a user