From patchwork Sun Mar 13 01:14:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Fatima Toothpaste X-Patchwork-Id: 37770 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 4790C27BBEA; Sun, 13 Mar 2022 01:36:12 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id BF4CB27BBE9 for ; Sun, 13 Mar 2022 01:36:11 +0000 (GMT) Received: from localhost ([::1]:50174 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nTD9W-0002Nu-UA for patchwork@mira.cbaines.net; Sat, 12 Mar 2022 20:36:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49744) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nTD9O-0002Me-IP for guix-patches@gnu.org; Sat, 12 Mar 2022 20:36:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47361) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nTD9O-0006nt-9d for guix-patches@gnu.org; Sat, 12 Mar 2022 20:36:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nTD9O-0007sI-7U for guix-patches@gnu.org; Sat, 12 Mar 2022 20:36:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54273] [PATCH V2] gnu : nicotine+: Update to 3.2.1. References: <20220306054551.19383-1-fatimatoothpaste@disroot.org> In-Reply-To: <20220306054551.19383-1-fatimatoothpaste@disroot.org> Resent-From: Fatima Toothpaste Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 13 Mar 2022 01:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54273 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: ludo@gnu.org Cc: 54273@debbugs.gnu.org, Fatima Toothpaste Received: via spool by 54273-submit@debbugs.gnu.org id=B54273.164713531830210 (code B ref 54273); Sun, 13 Mar 2022 01:36:02 +0000 Received: (at 54273) by debbugs.gnu.org; 13 Mar 2022 01:35:18 +0000 Received: from localhost ([127.0.0.1]:41257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTD8f-0007r7-P1 for submit@debbugs.gnu.org; Sat, 12 Mar 2022 20:35:18 -0500 Received: from knopi.disroot.org ([178.21.23.139]:51978) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTCoR-0007Kd-1s for 54273@debbugs.gnu.org; Sat, 12 Mar 2022 20:14:23 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 91133400C5; Sun, 13 Mar 2022 02:14:22 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qmPVXuQu7hgJ; Sun, 13 Mar 2022 02:14:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1647134061; bh=e/PPCS7m1QSMRe6k6QoxOAAAaQ+Yu8nIFBjE39ZjT90=; h=From:To:Cc:Subject:Date; b=dL1br/Hcf1taZJGxlqW/lkmxRgJ4tRwW1slaUpKbUUlkfcXj3dOUT8H0jSe6NPlP7 hnGL4OWp/KUz8sL1FMXcKXrUcgYl++p7iJ9IQa7hrsAH5c52z3rRobHf22KMpSGHqD 3s0FLaD5j2ZjkJLwCB83kUaHKeT+LgN+9Wm1592ujImf9a/tg6DgOrJX/qRVaRL8ay thQgs/qD3Xk/Zl6pQwT/c08bLQqmc78PCtYcPWVCLJq2TJgHu92Ny96TKW+E0ORCGp XwBvfHcEqmco/E0bjSh8ZLMOkZJCBY6ye+ie07+5/AU9W71ZojI/RuJYjksrRxpaY8 OyGx9P4Yd4aWQ== Date: Sun, 13 Mar 2022 10:14:14 +0900 Message-Id: <20220313011414.10351-1-fatimatoothpaste@disroot.org> Mime-Version: 1.0 X-Mailman-Approved-At: Sat, 12 Mar 2022 20:35:16 -0500 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: Fatima Toothpaste X-ACL-Warn: , Fatima Toothpaste via Guix-patches X-Patchwork-Original-From: Fatima Toothpaste via Guix-patches via From: Fatima Toothpaste X-getmail-retrieved-from-mailbox: Patches * gnu/packages/nicotine.scm (nicotine+): Update to 3.2.1. [source]: Delete network requried tests in snippet. [arguments]: Remove trailing #t. Replae 'check to use python unittest module. [inputs]: Add bash-minimal. [native-inputs]: Remove python-pytest. Add python. [home-page]: Update URL. --- gnu/packages/nicotine.scm | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/gnu/packages/nicotine.scm b/gnu/packages/nicotine.scm index 8e194697de..62ad2bb9bf 100644 --- a/gnu/packages/nicotine.scm +++ b/gnu/packages/nicotine.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2020 Martin Becze +;;; Copyright © 2022 Fatima Toothpaste ;;; ;;; This file is part of GNU Guix. ;;; @@ -21,23 +22,27 @@ (define-module (gnu packages nicotine) #:use-module (guix packages) #:use-module (guix git-download) #:use-module (guix build-system python) + #:use-module (gnu packages bash) #:use-module (gnu packages glib) #:use-module (gnu packages gettext) #:use-module (gnu packages gtk) - #:use-module (gnu packages check) - #:use-module (gnu packages mp3)) + #:use-module (gnu packages mp3) + #:use-module (gnu packages python)) (define-public nicotine+ (package (name "nicotine+") - (version "2.1.2") + (version "3.2.1") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/Nicotine-Plus/nicotine-plus") (commit version))) (file-name (git-file-name name version)) - (sha256 (base32 "18rra8yqjr10z23chzcp53ncbd5fhm0iqgqxpbxfq7a10za02v6l")))) + (sha256 (base32 "1x08z5lvkdl62dkc11vrsackgzsh1vr9vp3vgsgfzjyrvlsybmfw")) + (modules '((guix build utils))) + (snippet '(begin + (delete-file-recursively "test/integration"))))) (build-system python-build-system) (arguments `(#:imported-modules ((guix build glib-or-gtk-build-system) @@ -55,18 +60,20 @@ (define-public nicotine+ "/bin/nicotine")) (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) (wrap-program prog - `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))) - #t))) + `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))))) (add-after 'wrap-program 'glib-or-gtk-wrap (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)) (add-after 'glib-or-gtk-wrap 'glib-or-gtk-compile-schemas - (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))))) + (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas)) + (replace 'check + (lambda _ + (invoke "python" "-m" "unittest")))))) (inputs - (list gtk+ python-pygobject python-pytaglib)) + ;;TODO: Add libayatana-appindicator + (list bash-minimal gtk+ python-pygobject python-pytaglib)) (native-inputs - `(("python-pytest" ,python-pytest) - ("gettext" ,gettext-minimal))) - (home-page "https://nicotine-plus.github.io/nicotine-plus/") + (list python gettext-minimal)) + (home-page "https://nicotine-plus.org/") (synopsis "Graphical client for Soulseek") (description "Nicotine+ is a graphical client for the Soulseek peer-to-peer