summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2014-07-27 03:13:44 +0000
committerIan Delaney <idella4@gentoo.org>2014-07-27 03:13:44 +0000
commit06a2f646dbd0fb31b977d11f7ced0d2d4cf8438b (patch)
tree5140f3d22be3e6272345cde8258b913bd82fdffc /dev-python/mockldap
parentversion bump (diff)
downloadgentoo-2-06a2f646dbd0fb31b977d11f7ced0d2d4cf8438b.tar.gz
gentoo-2-06a2f646dbd0fb31b977d11f7ced0d2d4cf8438b.tar.bz2
gentoo-2-06a2f646dbd0fb31b977d11f7ced0d2d4cf8438b.zip
bump; rm obsoleted dep for test phase
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/mockldap')
-rw-r--r--dev-python/mockldap/ChangeLog7
-rw-r--r--dev-python/mockldap/mockldap-0.2.2.ebuild47
2 files changed, 53 insertions, 1 deletions
diff --git a/dev-python/mockldap/ChangeLog b/dev-python/mockldap/ChangeLog
index 628ccea87fe1..cc9823c880f0 100644
--- a/dev-python/mockldap/ChangeLog
+++ b/dev-python/mockldap/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/mockldap
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/mockldap/ChangeLog,v 1.11 2014/06/26 15:40:08 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/mockldap/ChangeLog,v 1.12 2014/07/27 03:13:44 idella4 Exp $
+
+*mockldap-0.2.2 (27 Jul 2014)
+
+ 27 Jul 2014; Ian Delaney <idella4@gentoo.org> +mockldap-0.2.2.ebuild:
+ bump; rm obsoleted dep for test phase
26 Jun 2014; Ian Delaney <idella4@gentoo.org> mockldap-0.2.1.ebuild:
add pypy support
diff --git a/dev-python/mockldap/mockldap-0.2.2.ebuild b/dev-python/mockldap/mockldap-0.2.2.ebuild
new file mode 100644
index 000000000000..79616c37f95f
--- /dev/null
+++ b/dev-python/mockldap/mockldap-0.2.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/mockldap/mockldap-0.2.2.ebuild,v 1.1 2014/07/27 03:13:44 idella4 Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="A simple mock implementation of python-ldap"
+HOMEPAGE="https://bitbucket.org/psagers/mockldap/ https://pypi.python.org/pypi/mockldap"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND="~dev-python/funcparserlib-0.3.6[${PYTHON_USEDEP}]
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/python-ldap[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
+
+# Disable un-needed d'loading during doc build
+PATCHES=( "${FILESDIR}"/mapping.patch )
+
+python_compile_all() {
+ use doc && emake -C docs html
+}
+
+python_test() {
+ esetup.py test
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( docs/build/html/. )
+ distutils-r1_python_install_all
+}
+
+pkg_postinst() {
+ if ! has_version dev-python/passlib; then
+ elog "Please install dev-python/passlib for hashed password support."
+ fi
+}