From patchwork Sun Apr 25 03:26:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 28862 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 9E02227BC7C; Sun, 25 Apr 2021 04:27:14 +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 51FE527BC7D for ; Sun, 25 Apr 2021 04:27:14 +0100 (BST) Received: from localhost ([::1]:59334 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1laVQP-0006Jw-H5 for patchwork@mira.cbaines.net; Sat, 24 Apr 2021 23:27:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34326) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1laVQG-0006Gh-9y for guix-patches@gnu.org; Sat, 24 Apr 2021 23:27:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58496) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1laVQG-0002HI-38 for guix-patches@gnu.org; Sat, 24 Apr 2021 23:27:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1laVQF-00029B-Vk for guix-patches@gnu.org; Sat, 24 Apr 2021 23:27:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47976] [PATCH v2 04/10] gnu: Add python-orange-canvas-core. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 25 Apr 2021 03:27: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.16193212238244 (code B ref 47976); Sun, 25 Apr 2021 03:27:03 +0000 Received: (at 47976) by debbugs.gnu.org; 25 Apr 2021 03:27:03 +0000 Received: from localhost ([127.0.0.1]:41803 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laVQE-00028Z-7E for submit@debbugs.gnu.org; Sat, 24 Apr 2021 23:27:03 -0400 Received: from mout02.posteo.de ([185.67.36.66]:34821) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laVQ6-00027A-LT for 47976@debbugs.gnu.org; Sat, 24 Apr 2021 23:26:55 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 193792400E5 for <47976@debbugs.gnu.org>; Sun, 25 Apr 2021 05:26:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1619321209; bh=ktL8QhyTzoolF3tuPqPqVhSWAe07acbxp9Jim1sgLhg=; h=From:To:Cc:Subject:Date:From; b=G9sCFxu5tlFXTiESeh8DD9G7HMvSTuWcVP5MZCWs3TDdgSXNw9A8S2LRkqhOdUEkE lcA29Ku6Gu6geDl8nDDPTnsOdfDSyfkjM7Tpr40MKoPhcoKtORI4lfLjuv54qtuRCD 58qpJIqkchxvCROfjynnFCk+0cB9kUqSdAkW17KAcfNIkcBUS5s7w8tO652R0jIWGI zsFKXI8vjL+LpZxw5X4OEXdPfnFZs3KBhxodlspxwOJwVFFMbU3AHv8abBk12NZte2 MZH07NaKHSL5LhT5MxI2iH/cV3Tf1x13IgSYSHWZ+NCOwnS/8adcuOGJFpkqCPsHJ/ U44VBxn0NvP3A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FSYNR6H4fz9rxB; Sun, 25 Apr 2021 05:26:47 +0200 (CEST) From: Vinicius Monego Date: Sun, 25 Apr 2021 03:26:02 +0000 Message-Id: <20210425032608.124210-4-monego@posteo.net> In-Reply-To: <20210425032608.124210-1-monego@posteo.net> References: <20210425032608.124210-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. --- Removed python-setuptools from propagated-inputs. Changed license from gpl3+ to gpl3 (setup.py does not mention any later versions). gnu/local.mk | 1 + gnu/packages/orange.scm | 66 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 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..fb273cbbec --- /dev/null +++ b/gnu/packages/orange.scm @@ -0,0 +1,66 @@ +;;; 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))) + (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)))