From patchwork Fri Apr 23 17:28:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 28828 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 ABE0727BC7D; Fri, 23 Apr 2021 18:29:27 +0100 (BST) 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, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,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 E070127BC7C for ; Fri, 23 Apr 2021 18:29:26 +0100 (BST) Received: from localhost ([::1]:60110 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZzcM-0005s0-5b for patchwork@mira.cbaines.net; Fri, 23 Apr 2021 13:29:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44918) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZzbz-0005nf-S0 for guix-patches@gnu.org; Fri, 23 Apr 2021 13:29:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55435) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lZzbz-00023R-KG for guix-patches@gnu.org; Fri, 23 Apr 2021 13:29:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lZzbz-00037Q-HD for guix-patches@gnu.org; Fri, 23 Apr 2021 13:29:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47976] [PATCH 04/10] gnu: Add python-orange-canvas-core. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 23 Apr 2021 17:29:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47976 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47976@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 47976-submit@debbugs.gnu.org id=B47976.161919894311981 (code B ref 47976); Fri, 23 Apr 2021 17:29:03 +0000 Received: (at 47976) by debbugs.gnu.org; 23 Apr 2021 17:29:03 +0000 Received: from localhost ([127.0.0.1]:38746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZzby-000374-I7 for submit@debbugs.gnu.org; Fri, 23 Apr 2021 13:29:02 -0400 Received: from mout01.posteo.de ([185.67.36.65]:39461) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZzbx-00036Q-Lm for 47976@debbugs.gnu.org; Fri, 23 Apr 2021 13:29:02 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 22062240028 for <47976@debbugs.gnu.org>; Fri, 23 Apr 2021 19:28:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1619198936; bh=D4Q82QNCo2wSxxMkrHRNYqgEGp41t+m5AY8LxQh/iGs=; h=From:To:Cc:Subject:Date:From; b=C4Xy2YVUK6flUKiZH/v1khgLAIyPxXemafHlu2HFFy40Obb46oM9HwMaSWYddy02K 1HXgfZXEJpZJUr1dW4XeWo69PEONjlUKGZEbJ6ThsbnTMGSu+yVVdKkMhv+KDgQE3u E14Z5n2QlqKPziWMyQA+fFIjxmXVJsufHojAo6NUV4MQsSFFGuEwtGyNsxNsBDqVIC UcRz0zKFVmzXuzG3ARQMxKG8Go3c6Uk/B9CWcmBcHcVJnDhZZ81H4E0lU3pZuHsvM2 J4YXq5r2OV5QvMFVa1kIK1e5fzldgLLof+GdWlnfu0GQfvF+RZY+BDR/dGn3i0Yftu J609HyX7/vEeg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FRh925hlpz6tmH; Fri, 23 Apr 2021 19:28:54 +0200 (CEST) From: Vinicius Monego Date: Fri, 23 Apr 2021 17:28:10 +0000 Message-Id: <20210423172816.73579-4-monego@posteo.net> In-Reply-To: <20210423172816.73579-1-monego@posteo.net> References: <20210423172816.73579-1-monego@posteo.net> 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/orange.scm: New file. * gnu/packages/local.mk (GNU_SYSTEM_MODULES): Add it. --- gnu/local.mk | 1 + gnu/packages/orange.scm | 67 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 gnu/packages/orange.scm diff --git a/gnu/local.mk b/gnu/local.mk index 50b11a8ca2..e8b6effb36 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -420,6 +420,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/openldap.scm \ %D%/packages/openpgp.scm \ %D%/packages/openstack.scm \ + %D%/packages/orange.scm \ %D%/packages/orpheus.scm \ %D%/packages/ots.scm \ %D%/packages/package-management.scm \ diff --git a/gnu/packages/orange.scm b/gnu/packages/orange.scm new file mode 100644 index 0000000000..9f30befde2 --- /dev/null +++ b/gnu/packages/orange.scm @@ -0,0 +1,67 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2021 Vinicius Monego +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages orange) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system python) + #:use-module (gnu packages) + #:use-module (gnu packages python-web) + #:use-module (gnu packages python-xyz) + #:use-module (gnu packages qt)) + +(define-public python-orange-canvas-core + (package + (name "python-orange-canvas-core") + (version "0.1.19") + (source + (origin + (method url-fetch) + (uri (pypi-uri "orange-canvas-core" version)) + (sha256 + (base32 "03wav2msfm32y8zwq69v1v6qyh1ld76xla2z60avf49yhbwjgwal")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'check-setup + (lambda _ + ;; This test fails with: RuntimeError: Event loop is closed. + (substitute* "orangecanvas/application/tests/test_mainwindow.py" + (("test_help_requests") "_test_help_requests")) + (setenv "HOME" "/tmp") + (setenv "QT_QPA_PLATFORM" "offscreen") + #t))))) + (propagated-inputs + `(("python-anyqt" ,python-anyqt) + ("python-cachecontrol" ,python-cachecontrol) + ("python-commonmark" ,python-commonmark) + ("python-dictdiffer" ,python-dictdiffer) + ("python-docutils" ,python-docutils) + ("python-pyqt" ,python-pyqt) + ("python-qasync" ,python-qasync) + ("python-requests" ,python-requests) + ("python-setuptools" ,python-setuptools))) + (home-page "https://github.com/biolab/orange-canvas-core") + (synopsis "Core component of Orange Canvas") + (description + "Orange Canvas Core is a framework for building graphical user interfaces +for editing workflows. It is a component used to build the Orange Canvas +data-mining application.") + (license license:gpl3+)))