[packages/python3-log-symbols: 1/2] - new

baggins baggins at pld-linux.org
Sun Apr 5 00:08:55 CEST 2026


commit 4b3200cde7f3e75eb78d964c1d711341649b8481
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Apr 5 01:08:20 2026 +0200

    - new

 python3-log-symbols.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)
---
diff --git a/python3-log-symbols.spec b/python3-log-symbols.spec
new file mode 100644
index 0000000..20360d2
--- /dev/null
+++ b/python3-log-symbols.spec
@@ -0,0 +1,50 @@
+#
+# This is template for pure python 3 modules
+# use template-specs/python.spec for pure python2/python3 packages
+# use template-specs/python3-ext.spec for binary python3 packages
+#
+# Conditional build:
+%bcond_without	doc	# API documentation
+%bcond_without	tests	# unit tests
+
+%define		module	log_symbols
+Summary:	Colored symbols for various log levels for Python
+Name:		python3-log-symbols
+Version:	0.0.14
+Release:	1
+License:	MIT
+Group:		Libraries/Python
+Source0:	https://files.pythonhosted.org/packages/source/l/log-symbols/%{module}-%{version}.tar.gz
+# Source0-md5:	7ddba46fb043b59d329b63fe4ccdfcf2
+URL:		https://pypi.org/project/log-symbols/
+BuildRequires:	python3-modules >= 1:3.2
+BuildRequires:	python3-setuptools
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.714
+Requires:	python3-modules >= 1:3.2
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Colored symbols for various log levels for Python.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%py3_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%dir %{py3_sitescriptdir}/%{module}
+%{py3_sitescriptdir}/%{module}/*.py
+%{py3_sitescriptdir}/%{module}/__pycache__
+%{py3_sitescriptdir}/%{module}-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-log-symbols.git/commitdiff/4e842797597417144e3ce916f787f570ee7ac067



More information about the pld-cvs-commit mailing list