summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-09-19 15:52:04 +0000
committerMichał Górny <mgorny@gentoo.org>2013-09-19 15:52:04 +0000
commitb2f022b81dca4e33f66f8de110c21ab883aaed24 (patch)
tree14370b23cac3569a8182c3bb3fb93a1fb2654e08 /dev-python/mockldap
parentBump for CVE-2013-4288 (diff)
downloadgentoo-2-b2f022b81dca4e33f66f8de110c21ab883aaed24.tar.gz
gentoo-2-b2f022b81dca4e33f66f8de110c21ab883aaed24.tar.bz2
gentoo-2-b2f022b81dca4e33f66f8de110c21ab883aaed24.zip
Version bump.
(Portage version: 2.2.6/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Diffstat (limited to 'dev-python/mockldap')
-rw-r--r--dev-python/mockldap/ChangeLog7
-rw-r--r--dev-python/mockldap/mockldap-0.1.2.ebuild44
2 files changed, 50 insertions, 1 deletions
diff --git a/dev-python/mockldap/ChangeLog b/dev-python/mockldap/ChangeLog
index 53df5152ffd0..dc852e70b57d 100644
--- a/dev-python/mockldap/ChangeLog
+++ b/dev-python/mockldap/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/mockldap
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/mockldap/ChangeLog,v 1.2 2013/09/09 09:29:57 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/mockldap/ChangeLog,v 1.3 2013/09/19 15:52:04 mgorny Exp $
+
+*mockldap-0.1.2 (19 Sep 2013)
+
+ 19 Sep 2013; Michał Górny <mgorny@gentoo.org> +mockldap-0.1.2.ebuild:
+ Version bump.
*mockldap-0.1.1 (09 Sep 2013)
diff --git a/dev-python/mockldap/mockldap-0.1.2.ebuild b/dev-python/mockldap/mockldap-0.1.2.ebuild
new file mode 100644
index 000000000000..c1ebe80720fa
--- /dev/null
+++ b/dev-python/mockldap/mockldap-0.1.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/mockldap/mockldap-0.1.2.ebuild,v 1.1 2013/09/19 15:52:04 mgorny Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+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 test"
+
+RDEPEND="dev-python/funcparserlib[${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}] )
+ test? ( dev-python/passlib[${PYTHON_USEDEP}] )"
+
+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
+}