diff options
author | 2014-05-02 11:49:29 +0000 | |
---|---|---|
committer | 2014-05-02 11:49:29 +0000 | |
commit | 1ea99ff9c00cfecbe4e86e0f57281d0e20aef6ac (patch) | |
tree | bc5ce0622503b2095e5e8f87c713b7030b44f948 /dev-python/django | |
parent | Handle systemd in logrotate file (#508526 by SN) (diff) | |
download | gentoo-2-1ea99ff9c00cfecbe4e86e0f57281d0e20aef6ac.tar.gz gentoo-2-1ea99ff9c00cfecbe4e86e0f57281d0e20aef6ac.tar.bz2 gentoo-2-1ea99ff9c00cfecbe4e86e0f57281d0e20aef6ac.zip |
cleanout wrt Bug 508514
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/django')
-rw-r--r-- | dev-python/django/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/django/django-1.5.4.ebuild | 82 | ||||
-rw-r--r-- | dev-python/django/django-1.6.1.ebuild | 93 |
3 files changed, 5 insertions, 176 deletions
diff --git a/dev-python/django/ChangeLog b/dev-python/django/ChangeLog index c23a967a06e7..5850d3bf291f 100644 --- a/dev-python/django/ChangeLog +++ b/dev-python/django/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/django # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v 1.127 2014/04/28 04:38:42 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v 1.128 2014/05/02 11:49:29 idella4 Exp $ + + 02 May 2014; Ian Delaney <idella4@gentoo.org> -django-1.5.4.ebuild, + -django-1.6.1.ebuild: + cleanout wrt Bug 508514 28 Apr 2014; Ian Delaney <idella4@gentoo.org> -django-1.4.8.ebuild: remove -1.4.8 wrt bug #508514 diff --git a/dev-python/django/django-1.5.4.ebuild b/dev-python/django/django-1.5.4.ebuild deleted file mode 100644 index a525dc49ded7..000000000000 --- a/dev-python/django/django-1.5.4.ebuild +++ /dev/null @@ -1,82 +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/django-1.5.4.ebuild,v 1.2 2013/10/22 11:43:30 grobian Exp $ - -EAPI=5 -PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) -PYTHON_REQ_USE='sqlite?' -WEBAPP_NO_AUTO_INSTALL="yes" - -inherit bash-completion-r1 distutils-r1 versionator webapp - -MY_P="Django-${PV}" - -DESCRIPTION="High-level Python web framework" -HOMEPAGE="http://www.djangoproject.com/ http://pypi.python.org/pypi/Django" -SRC_URI="https://www.djangoproject.com/m/releases/$(get_version_component_range 1-2)/${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="doc mysql postgres sqlite test" - -PY2_USEDEP=$(python_gen_usedep 'python2*') -RDEPEND="virtual/python-imaging[${PYTHON_USEDEP}] - postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] ) - mysql? ( >=dev-python/mysql-python-1.2.3[${PY2_USEDEP}] )" -DEPEND="${RDEPEND} - doc? ( >=dev-python/sphinx-1.0.7[${PYTHON_USEDEP}] ) - test? ( ${PYTHON_DEPS//sqlite?/sqlite} )" - -S="${WORKDIR}/${MY_P}" - -WEBAPP_MANUAL_SLOT="yes" - -PATCHES=( "${FILESDIR}"/${PN}-1.5.4-objects.patch \ - "${FILESDIR}"/${PN}-1.5-py3tests.patch ) - -python_compile_all() { - if use doc; then - emake -C docs html - fi -} - -python_test() { - # Tests have non-standard assumptions about PYTHONPATH, - # and don't work with ${BUILD_DIR}/lib. - # https://code.djangoproject.com/ticket/20514 - PYTHONPATH=. \ - "${PYTHON}" tests/runtests.py --settings=test_sqlite -v1 \ - || die "Tests fail with ${EPYTHON}" -} - -src_test() { - # Port conflict in django.test.testcases.LiveServerTestCase. - # Several other races with temp files. - DISTUTILS_NO_PARALLEL_BUILD=1 distutils-r1_src_test -} - -src_install() { - distutils-r1_src_install - webapp_src_install -} - -python_install_all() { - newbashcomp extras/django_bash_completion ${PN} - - if use doc; then - rm -fr docs/_build/html/_sources - local HTML_DOCS=( docs/_build/html/. ) - fi - - insinto "${MY_HTDOCSDIR#${EPREFIX}}" - doins -r django/contrib/admin/static/admin/. - distutils-r1_python_install_all -} - -pkg_postinst() { - elog "A copy of the admin media is available to webapp-config for installation in a" - elog "webroot, as well as the traditional location in python's site-packages dir" - elog "for easy development." - webapp_pkg_postinst -} diff --git a/dev-python/django/django-1.6.1.ebuild b/dev-python/django/django-1.6.1.ebuild deleted file mode 100644 index 421f537e6b0f..000000000000 --- a/dev-python/django/django-1.6.1.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-1.6.1.ebuild,v 1.2 2014/04/25 00:47:28 idella4 Exp $ - -EAPI=5 -PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) -PYTHON_REQ_USE='sqlite?' -WEBAPP_NO_AUTO_INSTALL="yes" - -inherit bash-completion-r1 distutils-r1 versionator webapp - -MY_P="Django-${PV}" - -DESCRIPTION="High-level Python web framework" -HOMEPAGE="http://www.djangoproject.com/ http://pypi.python.org/pypi/Django" -SRC_URI="https://www.djangoproject.com/m/releases/$(get_version_component_range 1-2)/${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="doc mysql postgres sqlite test" - -PY2_USEDEP=$(python_gen_usedep 'python2*') -RDEPEND="virtual/python-imaging[${PYTHON_USEDEP}] - postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] ) - mysql? ( >=dev-python/mysql-python-1.2.3[${PY2_USEDEP}] )" -DEPEND="${RDEPEND} - doc? ( >=dev-python/sphinx-1.0.7[${PYTHON_USEDEP}] ) - test? ( ${PYTHON_DEPS//sqlite?/sqlite} )" - -REQUIRED_USE="mysql? ( || ( $(python_gen_useflags 'python2*') ) )" - -S="${WORKDIR}/${MY_P}" - -WEBAPP_MANUAL_SLOT="yes" - -PATCHES=( "${FILESDIR}"/${PN}-1.5-py3tests.patch \ - "${FILESDIR}"/${PN}-1.6-objects.patch ) - -python_prepare_all() { - # Avoid test failures with unittest2 and Python 3. - sed -e "s/from unittest2 import \*/raise ImportError/" -i django/utils/unittest/__init__.py - distutils-r1_python_prepare_all -} - -python_compile_all() { - if use doc; then - emake -C docs html - fi -} - -python_test() { - # Tests have non-standard assumptions about PYTHONPATH, - # and don't work with ${BUILD_DIR}/lib. - # https://code.djangoproject.com/ticket/20514 - # https://code.djangoproject.com/ticket/21093 - - sed -e 's:test_dont_base64_encode:_&:' -i tests/mail/tests.py || die - PYTHONPATH=. \ - "${PYTHON}" tests/runtests.py --settings=test_sqlite -v1 \ - || die "Tests fail with ${EPYTHON}" -} - -src_test() { - # Port conflict in django.test.testcases.LiveServerTestCase. - # Several other races with temp files. - DISTUTILS_NO_PARALLEL_BUILD=1 distutils-r1_src_test -} - -src_install() { - distutils-r1_src_install - webapp_src_install -} - -python_install_all() { - newbashcomp extras/django_bash_completion ${PN} - - if use doc; then - rm -fr docs/_build/html/_sources - local HTML_DOCS=( docs/_build/html/. ) - fi - - insinto "${MY_HTDOCSDIR#${EPREFIX}}" - doins -r django/contrib/admin/static/admin/. - distutils-r1_python_install_all -} - -pkg_postinst() { - elog "A copy of the admin media is available to webapp-config for installation in a" - elog "webroot, as well as the traditional location in python's site-packages dir" - elog "for easy development." - webapp_pkg_postinst -} |