dev-python/pure-sasl: New package
authorPatrick McLean <patrick.mclean@sony.com>
Tue, 26 Mar 2019 22:11:50 +0000 (15:11 -0700)
committerPatrick McLean <chutzpah@gentoo.org>
Wed, 27 Mar 2019 01:07:08 +0000 (18:07 -0700)
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
dev-python/pure-sasl/Manifest [new file with mode: 0644]
dev-python/pure-sasl/metadata.xml [new file with mode: 0644]
dev-python/pure-sasl/pure-sasl-0.6.1.ebuild [new file with mode: 0644]

diff --git a/dev-python/pure-sasl/Manifest b/dev-python/pure-sasl/Manifest
new file mode 100644 (file)
index 0000000..42770e7
--- /dev/null
@@ -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 (file)
index 0000000..3743220
--- /dev/null
@@ -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 (file)
index 0000000..1aec7ab
--- /dev/null
@@ -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
+}