[packages/python3-face] Initial

arekm arekm at pld-linux.org
Sun Mar 15 17:12:02 CET 2026


commit efa631e04d66e0d3606daf4a588b74509c74a6d8
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Mar 15 17:11:46 2026 +0100

    Initial

 python3-face.spec | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 63 insertions(+)
---
diff --git a/python3-face.spec b/python3-face.spec
new file mode 100644
index 0000000..71e6579
--- /dev/null
+++ b/python3-face.spec
@@ -0,0 +1,63 @@
+#
+# Conditional build:
+%bcond_without	tests	# unit tests
+
+%define		module	face
+Summary:	A command-line application framework and CLI parser
+Summary(pl.UTF-8):	Szkielet aplikacji wiersza poleceń i parser CLI
+Name:		python3-%{module}
+Version:	26.0.0
+Release:	1
+License:	BSD
+Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/face/
+Source0:	https://files.pythonhosted.org/packages/source/f/face/%{module}-%{version}.tar.gz
+# Source0-md5:	1829288d994b43d99bf1b90480cf0316
+URL:		https://github.com/mahmoud/face
+BuildRequires:	python3-build
+BuildRequires:	python3-flit_core >= 3.2
+BuildRequires:	python3-installer
+BuildRequires:	python3-modules >= 1:3.8
+%if %{with tests}
+BuildRequires:	python3-boltons >= 20.0.0
+BuildRequires:	python3-pytest
+%endif
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 2.044
+Requires:	python3-boltons >= 20.0.0
+Requires:	python3-modules >= 1:3.8
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Face is a command-line application framework and CLI parser. Friendly
+for users, full-featured for developers.
+
+%description -l pl.UTF-8
+Face to szkielet aplikacji wiersza poleceń i parser CLI. Przyjazny dla
+użytkowników, w pełni funkcjonalny dla programistów.
+
+%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 README.md
+%{py3_sitescriptdir}/face
+%{py3_sitescriptdir}/face-%{version}.dist-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-face.git/commitdiff/efa631e04d66e0d3606daf4a588b74509c74a6d8



More information about the pld-cvs-commit mailing list