summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2013-05-27 14:27:49 +0000
committerIan Delaney <idella4@gentoo.org>2013-05-27 14:27:49 +0000
commite1d56e8ebec4fc80b4dfc133134ee21efd21b01f (patch)
tree27dc5b18fed22b361cbce84b3338b99b536b25b8 /dev-python/django-registration
parentMissing pygtk dep (diff)
downloadgentoo-2-e1d56e8ebec4fc80b4dfc133134ee21efd21b01f.tar.gz
gentoo-2-e1d56e8ebec4fc80b4dfc133134ee21efd21b01f.tar.bz2
gentoo-2-e1d56e8ebec4fc80b4dfc133134ee21efd21b01f.zip
revbump; migrate -> distutils-r1, add missing test phase, drop old ebuilds
(Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/django-registration')
-rw-r--r--dev-python/django-registration/ChangeLog9
-rw-r--r--dev-python/django-registration/django-registration-0.7.ebuild24
-rw-r--r--dev-python/django-registration/django-registration-0.8-r1.ebuild38
-rw-r--r--dev-python/django-registration/django-registration-0.8.ebuild24
4 files changed, 46 insertions, 49 deletions
diff --git a/dev-python/django-registration/ChangeLog b/dev-python/django-registration/ChangeLog
index f1702d7883ac..b850809a33d3 100644
--- a/dev-python/django-registration/ChangeLog
+++ b/dev-python/django-registration/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-python/django-registration
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/django-registration/ChangeLog,v 1.3 2013/01/15 21:19:45 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django-registration/ChangeLog,v 1.4 2013/05/27 14:27:49 idella4 Exp $
+
+*django-registration-0.8-r1 (27 May 2013)
+
+ 27 May 2013; Ian Delaney <idella4@gentoo.org>
+ +django-registration-0.8-r1.ebuild, -django-registration-0.7.ebuild,
+ -django-registration-0.8.ebuild:
+ revbump; migrate -> distutils-r1, add missing test phase, drop old ebuilds
15 Jan 2013; Markos Chandras <hwoarang@gentoo.org> metadata.xml:
Remove myself from metadata
diff --git a/dev-python/django-registration/django-registration-0.7.ebuild b/dev-python/django-registration/django-registration-0.7.ebuild
deleted file mode 100644
index 7d673b9732cf..000000000000
--- a/dev-python/django-registration/django-registration-0.7.ebuild
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/django-registration/django-registration-0.7.ebuild,v 1.1 2011/04/08 04:00:25 jmbsvicetto Exp $
-
-EAPI="3"
-
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.*"
-PYTHON_MODNAME="registration"
-
-inherit distutils
-
-DESCRIPTION="An extensible user-registration application for Django"
-HOMEPAGE="http://www.bitbucket.org/ubernostrum/django-registration/wiki/ http://pypi.python.org/pypi/django-registration"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-
-DEPEND="dev-python/django"
-RDEPEND="${DEPEND}"
diff --git a/dev-python/django-registration/django-registration-0.8-r1.ebuild b/dev-python/django-registration/django-registration-0.8-r1.ebuild
new file mode 100644
index 000000000000..c623c422dfc7
--- /dev/null
+++ b/dev-python/django-registration/django-registration-0.8-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django-registration/django-registration-0.8-r1.ebuild,v 1.1 2013/05/27 14:27:49 idella4 Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_6,2_7} )
+
+inherit distutils-r1
+
+DESCRIPTION="An extensible user-registration application for Django"
+HOMEPAGE="http://www.bitbucket.org/ubernostrum/django-registration/wiki/ http://pypi.python.org/pypi/django-registration"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="dev-python/django[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}"
+
+python_test() {
+ export DJANGO_SETTINGS_MODULE="django.conf"
+ export SECRET_KEY='green'
+ local test
+ for test in registration/tests/{backends.py,forms.py,models.py,urls.py,views.py}
+ do
+ if ! "${PYTHON}" -c \
+ "from django.conf import global_settings;global_settings.SECRET_KEY='$SECRET_KEY'" ${test}
+ then
+ die "test ${test} failed under ${EPYTHON}"
+ else
+ einfo "test ${test} passed"
+ fi
+ done
+ einfo "tests passed under ${EPYTHON}"
+}
diff --git a/dev-python/django-registration/django-registration-0.8.ebuild b/dev-python/django-registration/django-registration-0.8.ebuild
deleted file mode 100644
index 37fa25e4294f..000000000000
--- a/dev-python/django-registration/django-registration-0.8.ebuild
+++ /dev/null
@@ -1,24 +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-registration/django-registration-0.8.ebuild,v 1.1 2012/04/08 19:20:59 floppym Exp $
-
-EAPI="3"
-
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.*"
-PYTHON_MODNAME="registration"
-
-inherit distutils
-
-DESCRIPTION="An extensible user-registration application for Django"
-HOMEPAGE="http://www.bitbucket.org/ubernostrum/django-registration/wiki/ http://pypi.python.org/pypi/django-registration"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-
-DEPEND="dev-python/django"
-RDEPEND="${DEPEND}"