From unknown Fri Jun 20 07:21:14 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#53943 <53943@debbugs.gnu.org> To: bug#53943 <53943@debbugs.gnu.org> Subject: Status: [PATCH] Add python-stltools Reply-To: bug#53943 <53943@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:21:14 +0000 retitle 53943 [PATCH] Add python-stltools reassign 53943 guix-patches submitter 53943 Evgeny Pisemsky severity 53943 normal tag 53943 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 11 14:00:46 2022 Received: (at submit) by debbugs.gnu.org; 11 Feb 2022 19:00:46 +0000 Received: from localhost ([127.0.0.1]:32772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIb9t-00060o-KF for submit@debbugs.gnu.org; Fri, 11 Feb 2022 14:00:46 -0500 Received: from lists.gnu.org ([209.51.188.17]:51562) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIb9s-00060h-8L for submit@debbugs.gnu.org; Fri, 11 Feb 2022 14:00:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33208) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIb9r-0003u9-Tn for guix-patches@gnu.org; Fri, 11 Feb 2022 14:00:39 -0500 Received: from sofi-shared.hosting.energy ([146.59.29.125]:53756 helo=sofi.hosting.energy) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIb9p-0008CF-39 for guix-patches@gnu.org; Fri, 11 Feb 2022 14:00:38 -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:Date: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:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=5gSuXeIRWjkO6Qk8FKYkJP+2zqdvCeAHrQg27gnzrBs=; b=ciIJSKaf11oYBNI6I4jH/+ypgx AvUhTeZqfSb/nmqLYdg09EHOPjSvCkRuljxcqh2+b2/fktHPITH3zwygVojKFhyn9bw9Q3CFX93Zh y+0s8yW6zenZR/SStjStgsA9VnjgDvyNsRltl9UJjRuP7DosWshNL/7CmEbDXep53ByY=; Received: from node-172-167-35-212.domolink.tula.net ([212.35.167.172] 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 1nIb9h-0000xd-Vt for guix-patches@gnu.org; Fri, 11 Feb 2022 22:00:30 +0300 From: Evgeny Pisemsky To: guix-patches@gnu.org Subject: [PATCH] Add python-stltools Date: Fri, 11 Feb 2022 22:00:28 +0300 Message-ID: <875ypli5yr.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="=-=-=" Received-SPF: pass client-ip=146.59.29.125; envelope-from=evgeny@pisemsky.com; helo=sofi.hosting.energy 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, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_PERMERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --=-=-= Content-Type: text/plain Hello! The source of this package contains custom setup.py script, which does not work with python-build-system, so I just copied files around in package definition, and this seems worked. However, I am not sure if it is an appropriate way of intallation. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-python-stltools.patch Content-Transfer-Encoding: quoted-printable >From c6fcae5568da38a66e67947f6d20d7228923c626 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 | 44 +++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 41b60325d2..e72d5baed7 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. ;;; @@ -28933,3 +28934,46 @@ (define-public python-types-dataclasses "This packages provides a collection of library stubs for Python, with static types.") (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 _ + (invoke "py.test" "-v")))))) + (propagated-inputs (list python-pycairo)) + (native-inputs (list python-pytest)) + (home-page "https://github.com/rsmith-nl/stltools") + (synopsis "Tools to manipulate STL files") + (description "Python modules and scripts for handling +stereolithography (STL) files.") + (license license:expat))) base-commit: 6baf2177df36bc33e79f1c71198dfe04d242efb2 --=20 2.34.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 25 12:51:07 2022 Received: (at 53943) by debbugs.gnu.org; 25 Feb 2022 17:51:07 +0000 Received: from localhost ([127.0.0.1]:53656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNekF-0008Dw-Br for submit@debbugs.gnu.org; Fri, 25 Feb 2022 12:51:07 -0500 Received: from sofi-shared.hosting.energy ([146.59.29.125]:48576 helo=sofi.hosting.energy) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNekD-0008DP-9g for 53943@debbugs.gnu.org; Fri, 25 Feb 2022 12:51:06 -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=SSmvISzwKC+F9BsBxsXpL2Dr8toPs57eXxaG6Qo6ItI=; b=eCCkj3gVUz5asZJ+pzv8F4CsEz SpkI47clr6L0rEBzJusrVnm2bLZh4e7d0fARnbP8aaU2Ks956RFbmWfqrB5Qn1haL4TzKC6YVTcBZ 6+3Vc+8sBFwEeLvDlRSXEXVLy+dFGS2xCgmMwTDnIstZuSzV8zrX0GYBCu+eHG6lJIAA=; 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 1nNek6-0000VM-EO for 53943@debbugs.gnu.org; Fri, 25 Feb 2022 20:50:58 +0300 From: Evgeny Pisemsky To: 53943@debbugs.gnu.org Subject: Re: bug#53943: Acknowledgement ([PATCH] Add python-stltools) References: <875ypli5yr.fsf@pisemsky.com> Date: Fri, 25 Feb 2022 20:50:56 +0300 In-Reply-To: (GNU bug Tracking System's message of "Fri, 11 Feb 2022 19:01:02 +0000") Message-ID: <8735k67s3j.fsf@pisemsky.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: ClamAV 0.103.0; Fri, 25 Feb 2022 20:50:58 +0300 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53943 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Any feedback? From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 25 14:49:45 2022 Received: (at 53943) by debbugs.gnu.org; 25 Feb 2022 19:49:45 +0000 Received: from localhost ([127.0.0.1]:53772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNgb3-0007Zj-6G for submit@debbugs.gnu.org; Fri, 25 Feb 2022 14:49:45 -0500 Received: from xavier.telenet-ops.be ([195.130.132.52]:51262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNgb0-0007ZY-Hl for 53943@debbugs.gnu.org; Fri, 25 Feb 2022 14:49:43 -0500 Received: from [192.168.230.254] ([188.188.131.143]) by xavier.telenet-ops.be with bizsmtp id zXpf2600Q35n6WL01XpgYj; Fri, 25 Feb 2022 20:49:40 +0100 Message-ID: Subject: Re: [bug#53943] [PATCH] Add python-stltools From: Maxime Devos To: Evgeny Pisemsky , 53943@debbugs.gnu.org Date: Fri, 25 Feb 2022 20:49:33 +0100 In-Reply-To: <875ypli5yr.fsf@pisemsky.com> References: <875ypli5yr.fsf@pisemsky.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-Ow2PLFWMf/552rM60m5E" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1645818580; bh=029JwbIj1oBKZKxt36N+99zb44ge1xnkHtCSWqLMalM=; h=Subject:From:To:Date:In-Reply-To:References; b=j+d0dxZrIKEo+9+r44/ZdL4lINgStAKUgAGWCylaPp0QlWS02BJuP9y5PfhRr9W1Q Otyawr4TJJisVBjf35wi32+sd4DAe783a8wiF7SZt+9bhvRPbc60ERnKXXKYmqa980 Ewr0upvr7oidq/gXSP3iLB4fjogmd6CdDfKNKJeqXQ0v2B89HrsW+gdvddL6c1YyR1 kObrc6kd68celd/Xk9KdXCOKo6XIQAOy9K3REyA4zmOYbEuQMY5f3pQGfTTONJXCgq NRs9sgSTlGyAExWLmHc2dqAfpYPu3ti5yYPWFZRCkE3NfSblTU5TOR+4+rg0/w7/wG q1FsDWWraiYNQ== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53943 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-Ow2PLFWMf/552rM60m5E Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Evgeny Pisemsky schreef op vr 11-02-2022 om 22:00 [+0300]: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (replace 'check > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (lambda _ > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= (invoke "py.test" "-v")))))) For cross-compilation and to make "--without-tests" work, this phase needs to respect #:tests?, try (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? (invoke "py.test" "-v"))))))) Greetings, Maxime. --=-Ow2PLFWMf/552rM60m5E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYhkyzRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7oIzAP9yDY9dIuFzwYRWAsEFaEfg6IL7 9Zg88jUGGhdR8GpMdQD/Udae3PFmBDkWcxE4Jdsc5DS4Cw+He5sJhGS/GgZ29wU= =3Q/C -----END PGP SIGNATURE----- --=-Ow2PLFWMf/552rM60m5E-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 25 14:51:56 2022 Received: (at 53943) by debbugs.gnu.org; 25 Feb 2022 19:51:56 +0000 Received: from localhost ([127.0.0.1]:53779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNgd9-0007dq-Ui for submit@debbugs.gnu.org; Fri, 25 Feb 2022 14:51:56 -0500 Received: from baptiste.telenet-ops.be ([195.130.132.51]:51044) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNgd8-0007di-J0 for 53943@debbugs.gnu.org; Fri, 25 Feb 2022 14:51:55 -0500 Received: from [192.168.230.254] ([188.188.131.143]) by baptiste.telenet-ops.be with bizsmtp id zXrs2600M35n6WL01XrtXL; Fri, 25 Feb 2022 20:51:53 +0100 Message-ID: <55198330c29cfb27122cc49149711dddc6ea70cc.camel@telenet.be> Subject: Re: [bug#53943] [PATCH] Add python-stltools From: Maxime Devos To: Evgeny Pisemsky , 53943@debbugs.gnu.org Date: Fri, 25 Feb 2022 20:51:52 +0100 In-Reply-To: <875ypli5yr.fsf@pisemsky.com> References: <875ypli5yr.fsf@pisemsky.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-VsulwYFFpIFGeLyR4YxX" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1645818713; bh=SADXrLKnNKIIodbYb9Cp4jH612tjLw7GNLuqIfwnF5w=; h=Subject:From:To:Date:In-Reply-To:References; b=hxUD5AvgukwzxFpBu1BCFRoFmpXQHYLSrVt9MK9SheG4Z/y8P60iqP80fWrsbYWgZ /wyxxcyq6OTu8FwG3feP/fuF6SkR5v8Ib1nY2vpvp4GR4mLMCaHA3X+3qn3eaVtIk9 nNq2J5SPIQ9J0hZWdx5yJh7e244PjKI01MLFU562rMDYOOw9sagszSlq8OFcUNo+SE B1K1eSlLoKkouZi6py3rga5AjguAZovv7DSHLpr7awqFjQt5WpqYkTUoK/RKFEB0+w nDsI4YrYiZgeTFx8dxeutT59ye2ibSoPJGvk3wQFB8dcUlL2z6kyLKBUiJiWGJ2q1M BrGb0NN1UMQFw== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53943 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-VsulwYFFpIFGeLyR4YxX Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Evgeny Pisemsky schreef op vr 11-02-2022 om 22:00 [+0300]: > +=C2=A0=C2=A0=C2=A0=C2=A0 `(#:use-setuptools? #f > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 #:phases > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (modify-phases %standard-phases > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (delete 'build) > + [replace the install phase] Most of the time (but not always!), the default build and install phases and the default of #:use-setuptools? is fine. Could you elaborate what is the issue? Greetings, Maxime. --=-VsulwYFFpIFGeLyR4YxX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYhkzWBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7qOzAQCHu+SyPVdAUlwl/Qjlla643oJX SBk4qJV0yLxd81i98QEAodASkCE3KNd6dXVLWFRz0/3z+j83sRSK7Gs+JzM31w4= =MtjB -----END PGP SIGNATURE----- --=-VsulwYFFpIFGeLyR4YxX-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 25 14:55:57 2022 Received: (at 53943) by debbugs.gnu.org; 25 Feb 2022 19:55:57 +0000 Received: from localhost ([127.0.0.1]:53785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNgh3-0007kc-Dw for submit@debbugs.gnu.org; Fri, 25 Feb 2022 14:55:57 -0500 Received: from xavier.telenet-ops.be ([195.130.132.52]:56732) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNgh1-0007kS-OJ for 53943@debbugs.gnu.org; Fri, 25 Feb 2022 14:55:56 -0500 Received: from [192.168.230.254] ([188.188.131.143]) by xavier.telenet-ops.be with bizsmtp id zXvu2600135n6WL01XvuBf; Fri, 25 Feb 2022 20:55:54 +0100 Message-ID: Subject: Re: [bug#53943] [PATCH] Add python-stltools From: Maxime Devos To: Evgeny Pisemsky , 53943@debbugs.gnu.org Date: Fri, 25 Feb 2022 20:55:53 +0100 In-Reply-To: <875ypli5yr.fsf@pisemsky.com> References: <875ypli5yr.fsf@pisemsky.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-89Q8L7Mjb1IWtTIlCCuk" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1645818954; bh=sNFqrulBprWuvxsPJ9c+OSiNeMxgfR2fxZXdDVXApi0=; h=Subject:From:To:Date:In-Reply-To:References; b=j1tJh2FFnpHGrQJF4XLhsX0asl1cP1u3fhBCp+Ctj4bEPBfQM9m/Bj1//0mmGpQgf 5nnnAcj/odIS0di4wKgqRIetlojosUOxhLwNeRQ3cd3vBYyKqd+UzF1WmWGd4yUyJM vgDLQGSAzRnnfn1geDrrjxCNoPCpSONSJVi7Qv48NQnjazw9v8exxI1MYxYJmoCdZt lFroW2iVbnVtCo3psHrEGKjY48W8yJMuFB7Fwvjj4OMIEKE0uSueEJZyzfWh8K17xW Z1CDiOE55sNxjPvi2JEm4NmJnWaqDMp6qaMGzOac7JjBix7WTiNmNulcs6PaxTfOdz gKeD97MQDP9IQ== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53943 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-89Q8L7Mjb1IWtTIlCCuk Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Evgeny Pisemsky schreef op vr 11-02-2022 om 22:00 [+0300]: > +=C2=A0=C2=A0=C2=A0 (description "Python modules and scripts for handling > +stereolithography (STL) files.") Perhaps the description can be extended a bit? Maybe: "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." Greetings, Maxime. --=-89Q8L7Mjb1IWtTIlCCuk Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYhk0SRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7qFfAQDFDLRTJFdt+sLXsSOsCJDDB3bs EsvpkrZaRSHT7KUyuQEA6B9Od5talu0QZS4mubi+HYpWytekVb4fki1i/zv+gAM= =5hda -----END PGP SIGNATURE----- --=-89Q8L7Mjb1IWtTIlCCuk-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 25 14:58:20 2022 Received: (at 53943) by debbugs.gnu.org; 25 Feb 2022 19:58:20 +0000 Received: from localhost ([127.0.0.1]:53790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNgjL-0007od-PK for submit@debbugs.gnu.org; Fri, 25 Feb 2022 14:58:19 -0500 Received: from andre.telenet-ops.be ([195.130.132.53]:36988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNgjK-0007oT-5W for 53943@debbugs.gnu.org; Fri, 25 Feb 2022 14:58:19 -0500 Received: from [192.168.230.254] ([188.188.131.143]) by andre.telenet-ops.be with bizsmtp id zXyB2600D35n6WL01XyGCS; Fri, 25 Feb 2022 20:58:16 +0100 Message-ID: Subject: Re: [bug#53943] [PATCH] Add python-stltools From: Maxime Devos To: Evgeny Pisemsky , 53943@debbugs.gnu.org Date: Fri, 25 Feb 2022 20:58:10 +0100 In-Reply-To: <55198330c29cfb27122cc49149711dddc6ea70cc.camel@telenet.be> References: <875ypli5yr.fsf@pisemsky.com> <55198330c29cfb27122cc49149711dddc6ea70cc.camel@telenet.be> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-9dOuwpYWLdNBjyX40OFq" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1645819096; bh=PME7K/aFNIwJ42JoMHdt189maRO77FqR3NqNc2CH+jI=; h=Subject:From:To:Date:In-Reply-To:References; b=l50TN3cP0S83ZYCJHIzrv1I2+f09o6goYaUmm12nBzNZ2qxHszaMiDUspoTaxjpLd gagi+yYBSz3auEqhi7tZG5Z24nagtVqkhYQ8K/zI96nFC6opfdN+SavLZFzECa7X0t vkiDM7Bvs8JSkCTjMXh6yJagpaI0/XFIP8OOJJ25vbMhgwL+JqBu+e6fO+dRZt9xR4 CWBf523EXrkRRnSEGG0K2UkAgjJLC4yT1AcJ/BPZ4UkLgwhxlDEHsRYmg+E04Ycm0H 5Wp+sCTuD/zj+rdWEo/FYkHY/NzWoK3Zs0zsW7URgo8ggZuq0sHaSEijfjdenGBmD1 6Dt6D55L0d6tQ== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53943 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-9dOuwpYWLdNBjyX40OFq Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Maxime Devos schreef op vr 25-02-2022 om 20:51 [+0100]: > Evgeny Pisemsky schreef op vr 11-02-2022 om 22:00 [+0300]: > > +=C2=A0=C2=A0=C2=A0=C2=A0 `(#:use-setuptools? #f > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 #:phases > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (modify-phases %standard-phases > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (delete 'build) > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [replace the install = phase] >=20 > Most of the time (but not always!), the default build and install > phases and the default of #:use-setuptools? is fine.=C2=A0 Could you > elaborate what is the issue? Nevermind, I now see the original message you sent. Still seems suboptimal though ... --=-9dOuwpYWLdNBjyX40OFq Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYhk00hccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7iEfAQCdX2Ya5IHj3M4RwiUztz25R+tj GcVhlkCOOklNjfEtHQEA5l1tSMP6cTS5QUFMN0DdAU5HwDfGQrSnNPIXEjs+AwU= =uplx -----END PGP SIGNATURE----- --=-9dOuwpYWLdNBjyX40OFq-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 25 15:02:56 2022 Received: (at 53943) by debbugs.gnu.org; 25 Feb 2022 20:02:56 +0000 Received: from localhost ([127.0.0.1]:53796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNgno-0007xV-AR for submit@debbugs.gnu.org; Fri, 25 Feb 2022 15:02:56 -0500 Received: from xavier.telenet-ops.be ([195.130.132.52]:34878) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNgnm-0007xM-VB for 53943@debbugs.gnu.org; Fri, 25 Feb 2022 15:02:55 -0500 Received: from [192.168.230.254] ([188.188.131.143]) by xavier.telenet-ops.be with bizsmtp id zY2s2600c35n6WL01Y2t0V; Fri, 25 Feb 2022 21:02:53 +0100 Message-ID: Subject: Re: [bug#53943] [PATCH] Add python-stltools From: Maxime Devos To: Evgeny Pisemsky , 53943@debbugs.gnu.org Date: Fri, 25 Feb 2022 21:02:52 +0100 In-Reply-To: <875ypli5yr.fsf@pisemsky.com> References: <875ypli5yr.fsf@pisemsky.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-VU5E+a38OZy2nl39Jiyn" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1645819373; bh=wCs+9dYwjb6aYdoIuvvgEgHfpbWTGzX1bBKmKU5y0Q4=; h=Subject:From:To:Date:In-Reply-To:References; b=MYRZLF1Zrel0Hqy3MzDZxDPj6r6UC5FqbYPSgmiWgekzUhigVkPR0sTrOgPZNybXU hi8WXY7y1dQgMTNzVfXs9HgC3QTcA0OAbX087BcHX7CksHSQG7UPJYP4SA/pKZ0Agj An//jgq9QKrwWygU5nSdJYbf2YCF5Wetq+nJQBZkDRtOQQW9uOnf9aSuAFH7w8V/fy RQS/g2OEqAiqmRzpCfz0fc1oPen6kozAi//SrfUWPEmvh0IutRdoVqoYctMM2brznJ mO84Ez+NUWD3P6+yaokF3TtgG4LOwFK1Gonsfpjer2li+w1YLYlGdoUs/pLF+GIDbI JBg7CLLYXqv7Q== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53943 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-VU5E+a38OZy2nl39Jiyn Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Evgeny Pisemsky schreef op vr 11-02-2022 om 22:00 [+0300]: > +=C2=A0=C2=A0=C2=A0 (arguments > +=C2=A0=C2=A0=C2=A0=C2=A0 `(#:use-setuptools? #f > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 #:phases > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (modify-phases %standard-phases To make sure that 'stl2pov' and friends of 'python-sltools' can find its dependencies when run outside a profile (somewhat niche but occassionaly useful), some wrapping may be necessary (search for 'wrap- program'). Maybe python-build-system does that automatically though ... --=-VU5E+a38OZy2nl39Jiyn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYhk17BccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7g7vAP463meXurYqvf0CXpahiVGI5Pei gMd47o4KmWETT02TrQD+KeLJyCB5nyQO11jMZwPNhZEueDlre1n1fuLsCMdskg8= =VzTL -----END PGP SIGNATURE----- --=-VU5E+a38OZy2nl39Jiyn-- From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 28 01:00:32 2022 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 To: 53943@debbugs.gnu.org Subject: Re: bug#53943: Acknowledgement ([PATCH] Add python-stltools) 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-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53943 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= 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 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 06 16:19:47 2022 Received: (at 53943-done) by debbugs.gnu.org; 6 Mar 2022 21:19:47 +0000 Received: from localhost ([127.0.0.1]:51836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nQyI7-0000lh-4I for submit@debbugs.gnu.org; Sun, 06 Mar 2022 16:19:47 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54646) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nQyI5-0000lV-FI for 53943-done@debbugs.gnu.org; Sun, 06 Mar 2022 16:19:45 -0500 Received: from [2001:470:142:3::e] (port=57518 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nQyHz-00070x-Rx; Sun, 06 Mar 2022 16:19:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=hpNL13zdUu/wknrhuCxkOa/AFXAfpDmsu7MgXAEYsUA=; b=gdJHAp8ePm7Wkjmcg3PF yjghR10of/OsG7yxO8MIOYw32M+UAiT4lAzRu3pb+67jknd8P4qfI7Xm7rmQ8Mm9u/dPXk2DMvLvp +/NiNGAangHMYrN0fllYeBxFA4ATRjw3piTzo3b2vSq0bf74l0NY0iEAGrEl0jF9pq2bQp/f6er23 GuFHwoHvclNmyrmc26nCO00lR3fBEiocMm0G5RXBk4dfcqArz5kS47+EkerJ5LRzeRDe4oK5lGUo1 5qTDP0RTchAsa8y523y1yntQh7ZYQKz2CmWwvy08yOqbOtyv73FSk8GsblNLWteNWei8zSeU95j07 YuParTSQE+mmBA==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:50146 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nQyHy-0007ZI-Cs; Sun, 06 Mar 2022 16:19:38 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Evgeny Pisemsky Subject: Re: bug#53943: [PATCH] Add python-stltools References: <875ypli5yr.fsf@pisemsky.com> <87tucjmsy2.fsf@pisemsky.com> Date: Sun, 06 Mar 2022 22:19:37 +0100 In-Reply-To: <87tucjmsy2.fsf@pisemsky.com> (Evgeny Pisemsky's message of "Mon, 28 Feb 2022 09:00:21 +0300") Message-ID: <87ilsqkcd2.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 53943-done Cc: Maxime Devos , 53943-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Evgeny Pisemsky skribis: >>>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. Applied. Thanks you, and thanks Maxime for reviewing! Ludo=E2=80=99. From unknown Fri Jun 20 07:21:14 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 04 Apr 2022 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator