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")