summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <patrick.mclean@sony.com>2019-03-26 15:11:50 -0700
committerPatrick McLean <chutzpah@gentoo.org>2019-03-26 18:07:08 -0700
commit055b6b6a7f75eea7db07936c230ab703e0f08580 (patch)
treed7c7d00c7173c84a2e1fafdaf271a2459d369253 /dev-python/pure-sasl
parentmedia-radio/js8call: bump (diff)
downloadgentoo-055b6b6a7f75eea7db07936c230ab703e0f08580.tar.gz
gentoo-055b6b6a7f75eea7db07936c230ab703e0f08580.tar.bz2
gentoo-055b6b6a7f75eea7db07936c230ab703e0f08580.zip
dev-python/pure-sasl: New package
Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-python/pure-sasl')
-rw-r--r--dev-python/pure-sasl/Manifest1
-rw-r--r--dev-python/pure-sasl/metadata.xml7
-rw-r--r--dev-python/pure-sasl/pure-sasl-0.6.1.ebuild32
3 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/pure-sasl/Manifest b/dev-python/pure-sasl/Manifest
new file mode 100644
index 000000000000..42770e730f26
--- /dev/null
+++ b/dev-python/pure-sasl/Manifest
@@ -0,0 +1 @@
+DIST pure-sasl-0.6.1.tar.gz 11553 BLAKE2B 17a3728e23b04cfcebd967ec4e40ab40ae72ebd18325579dfac52dbeac58ebee6e467f32a8030214cd976b2ae96e446afbc853c3e4233a61fa149d2910b1ecfc SHA512 f0e34fba460b03fb2348871859f79a21ac27df4be8b125a1652891efacd428a560673f42dff0993e87a3d80439f182e3a6e07b7c968cbfa3c86311c1592822a2
diff --git a/dev-python/pure-sasl/metadata.xml b/dev-python/pure-sasl/metadata.xml
new file mode 100644
index 000000000000..3743220e59f3
--- /dev/null
+++ b/dev-python/pure-sasl/metadata.xml
@@ -0,0 +1,7 @@
+<?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>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-python/pure-sasl/pure-sasl-0.6.1.ebuild b/dev-python/pure-sasl/pure-sasl-0.6.1.ebuild
new file mode 100644
index 000000000000..1aec7ab83c2f
--- /dev/null
+++ b/dev-python/pure-sasl/pure-sasl-0.6.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2019 Sony Interactive Entertainment Inc.
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_7 )
+inherit distutils-r1
+
+DESCRIPTION="High-level SASL client written in pure Python"
+HOMEPAGE="https://github.com/thobbs/pure-sasl"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/nose[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep dev-python/unittest2 'python2*')
+ )"
+
+# tests aren't in dist tarball
+RESTRICT="test"
+
+python_test() {
+ nosetests -v || die
+}