From unknown Tue Jun 24 03:24:11 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#31173] [PATCH] gnu: Add python-onetimepass. Resent-From: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 16 Apr 2018 09:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 31173 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 31173@debbugs.gnu.org Cc: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.152386956729837 (code B ref -1); Mon, 16 Apr 2018 09:07:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Apr 2018 09:06:07 +0000 Received: from localhost ([127.0.0.1]:55047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f805P-0007lB-2R for submit@debbugs.gnu.org; Mon, 16 Apr 2018 05:06:07 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42766) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f805N-0007ki-IF for submit@debbugs.gnu.org; Mon, 16 Apr 2018 05:06:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f805H-0006B6-B7 for submit@debbugs.gnu.org; Mon, 16 Apr 2018 05:06:00 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52906) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f805H-0006B0-89 for submit@debbugs.gnu.org; Mon, 16 Apr 2018 05:05:59 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33722) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f805G-0000FQ-0r for guix-patches@gnu.org; Mon, 16 Apr 2018 05:05:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f805E-00068b-Ss for guix-patches@gnu.org; Mon, 16 Apr 2018 05:05:58 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37539) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f805E-00068K-Ox for guix-patches@gnu.org; Mon, 16 Apr 2018 05:05:56 -0400 Received: from [2a00:c500:22e:1d3:4865:950c:bbf0:c961] (port=35900 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1f805E-0002E0-7t; Mon, 16 Apr 2018 05:05:56 -0400 From: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Date: Mon, 16 Apr 2018 11:05:52 +0200 Message-Id: <20180416090552.14421-1-sleep_walker@gnu.org> X-Mailer: git-send-email 2.16.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) 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: -6.0 (------) * gnu/packages/python.scm (python-onetimepass): New variable. --- gnu/packages/python.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index e5b74a57f..aedd30566 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -50,6 +50,7 @@ ;;; Copyright © 2018 Vijayalakshmi Vedantham ;;; Copyright © 2018 Mathieu Lirzin ;;; Copyright © 2018 Adam Massmann +;;; Copyright © 2016, 2018 Tomáš Čech ;;; ;;; This file is part of GNU Guix. ;;; @@ -13127,3 +13128,23 @@ file system events on Linux.") (description "Pybtex is a BibTeX-compatible bibliography processor written in Python. You can simply type pybtex instead of bibtex.") (license license:expat))) + +(define-public python-onetimepass + (package + (name "python-onetimepass") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "onetimepass" version)) + (sha256 + (base32 + "09vagxgbq78wvq4xbikmn2hpqqsa2i96kqsmphf7dqynfv0dlsd5")))) + (build-system python-build-system) + (inputs + `(("python-six" ,python-six))) + (home-page "https://github.com/tadeck/onetimepass/") + (synopsis "Python one-time password library") + (description "Pyhton one-time password library for HMAC-based (HOTP) and +time-based (TOTP) passwords.") + (license license:x11))) -- 2.16.3 From unknown Tue Jun 24 03:24:11 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#31173] [PATCH] gnu: Add python-onetimepass. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 16 Apr 2018 22:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31173 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= , 31173@debbugs.gnu.org Received: via spool by 31173-submit@debbugs.gnu.org id=B31173.15239188833933 (code B ref 31173); Mon, 16 Apr 2018 22:49:02 +0000 Received: (at 31173) by debbugs.gnu.org; 16 Apr 2018 22:48:03 +0000 Received: from localhost ([127.0.0.1]:56443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8Cup-00011N-8e for submit@debbugs.gnu.org; Mon, 16 Apr 2018 18:48:03 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:33595) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8Cun-000111-TK for 31173@debbugs.gnu.org; Mon, 16 Apr 2018 18:48:02 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 9F10D21DB8; Mon, 16 Apr 2018 18:48:01 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Mon, 16 Apr 2018 18:48:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=9mgWRxdLLBiicXWOQPqmRRY1aodFmTBNCz7htvvWhRk=; b=fFvcEtPM gor/oHyGxhDBcP8PH0HSH1+0cmc0h7z61x2y+D3P5LWOvb5+DgcHnbaPHVrIzXNn vZpInNpDxseh8LdqpTDPQdA0jwEwoi/TPP58sZ/tzzd7jnV8UC5OIwJQHnrUpJHA XPGno4lBycMglPg5musChIrXn/bOkpDS8bPvJCjXly6TobxRBRomsEYxIL69Wo7W P2neZVqE2xeOilq8a1jplmRKcHJ2Id6/w4CgsVD1a4HGJdtJrwvxULrn+p6gMuug mpKChlxeVkBW7NE4yjgdiTykxvHipyKni9K/foZeHcDVAn04sU1g0dT50oXIfylo Oo75RQCyg1ntmQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=9mgWRxdLLBiicXWOQPqmRRY1aodFm TBNCz7htvvWhRk=; b=AEnX4HnDyp7kwWtNNMJoYZS1RHNmbX+rjNRTwWTcgLVp4 1qgz3MYnp5XXacwIgGdmUn/9XHQrFRv9Rgt/2NMWpiPWCla+tBH5RRfO++gfvyUq n2fbRFaIs4r2gTkJy9sA/mDbkatnvVKmdg9YWPyKxViyBiPyeMwtDlrGAiuxNz0m RJBLk6a4f7JrZ9yHfmfa9MbVkN14Kfuq+1losy1jWu8/KTg0kX3SRq3MfBe/6TqO 9zTrG4zhmx7cMKb0UfxCxROJlmZMuKWJisqg9jApiB7L3JGJHOWN3Q/5VeXob1gb 4qHYw037PBYA0DPQEsaA2KuAVQZBfWbaI1XUK30TQ== X-ME-Sender: Received: from localhost (ti0089a400-2222.bb.online.no [88.89.166.190]) by mail.messagingengine.com (Postfix) with ESMTPA id 29CE3E43E8; Mon, 16 Apr 2018 18:48:01 -0400 (EDT) From: Marius Bakke In-Reply-To: <20180416090552.14421-1-sleep_walker@gnu.org> References: <20180416090552.14421-1-sleep_walker@gnu.org> User-Agent: Notmuch/0.26.1 (https://notmuchmail.org) Emacs/25.3.1 (x86_64-pc-linux-gnu) Date: Tue, 17 Apr 2018 00:47:59 +0200 Message-ID: <87tvsabwf4.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) 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 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Tom=C3=A1=C5=A1 =C4=8Cech writes: > * gnu/packages/python.scm (python-onetimepass): New variable. [...] > +(define-public python-onetimepass > + (package > + (name "python-onetimepass") Please check the indentation of this package. Use './etc/indent-code.el' if you're not an emacs user. > + (version "1.0.1") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "onetimepass" version)) > + (sha256 > + (base32 > + "09vagxgbq78wvq4xbikmn2hpqqsa2i96kqsmphf7dqynfv0dlsd5")))) > + (build-system python-build-system) > + (inputs > + `(("python-six" ,python-six))) Should this not be a propagated input? > + (home-page "https://github.com/tadeck/onetimepass/") > + (synopsis "Python one-time password library") Maybe s/Python// even. > + (description "Pyhton one-time password library for HMAC-based (HOTP)= and ^^^ typo (importo?) > +time-based (TOTP) passwords.") Please also turn this into a complete sentence. "@code{onetimepass} is a Python library for...". Bonus points if you can mention use-cases and in general expand on it :-) > + (license license:x11))) I believe this is "expat". Otherwise LGTM. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlrVKB8ACgkQoqBt8qM6 VPpfEgf+No5HJ2vBZo2H0C43dT5g0VSoiCQ75QnJwFGryd9IJ+Vign5ujGSoSNHQ 40twghkqJwVGT0Q52A9FqkMj7WW7xuxcocrE7LQ435lv1ouyaFG7JiTbMmCgzL82 aJ4Nc6pAcGPA/3Dc+/IUJrMhL098XHn/pij0JE7xByX6pIRthuzTy03oSRtnQCAC 73Hxou7o+WfnmiGPp7kbdK08+8tWpR0NFdS53lJLzc13bG6tjMShzUk6B5dsF+H0 ijwKVbNrQI3rRE4jOUAHfEkcvBA7aXYtmrOWgKZ1E6NVSKcefyOc0qQMfPYCbNaB DMhlDK30QTM3Sl9dnmUOHGo+xP8DcA== =C0nr -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Jun 24 03:24:11 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Subject: bug#31173: closed (Re: [bug#31173] [PATCH] gnu: Add python-onetimepass.) Message-ID: References: <20180421063620.GA1534@doom> <20180416090552.14421-1-sleep_walker@gnu.org> X-Gnu-PR-Message: they-closed 31173 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 31173@debbugs.gnu.org Date: Sat, 21 Apr 2018 06:37:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1524292622-13506-1" This is a multi-part message in MIME format... ------------=_1524292622-13506-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #31173: [PATCH] gnu: Add python-onetimepass. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 31173@debbugs.gnu.org. --=20 31173: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D31173 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1524292622-13506-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 31173-done) by debbugs.gnu.org; 21 Apr 2018 06:36:35 +0000 Received: from localhost ([127.0.0.1]:34541 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f9m8R-0003VC-Df for submit@debbugs.gnu.org; Sat, 21 Apr 2018 02:36:35 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33113) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f9m8P-0003Ux-Dk for 31173-done@debbugs.gnu.org; Sat, 21 Apr 2018 02:36:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f9m8J-0000UA-B3 for 31173-done@debbugs.gnu.org; Sat, 21 Apr 2018 02:36:28 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=1.0 required=5.0 tests=BAYES_40,FROM_EXCESS_BASE64 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56958) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f9m8E-0000Sd-TM; Sat, 21 Apr 2018 02:36:22 -0400 Received: from [2a00:c500:22e:1d3:593a:e2b1:6d07:eb] (port=56928 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1f9m8E-0007XR-FP; Sat, 21 Apr 2018 02:36:22 -0400 Date: Sat, 21 Apr 2018 08:36:20 +0200 From: =?utf-8?B?VG9tw6HFoSDEjGVjaA==?= To: Marius Bakke Subject: Re: [bug#31173] [PATCH] gnu: Add python-onetimepass. Message-ID: <20180421063620.GA1534@doom> References: <20180416090552.14421-1-sleep_walker@gnu.org> <87tvsabwf4.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="pWyiEgJYm5f9v55/" Content-Disposition: inline In-Reply-To: <87tvsabwf4.fsf@fastmail.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -4.9 (----) X-Debbugs-Envelope-To: 31173-done Cc: 31173-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: -5.9 (-----) --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 17, 2018 at 12:47:59AM +0200, Marius Bakke wrote: >Tom=C3=A1=C5=A1 =C4=8Cech writes: > >> * gnu/packages/python.scm (python-onetimepass): New variable. > >[...] > >> +(define-public python-onetimepass >> + (package >> + (name "python-onetimepass") > >Please check the indentation of this package. Use >'./etc/indent-code.el' if you're not an emacs user. as with other patches I sent - I run it through and result is unchanged. But I'll be careful about that, thanks! >> + (version "1.0.1") >> + (source >> + (origin >> + (method url-fetch) >> + (uri (pypi-uri "onetimepass" version)) >> + (sha256 >> + (base32 >> + "09vagxgbq78wvq4xbikmn2hpqqsa2i96kqsmphf7dqynfv0dlsd5")))) >> + (build-system python-build-system) >> + (inputs >> + `(("python-six" ,python-six))) > >Should this not be a propagated input? It didn't seem so. >> + (home-page "https://github.com/tadeck/onetimepass/") >> + (synopsis "Python one-time password library") > >Maybe s/Python// even. Fixed. >> + (description "Pyhton one-time password library for HMAC-based (HOTP= ) and > ^^^ typo (importo?) Fixed. >> +time-based (TOTP) passwords.") > >Please also turn this into a complete sentence. "@code{onetimepass} is >a Python library for...". Bonus points if you can mention use-cases and >in general expand on it :-) > >> + (license license:x11))) > >I believe this is "expat". Fixed. >Otherwise LGTM. Pushed. Thank you for your review! Best regards, S_W --pWyiEgJYm5f9v55/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEDOrssfr9jDQthC2PSiPjT6AzQ20FAlra2+QACgkQSiPjT6Az Q22CpRAAg3StVO13wxSWMZ5JRpFN8hVCSeEx5FtMeUbYp/U4mZ1Sj0/npH5IYFBh 6+PxMwzIpZi2pCvsZPv73WklLjB8/qypc6WGtw8yG5tZiScIkelqVO4RQT3WRlyW d3u7GBxzdQhUooJf91KLdl6Mr6EwbEM68TP9Z+m+E0t098nZc9jWgfAqHei6AytA MPrpfNDJtexcpOUa1yK0BTibRixS03teUyd8PlXoUGJjPflxWiskOReqJnH8fyXT Cnj6g/3t1AUHQssdMxgt9haZjer/MAcAwpAozviGG5QNoGQLBABE86Fq31TTEB2z FQZteSiX7npAyDKRWv7epSBoRXyc3BKm6gZgc4w7+lOEFpeyQQZVw3Wa79/dAGfh 5KM6YhFKAURYXNBqDjdWFSTfB+dNhwCDbNjg6CVi5ipm/1LHB0SO5JYqok9Yx4QF 6CYLorNg75bEPghocduKmk8ixyCWkNSbZFxnM0wPN7D8foaOONjMHy3WPRVq95io 6+gCx5lrykeDR8/Jy5VbtuOyDgWgqsnG3buHp+/5GdfF1yXNndj3b2jIsCjV3Mo9 cRg5ffhwgLNE5eQUCcMqsb9mbpocrsjcYms1xgZ+lNY7waShcEW/jShdRNt0qRGo m0Db7mJn1trQvx55C2rIDIEF/fgg6NHYRghxRVt/9KAE/a8nesY= =fACD -----END PGP SIGNATURE----- --pWyiEgJYm5f9v55/-- ------------=_1524292622-13506-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 16 Apr 2018 09:06:07 +0000 Received: from localhost ([127.0.0.1]:55047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f805P-0007lB-2R for submit@debbugs.gnu.org; Mon, 16 Apr 2018 05:06:07 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42766) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f805N-0007ki-IF for submit@debbugs.gnu.org; Mon, 16 Apr 2018 05:06:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f805H-0006B6-B7 for submit@debbugs.gnu.org; Mon, 16 Apr 2018 05:06:00 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52906) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f805H-0006B0-89 for submit@debbugs.gnu.org; Mon, 16 Apr 2018 05:05:59 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33722) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f805G-0000FQ-0r for guix-patches@gnu.org; Mon, 16 Apr 2018 05:05:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f805E-00068b-Ss for guix-patches@gnu.org; Mon, 16 Apr 2018 05:05:58 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37539) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f805E-00068K-Ox for guix-patches@gnu.org; Mon, 16 Apr 2018 05:05:56 -0400 Received: from [2a00:c500:22e:1d3:4865:950c:bbf0:c961] (port=35900 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1f805E-0002E0-7t; Mon, 16 Apr 2018 05:05:56 -0400 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20=C4=8Cech?= To: guix-patches@gnu.org Subject: [PATCH] gnu: Add python-onetimepass. Date: Mon, 16 Apr 2018 11:05:52 +0200 Message-Id: <20180416090552.14421-1-sleep_walker@gnu.org> X-Mailer: git-send-email 2.16.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit Cc: =?UTF-8?q?Tom=C3=A1=C5=A1=20=C4=8Cech?= 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: -6.0 (------) * gnu/packages/python.scm (python-onetimepass): New variable. --- gnu/packages/python.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index e5b74a57f..aedd30566 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -50,6 +50,7 @@ ;;; Copyright © 2018 Vijayalakshmi Vedantham ;;; Copyright © 2018 Mathieu Lirzin ;;; Copyright © 2018 Adam Massmann +;;; Copyright © 2016, 2018 Tomáš Čech ;;; ;;; This file is part of GNU Guix. ;;; @@ -13127,3 +13128,23 @@ file system events on Linux.") (description "Pybtex is a BibTeX-compatible bibliography processor written in Python. You can simply type pybtex instead of bibtex.") (license license:expat))) + +(define-public python-onetimepass + (package + (name "python-onetimepass") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "onetimepass" version)) + (sha256 + (base32 + "09vagxgbq78wvq4xbikmn2hpqqsa2i96kqsmphf7dqynfv0dlsd5")))) + (build-system python-build-system) + (inputs + `(("python-six" ,python-six))) + (home-page "https://github.com/tadeck/onetimepass/") + (synopsis "Python one-time password library") + (description "Pyhton one-time password library for HMAC-based (HOTP) and +time-based (TOTP) passwords.") + (license license:x11))) -- 2.16.3 ------------=_1524292622-13506-1-- From unknown Tue Jun 24 03:24:11 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#31173] [PATCH] gnu: Add python-onetimepass. Resent-From: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 21 Apr 2018 14:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31173 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Marius Bakke Cc: 31173@debbugs.gnu.org Received: via spool by 31173-submit@debbugs.gnu.org id=B31173.152432083330268 (code B ref 31173); Sat, 21 Apr 2018 14:28:01 +0000 Received: (at 31173) by debbugs.gnu.org; 21 Apr 2018 14:27:13 +0000 Received: from localhost ([127.0.0.1]:35133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f9tTs-0007s8-TQ for submit@debbugs.gnu.org; Sat, 21 Apr 2018 10:27:13 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37226) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f9tTr-0007rw-F7 for 31173@debbugs.gnu.org; Sat, 21 Apr 2018 10:27:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f9tTl-0005KE-CY for 31173@debbugs.gnu.org; Sat, 21 Apr 2018 10:27:06 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FROM_EXCESS_BASE64 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34218) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f9tTg-0005HG-4U; Sat, 21 Apr 2018 10:27:00 -0400 Received: from 34.7.broadband.iol.cz ([80.188.7.34]:42198 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1f9tTf-0000W0-Jq; Sat, 21 Apr 2018 10:27:00 -0400 Date: Sat, 21 Apr 2018 16:26:56 +0200 From: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Message-ID: <20180421142656.GA12004@doom> References: <20180416090552.14421-1-sleep_walker@gnu.org> <87tvsabwf4.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Kj7319i9nmIyA2yE" Content-Disposition: inline In-Reply-To: <87tvsabwf4.fsf@fastmail.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -4.9 (----) 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: -5.9 (-----) --Kj7319i9nmIyA2yE Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 17, 2018 at 12:47:59AM +0200, Marius Bakke wrote: >Tom=C3=A1=C5=A1 =C4=8Cech writes: > >> * gnu/packages/python.scm (python-onetimepass): New variable. > >[...] > >> +(define-public python-onetimepass >> + (package >> + (name "python-onetimepass") > >Please check the indentation of this package. Use >'./etc/indent-code.el' if you're not an emacs user. > >> + (version "1.0.1") >> + (source >> + (origin >> + (method url-fetch) >> + (uri (pypi-uri "onetimepass" version)) >> + (sha256 >> + (base32 >> + "09vagxgbq78wvq4xbikmn2hpqqsa2i96kqsmphf7dqynfv0dlsd5")))) >> + (build-system python-build-system) >> + (inputs >> + `(("python-six" ,python-six))) > >Should this not be a propagated input? After pushing and installing I got error on this - you were right in the end. It seems that my testing environment wasn't isolated or something. I'll push fix for that. Best regards, S_W --Kj7319i9nmIyA2yE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEDOrssfr9jDQthC2PSiPjT6AzQ20FAlrbSikACgkQSiPjT6Az Q22zCA/9ERlydpLRiYyyhqqgg8l4vC6Bh3WZ7wrBXDSJbzOrCdRZi1cpnDNnc9j0 nugb6eW9Umw1IJCFc3NfnVtpgzzkBbw/oqiDpjkJtsRwlNQ8pK23N4LIfUAGbibG RQuFvtasXPui4NR50ixhYbtBFTQHXy41ggp5+8/1Ezl2QJyLoEVjOjpXo1YXL/52 5Xv72KjOvOx35kM+D330tBuE0nsyfYZL6KBk4PtypVojcc2/KNHjJMgK+H9wg9L/ XfwXV2sGIyHiLT889JxVQOiEWwPZmB5jz8GIz8UFztm/TbA92I7SbK0KhqvDotUh 89UknPDobmDnXfoYB1oH03jyE40tAsU5WODBOSrrS0YmTgBSiV0s5rvUnureNBpH LBZE+BOThDoWizXTvLTtPvxDHfyQNGTghXP7vicmaiRtRtoXFLHqRMINDaOfp2Pj qa56SnRIX3D7g9FEPTrM3W5tYlZvlQhqnMR2GDa5n5brxJ6wGDHYYdm8p/Mr18Tm 4HtFjiVl3AXBvTC2wgdeThYbx8nlNHJ7W4+H1ged/IwjTl9qTZO7StBwNJK2J5J9 53ebBZs6y6rUOJlkf28Ub9PfMKSvrIRChnOnupK/P+yTZyZCdjtTY7e+d+humxc2 DZTuDGP5FYqZPSe3IuJPCEvcF2IuMTD8SYFruyS1nWYSZeDgUxg= =zW7n -----END PGP SIGNATURE----- --Kj7319i9nmIyA2yE--