public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Stefan Schantl <stefan.schantl@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH 3/4] systemd: Enable python bindings
Date: Mon, 26 Oct 2015 10:48:55 +0100	[thread overview]
Message-ID: <1445852936-16001-3-git-send-email-stefan.schantl@ipfire.org> (raw)
In-Reply-To: <1445852936-16001-1-git-send-email-stefan.schantl@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 1051 bytes --]

Enable the build of systemd python bindings for python3.
Requires python-lxml and python development headers to be present.

Fixes #10969.

Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
 systemd/systemd.nm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/systemd/systemd.nm b/systemd/systemd.nm
index 0b8e604..35d2b0b 100644
--- a/systemd/systemd.nm
+++ b/systemd/systemd.nm
@@ -5,7 +5,7 @@
 
 name       = systemd
 version    = 221
-release    = 3
+release    = 4
 
 maintainer = Stefan Schantl <stefan.schantl(a)ipfire.org>
 groups     = System/Base
@@ -49,6 +49,8 @@ build
 		m4
 		pam-devel
 		pciutils-devel
+		python3-devel
+		python3-lxml
 		usbutils
 		vala
 		xz-devel
@@ -56,6 +58,7 @@ build
 	end
 
 	configure_options += \
+		PYTHON=%{python3} \
 		--with-sysvinit-path= \
 		--with-sysvrcnd-path= \
 		--enable-introspection \
@@ -429,6 +432,10 @@ packages
 		end
 	end
 
+	package python3-%{name}
+		template PYTHON3
+	end
+
 	package %{name}-debuginfo
 		template DEBUGINFO
 	end
-- 
2.4.3


  parent reply	other threads:[~2015-10-26  9:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-26  9:48 [PATCH 1/4] automake: Update to 1.15 Stefan Schantl
2015-10-26  9:48 ` [PATCH 2/4] python-lxml: New package Stefan Schantl
2015-10-26  9:48 ` Stefan Schantl [this message]
2015-10-26  9:48 ` [PATCH 4/4] util-linux: Update to 2.27 Stefan Schantl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1445852936-16001-3-git-send-email-stefan.schantl@ipfire.org \
    --to=stefan.schantl@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox