From: Michael Tremer Date: Fri, 2 Dec 2022 08:32:06 +0000 (+0000) Subject: python3-cpuinfo: New package X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=756d2f3965e181d89ce6fa8eb414c424e1bf2f1b;p=ipfire-3.x.git python3-cpuinfo: New package Required by pakfire. Signed-off-by: Michael Tremer --- diff --git a/python3-cpuinfo/python3-cpuinfo.nm b/python3-cpuinfo/python3-cpuinfo.nm new file mode 100644 index 000000000..ec5588833 --- /dev/null +++ b/python3-cpuinfo/python3-cpuinfo.nm @@ -0,0 +1,40 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team # +############################################################################### + +name = python3-cpuinfo +version = 9.0.0 +release = 1 +thisapp = py-cpuinfo-%{version} + +groups = System/Libraries +url = https://github.com/workhorsy/py-cpuinfo +license = MIT +summary = A module for getting CPU info with pure Python + +description + Py-cpuinfo gets CPU info with pure Python. Py-cpuinfo should work + without any extra programs or libraries, beyond what your OS provides. +end + +source_dl = https://github.com/workhorsy/py-cpuinfo/archive/refs/tags/v%{version}.tar.gz#/ + +build + requires + python3-devel + python3-setuptools + end + + build + %{python3} setup.py build + end + + install + %{python3} setup.py install --root=%{BUILDROOT} + end +end + +packages + package %{name} +end