From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oAk0Ni5lHGJqMwAAgWs5BA (envelope-from ) for ; Mon, 28 Feb 2022 07:01:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id UBv8Li5lHGKveAAAG6o9tA (envelope-from ) for ; Mon, 28 Feb 2022 07:01:18 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 48D7329206 for ; Mon, 28 Feb 2022 07:01:18 +0100 (CET) Received: from localhost ([::1]:38716 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nOZ5w-0003BN-MN for larch@yhetil.org; Mon, 28 Feb 2022 01:01:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40884) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOZ5i-0003BD-4S for guix-patches@gnu.org; Mon, 28 Feb 2022 01:01:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37709) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nOZ5h-0006Gr-NF for guix-patches@gnu.org; Mon, 28 Feb 2022 01:01:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nOZ5h-0005ve-Jc for guix-patches@gnu.org; Mon, 28 Feb 2022 01:01:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53943] Acknowledgement ([PATCH] Add python-stltools) Resent-From: Evgeny Pisemsky Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 28 Feb 2022 06:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53943 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53943@debbugs.gnu.org Received: via spool by 53943-submit@debbugs.gnu.org id=B53943.164602803222746 (code B ref 53943); Mon, 28 Feb 2022 06:01:01 +0000 Received: (at 53943) by debbugs.gnu.org; 28 Feb 2022 06:00:32 +0000 Received: from localhost ([127.0.0.1]:59839 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOZ5D-0005uo-Ls for submit@debbugs.gnu.org; Mon, 28 Feb 2022 01:00:31 -0500 Received: from sofi-shared.hosting.energy ([146.59.29.125]:56482 helo=sofi.hosting.energy) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOZ5B-0005uX-7d for 53943@debbugs.gnu.org; Mon, 28 Feb 2022 01:00:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=pisemsky.com; s=dkim; h=Content-Type:MIME-Version:Message-ID:In-Reply-To: Date:References:Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=5Uk2K6ykZrp/qjUY9W0nHfoLQdPBbdyMEdhAOIZ6588=; b=jcTiCu4annhbcnp/VxwgUk5y33 vPazwSmA0VKtMWPBg42qFAdEuxMqei8qy2GFLT5+NaJC56pXEXho5oI9qCzwzwUZtOcCIwCROHyHs uFUHWFwcMdF4JMDfQzjjdxYYRMGf26DxrnH7XIRrzZhgGgo4u3Py6R75cyA0EVVapduA=; Received: from node-48-168-35-212.domolink.tula.net ([212.35.168.48] helo=desktop) by sofi.hosting.energy with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1nOZ54-00008q-ID for 53943@debbugs.gnu.org; Mon, 28 Feb 2022 09:00:22 +0300 From: Evgeny Pisemsky References: <875ypli5yr.fsf@pisemsky.com> Date: Mon, 28 Feb 2022 09:00:21 +0300 In-Reply-To: (GNU bug Tracking System's message of "Fri, 11 Feb 2022 19:01:02 +0000") Message-ID: <87tucjmsy2.fsf@pisemsky.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Scanned-By: ClamAV 0.103.0; Mon, 28 Feb 2022 09:00:22 +0300 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1646028078; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=5Uk2K6ykZrp/qjUY9W0nHfoLQdPBbdyMEdhAOIZ6588=; b=tV9x5uityfBusp1ZQIHDVHA1G65iRNTijBv15KFftrJubUd0MAa6Z+M3HV01ltMC7zxF1d ZkmY0Apifwfgj9UjDpUgOCUrLXFWCcCzCZfLODo27v1n7b4p5/sTuwy0qQx9b5M5f6uvQn bBOPwu1dE01YgX9wY0hSMy1ANJCqSoNuPFf+7Ch9tTRoNGjpAFEs5DblZVop3JFPZ6LeWT aE2lVA40evbyLKqq0H8Lul7u7st2AFowT/EQwSgNl/JwGNh6lCEcYhrPpjwbACmKKUdFGb oSQWYenD9Qid9GYk5kTuh5CoZbIt3CRTpTREvLGLfWJ09PwlZGNgObMGRPq1lg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646028078; a=rsa-sha256; cv=none; b=A1wIJNSpWgyMCXQyIHkawakVGn8XehBYcngzJnzd3wtBE5B1/WzQ0JPj+dcqtwkfa0pIx5 0p9RSZLxls5XkjndhXUSB2oDTd12JS0CZzVXRZ2zD7Goe2+fPgwZHyHfOXqcw/kxkSdCM3 vZWlFmcivFqlZ1a4dNjKE8271AqMtrEtjGO6DvQD0x5lApccotO75JoNIuPQ83VHioYjEt 32zgSJWxHohQrXxTT/qz4Gj36o1Jw+I0cXyEu1MFfcNcT+Ok1oKoJDDZ1J5qr65gEExzKR ZP6sKYeK/ORp+7t48qWaHlcQgTPZ3rBks7uoZMQM20AH3tWo3l+KWOzcU0g7ug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pisemsky.com header.s=dkim header.b=jcTiCu4a; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.40 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pisemsky.com header.s=dkim header.b=jcTiCu4a; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 48D7329206 X-Spam-Score: -0.40 X-Migadu-Scanner: scn0.migadu.com X-TUID: 22tLWeWT8HFO --=-=-= Content-Type: text/plain Thank you for suggestions! Here is the updated patch. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-python-stltools.patch Content-Transfer-Encoding: quoted-printable >From 8fec01fed636b43a14230d1a4556d01e8c3cf223 Mon Sep 17 00:00:00 2001 From: Evgeny Pisemsky Date: Fri, 11 Feb 2022 19:55:13 +0300 Subject: [PATCH] gnu: Add python-stltools. * gnu/packages/python-xyz.scm (python-stltools): New variable. --- gnu/packages/python-xyz.scm | 47 +++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c05502388e..c981ccb709 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -116,6 +116,7 @@ ;;; Copyright =C2=A9 2021 Greg Hogan ;;; Copyright =C2=A9 2022 John Kehayias ;;; Copyright =C2=A9 2022 Aleksandr Vityazev +;;; Copyright =C2=A9 2022 Evgeny Pisemsky ;;; ;;; This file is part of GNU Guix. ;;; @@ -29034,3 +29035,49 @@ (define-public python-types-ujson used by type-checking tools like mypy, PyCharm, pytype etc. to check code = that uses ujson.") (license license:asl2.0))) + +(define-public python-stltools + (package + (name "python-stltools") + (version "2022.01.20") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rsmith-nl/stltools") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1k6dhszza4lpy46qffaqx5zr70ikfqqysbacy7zabnrvz09fd4rs")))) + (build-system python-build-system) + (arguments + `(#:use-setuptools? #f + #:phases + (modify-phases %standard-phases + (delete 'build) + (replace 'install + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((moddir (string-append (site-packages inputs outputs) "= /stltools")) + (bindir (string-append (assoc-ref outputs "out") "/bin"= ))) + (copy-recursively "stltools" moddir) + (mkdir-p bindir) + (for-each + (lambda (script) + (let ((source (string-append script ".py")) + (target (string-append bindir "/" script))) + (copy-file source target) + (chmod target #o555))) + '("stl2pov" "stl2ps" "stl2pdf" "stlinfo"))))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "py.test" "-v"))))))) + (propagated-inputs (list python-pycairo)) + (native-inputs (list python-pytest)) + (home-page "https://github.com/rsmith-nl/stltools") + (synopsis "Python modules and scripts for handling STL files") + (description "This package consists of Python modules and scripts for +manipulating stereolithography (STL) files. It can convert STL files into +POV-ray meshes, PDF and PostScript. The Python modules allow for reading = and +writing STL files. It supports both the text and binary forms of STL.") + (license license:expat))) base-commit: 61a847187d781bcecdc77fbec1fb75d1b9531e55 --=20 2.34.0 --=-=-=--