summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-10-16 13:01:27 +0200
committerManuel Rüger <mrueg@gentoo.org>2017-10-16 13:02:24 +0200
commita3e094ba6e474d356ae4b97d67462649ca070a91 (patch)
tree74673088d63dde96eda005dd061fdbb1e26777e0 /dev-python/jwcrypto
parentdev-perl/X11-Protocol: add ~arm64 keyword to support libreoffice-5.4.2.2 (diff)
downloadgentoo-a3e094ba6e474d356ae4b97d67462649ca070a91.tar.gz
gentoo-a3e094ba6e474d356ae4b97d67462649ca070a91.tar.bz2
gentoo-a3e094ba6e474d356ae4b97d67462649ca070a91.zip
dev-python/jwcrypto: Initial version
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'dev-python/jwcrypto')
-rw-r--r--dev-python/jwcrypto/Manifest1
-rw-r--r--dev-python/jwcrypto/jwcrypto-0.4.2.ebuild26
-rw-r--r--dev-python/jwcrypto/metadata.xml12
3 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/jwcrypto/Manifest b/dev-python/jwcrypto/Manifest
new file mode 100644
index 000000000000..cdf0ec804ee9
--- /dev/null
+++ b/dev-python/jwcrypto/Manifest
@@ -0,0 +1 @@
+DIST jwcrypto-0.4.2.tar.gz 74332 SHA256 3fc20ddc14c3a8f47bca4e25a4d96114ae1e0b604946b1c3755660143ba45f06 SHA512 38994a1274ce3a66d3a6a3e36f83b311b172e260129c94c70ae02e6d62b7a2fbcc07fd4353d3bf45f0c7f40c63322a3f489c8b1bda80c7511ae7a2136a2415dd WHIRLPOOL 96e3633a3aa328515e7c573820e2eda32e4d0c5207a11f3527b7f109742cfae0c3a6c164a0d3f4c14beb9437a7273f11edd0b92a3fb21447cb6967c8c0104772
diff --git a/dev-python/jwcrypto/jwcrypto-0.4.2.ebuild b/dev-python/jwcrypto/jwcrypto-0.4.2.ebuild
new file mode 100644
index 000000000000..5403109a9b1b
--- /dev/null
+++ b/dev-python/jwcrypto/jwcrypto-0.4.2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 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="Implements JWK,JWS,JWE specifications using python-cryptography"
+
+HOMEPAGE="https://github.com/latchset/jwcrypto"
+SRC_URI="https://github.com/latchset/jwcrypto/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND=">=dev-python/cryptography-1.5[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+python_test() {
+ py.test -v || die
+}
diff --git a/dev-python/jwcrypto/metadata.xml b/dev-python/jwcrypto/metadata.xml
new file mode 100644
index 000000000000..c5792763c772
--- /dev/null
+++ b/dev-python/jwcrypto/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="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">jwcrypto</remote-id>
+ <remote-id type="github">latchset/jwcrypto</remote-id>
+ </upstream>
+</pkgmetadata>