python-bracex/python-bracex.spec

57 lines
1.5 KiB
RPMSpec
Raw Normal View History

# Created by pyp2rpm-3.3.5
%global pypi_name bracex
Name: python-%{pypi_name}
2023-11-20 16:40:55 +08:00
Version: 2.4
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
2023-11-20 16:40:55 +08:00
* Mon Nov 20 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 2.4-1
- Update package to version 2.4
* 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