summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-09-08 10:11:10 +0000
committerMichał Górny <mgorny@gentoo.org>2013-09-08 10:11:10 +0000
commit0feec5e66eb4ba9f9a63a9d1f7f6a3600291ce2c (patch)
treec4eba3918671fc2fa4f4cd4349b077f918aea83a /dev-python/mockldap
parentarm stable, bug #478904 (diff)
downloadgentoo-2-0feec5e66eb4ba9f9a63a9d1f7f6a3600291ce2c.tar.gz
gentoo-2-0feec5e66eb4ba9f9a63a9d1f7f6a3600291ce2c.tar.bz2
gentoo-2-0feec5e66eb4ba9f9a63a9d1f7f6a3600291ce2c.zip
Package the initial release of mockldap.
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Diffstat (limited to 'dev-python/mockldap')
-rw-r--r--dev-python/mockldap/ChangeLog9
-rw-r--r--dev-python/mockldap/metadata.xml8
-rw-r--r--dev-python/mockldap/mockldap-0.1.ebuild35
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/mockldap/ChangeLog b/dev-python/mockldap/ChangeLog
new file mode 100644
index 000000000000..3197ac5f51af
--- /dev/null
+++ b/dev-python/mockldap/ChangeLog
@@ -0,0 +1,9 @@
+# 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.1 2013/09/08 10:11:10 mgorny Exp $
+
+*mockldap-0.1 (08 Sep 2013)
+
+ 08 Sep 2013; Michał Górny <mgorny@gentoo.org> +metadata.xml,
+ +mockldap-0.1.ebuild:
+ Package the initial release of mockldap.
diff --git a/dev-python/mockldap/metadata.xml b/dev-python/mockldap/metadata.xml
new file mode 100644
index 000000000000..82e37b0c3940
--- /dev/null
+++ b/dev-python/mockldap/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>python</herd>
+ <upstream>
+ <remote-id type="pypi">mockldap</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/mockldap/mockldap-0.1.ebuild b/dev-python/mockldap/mockldap-0.1.ebuild
new file mode 100644
index 000000000000..c6f68ca1dfc2
--- /dev/null
+++ b/dev-python/mockldap/mockldap-0.1.ebuild
@@ -0,0 +1,35 @@
+# 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.ebuild,v 1.1 2013/09/08 10:11:10 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="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}]
+ test? ( dev-python/passlib[${PYTHON_USEDEP}] )"
+
+python_test() {
+ esetup.py test
+}
+
+pkg_postinst() {
+ if ! has_version dev-python/passlib; then
+ elog "Please install dev-python/passlib for hashed password support."
+ fi
+}