diff options
4 files changed, 12 insertions, 83 deletions
diff --git a/dev-python/django-registration/ChangeLog b/dev-python/django-registration/ChangeLog index 74982e93598e..8e43a6b970a2 100644 --- a/dev-python/django-registration/ChangeLog +++ b/dev-python/django-registration/ChangeLog @@ -1,6 +1,11 @@ # 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.5 2013/06/01 13:20:52 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/django-registration/ChangeLog,v 1.6 2013/06/01 17:27:54 floppym Exp $ + + 01 Jun 2013; Mike Gilbert <floppym@gentoo.org> + -django-registration-0.8-r2.ebuild, django-registration-0.8-r1.ebuild: + Drop -r2 to get master.zip off gentoo mirrors. Remove broken python_test + function from -r1. *django-registration-0.8-r2 (01 Jun 2013) diff --git a/dev-python/django-registration/Manifest b/dev-python/django-registration/Manifest index 36eda0a8c25d..a369ec3e562a 100644 --- a/dev-python/django-registration/Manifest +++ b/dev-python/django-registration/Manifest @@ -2,15 +2,13 @@ Hash: SHA256 DIST django-registration-0.8.tar.gz 284427 SHA256 a9062db28a2f06cb710a07444141d9ec1c499b08502f244f27a002f3e7230f0b SHA512 164508908da937c4f8aacdc5ffdd190b19a4da0174bd92f248b7db80d161fb9cd9beb20c62c7e213b0e060c17306036cf11ffc4e53c071b372ab8c721ca671ac WHIRLPOOL 287a72457e34f3063d09afa61edcc82809cf0690bc16aa81782fa42a228e364c7afd7666991e532b6a00bb6772bb3e6797a576a0495f6bd15431e9578c2b509f -DIST master.zip 137362 SHA256 d2aeb46a0fb5b0e5fe3c77200682a34b96833cbe465c1b8edacf890895d3ca2a SHA512 2987bb8131509d655de8f8373aff7365b89b80edbc67e97d7c37dcc22a4e42f4bc1eb57ba9a8f681c72b514b16a302045147e06d80f4bd1f94b0846c88b77053 WHIRLPOOL f653f367644f627e8f6c66e80edd0dae040b5c785ce83dc639d5c65839fad7b6c32be3336e97cd60255f14a70114c471cd059ea1ee0fc6302ab91e7dbfae722e -EBUILD django-registration-0.8-r1.ebuild 1120 SHA256 118767c792d1f777a7429234e4c2bd9269799e624bb33904e3032bb5e677e288 SHA512 db1b223a9087d8a1d1943c36dedf51117ba77f6a84fd642636536aa7f5f296cf9557b829405489525b5b3924f50cd87de4c09164434423c1d008c332207bfb3a WHIRLPOOL 067175088a19d263adf14ef02dd33dcb103e3fa021674d442b492dbc498870f13190c5d6433b080c4dd644b4f80d62d36f0cc756da60d4bf0215e5768272185c -EBUILD django-registration-0.8-r2.ebuild 2073 SHA256 c0023430954e371a62f1f35f3e0b08487f63c358451da81979758e26801b1a9d SHA512 9edc8adc18084eb3a013635cb4997ec62a450dd028e359c8eeb4f7d491ca305fe3e330fcf42804fbd53af75a479c8d1142869ad73eaa27e7fc8ebd76b5668359 WHIRLPOOL aaad46c10e3e44a56c46b7140ecd85d10c403eddfe3d5992fa50a2fa536b5e4f075f06d5206256395e9af9fc3ccbaf272894a4a18fa4e1735cba744d04318cd8 -MISC ChangeLog 1272 SHA256 3460d6d507ed8d6837df691e5a8b5f0a2f673f30159a0837b71e0c1542837ec6 SHA512 083a692c1b52311546aec83179a1a9df131b98389c9625d1cc43cd8298356fc98b0598c04b5a874253dbba4b1cbef830723c3e54c7e4d1bc1f01be47a8f52b7b WHIRLPOOL edecbead227d554bfe4e70d17a3aa374fea7d1235f82bc901beb6316f8bae810376a7813aeb196a7f14fe69191a9c2a42741fbcfa844b3d5af174bcf7015f386 +EBUILD django-registration-0.8-r1.ebuild 672 SHA256 ed895c43b7dce534c886a4e0c7535a8c973a1987e2ccbb63525e4a457ae9a754 SHA512 7968263f66240eae3e5fd3d54ba47231db590c6870477846fbd7da13da9b9a034c2d04aeb5434c04a325174d99f2db303134e060f37077a46378ac5e73547256 WHIRLPOOL 1d3a4880a5d59dad669177025247a6073853e4469ea1b3d34ee1c86aca333dbcc3918b6d9ed6ab87f1fde31309ee356a7ae0e9f811374a7767c6d7f0fe3c21f5 +MISC ChangeLog 1491 SHA256 9bf050d7c03bb46f2ce13974fd7588d935e9b3b27c851245fa2ff4d8a249f401 SHA512 ec0959d89ad03305430c7fcf74a5b133a2aa355d61362af3049a84d0ac92b6c2baa03bfe1bc88498b16538b0c902a7cbf9233f853524bb0f47e3794a221cafdf WHIRLPOOL 2745aceddf620a0829ecba5c13e2e625d434100e7ef02f8b19ddf45490346cd521286c6df1d03326a1c73c670c6d813e1a0d68715b48051fdff42b7cb749682b MISC metadata.xml 353 SHA256 b643dbdcb08f41c9375929dde3178990d35e7b632c706837b3abe2942b5457df SHA512 4a886d36cd9d209f047e1e2f7dbb6e948059edc1cdcdaabf41540b2eea56d512e078b50aad0ee807e79554c6f8a69ab161e117305d9220a966333a2abfac718c WHIRLPOOL 230c4a85dc1d794def76c67848a481a45ac11ad43c45766b08b9ca5964198ca40912dcc81bbe49f97f0412c3cff644a69f0a4392d20c505817191eadff2a832d -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlGp9UQACgkQso7CE7gHKw2ofgCgpYJ6bti3G/7NJxFrgZFDYrOo -qNcAnj6YvSl0V/WdXhFfqYOkfUf2oCM0 -=XTmR +iF4EAREIAAYFAlGqLx8ACgkQC77qH+pIQ6SS9gEAm51PHCnZhgxBiTljuhftkYTU +RvLuY1KOGDcNqjaCovcA/i650+BIEcqBO/3HYr+cE/KgrCeoNKmHdygO174PE4+Y +=Ewti -----END PGP SIGNATURE----- diff --git a/dev-python/django-registration/django-registration-0.8-r1.ebuild b/dev-python/django-registration/django-registration-0.8-r1.ebuild index c623c422dfc7..b023cb8dac55 100644 --- a/dev-python/django-registration/django-registration-0.8-r1.ebuild +++ b/dev-python/django-registration/django-registration-0.8-r1.ebuild @@ -1,6 +1,6 @@ # 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 $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/django-registration/django-registration-0.8-r1.ebuild,v 1.2 2013/06/01 17:27:54 floppym Exp $ EAPI=5 @@ -19,20 +19,3 @@ 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-r2.ebuild b/dev-python/django-registration/django-registration-0.8-r2.ebuild deleted file mode 100644 index 78107311b5b3..000000000000 --- a/dev-python/django-registration/django-registration-0.8-r2.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# 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-r2.ebuild,v 1.1 2013/06/01 13:20:52 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 https://github.com/nathanborror/django-registration/archive/master.zip" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" - -DEPEND="dev-python/django[${PYTHON_USEDEP}] - app-arch/unzip - test? ( <=dev-python/django-1.4.5[$(python_gen_usedep python{2_6,2_7})] )" -RDEPEND="dev-python/django[${PYTHON_USEDEP}]" - -python_prepare_all() { - if use test; then - DISTUTILS_IN_SOURCE_BUILD=1 - mv "${WORKDIR}"/${PN}-master/${PN#django-}/templates/ "${S}"/${PN#django-}/ || die - # Disable invalid test - sed -e 's:test_get_version:_&:' -i ${PN#django-}/tests/__init__.py || die - fi - distutils-r1_python_prepare_all -} - -python_compile_all() { - if use test; then - # Acquire a settings.py - django-admin.py-${EPYTHON} startproject regtest || die - sed -e "/^INSTALLED_APPS/a\ 'registration'," \ - -e 's/\(django.db.backends.\)/\1sqlite3/' \ - -e "s/\(NAME': '\)/\1test.db/" \ - -i regtest/regtest/settings.py || die "sed failed" - echo "SKIP_REGISTRATION_TESTS=False" >> regtest/regtest/settings.py - cd regtest || die - ln -fs ../registration/urls.py . && cd .. || die - touch regtest/__init__.py || die - cp ${PN#django-}/templates/${PN#django-}/base_registration.html \ - ${PN#django-}/templates/${PN#django-}/test_template_name.html || die - cp regtest/regtest/settings.py registration/ || die - fi -} - -python_test() { - # NOTE: tests pass in py2.6 only if run alone - pushd "${BUILD_DIR}"/../ &> /dev/null - PYTHONPATH=. django-admin.py-"${EPYTHON}" test --setting=registration.settings registration || die "tests failed" -} |