summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlos Ratis <dastergon@gentoo.org>2013-09-20 18:36:14 +0000
committerPavlos Ratis <dastergon@gentoo.org>2013-09-20 18:36:14 +0000
commitea4b726b4b609551270470b598cb801b34aaea93 (patch)
treed358fe210dcbefdcbd8f0b240f052aecfd55f505
parentVersion bump. (diff)
downloadgentoo-2-ea4b726b4b609551270470b598cb801b34aaea93.tar.gz
gentoo-2-ea4b726b4b609551270470b598cb801b34aaea93.tar.bz2
gentoo-2-ea4b726b4b609551270470b598cb801b34aaea93.zip
Version bump to 0.1.4.
(Portage version: 2.2.0_alpha183/cvs/Linux x86_64, signed Manifest commit with key 0x3A051746)
-rw-r--r--dev-python/mockldap/ChangeLog7
-rw-r--r--dev-python/mockldap/mockldap-0.1.4.ebuild45
2 files changed, 51 insertions, 1 deletions
diff --git a/dev-python/mockldap/ChangeLog b/dev-python/mockldap/ChangeLog
index dc852e70b57d..57916403d9c7 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.3 2013/09/19 15:52:04 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/mockldap/ChangeLog,v 1.4 2013/09/20 18:36:14 dastergon Exp $
+
+*mockldap-0.1.4 (20 Sep 2013)
+
+ 20 Sep 2013; Pavlos Ratis <dastergon@gentoo.org> +mockldap-0.1.4.ebuild:
+ Version bump to 0.1.4.
*mockldap-0.1.2 (19 Sep 2013)
diff --git a/dev-python/mockldap/mockldap-0.1.4.ebuild b/dev-python/mockldap/mockldap-0.1.4.ebuild
new file mode 100644
index 000000000000..cf690f16254f
--- /dev/null
+++ b/dev-python/mockldap/mockldap-0.1.4.ebuild
@@ -0,0 +1,45 @@
+# 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.4.ebuild,v 1.1 2013/09/20 18:36:14 dastergon 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
+}