From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] python3-systemd: New package. Date: Thu, 01 Dec 2016 14:20:25 +0100 Message-ID: <1480598425-15986-1-git-send-email-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6500184737628380234==" List-Id: --===============6500184737628380234== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This package contains the python3 bindings for systemd. Signed-off-by: Stefan Schantl --- python3-systemd/python3-systemd.nm | 58 ++++++++++++++++++++++++++++++++++++= ++ 1 file changed, 58 insertions(+) create mode 100644 python3-systemd/python3-systemd.nm diff --git a/python3-systemd/python3-systemd.nm b/python3-systemd/python3-sys= temd.nm new file mode 100644 index 0000000..6940c0b --- /dev/null +++ b/python3-systemd/python3-systemd.nm @@ -0,0 +1,58 @@ +############################################################################= ### +# IPFire.org - An Open Source Firewall Solution = # +# Copyright (C) - IPFire Development Team = # +############################################################################= ### + +name =3D python3-systemd +version =3D 232 +release =3D 1 + +groups =3D Development/Tools +url =3D https://github.com/systemd/python-systemd +license =3D LGPLv2+ +summary =3D Python module wrapping systemd functionality. + +description + This package contains various Python modulse for a native access to + the systemd facilities. +end + +thisapp =3D python-systemd-%{version} + +source_dl =3D https://github.com/systemd/python-systemd/archive/v%{version}= .tar.gz#/ + +build + requires + python3-devel >=3D 3.4 + systemd-devel + end + + prepare_cmds + sed -i 's/py\.test/pytest/' Makefile + end + + make_build_targets +=3D \ + PYTHON=3D%{python3} + + test + # Disable testsuite, because pytest is required + # which is currently not available. + #make PYTHON=3D%{python3} check + end + + make_install_targets +=3D\ + PYTHON=3D%{python3} + + install_cmds + # Remove accidently installed files from testsuite. + rm -rvf %{BUILDROOT}%{python3_sitearch}/systemd/test + end +end + +packages + package %{name} + + package %{name}-debuginfo + template DEBUGINFO + end +end --=20 2.7.4 --===============6500184737628380234==--