From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sCngHWc9nl/EbAAA0tVLHw (envelope-from ) for ; Sun, 01 Nov 2020 04:45:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 4Bi7GWc9nl/TQQAAB5/wlQ (envelope-from ) for ; Sun, 01 Nov 2020 04:45:27 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DE5839402DD for ; Sun, 1 Nov 2020 04:45:26 +0000 (UTC) Received: from localhost ([::1]:59002 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZ5F6-0004AF-Sy for larch@yhetil.org; Sun, 01 Nov 2020 00:45:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47422) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZ5Ek-00049W-5U for guix-patches@gnu.org; Sun, 01 Nov 2020 00:45:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52087) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kZ5Ej-0002aN-QW for guix-patches@gnu.org; Sun, 01 Nov 2020 00:45:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kZ5Ej-0003fJ-Nx for guix-patches@gnu.org; Sun, 01 Nov 2020 00:45:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44309] Further Cleanups References: In-Reply-To: Resent-From: Prafulla Giri Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 01 Nov 2020 04:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44309 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44309@debbugs.gnu.org Received: via spool by 44309-submit@debbugs.gnu.org id=B44309.160420589814063 (code B ref 44309); Sun, 01 Nov 2020 04:45:01 +0000 Received: (at 44309) by debbugs.gnu.org; 1 Nov 2020 04:44:58 +0000 Received: from localhost ([127.0.0.1]:35400 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ5Ef-0003ek-Rq for submit@debbugs.gnu.org; Sun, 01 Nov 2020 00:44:58 -0400 Received: from mail-pg1-f180.google.com ([209.85.215.180]:35998) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ5Ec-0003eV-Lk for 44309@debbugs.gnu.org; Sun, 01 Nov 2020 00:44:56 -0400 Received: by mail-pg1-f180.google.com with SMTP id z24so8136671pgk.3 for <44309@debbugs.gnu.org>; Sat, 31 Oct 2020 21:44:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=roBlXmqTGDGg0MLl5YR8C2JC0AdXbDLUAmOw4vApLBs=; b=P71t9Fyj49WbG1sxlCwNBQEj1MQILh15G06tJL2y0Hk31G8W/4TA/x7OhOuhqzjZvv R1f2LG1qA3rf48EqMparjfjhDP8WelRgd2TAMONn3nISxWh6RpQ5aQrISMbpAh4p3jDD mGtGOGid0lxZkayoO55+WvLOf7L0z6k1zqJZ8e6gm5dgn9hOM2goQK4Ye0sTFgEza+eN VyzjNhjp4XO9xQGAtyCLducr1Hhz8p24mxaZl6F3Yznz+tZSeuF2X+BaPxg6zdL9Snrc TfwLjDrg7/2DLsGi4rhWu7lkNPS1HBIHas/DTFjcc8Vpx1fjrKOS0toqt/sOK2LCrVjK MCXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=roBlXmqTGDGg0MLl5YR8C2JC0AdXbDLUAmOw4vApLBs=; b=K+XItMVEbBIDWELbyUBz/DBdvEsvhrYLaIAOEmbEMmwZ7M6yYRdY9K2Xd2TJFYn2we zQWd5fZPSQG8iMG5CGTJfrJEvkR+nq54TrblqDwXGinW0xgdCdEzs8TDPSrEfbSTrEph i6C+kgQhe4uv8qQA3NDVne/VnjCQb+BAIOP+tMnZnnIsuULHgQUvcuNBJ0VHRT1lcVpl tC8DI6LLvig0dzQekHu+oced0LPFNucexPTX+KXyfYKOWe4b60xY4KonKuNxCf92A4PV oButToqBglx7utDKbdh48scrv/FvxNKjcJCBnl5k2X/gnFhEoQqvisrLecl8wD0sYzCt xoaQ== X-Gm-Message-State: AOAM532n1OGRyTInUTHn9pXM4Gq+71YaIbpB8GehdQDYX1//+5oi2LC9 y4n6vihxMD00thuTJD4diGGMjDLK/ReuQ4mFEbfBf2HbWo0= X-Google-Smtp-Source: ABdhPJwfHfdmHJIviIqpXe/14azpCoJNhySLZd6BiGe4onIZUlamIZX0dsN30nD9J9kpGwJt9HBRO2PK2/IHNwbR4/Y= X-Received: by 2002:aa7:9e03:0:b029:164:427a:8f94 with SMTP id y3-20020aa79e030000b0290164427a8f94mr15758153pfq.5.1604205888285; Sat, 31 Oct 2020 21:44:48 -0700 (PDT) MIME-Version: 1.0 From: Prafulla Giri Date: Sun, 1 Nov 2020 10:29:36 +0545 Message-ID: Content-Type: multipart/alternative; boundary="0000000000001e32a605b3044a9b" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=P71t9Fyj; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: hzTt1pbR6Qdz --0000000000001e32a605b3044a9b Content-Type: text/plain; charset="UTF-8" I am wondering if the python bindings should be separated into an output. gnucash:python perhaps. That is the route that the Ubuntu developers seem to have taken. `apt show python3-gnucash`. It would actually make even more sense with guix as one could use flatpak-installed gnucash for their daily usage, and then from their /usr/bin/python3 or $GUIX_PROFILE/bin/python3 they could use gnucash programmatically via the bindings. However, I am not sure if it is possible to specify a search-path-specification for a particular output of a package. I don't know much about splitting packages into outputs either. If we had gnucash:python, and a user ran `guix install gnucash:python`, would that only get the user /gnu/store/...-gnucash-x.y-python from the substitute server and save them bandwidth? If anybody is willing to give me some pointers as to how I could go about cleanly splitting gnucash into gnucash:python - with the native-search-path-specification for PYTHONPATH only being declared for gnucash:python (and that will be an absolute must), I am more than happy to clean this patch up. Thank you. --0000000000001e32a605b3044a9b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
=C2=A0I am wondering if the python bindings should be= separated into an output. gnucash:python perhaps. That is the route that t= he Ubuntu developers seem to have taken. `apt show python3-gnucash`. It wou= ld actually make even more sense with guix as one could use flatpak-install= ed gnucash for their daily usage, and then from their /usr/bin/python3 or $= GUIX_PROFILE/bin/python3 they could use gnucash programmatically via the bi= ndings.

However, I am not sure if it is possible t= o specify a search-path-specification for a particular output of a package.= I don't know much about splitting packages into outputs either. If we = had gnucash:python, and a user ran `guix install gnucash:python`, would tha= t only get the user /gnu/store/...-gnucash-x.y-python from the substitute s= erver and save them bandwidth?

If anybody is willi= ng to give me some pointers as to how I could go about cleanly splitting gn= ucash into gnucash:python - with the native-search-path-specification for P= YTHONPATH only being declared for gnucash:python (and that will be an absol= ute must), I am more than happy to clean this patch up.

Thank you.
--0000000000001e32a605b3044a9b--