From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id eMXFKQfjwGQvTAAASxT56A (envelope-from ) for ; Wed, 26 Jul 2023 11:10:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id EKfFKAfjwGR8BgAAG6o9tA (envelope-from ) for ; Wed, 26 Jul 2023 11:10:31 +0200 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 3DAAF3C0E5 for ; Wed, 26 Jul 2023 11:10:31 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=koszko.org header.s=mail header.b="g/WG0KUl"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1690362631; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=y6VA56ElmGXEHPxJBfbN68BNpJibSUFRUJbrEW7/b48=; b=sh5C+Rn6CJEWwu2fWWTL0IO7mNg0Ha2jDIumT5rLAUEWTfMV596km5QlA2MYG/9YR07XQP T7GX1EJ8xfmxW31MzYk5mBU3kYyE2tTFC+53RfZK2xCvGWAia7XE4DHqNDJuLtX50Oy95/ CalfJkq0lyhlO9eHT66O26md3zXgazZ6K1oHTZ2QVlvJVCO/5QW3wVjEJtpom1wYveZtlo Xae3lnt+li2K+gJkz0/t8IuE6E3V82ZHylD8+rPG7j64udR18QijMyt+hB52e9jdYOlXoC h03OhvRAbdDgmoAZZTG7xoHM+JqIvs0+wgErDvm6Rs87BKqEtVaS6LXKXxjlUw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1690362631; a=rsa-sha256; cv=none; b=le6AUwVZlsb8G25u8CD639UzNR59crggLvmiYjSkujA3THWaYopWZyVwlvN2ZwOAqx32/f tQmWzJOD3wumSoLg82Raumz3QvvqVHvHtbUDsOqoHPQ2D44TLGxaSxhZp1wpNEOJpharZQ qEdcp4yKymMFa2i0TvkVhGXnpXx2yvgmN2IvExyGZQcVNZZ0dFKjfO7+jkq+FgeXDt0S6c 2KlVSkajBycSPZ9iEyHMzGctqceHQiI54rxD7Vf4RZiL5BZ8pgu9Z2PilSM880PCrcOZ7b PaMyM6eWSMHLgH5TAkCZps4emAkZNZs8U16V1m2b1t6rmJBKMrFyWaXusO2pdA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=koszko.org header.s=mail header.b="g/WG0KUl"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qOaWy-0000A6-Gb; Wed, 26 Jul 2023 05:10:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qOaWx-00009p-1M for guix-patches@gnu.org; Wed, 26 Jul 2023 05:10:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qOaWw-0003Yo-P0 for guix-patches@gnu.org; Wed, 26 Jul 2023 05:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qOaWw-0006sc-5o; Wed, 26 Jul 2023 05:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64869] [PATCH 1/2] gnu: Add python-userpath. Resent-From: Wojtek Kosior Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Wed, 26 Jul 2023 09:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64869 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64869@debbugs.gnu.org Cc: Wojtek Kosior , Lars-Dominik Braun , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , jgart Received: via spool by 64869-submit@debbugs.gnu.org id=B64869.169036256126352 (code B ref 64869); Wed, 26 Jul 2023 09:10:02 +0000 Received: (at 64869) by debbugs.gnu.org; 26 Jul 2023 09:09:21 +0000 Received: from localhost ([127.0.0.1]:47543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOaWG-0006qw-LP for submit@debbugs.gnu.org; Wed, 26 Jul 2023 05:09:21 -0400 Received: from koszko.org ([93.95.227.159]:49670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOaWD-0006qh-Vg for 64869@debbugs.gnu.org; Wed, 26 Jul 2023 05:09:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=koszko.org; s=mail; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=y6VA56ElmGXEHPxJBfbN68BNpJibSUFRUJbrEW7/b48=; b=g/WG0KUlgRQBRax2EfeY+ZcXKM XPKHdegwF89m2T01dVpsRoM5yUh2vyQ8rjpjsbu1QxH3TmjizRxWEz/i0daVEzHQDVuljD9I6bSE/ l0c7D/ag1eNaP1mJ81JQ8ZrUgstp4G9If+k2uWGjNIxdy4tl922it9ly+0YbHt7J13ur0DfQOzm8O 4hMupTpyzp2PapAIhlaIUC2lP69xw8ZZalBuOGsxF2xtxz++5gw3sYm9IalqApcoGYSpqFK5HwjzZ l31OD2JeLaEAeQWOOMdmlDmavlcTr8lVwkvjvyp0m495hbT76EQfAwYPnPBYMZVsBsBGiMZBtjp96 pr2nzESZYTHZZpUgamR2GQlDikLsAXbmRhGOvztE/T8iw3NPdY7oSfhQIAZ9rxEWd0XFidckrS+Wv NATaBhYaV/BMXtw4L2ZEOWI9ffXE2gQ95T2/mCeVY99zsF8rFTJQRXsSaYnYtpSrDTD/7DF7v5zEz Nrt7Y2TN2PlRj2pc3wMu24piAfGF40fU8lYXW3jSj373vcW8SbgpK9zVHOS05mBm5bq1Rzr6JBhrl Z8wLXKVGN0ArZy9IOMfZrAskZS3KuDM94M0eVk2zF3zR3QBMlVVCNvNMU62PFwerEd5JFBGh0o4hp JBfVeE8uRiA17IVsPzX5v5ftaCaXRsqDfyZWcHQBk=; Received: from [77.252.47.76] (helo=localhost.localdomain) by koszko.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qOaWD-00025A-6Y; Wed, 26 Jul 2023 11:09:17 +0200 Date: Wed, 26 Jul 2023 11:09:01 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: , Reply-to: Wojtek Kosior X-ACL-Warn: , Wojtek Kosior via Guix-patches From: Wojtek Kosior via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -6.66 X-Spam-Score: -6.66 X-Migadu-Queue-Id: 3DAAF3C0E5 X-Migadu-Scanner: mx1.migadu.com X-TUID: KVRGlg+uedVX * gnu/packages/python-xyz.scm (python-userpath): New variable. --- gnu/packages/python-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index db3e69fb45..022d26694c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -139,6 +139,7 @@ ;;; Copyright © 2023 Dominik Delgado Steuter ;;; Copyright © 2023 Ivan Vilata-i-Balaguer ;;; Copyright © 2023 Ontje Lünsdorf +;;; Copyright © 2023 Wojtek Kosior ;;; ;;; This file is part of GNU Guix. ;;; @@ -5223,6 +5224,44 @@ (define-public python-virtualenv-clone "Clone non-relocatable virtualenvs without breaking site-packages.") (license license:expat))) +(define-public python-userpath + (package + (name "python-userpath") + (version "1.9.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ofek/userpath") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1zrbjb54h5p7f1xadk93by1663asr38jg6qs1jsaalsfz7x83v3z")))) + (build-system pyproject-build-system) + (native-inputs (list python-hatchling)) + (arguments + `(#:tests? #f ;tests depend on a docker image + #:phases + (modify-phases %standard-phases + (add-after 'install 'install-doc + (lambda* (#:key outputs #:allow-other-keys) + (let ((doc (string-append (assoc-ref outputs "out") "/share/doc"))) + (mkdir-p doc) + (for-each (lambda (file) + (copy-file (string-append "." file) + (string-append doc file))) + '("/HISTORY.rst" "/LICENSE.txt")))))))) + (propagated-inputs (list python-click)) + (home-page "https://pypi.org/project/userpath/") + (synopsis "Cross-platform tool for adding locations to the user PATH") + (description "@code{userpath} can be used to make permanent changes to +user's PATH. It does so by modifying command line shell's initialization +files. + +You may instead want to use @code{guix home} to define PATH declaratively. +This tool is unfortunately not compatible with {guix home}.") + (license license:expat))) + (define-public python-uc-micro-py (package (name "python-uc-micro-py") -- 2.41.0