public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyu2f/
Date: Fri, 15 Jun 2018 06:03:39 +0000 (UTC)	[thread overview]
Message-ID: <1529042601.4b6fe56b20bef9571e9b3c3ff76f46ca9615dd5a.zmedico@gentoo> (raw)

commit:     4b6fe56b20bef9571e9b3c3ff76f46ca9615dd5a
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 15 03:49:14 2018 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Fri Jun 15 06:03:21 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b6fe56b

dev-python/pyu2f: new package

Package-Manager: Portage-2.3.40, Repoman-2.3.9
RepoMan-Options: --force

 dev-python/pyu2f/Manifest           |  1 +
 dev-python/pyu2f/metadata.xml       | 12 ++++++++++
 dev-python/pyu2f/pyu2f-0.1.4.ebuild | 46 +++++++++++++++++++++++++++++++++++++
 3 files changed, 59 insertions(+)

diff --git a/dev-python/pyu2f/Manifest b/dev-python/pyu2f/Manifest
new file mode 100644
index 00000000000..aa7cbd9f231
--- /dev/null
+++ b/dev-python/pyu2f/Manifest
@@ -0,0 +1 @@
+DIST pyu2f-0.1.4.tar.gz 38797 BLAKE2B 4240083b03bd596d1f87e42047980ab7c75d0064eec0ed2050d77bb92d26fac651af515c2c9b10d338e27ecd778e80ff47b5c33a68cd86328dc913c0e70cb1da SHA512 16f948b812edd5f0e4d97350872809b7c1b52f38eea49170e4aa21e0f695935dc0d71d4fa077ee1c1a3ef2f0711d62f0cc49983a89c841aa31aadf7b76340035

diff --git a/dev-python/pyu2f/metadata.xml b/dev-python/pyu2f/metadata.xml
new file mode 100644
index 00000000000..703402ed3f9
--- /dev/null
+++ b/dev-python/pyu2f/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>zmedico@gentoo.org</email>
+		<name>Zac Medico</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="pypi">pyu2f</remote-id>
+		<remote-id type="github">google/pyu2f</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-python/pyu2f/pyu2f-0.1.4.ebuild b/dev-python/pyu2f/pyu2f-0.1.4.ebuild
new file mode 100644
index 00000000000..ec3ffe52ec8
--- /dev/null
+++ b/dev-python/pyu2f/pyu2f-0.1.4.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python based U2F host library"
+HOMEPAGE="https://github.com/google/pyu2f"
+# pypi tarball lacks unit tests
+#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/google/pyu2f/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="test"
+
+RDEPEND="
+	dev-python/six[${PYTHON_USEDEP}]
+"
+DEPEND="
+	${RDEPEND}
+	dev-python/setuptools[${PYTHON_USEDEP}]
+	test? (
+		dev-python/pyfakefs[${PYTHON_USEDEP}]
+		dev-python/pytest[${PYTHON_USEDEP}]
+		dev-python/mock[${PYTHON_USEDEP}]
+		dev-python/unittest2[${PYTHON_USEDEP}]
+	)
+"
+
+DOCS=( CONTRIBUTING.md README.md )
+
+python_prepare_all() {
+	sed -e 's:json.loads(communicate_json):json.loads(communicate_json.decode()):' \
+		-i pyu2f/tests/customauthenticator_test.py || die
+
+	distutils-r1_python_prepare_all
+}
+
+python_test() {
+	py.test -v pyu2f/tests || die "Tests failed under ${EPYTHON}"
+}


             reply	other threads:[~2018-06-15  6:03 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-15  6:03 Zac Medico [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-06-25 21:53 [gentoo-commits] repo/gentoo:master commit in: dev-python/pyu2f/ Patrick McLean
2020-02-05 21:21 Michał Górny
2020-05-07 17:57 Patrick McLean
2020-11-08 22:28 Zac Medico
2021-05-15  2:06 Sam James
2021-05-19 20:06 Agostino Sarubbo
2021-05-19 20:09 Agostino Sarubbo
2021-06-29  5:53 Yixun Lan
2021-07-05 13:25 Michał Górny
2021-10-06 10:32 Arthur Zamarin
2021-11-13 12:16 Jakov Smolić
2021-11-13 21:09 Jakov Smolić
2021-11-13 21:24 Michał Górny
2022-06-05 18:01 Arthur Zamarin
2022-06-05 18:01 Arthur Zamarin
2022-07-10 22:28 Sam James
2022-07-10 23:08 Sam James
2022-07-11  7:59 Michał Górny
2022-12-25 19:05 Zac Medico
2023-11-24 15:15 Arthur Zamarin
2024-01-26 17:07 Michał Górny
2024-01-26 17:07 Michał Górny
2024-07-11 18:22 Michał Górny
2025-03-11 20:20 Arthur Zamarin
2025-10-18  9:53 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1529042601.4b6fe56b20bef9571e9b3c3ff76f46ca9615dd5a.zmedico@gentoo \
    --to=zmedico@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox