diff options
author | Patrick Lauer <patrick@gentoo.org> | 2015-06-26 03:27:26 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2015-06-26 03:27:26 +0000 |
commit | a4895dfb132e688004df1bc91118c41fc7604ee2 (patch) | |
tree | 4de11b843e38815b1fed61c1c6b684b6d532a342 /dev-python/mockldap | |
parent | Bump (diff) | |
download | gentoo-2-a4895dfb132e688004df1bc91118c41fc7604ee2.tar.gz gentoo-2-a4895dfb132e688004df1bc91118c41fc7604ee2.tar.bz2 gentoo-2-a4895dfb132e688004df1bc91118c41fc7604ee2.zip |
Bump
(Portage version: 2.2.20/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-python/mockldap')
-rw-r--r-- | dev-python/mockldap/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/mockldap/mockldap-0.2.5.ebuild | 47 |
2 files changed, 53 insertions, 1 deletions
diff --git a/dev-python/mockldap/ChangeLog b/dev-python/mockldap/ChangeLog index a58ebac00e24..913182948931 100644 --- a/dev-python/mockldap/ChangeLog +++ b/dev-python/mockldap/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/mockldap # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mockldap/ChangeLog,v 1.17 2015/06/07 19:31:19 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/mockldap/ChangeLog,v 1.18 2015/06/26 03:27:26 patrick Exp $ + +*mockldap-0.2.5 (26 Jun 2015) + + 26 Jun 2015; Patrick Lauer <patrick@gentoo.org> +mockldap-0.2.5.ebuild: + Bump 07 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml: Add bitbucket to remote-id in metadata.xml diff --git a/dev-python/mockldap/mockldap-0.2.5.ebuild b/dev-python/mockldap/mockldap-0.2.5.ebuild new file mode 100644 index 000000000000..d0b797ef8f73 --- /dev/null +++ b/dev-python/mockldap/mockldap-0.2.5.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/mockldap/mockldap-0.2.5.ebuild,v 1.1 2015/06/26 03:27:26 patrick 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 +} |