From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WBx5EnpjhV9HTQAA0tVLHw (envelope-from ) for ; Tue, 13 Oct 2020 08:21:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id AF1YDnpjhV9wGQAA1q6Kng (envelope-from ) for ; Tue, 13 Oct 2020 08:21:14 +0000 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 65C7F940719 for ; Tue, 13 Oct 2020 08:21:12 +0000 (UTC) Received: from localhost ([::1]:55478 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kSFYT-0005Gr-VH for larch@yhetil.org; Tue, 13 Oct 2020 04:21:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52734) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kSFYM-0005Fu-BP for guix-patches@gnu.org; Tue, 13 Oct 2020 04:21:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33566) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kSFYM-00035e-1k for guix-patches@gnu.org; Tue, 13 Oct 2020 04:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kSFYL-0002Hx-Re for guix-patches@gnu.org; Tue, 13 Oct 2020 04:21:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43967] [PATCH] Add python2-parallel Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 13 Oct 2020 08:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43967 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "Bonface M. K." Cc: 43967@debbugs.gnu.org Received: via spool by 43967-submit@debbugs.gnu.org id=B43967.16025772138702 (code B ref 43967); Tue, 13 Oct 2020 08:21:01 +0000 Received: (at 43967) by debbugs.gnu.org; 13 Oct 2020 08:20:13 +0000 Received: from localhost ([127.0.0.1]:45112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSFXY-0002GH-Pb for submit@debbugs.gnu.org; Tue, 13 Oct 2020 04:20:13 -0400 Received: from flashner.co.il ([178.62.234.194]:50578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSFXU-0002Fv-3k for 43967@debbugs.gnu.org; Tue, 13 Oct 2020 04:20:10 -0400 Received: from localhost (unknown [141.226.15.20]) by flashner.co.il (Postfix) with ESMTPSA id 834E24021D; Tue, 13 Oct 2020 08:20:01 +0000 (UTC) Date: Tue, 13 Oct 2020 11:19:26 +0300 From: Efraim Flashner Message-ID: <20201013081926.GJ1301@E5400> References: <86eem32tju.fsf@gmail.com> <20201013071322.GI1301@E5400> <868sca35vw.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="yhze8HlyfmXt1APY" Content-Disposition: inline In-Reply-To: <868sca35vw.fsf@gmail.com> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -2.61 X-TUID: S2gPqGCMB5uJ --yhze8HlyfmXt1APY Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 13, 2020 at 11:08:19AM +0300, Bonface M. K. wrote: > Efraim Flashner writes: >=20 > > On Mon, Oct 12, 2020 at 09:22:29PM +0300, Bonface M. K. wrote: > >> Hi all. > >>=20 > >> Find attached a patch that adds > >> python2-parallel. Any feedback is welcome. > >>=20 > >> --=20 > >> Bonface M. K. (https://www.bonfacemunyoki.com) > >> Chief Emacs Mchochezi / Twitter: @BonfaceKilz > >> GPG key =3D D4F09EB110177E03C28E2FE1F5BBAE1E0392253F > > > >> From 23d1ac31023d9c3bc1d35fba868d203a2d1d22ea Mon Sep 17 00:00:00 2001 > >> From: BonfaceKilz > >> Date: Mon, 12 Oct 2020 21:04:01 +0300 > >> Subject: [PATCH] gnu: Add python2-parallel. > >>=20 > >> * gnu/packages/python-xyz (python2-parallel): New package. > >> --- > >> gnu/packages/python-xyz.scm | 32 ++++++++++++++++++++++++++++++++ > >> 1 file changed, 32 insertions(+) > >>=20 > >> diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm > >> index 56c7bb84ab..e149328e35 100644 > >> --- a/gnu/packages/python-xyz.scm > >> +++ b/gnu/packages/python-xyz.scm > >> @@ -85,6 +85,7 @@ > >> ;;; Copyright =C2=A9 2020 Guy Fleury Iteriteka > >> ;;; Copyright =C2=A9 2020 Hendursaga > >> ;;; Copyright =C2=A9 2020 Malte Frank Gerdes > >> +;;; Copyright =C2=A9 2020 Kilyungi Bonface Munyoki > >> ;;; > >> ;;; This file is part of GNU Guix. > >> ;;; > >> @@ -22218,3 +22219,34 @@ NestedText is both simple and natural. Only = a small number of concepts and rule > >> be kept in mind when creating it. It is easily created, modified, or= viewed with > >> a text editor and easily understood and used by both programmers and = non-programmers.") > >> (license license:expat))) ; MIT license > >> + > >> +(define-public python2-parallel > >> + (package > >> + (name "python2-parallel") > >> + (version "1.6.6") > >> + (source > >> + (origin > >> + (method url-fetch) > >> + (uri (string-append > >> + "https://www.parallelpython.com/downloads/pp/pp-" > >> + version ".zip")) > > > > There is a tar.gz and a tar.bz2 version also available. Any reason in > > particular for the zip version? > > >=20 > I don't have a good reason. I wanted to upstream > this package from gn2- and unzip was used > there. Is there a preference to use tar.gz or > tar.bz2 (as oppossed to zip)? I'm guessing better > compression? I can resubmit this with the tar.gz. >=20 The decompressors (there's got to be a better word) for gzip and bzip2 are already in the build environment so it means we don't need to pull in unzip also. > >> + (sha256 > >> + (base32 > >> + "15fhpr6kv4j45f9i55mwi5smzskm0pfwwagya7wq3wwlfaz9pj5c")))) > >> + (native-inputs > >> + `(("unzip" ,unzip))) > >> + (build-system python-build-system) > >> + (arguments > >> + `(#:python ,python-2 Also, does it build with python3? I think we're trying to not add too many more python2-only packages now that python2 is end of life. > >> + ; Package has no tests > >> + #:tests? #f)) > >> + (home-page "https://www.parallelpython.com") > >> + (synopsis "Parallel and distributed programming for Python") > >> + (description "Parallel Python module (PP) provides an easy and ef= ficient > >> +way to create parallel-enabled applications for SMP computers and clu= sters. > >> +PP module features cross-platform portability and dynamic load balanc= ing. > >> +Thus application written with PP will parallelize efficiently even on > >> +heterogeneous and multi-platform clusters (including clusters running= other > >> +application with variable CPU loads). Visit http://www.parallelpytho= n.com for > >> +further information.") > > > > I think we can drop the "visit the webpage" line. > > >=20 > Sure! >=20 > >> + (license license:bsd-3))) > >> --=20 > >> 2.28.0 > >>=20 > > > > I haven't been able to find a back catalog of their releases and ended > > up dropping back from 1.6.1 to 1.5.7 since there's a copy stored on IPFS > > I can add to the store when needed. >=20 > Ah yes. This would be useful. And I'm guessing > that would go to guix-past right? >=20 The problem Really is that once they update the package the source for the current package disappears. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --yhze8HlyfmXt1APY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl+FYwsACgkQQarn3Mo9 g1FmRBAAuVWb4R3wkdsqkyTnXTk98l4i8k8MnQalUeLwRWTyFiImw13iUUmy3zBi PvHXQ6w5zVXc/iQIOxN6HQNpfTohKYRtzNQAWFLE0SZKqVbwhY1GpO75vXSObm7j 0vkw5Hkcm8VUTmwVRjaFqd+zI1hkzKWmU0EnK4skW6nA6ktHUdUtnjy2Vly3RJDA Eu3QcY9UP9WNmTJDiVIQjAO1jdD5bflKTsIMO4oXlZ2T1TgVH0XD/e8U0hflivjl uqoKYk/KUmClAToapKZCRsNAzmbJbtnF1W2wlL3Z/auQ4zsAAJ/HfgAc41J/z5Yj 0txnQqTRpXWsGJJoE1bw0x760SpSuP99pKJYEr/4UuVrMhmxI9Z+HImP+6Xg01kn /2A++pIkXTd6LKmmz9vVPVksPoXuV2yA6ou9npEmHRWy0w20jMiKIQ0WX8DL9M4Z /gxQK+KpqglX76wO8NbuTkYRoptaW7TyBQSLnVUk84zrodDoliyJDt9Q+1iA674c deSmQrKRUH/hfE2z6fNisgwIG9K5BAFNFkV50F6wK/kYnSX1YqTPX/ehd8dkxB5V 0DAwezH/FZUL5kQF0NJl/sxSQBY84V9guRJiY2SKBYAtex+HPmp2ytUUJrqYwV12 z9j8me+9qn7DJvpaLdmZuhJ1826+q2YlObW31fpu90xYi/g2+Os= =dfCD -----END PGP SIGNATURE----- --yhze8HlyfmXt1APY--