dev-python/jwcrypto: Initial version
authorManuel Rüger <mrueg@gentoo.org>
Mon, 16 Oct 2017 11:01:27 +0000 (13:01 +0200)
committerManuel Rüger <mrueg@gentoo.org>
Mon, 16 Oct 2017 11:02:24 +0000 (13:02 +0200)
Package-Manager: Portage-2.3.11, Repoman-2.3.3

dev-python/jwcrypto/Manifest [new file with mode: 0644]
dev-python/jwcrypto/jwcrypto-0.4.2.ebuild [new file with mode: 0644]
dev-python/jwcrypto/metadata.xml [new file with mode: 0644]

diff --git a/dev-python/jwcrypto/Manifest b/dev-python/jwcrypto/Manifest
new file mode 100644 (file)
index 0000000..cdf0ec8
--- /dev/null
@@ -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 (file)
index 0000000..5403109
--- /dev/null
@@ -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 (file)
index 0000000..c579276
--- /dev/null
@@ -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>