From patchwork Sun Oct 3 07:41:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: phodina X-Patchwork-Id: 33585 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 AFA7127BBE3; Sun, 3 Oct 2021 08:42:23 +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, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,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 70C9727BBE1 for ; Sun, 3 Oct 2021 08:42:23 +0100 (BST) Received: from localhost ([::1]:50798 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWw8c-0002x2-Hr for patchwork@mira.cbaines.net; Sun, 03 Oct 2021 03:42:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36514) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWw8J-0002wg-3N for guix-patches@gnu.org; Sun, 03 Oct 2021 03:42:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49384) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWw8I-0008TC-RJ for guix-patches@gnu.org; Sun, 03 Oct 2021 03:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mWw8I-0005ir-Gd for guix-patches@gnu.org; Sun, 03 Oct 2021 03:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50987] [PATCH 1/2] gnu: Add python-pyphotonfile. Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 03 Oct 2021 07:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50987 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50987@debbugs.gnu.org X-Debbugs-Original-To: phodina via Guix-patches via Received: via spool by submit@debbugs.gnu.org id=B.163324689121958 (code B ref -1); Sun, 03 Oct 2021 07:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Oct 2021 07:41:31 +0000 Received: from localhost ([127.0.0.1]:60930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWw7n-0005i6-Jg for submit@debbugs.gnu.org; Sun, 03 Oct 2021 03:41:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:54166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWw7l-0005hy-Ew for submit@debbugs.gnu.org; Sun, 03 Oct 2021 03:41:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36402) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWw7j-0002tJ-HR for guix-patches@gnu.org; Sun, 03 Oct 2021 03:41:29 -0400 Received: from mail2.protonmail.ch ([185.70.40.22]:31548) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWw7h-0007zi-9A for guix-patches@gnu.org; Sun, 03 Oct 2021 03:41:27 -0400 Date: Sun, 03 Oct 2021 07:41:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1633246881; bh=4lvmhc1tjrFbZgQsThaGg2CkF5NHjQVZCVpFbAvcfCY=; h=Date:To:From:Reply-To:Subject:From; b=pDdDQ0XXf0KSqybSPSNoGZeT1UJtNkBiqLJhHez0j1LSKPe1XHf72SI+AY9bBE+uo jXuPhTpg9/S8hD/2hVvGuqrC/C1DgdT6ewXXFGeMU3xzJtrHmZ0/E82xOzAVl9JrFc 22CCT+YxDbzXm7A1MGPQsVEFnRFGwoAUNBJ7P+Kk= Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.40.22; envelope-from=phodina@protonmail.com; helo=mail2.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: phodina X-ACL-Warn: , phodina via Guix-patches X-Patchwork-Original-From: phodina via Guix-patches via From: phodina X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-pyphotonfile): New variable. --- 2.32.0 diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 14f5fdef54..5f4df4c7fb 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -23237,6 +23237,31 @@ qvarious formats: PDF, PostScript, PNG and even SVG.") existing Hunspell hyphenation dictionaries.") (license (list license:gpl2 license:lgpl2.1 license:mpl1.1)))) +(define-public python-pyphotonfile + (package + (name "python-pyphotonfile") + (version "0.2.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/fookatchu/pyphotonfile") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1hh1fcn7q3kyk2413pjs18xnxvzrchrisbpj2cd59jrdp0qzgv2s")))) + (build-system python-build-system) + (inputs `(("python-numpy" ,python-numpy) + ("python-pillow" ,python-pillow))) + (home-page "https://github.com/fookatchu/pyphotonfile") + (synopsis "Library for Anycubic Photon 3D-Printer") + (description "This package provides library used for manipulating Photon- +and cbddlp-files created for the Anycubic Photon 3D-Printer and compatibles +(e.g. Elegoo Mars, etc.). Currently it supports removing and adding new +layers as well as changing global parameters like the exposure time, etc.") + (license license:gpl3))) + (define-public python-intelhex (package (name "python-intelhex") From patchwork Sun Oct 3 07:43:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: phodina X-Patchwork-Id: 33586 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 7845527BBE3; Sun, 3 Oct 2021 09:09:05 +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, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,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 3C22D27BBE1 for ; Sun, 3 Oct 2021 09:09:05 +0100 (BST) Received: from localhost ([::1]:56426 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWwYS-0003or-8o for patchwork@mira.cbaines.net; Sun, 03 Oct 2021 04:09:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWwBD-00072n-4w for guix-patches@gnu.org; Sun, 03 Oct 2021 03:45:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49389) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWwBB-0002Qw-S2 for guix-patches@gnu.org; Sun, 03 Oct 2021 03:45:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mWwBB-0005nu-JN for guix-patches@gnu.org; Sun, 03 Oct 2021 03:45:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50987] [PATCH 2/2] gnu: Add python-sl1tophoton. References: In-Reply-To: Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 03 Oct 2021 07:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50987 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "50987@debbugs.gnu.org" <50987@debbugs.gnu.org> Received: via spool by 50987-submit@debbugs.gnu.org id=B50987.163324704222228 (code B ref 50987); Sun, 03 Oct 2021 07:45:01 +0000 Received: (at 50987) by debbugs.gnu.org; 3 Oct 2021 07:44:02 +0000 Received: from localhost ([127.0.0.1]:60935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWwAE-0005mS-1T for submit@debbugs.gnu.org; Sun, 03 Oct 2021 03:44:02 -0400 Received: from mail-40136.protonmail.ch ([185.70.40.136]:51391) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWwAD-0005ls-2h for 50987@debbugs.gnu.org; Sun, 03 Oct 2021 03:44:01 -0400 Date: Sun, 03 Oct 2021 07:43:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1633247034; bh=Ww03LNhAco1uHPqFRTGfDQKhbhbBaiY/mcdyV3TAj/c=; h=Date:To:From:Reply-To:Subject:From; b=DxaepbUX2siKWib4toGzvequZpJb3IxnMivlcTov+jHvyzbV7DxOGl79FMaVRt/hH qOCZcI96vziKPzhLxhPFzYoK41raZGSDC0hz/eFWvN8Ge4pV+hr9Nl0/KgypwKSL3a YKhs2MAPX63oiXechagsDFlRErAWXnPQNApCZuZQ= Message-ID: <4Ru7g6bih3h2SgDG2izfiqmCEcySJ3xMOcvEtcn7fGoeBhTPYjYvgW8wnK77o7nrGnaILCrMu949HnZwEpEmGsw0UWtmOCHIlYFMJA0OIkg=@protonmail.com> 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" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches X-Patchwork-Original-From: phodina via Guix-patches via From: phodina X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-sl1tophoton): New variable. --- 2.32.0 diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5f4df4c7fb..0c56c61946 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -547,6 +547,43 @@ Markdown. All extensions are found under the module namespace of pymdownx.") generator MkDocs.") (license license:expat))) +(define-public python-sl1tophoton + (package + (name "python-sl1tophoton") + (version "0.1.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/fookatchu/SL1toPhoton") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1hmb74rcky3nax4lxn7pw6lcd5a66fdbwrm11c84zb31xb51bakw")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'install 'install-binary + (lambda* (#:key outputs #:allow-other-keys) + (let* ((bin (string-append (assoc-ref outputs "out") "/bin"))) + (mkdir-p bin) + (install-file "SL1_to_Photon_gui.py" bin) + (install-file "SL1_to_Photon.py" bin) + (chmod (string-append bin "/SL1_to_Photon_gui.py") #o555) + (chmod (string-append bin "/SL1_to_Photon.py") #o555))))))) + (inputs `(("python-pyphotonfile", python-pyphotonfile) + ("python-numpy" ,python-numpy) + ("python-pyside-2" ,python-pyside-2) + ("python-pillow" ,python-pillow))) + (home-page "https://github.com/fookatchu/SL1toPhoton") + (synopsis "Converter for SL1 to Photon files") + (description "SL1toPhoton is a tool for converting PrusaSlicer's SL1 files +to Photon files for the Anycubic Photon 3D-Printer. Other cbddlp-files should +also work (e.G. Elegoo Mars).") + (license license:gpl3))) + (define-public python-slixmpp (package (name "python-slixmpp")