diff options
author | Ian Delaney <idella4@gentoo.org> | 2014-04-12 08:35:10 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2014-04-12 08:35:10 +0000 |
commit | 9aa57ef57d97ac41f99617f39e1b3b6bf820eea9 (patch) | |
tree | 6bd0bf4c1723cfc5e2463c4f73821707e49a5d0f /dev-python/mockldap | |
parent | libjpeg.8 hacks shouldn't be needed anymore (diff) | |
download | gentoo-2-9aa57ef57d97ac41f99617f39e1b3b6bf820eea9.tar.gz gentoo-2-9aa57ef57d97ac41f99617f39e1b3b6bf820eea9.tar.bz2 gentoo-2-9aa57ef57d97ac41f99617f39e1b3b6bf820eea9.zip |
complete commit
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/mockldap')
-rw-r--r-- | dev-python/mockldap/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/mockldap/files/mapping.patch | 12 | ||||
-rw-r--r-- | dev-python/mockldap/mockldap-0.1.7.ebuild | 48 |
3 files changed, 67 insertions, 1 deletions
diff --git a/dev-python/mockldap/ChangeLog b/dev-python/mockldap/ChangeLog index 95c5a0470b45..04191099285c 100644 --- a/dev-python/mockldap/ChangeLog +++ b/dev-python/mockldap/ChangeLog @@ -1,6 +1,12 @@ # 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.7 2014/02/21 08:52:14 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/mockldap/ChangeLog,v 1.8 2014/04/12 08:35:10 idella4 Exp $ + +*mockldap-0.1.7 (12 Apr 2014) + + 12 Apr 2014; Ian Delaney <idella4@gentoo.org> +files/mapping.patch, + +mockldap-0.1.7.ebuild: + bump; patch for doc build *mockldap-0.1.5 (21 Feb 2014) diff --git a/dev-python/mockldap/files/mapping.patch b/dev-python/mockldap/files/mapping.patch new file mode 100644 index 000000000000..f3cdd862a9d6 --- /dev/null +++ b/dev-python/mockldap/files/mapping.patch @@ -0,0 +1,12 @@ +Disable un-needed d'loading during doc build +diff -ur mockldap-0.1.7.orig/docs/source/conf.py mockldap-0.1.7/docs/source/conf.py +--- docs/source/conf.py 2014-03-08 00:51:00.000000000 +0800 ++++ docs/source/conf.py 2014-04-12 16:04:52.113446583 +0800 +@@ -28,7 +28,6 @@ + # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. + extensions = [ + 'sphinx.ext.autodoc', +- 'sphinx.ext.intersphinx', + 'sphinx.ext.viewcode', + ] + diff --git a/dev-python/mockldap/mockldap-0.1.7.ebuild b/dev-python/mockldap/mockldap-0.1.7.ebuild new file mode 100644 index 000000000000..e8ba6e2e0d67 --- /dev/null +++ b/dev-python/mockldap/mockldap-0.1.7.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.1.7.ebuild,v 1.1 2014/04/12 08:35:10 idella4 Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_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}] )" + +# 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 +} |