summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <william.hubbs@sony.com>2019-03-08 11:53:15 -0600
committerWilliam Hubbs <williamh@gentoo.org>2019-03-08 11:54:46 -0600
commit6ef281f4b6d678abfa6daacfb5d4f69d5da2bb23 (patch)
treef774b611c2a714880678c4830d3d1294d0d03cc6
parentapp-laptop/thinkfan: Version bump (v1.0.2) (diff)
downloadgentoo-6ef281f4b6d678abfa6daacfb5d4f69d5da2bb23.tar.gz
gentoo-6ef281f4b6d678abfa6daacfb5d4f69d5da2bb23.tar.bz2
gentoo-6ef281f4b6d678abfa6daacfb5d4f69d5da2bb23.zip
dev-python/trustme: #1 quality TLS certs while you wait
Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: William Hubbs <williamh@gentoo.org>
-rw-r--r--dev-python/trustme/Manifest1
-rw-r--r--dev-python/trustme/metadata.xml8
-rw-r--r--dev-python/trustme/trustme-0.5.0.ebuild33
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/trustme/Manifest b/dev-python/trustme/Manifest
new file mode 100644
index 00000000000..1b65b757f34
--- /dev/null
+++ b/dev-python/trustme/Manifest
@@ -0,0 +1 @@
+DIST trustme-0.5.0.tar.gz 21232 BLAKE2B 3804fe4e9b7049da0bab926bb1180af6bbb8f882cfb16109bed040ca50c85e7b83b5468c3388dd8478ee9fc6478523bba98c39b74cb76c86a72761a26685122e SHA512 7ce5041b8d3687fa462fe93e55b2f83549ab805cec4a2a94c9178a02af557cf8900fe6c05bae0bf100eb36181952fb2bc31cb1d4d6ad6ed2fd2b0706d569518f
diff --git a/dev-python/trustme/metadata.xml b/dev-python/trustme/metadata.xml
new file mode 100644
index 00000000000..c36c37139fa
--- /dev/null
+++ b/dev-python/trustme/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>williamh@gentoo.org</email>
+ <name>William Hubbs</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-python/trustme/trustme-0.5.0.ebuild b/dev-python/trustme/trustme-0.5.0.ebuild
new file mode 100644
index 00000000000..6943be998d6
--- /dev/null
+++ b/dev-python/trustme/trustme-0.5.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+inherit distutils-r1
+
+DESCRIPTION="#1 quality TLS certs while you wait, for the discerning tester"
+HOMEPAGE="https://github.com/python-trio/trustme"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="|| ( Apache-2.0 MIT )"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="dev-python/cryptography[${PYTHON_USEDEP}]
+ dev-python/idna[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '>=dev-python/ipaddress-1.0.16[${PYTHON_USEDEP}]' 'python2_7' )"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ dev-python/pytest
+ dev-python/pytest-cov
+ dev-python/pyopenssl
+ dev-python/service_identity
+ $(python_gen_cond_dep 'dev-python/futures[${PYTHON_USEDEP}]' 'python2_7' )
+ )"
+
+python_test() {
+ py.test -v || die "Tests failed under ${EPYTHON}"
+}