[packages/python3-bracex] Initial

arekm arekm at pld-linux.org
Sun Mar 15 17:10:39 CET 2026


commit 217dc9fc7467107ad766e3175dc395645eb20f86
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Mar 15 17:10:24 2026 +0100

    Initial

 python3-bracex.spec | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)
---
diff --git a/python3-bracex.spec b/python3-bracex.spec
new file mode 100644
index 0000000..5903dd9
--- /dev/null
+++ b/python3-bracex.spec
@@ -0,0 +1,60 @@
+#
+# Conditional build:
+%bcond_without	tests	# unit tests
+
+%define		module	bracex
+Summary:	Bash style brace expander
+Summary(pl.UTF-8):	Ekspander nawiasów klamrowych w stylu Basha
+Name:		python3-%{module}
+Version:	2.6
+Release:	1
+License:	MIT
+Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/bracex/
+Source0:	https://files.pythonhosted.org/packages/source/b/bracex/%{module}-%{version}.tar.gz
+# Source0-md5:	e4e088684a402e00aabb84990e57eb3f
+URL:		https://github.com/facelessuser/bracex
+BuildRequires:	python3-build
+BuildRequires:	python3-hatchling
+BuildRequires:	python3-installer
+BuildRequires:	python3-modules >= 1:3.9
+%if %{with tests}
+BuildRequires:	python3-pytest
+%endif
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 2.044
+Requires:	python3-modules >= 1:3.9
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Bracex is a brace expanding library (à la Bash) for Python.
+
+%description -l pl.UTF-8
+Bracex to biblioteka do rozwijania nawiasów klamrowych (w stylu Basha)
+dla Pythona.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%py3_build_pyproject
+
+%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+%{__python3} -m pytest tests
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install_pyproject
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE.md README.md
+%{py3_sitescriptdir}/bracex
+%{py3_sitescriptdir}/bracex-%{version}.dist-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-bracex.git/commitdiff/217dc9fc7467107ad766e3175dc395645eb20f86



More information about the pld-cvs-commit mailing list