From patchwork Wed Nov 10 01:38:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: phodina X-Patchwork-Id: 34371 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id A929E27BBE1; Wed, 10 Nov 2021 01:39:19 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 639A727BBE1 for ; Wed, 10 Nov 2021 01:39:19 +0000 (GMT) Received: from localhost ([::1]:40592 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mkca6-0002DE-93 for patchwork@mira.cbaines.net; Tue, 09 Nov 2021 20:39:18 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkcZu-0002Cf-Es for guix-patches@gnu.org; Tue, 09 Nov 2021 20:39:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53076) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mkcZq-0005Cl-HK for guix-patches@gnu.org; Tue, 09 Nov 2021 20:39:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mkcZq-0000ve-GQ for guix-patches@gnu.org; Tue, 09 Nov 2021 20:39:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51737] [PATCH 3/4] gnu: Add python-gbinder. References: In-Reply-To: Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 10 Nov 2021 01:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51737 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: "51737@debbugs.gnu.org" <51737@debbugs.gnu.org> Received: via spool by 51737-submit@debbugs.gnu.org id=B51737.16365083333547 (code B ref 51737); Wed, 10 Nov 2021 01:39:02 +0000 Received: (at 51737) by debbugs.gnu.org; 10 Nov 2021 01:38:53 +0000 Received: from localhost ([127.0.0.1]:36388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mkcZh-0000v9-3n for submit@debbugs.gnu.org; Tue, 09 Nov 2021 20:38:53 -0500 Received: from mail-40134.protonmail.ch ([185.70.40.134]:34282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mkcZc-0000ut-Kb for 51737@debbugs.gnu.org; Tue, 09 Nov 2021 20:38:51 -0500 Date: Wed, 10 Nov 2021 01:38:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1636508318; bh=16SV15DnHOiGklQy5at7igGa7X9Li8k3KcQO/ZJp7xw=; h=Date:To:From:Reply-To:Subject:From; b=JNDD3EF+qa9gJSdmqAKv888cqsxR+hCyRoiapIUE+99+4vqbwJU3ipZG9FXU+xnqh +Cum6Fnu3720iU93u2lLTEk3MnJBsUydqShkbcTtjYORKOCWDE87zm5+KzTuYWTBqC s1ve0Oa2XzjfA9MM5p/wEoAJ9lvC0s0bdu17F8NI= Message-ID: <7QtNhomJeWJORkBXmW-URZhK86zqNDlMhu0kJCfLqCylsZc9rK48bBPumKeMQFh1BZzYulgZMpgSrbRV7soqEvKx1CmHbyh_ymrTceqeVZc=@protonmail.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches X-Patchwork-Original-From: phodina via Guix-patches via From: phodina X-getmail-retrieved-from-mailbox: Patches * gnu/packages/glib.scm (python-gbinder): New variable. --- 2.33.1 diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm index 4f3e026d1b..d9e50a69c8 100644 --- a/gnu/packages/glib.scm +++ b/gnu/packages/glib.scm @@ -847,6 +847,37 @@ (define-public libglibutil (description "This package provides library of glib utilities.") (license license:bsd-3))) +(define-public python-gbinder + (package + (name "python-gbinder") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/erfanoabdi/gbinder-python") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0jgblzakjgsy0cj93bmh5gr7qnl2xgsrm0wzc6xjvzry9lrbs360")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'build + (lambda* _ + (invoke "python" "setup.py" "build_ext" "--inplace" "--cython")))))) + (native-inputs `(("python-cython" ,python-cython) + ("pkg-config" ,pkg-config))) + (inputs `(("glib" ,glib) + ("libgbinder" ,libgbinder) + ("libglibutil" ,libglibutil))) + (home-page "https://github.com/erfanoabdi/gbinder-python") + (synopsis "Python bindings for libgbinder") + (description "This package provides Python bindings for libgbinder.") + (license license:gpl3+))) + (define-public python2-pygobject-2 (package (name "python2-pygobject")