From 055b6b6a7f75eea7db07936c230ab703e0f08580 Mon Sep 17 00:00:00 2001 From: Patrick McLean Date: Tue, 26 Mar 2019 15:11:50 -0700 Subject: [PATCH] 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 --- dev-python/pure-sasl/Manifest | 1 + dev-python/pure-sasl/metadata.xml | 7 +++++ dev-python/pure-sasl/pure-sasl-0.6.1.ebuild | 32 +++++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 dev-python/pure-sasl/Manifest create mode 100644 dev-python/pure-sasl/metadata.xml create mode 100644 dev-python/pure-sasl/pure-sasl-0.6.1.ebuild 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 @@ + + + + + python@gentoo.org + + 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 +} -- 2.26.2