[packages/python3-StrEnum] - new

qboosh qboosh at pld-linux.org
Sat Jun 8 10:08:47 CEST 2024


commit 550e0058bc8781d1c6f0303ca7175e673dd28465
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Jun 8 08:57:44 2024 +0200

    - new

 python3-StrEnum.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)
---
diff --git a/python3-StrEnum.spec b/python3-StrEnum.spec
new file mode 100644
index 0000000..762f64a
--- /dev/null
+++ b/python3-StrEnum.spec
@@ -0,0 +1,48 @@
+Summary:	An Enum that inherits from str
+Summary(pl.UTF-8):	Enum dziedziczący ze str
+Name:		python3-StrEnum
+Version:	0.4.15
+Release:	1
+License:	MIT
+Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/StrEnum/
+Source0:	https://files.pythonhosted.org/packages/source/S/StrEnum/StrEnum-%{version}.tar.gz
+# Source0-md5:	aa5e934c299dac8731c6db4008deab4d
+URL:		https://pypi.org/project/StrEnum/
+BuildRequires:	python3-modules >= 1:3.7
+BuildRequires:	python3-setuptools
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.714
+Requires:	python3-modules >= 1:3.7
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+StrEnum is a Python enum.Enum that inherits from str to complement
+enum.IntEnum in the standard library. Supports Python 3.7+ (included
+in Python 3.11 standard library).
+
+%description -l pl.UTF-8
+StrEnum to pythonowy enum.Enum dziedziczący ze str, aby uzupełnić
+enum.IntEnum z biblioteki standardowej. Obsługuje Pythona 3.7+
+(został włączony do biblioteki standardowej Pythona 3.11).
+
+%prep
+%setup -q -n StrEnum-%{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 LICENSE README.md
+%{py3_sitescriptdir}/strenum
+%{py3_sitescriptdir}/StrEnum-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-StrEnum.git/commitdiff/550e0058bc8781d1c6f0303ca7175e673dd28465



More information about the pld-cvs-commit mailing list