diff options
author | Ian Delaney <idella4@gentoo.org> | 2014-06-16 10:07:45 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2014-06-16 10:07:45 +0000 |
commit | faa7121edb60890ea50207741b07d693116fa88c (patch) | |
tree | a8c71e73f00f1b30f7d67461713af55c5ce12e94 /dev-python | |
parent | Remove old (diff) | |
download | gentoo-2-faa7121edb60890ea50207741b07d693116fa88c.tar.gz gentoo-2-faa7121edb60890ea50207741b07d693116fa88c.tar.bz2 gentoo-2-faa7121edb60890ea50207741b07d693116fa88c.zip |
bump
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/mockldap/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/mockldap/mockldap-0.2.1.ebuild | 48 |
2 files changed, 54 insertions, 1 deletions
diff --git a/dev-python/mockldap/ChangeLog b/dev-python/mockldap/ChangeLog index ba1af5093ebe..0a2236018f10 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.9 2014/05/14 08:54:51 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/mockldap/ChangeLog,v 1.10 2014/06/16 10:07:45 idella4 Exp $ + +*mockldap-0.2.1 (16 Jun 2014) + + 16 Jun 2014; Ian Delaney <idella4@gentoo.org> +mockldap-0.2.1.ebuild: + bump *mockldap-0.2.0 (14 May 2014) diff --git a/dev-python/mockldap/mockldap-0.2.1.ebuild b/dev-python/mockldap/mockldap-0.2.1.ebuild new file mode 100644 index 000000000000..764c739fc90d --- /dev/null +++ b/dev-python/mockldap/mockldap-0.2.1.ebuild @@ -0,0 +1,48 @@ +# 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.1.ebuild,v 1.1 2014/06/16 10:07:45 idella4 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-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}] ) + test? ( >=dev-python/passlib-1.6.1[${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 +} |