From 4ea8012cb8ebeed08d6b363b34777a665e78faab Mon Sep 17 00:00:00 2001 From: Ian Delaney Date: Thu, 10 May 2012 19:49:28 +0800 Subject: [dev-python/django-auth-ldap] refined; added 'bump' -1.1 (Portage version: 2.1.10.56/git/Linux x86_64, unsigned Manifest commit) --- dev-python/django-auth-ldap/ChangeLog | 14 ----- dev-python/django-auth-ldap/Manifest | 1 + .../django-auth-ldap/django-auth-ldap-1.1.ebuild | 59 ++++++++++++++++++++++ 3 files changed, 60 insertions(+), 14 deletions(-) delete mode 100644 dev-python/django-auth-ldap/ChangeLog create mode 100644 dev-python/django-auth-ldap/django-auth-ldap-1.1.ebuild diff --git a/dev-python/django-auth-ldap/ChangeLog b/dev-python/django-auth-ldap/ChangeLog deleted file mode 100644 index 630bdad..0000000 --- a/dev-python/django-auth-ldap/ChangeLog +++ /dev/null @@ -1,14 +0,0 @@ -# ChangeLog for dev-python/django-auth-ldap -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/django-auth-ldap/ChangeLog,v 1.2 2012/04/25 12:55:49 tampakrap Exp $ - - 25 Apr 2012; Theo Chatzimichos - django-auth-ldap-1.0.19.ebuild: - Added condition to report effective testing() - -*django-auth-ldap-1.0.19 (18 Apr 2012) - - 18 Apr 2012; Theo Chatzimichos - +django-auth-ldap-1.0.19.ebuild, +metadata.xml: - Initial commit, ebuild by idella4 - diff --git a/dev-python/django-auth-ldap/Manifest b/dev-python/django-auth-ldap/Manifest index 67ecd7d..58b16ec 100644 --- a/dev-python/django-auth-ldap/Manifest +++ b/dev-python/django-auth-ldap/Manifest @@ -1 +1,2 @@ DIST django-auth-ldap-1.0.19.tar.gz 31549 SHA256 db9ba2d367f7a39e8e6474440cf4ef0290ea51c87116ba8d59191051a46fe462 SHA512 5440e47513b0e80a2a409efc88388866b98c387ec86dd94802679ee1d4310a2a55ca2cc9319b17f489db1479fb90e9e9d7e9740b1bd7b888c802e5408a54b6ce WHIRLPOOL dffcfb8c27657f8dd4da584fbeec35671a0e1b1980882c98263d358c8bb04f7f0aa0125f8c759e5ac303ceba408e9c7a56297bd5a5ce53d08e2eb75e8c399e5f +DIST django-auth-ldap-1.1.tar.gz 33022 SHA256 95f89b01c0d85a882ae3446af13e8f9804e0a2a816e9d2152ca44eaf8f2bf7a3 SHA512 422a40da476a6af185f787c7111578f3a7af81970fddf1b50faf6dad7dd51225c6063364b63e500c74fb433ee9c5cda9819ef52df86d0bb2a24f51f00878f89c WHIRLPOOL aca900ab3865e89a5db3bcc1fd5c5454f61e50ac449a1e6f455a2796bda5001cf40f5ba0384bc91331e1990a609e80c3acd0f984c5d6b3b66c43188993e51e17 diff --git a/dev-python/django-auth-ldap/django-auth-ldap-1.1.ebuild b/dev-python/django-auth-ldap/django-auth-ldap-1.1.ebuild new file mode 100644 index 0000000..cf26fa0 --- /dev/null +++ b/dev-python/django-auth-ldap/django-auth-ldap-1.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/django-auth-ldap/django-auth-ldap-1.1.ebuild,v 1.2 2012/04/25 12:55:49 tampakrap Exp $ + +EAPI=4 +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS=1 +RESTRICT_PYTHON_ABIS="3.*" + +inherit distutils + +DESCRIPTION="A flexible and capable API layer for Django utilising serialisers" +HOMEPAGE="http://pypi.python.org/pypi/django-auth-ldap http://bitbucket.org/psagers/django-auth-ldap/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +LICENSE="BSD" +SLOT="0" +PYTHON_MODNAME="django_auth_ldap" + +RDEPEND="" +DEPEND="${RDEPEND} >=dev-python/django-1.0 + dev-python/python-ldap + doc? ( dev-python/sphinx )" + +src_compile() { + distutils_src_compile + # BuildDocs is not essential. just an extra 'touch' + BuildDocs() { + emake -C docs html + } + if use doc; then + python_execute_function -f BuildDocs + fi +} + +src_test() { + export DJANGO_SETTINGS_MODULE="django.conf" + + # Test && demo that the tests are run; + # Python.[56] trigger a hramless depracation warning + testing() { + local exit_status=0 + PYTHONPATH=build-${PYTHON_ABI}/lib + "$(PYTHON)" -m django_auth_ldap.tests || exit_status=1 + einfo "All tests completed OK for python"$(python_get_version) + return ${exit_status} + } + python_execute_function testing +} + +src_install() { + distutils_src_install + + if use doc; then + dohtml -r docs/_build/html/ + fi +} -- cgit v1.2.3-65-gdbad