aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/django-auth-ldap/Manifest2
-rw-r--r--dev-python/django-auth-ldap/django-auth-ldap-1.0.19.ebuild50
-rw-r--r--dev-python/django-auth-ldap/django-auth-ldap-1.1.ebuild48
-rw-r--r--dev-python/django-auth-ldap/metadata.xml14
-rw-r--r--dev-python/django-debug-toolbar/ChangeLog11
-rw-r--r--dev-python/django-debug-toolbar/Manifest1
-rw-r--r--dev-python/django-debug-toolbar/django-debug-toolbar-0.9.4.ebuild40
-rw-r--r--dev-python/django-debug-toolbar/files/django-debug-toolbar-0.9.4-fix-with-py2.5.patch8
-rw-r--r--dev-python/django-debug-toolbar/metadata.xml14
-rw-r--r--dev-python/django-evolution/django-evolution-0.6.7.ebuild8
10 files changed, 6 insertions, 190 deletions
diff --git a/dev-python/django-auth-ldap/Manifest b/dev-python/django-auth-ldap/Manifest
deleted file mode 100644
index 58b16ec..0000000
--- a/dev-python/django-auth-ldap/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-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.0.19.ebuild b/dev-python/django-auth-ldap/django-auth-ldap-1.0.19.ebuild
deleted file mode 100644
index ce836c4..0000000
--- a/dev-python/django-auth-ldap/django-auth-ldap-1.0.19.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# 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.0.19.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_test() {
- export DJANGO_SETTINGS_MODULE="django.conf"
- # Since python3 not supported, this works for python2 && pypy
- # Tested, django_auth_ldap/tests.py IS being run
- testing() {
- PYTHONPATH=. "$(PYTHON)" django_auth_ldap/tests.py
- einfo "tests completed for python"$(python_get_version)
- }
- python_execute_function testing
-}
-
-src_compile() {
- distutils_src_compile
- if use doc; then
- emake -C docs html
- fi
-}
-
-src_install() {
- distutils_src_install
-
- if use doc; then
- dohtml -r docs/_build/html/*
- fi
-}
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
deleted file mode 100644
index 69ad5ae..0000000
--- a/dev-python/django-auth-ldap/django-auth-ldap-1.1.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# 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=">=dev-python/django-1.0"
-DEPEND="${RDEPEND}
- dev-python/python-ldap
- doc? ( dev-python/sphinx )"
-
-src_compile() {
- distutils_src_compile
- use doc && emake -C docs html
-}
-
-src_test() {
- export DJANGO_SETTINGS_MODULE="django.conf"
-
- # Python.[56] trigger a harmless deprecation warning
- testing() {
- "$(PYTHON)" -m django_auth_ldap.tests
- }
- python_execute_function testing
-}
-
-src_install() {
- distutils_src_install
-
- if use doc; then
- dohtml -r docs/_build/html/
- fi
-}
diff --git a/dev-python/django-auth-ldap/metadata.xml b/dev-python/django-auth-ldap/metadata.xml
deleted file mode 100644
index 472ba46..0000000
--- a/dev-python/django-auth-ldap/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer>
- <email>johneed@hotmail.com</email>
- <name>Ian Delaney</name>
- </maintainer>
- <maintainer>
- <email>tampakrap@gentoo.org</email>
- <name>Theo Chatzimichos</name>
- </maintainer>
- <herd>python</herd>
-</pkgmetadata>
-
diff --git a/dev-python/django-debug-toolbar/ChangeLog b/dev-python/django-debug-toolbar/ChangeLog
deleted file mode 100644
index ca89eeb..0000000
--- a/dev-python/django-debug-toolbar/ChangeLog
+++ /dev/null
@@ -1,11 +0,0 @@
-# ChangeLog for dev-python/django-debug-toolbar
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/django-debug-toolbar/ChangeLog,v 1.1 2012/04/25 16:26:12 tampakrap Exp $
-
-*django-debug-toolbar-0.9.4 (25 Apr 2012)
-
- 25 Apr 2012; Theo Chatzimichos <tampakrap@gentoo.org>
- +django-debug-toolbar-0.9.4.ebuild,
- +files/django-debug-toolbar-0.9.4-fix-with-py2.5.patch, +metadata.xml:
- Initial commit, ebuild by idella4
-
diff --git a/dev-python/django-debug-toolbar/Manifest b/dev-python/django-debug-toolbar/Manifest
deleted file mode 100644
index 637adb8..0000000
--- a/dev-python/django-debug-toolbar/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST django-debug-toolbar-0.9.4.tar.gz 150062 SHA256 d6bc217b672ddf0e729f76da2df1d4a50d45f1c934239851f7f7ae6a51201f4b SHA512 340d481bc57c77eb04f7058f39fa4d3b42186582e750ace11ef492e7e658d3dca08029343b6172cb07c935b4cd0e74e410d5eca92e9a0970d5bea9658e62a390 WHIRLPOOL f0e5753bed013b5c0b20b271c99838fed24783d86253bc12a056a48567e7ea5abd4066e292b8bb123b519224837094b2cf8331361338e1d689c6e13d7c0b37c0
diff --git a/dev-python/django-debug-toolbar/django-debug-toolbar-0.9.4.ebuild b/dev-python/django-debug-toolbar/django-debug-toolbar-0.9.4.ebuild
deleted file mode 100644
index ff93531..0000000
--- a/dev-python/django-debug-toolbar/django-debug-toolbar-0.9.4.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/django-debug-toolbar/django-debug-toolbar-0.9.4.ebuild,v 1.1 2012/04/25 16:26:12 tampakrap Exp $
-
-EAPI=4
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS=1
-RESTRICT_PYTHON_ABIS="3.*"
-
-inherit distutils eutils
-
-DESCRIPTION="A configurable set of panels that display debug information"
-HOMEPAGE="http://pypi.python.org/pypi/django-debug-toolbar/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-
-LICENSE="MIT"
-SLOT="0"
-PYTHON_MODNAME="debug_toolbar"
-
-RDEPEND="dev-python/django"
-DEPEND="${RDEPEND}
- dev-python/setuptools
- test? ( dev-python/dingus )"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-fix-with-py2.5.patch
-}
-
-src_test() {
- export DJANGO_SETTINGS_MODULE="django.conf"
- # einfo output assures that tests.py is being run
- testing() {
- PYTHONPATH=. "$(PYTHON)" -m tests.tests
- einfo "Tests for python$(python_get_version) completed"
- einfo ""
- }
- python_execute_function testing
-}
diff --git a/dev-python/django-debug-toolbar/files/django-debug-toolbar-0.9.4-fix-with-py2.5.patch b/dev-python/django-debug-toolbar/files/django-debug-toolbar-0.9.4-fix-with-py2.5.patch
deleted file mode 100644
index 9e26d39..0000000
--- a/dev-python/django-debug-toolbar/files/django-debug-toolbar-0.9.4-fix-with-py2.5.patch
+++ /dev/null
@@ -1,8 +0,0 @@
-diff -ur django-debug-toolbar-0.9.4.orig/tests/tests.py django-debug-toolbar-0.9.4/tests/tests.py
---- tests/tests.py 2011-10-10 02:47:15.000000000 +0800
-+++ tests/tests.py 2012-04-25 22:00:50.956680910 +0800
-@@ -1,3 +1,4 @@
-+from __future__ import with_statement
- from debug_toolbar.middleware import DebugToolbarMiddleware
- from debug_toolbar.panels.sql import SQLDebugPanel
- from debug_toolbar.panels.request_vars import RequestVarsDebugPanel
diff --git a/dev-python/django-debug-toolbar/metadata.xml b/dev-python/django-debug-toolbar/metadata.xml
deleted file mode 100644
index 472ba46..0000000
--- a/dev-python/django-debug-toolbar/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer>
- <email>johneed@hotmail.com</email>
- <name>Ian Delaney</name>
- </maintainer>
- <maintainer>
- <email>tampakrap@gentoo.org</email>
- <name>Theo Chatzimichos</name>
- </maintainer>
- <herd>python</herd>
-</pkgmetadata>
-
diff --git a/dev-python/django-evolution/django-evolution-0.6.7.ebuild b/dev-python/django-evolution/django-evolution-0.6.7.ebuild
index a1dbc4b..ba5f962 100644
--- a/dev-python/django-evolution/django-evolution-0.6.7.ebuild
+++ b/dev-python/django-evolution/django-evolution-0.6.7.ebuild
@@ -28,8 +28,12 @@ DEPEND="${RDEPEND}
dev-python/django"
src_test() {
+ # pypy registers 2 fails but does not return non zeros status and carries on!!!
testing() {
- PYTHONPATH="build-${PYTHON_ABI}/lib/)" "$(PYTHON)" tests/runtests.py
+ local exit_status=0
+ "$(PYTHON)" tests/runtests.py || exit_status=1
+ einfo "the status is $exit_status"
+ return $exit_status
}
python_execute_function testing
}
@@ -41,6 +45,6 @@ src_install() {
rmtests() {
rm -rf ${ED}/$(python_get_sitedir)/tests/ || die
}
- python_execute_function --action-message "${msg}" rmtests
+ python_execute_function --action-message "$msg" rmtests
dodoc docs/*
}