From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: Re: [PATCH] python-systemd: New package. Date: Thu, 01 Dec 2016 14:23:58 +0100 Message-ID: <1480598638.16038.1.camel@ipfire.org> In-Reply-To: <1480598247.13949.108.camel@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2034947494108801220==" List-Id: --===============2034947494108801220== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello thanks for reviewing my commit: I'll send a new patch with the renamed package name. No it seems, that there is no runtime dependency to a specific systemd version. Best regards, -Stefan > Hi, >=20 > looks good, but the package should be called python3-systemd which > complies with > the naming of the other ones. >=20 > Isn't there a possible runtime dependency to a specific version of > systemd > required? >=20 > On Thu, 2016-12-01 at 14:10 +0100, Stefan Schantl wrote: > >=20 > > This package now contains the python bindings for systemd. > >=20 > > Signed-off-by: Stefan Schantl > > --- > > =C2=A0python-systemd/python-systemd.nm | 60 > > ++++++++++++++++++++++++++++++++++++++++ > > =C2=A01 file changed, 60 insertions(+) > > =C2=A0create mode 100644 python-systemd/python-systemd.nm > >=20 > > diff --git a/python-systemd/python-systemd.nm b/python- > > systemd/python- > > systemd.nm > > new file mode 100644 > > index 0000000..a291874 > > --- /dev/null > > +++ b/python-systemd/python-systemd.nm > > @@ -0,0 +1,60 @@ > > +################################################################## > > ########### > > ## > > +# IPFire.org=C2=A0=C2=A0=C2=A0=C2=A0- An Open Source Firewall > > Solution=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0# > > +# Copyright (C) - IPFire Development Team =C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > > =C2=A0# > > +################################################################## > > ########### > > ## > > + > > +name=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=3D python-systemd > > +version=C2=A0=C2=A0=C2=A0=C2=A0=3D 232 > > +release=C2=A0=C2=A0=C2=A0=C2=A0=3D 1 > > + > > +groups=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=3D Development/Tools > > +url=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=3D https://github.co= m/systemd/python-systemd > > +license=C2=A0=C2=A0=C2=A0=C2=A0=3D LGPLv2+ > > +summary=C2=A0=C2=A0=C2=A0=C2=A0=3D Python module wrapping systemd functi= onality. > > + > > +description > > + This package contains various Python modulse for a native > > access to > > + the systemd facilities. > > +end > > + > > +source_dl=C2=A0=C2=A0=3D https://github.com/systemd/python-systemd/archi= ve/v%{ > > version}.ta > > r.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} >=20 > There could be a space between +=3D and \ >=20 > >=20 > > + > > + install_cmds > > + # Remove accidently installed files from > > testsuite. > > + rm -rvf > > %{BUILDROOT}%{python3_sitearch}/systemd/test > > + end > > +end >=20 > Accidentially? >=20 > >=20 > > + > > +packages > > + package %{name} > > + obsoletes > > + python3-systemd >=3D 221 > > + end > > + end > > + > > + package %{name}-debuginfo > > + template DEBUGINFO > > + end > > +end --===============2034947494108801220== Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" MIME-Version: 1.0 LS0tLS1CRUdJTiBQR1AgU0lHT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