diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-05-14 11:09:11 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-05-14 11:09:11 +0100 |
commit | deba8115d2c2af26df42966b91ef04ff4dd79cde (patch) | |
tree | 9a48f42594e1a9e6b2020d5535a784314434d7a7 /dev-python/pyu2f | |
parent | 38423c67c8a23f6a1bc42038193182e2da3116eb (diff) |
gentoo resync : 14.05.2020
Diffstat (limited to 'dev-python/pyu2f')
-rw-r--r-- | dev-python/pyu2f/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pyu2f/pyu2f-0.1.4-r1.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/pyu2f/Manifest b/dev-python/pyu2f/Manifest index 893374f36bc8..e2df4a4a5b33 100644 --- a/dev-python/pyu2f/Manifest +++ b/dev-python/pyu2f/Manifest @@ -1,3 +1,4 @@ DIST pyu2f-0.1.4.tar.gz 38797 BLAKE2B 4240083b03bd596d1f87e42047980ab7c75d0064eec0ed2050d77bb92d26fac651af515c2c9b10d338e27ecd778e80ff47b5c33a68cd86328dc913c0e70cb1da SHA512 16f948b812edd5f0e4d97350872809b7c1b52f38eea49170e4aa21e0f695935dc0d71d4fa077ee1c1a3ef2f0711d62f0cc49983a89c841aa31aadf7b76340035 +EBUILD pyu2f-0.1.4-r1.ebuild 932 BLAKE2B 3295754bdda4c67396a9420abc777a9590372261e70c27557e4ed781b9c2c4404b0b15f31e0e799066e1c0c66eb55aff3a59f707e3b7e689051ff0a780720af5 SHA512 43518194c0aecb5436ce6a36249ee2fc21ba9dcf864064b929e6dbd56a5f76a1048fb4207b23468bc68eba5b404f744a7997a37a093641868abcb794c4b436a6 EBUILD pyu2f-0.1.4.ebuild 1122 BLAKE2B 78e680f8a73d57f2b963343dad6f5f68ffd68fa8536a3d3ff9d6b44f58683c85f821e6d54014de618fd2eb56e7fe790214fb3742f3adeebc87235ee81d742544 SHA512 de956d02327e0343adda3e30116b0fedbc6a8d07272c8621db888888be270be35f5c327af7e703a552ea2bdc9f44701f00926c00f093c64439b019457ad5ae6a MISC metadata.xml 364 BLAKE2B f739254d4208658fd33151170987b9214670cf97ec8babc6c97ea4acdd19f3cd29f35e9d719b8462d90fbf0ff71e3bdbf30cadc2fd91ee54f2868018cddeb220 SHA512 d1f71740b09b54385ca269bedf3ce44ac424272e69881245a77796eb6c9e618e63c8837009d097b43dee477c765adf31b9e4bab7fa26606e57c3894c7bed429e diff --git a/dev-python/pyu2f/pyu2f-0.1.4-r1.ebuild b/dev-python/pyu2f/pyu2f-0.1.4-r1.ebuild new file mode 100644 index 000000000000..dec1edfe2792 --- /dev/null +++ b/dev-python/pyu2f/pyu2f-0.1.4-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="Python based U2F host library" +HOMEPAGE="https://github.com/google/pyu2f" +SRC_URI="https://github.com/google/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + 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 ) + +distutils_enable_tests pytest + +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 +} |