summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2013-05-18 14:33:01 +0200
committerGilles Dartiguelongue <eva@gentoo.org>2013-05-18 14:33:01 +0200
commit81b9f258edc2734bc77a3d126710a1952692d7f4 (patch)
treefbac108d9bfbe017770d834206cc688347b1f106 /dev-python
parentapp-text/dblatex: add metadata.xml (diff)
downloadeva-81b9f258edc2734bc77a3d126710a1952692d7f4.tar.gz
eva-81b9f258edc2734bc77a3d126710a1952692d7f4.tar.bz2
eva-81b9f258edc2734bc77a3d126710a1952692d7f4.zip
dev-python/south: moved to gentoo-x86
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/south/Manifest1
-rw-r--r--dev-python/south/metadata.xml8
-rw-r--r--dev-python/south/south-0.7.6.ebuild70
3 files changed, 0 insertions, 79 deletions
diff --git a/dev-python/south/Manifest b/dev-python/south/Manifest
deleted file mode 100644
index ee6c6a4..0000000
--- a/dev-python/south/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST south-0.7.6.tar.gz 136861 SHA256 481197a915a017291f34b0e01a004f7e1a4c1b43354809177849d46def1d9a03 SHA512 4c2dce16d30a3739347a8b8578ad32a80f256d2d9c3f3d63c82a39bc531dbb0a0c7d548c3dcf2de3bf414accf934cb87d11b4c8eac3f8abf40949a2c112d77bd WHIRLPOOL 04115995db09c7c6c06125ebc4242cef29f1a5ee8c6d99c726f5a86d5b6b7d663cf9463fce05a347213ec17c0b5a4639aa744420a9124135fc78e49060c227c6
diff --git a/dev-python/south/metadata.xml b/dev-python/south/metadata.xml
deleted file mode 100644
index 5b2a5c5..0000000
--- a/dev-python/south/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer>
- <email>dev-zero@gentoo.org</email>
- <name>Tiziano Müller</name>
- </maintainer>
-</pkgmetadata>
diff --git a/dev-python/south/south-0.7.6.ebuild b/dev-python/south/south-0.7.6.ebuild
deleted file mode 100644
index 89d0dab..0000000
--- a/dev-python/south/south-0.7.6.ebuild
+++ /dev/null
@@ -1,70 +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/south/south-0.7.5.ebuild,v 1.2 2012/07/13 12:28:26 dev-zero Exp $
-
-EAPI="4"
-
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="2.5 3.*"
-
-inherit distutils
-
-DESCRIPTION="Intelligent schema migrations for Django apps."
-HOMEPAGE="http://south.aeracode.org/"
-SRC_URI="https://bitbucket.org/andrewgodwin/south/get/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc"
-
-RDEPEND="dev-python/django"
-DEPEND="${RDEPEND}
- dev-python/setuptools
- doc? ( dev-python/sphinx dev-python/jinja )"
-
-# we are setting up the tests, but they fail
-RESTRICT="test"
-
-src_unpack() {
- default
- mv "${WORKDIR}"/*-south-* "${S}"
-}
-
-src_compile() {
- distutils_src_compile
-
- use doc && emake -C docs html
-}
-
-src_install() {
- distutils_src_install
-
- use doc && dohtml -r docs/_build/html/*
-}
-
-pkg_postinst() {
- distutils_pkg_postinst
- elog "In order to use the south schema migrations for your Django project,"
- elog "just add 'south' to your INSTALLED_APPS in the settings.py file."
- elog "manage.py will now automagically offer the new functions."
-}
-
-src_test() {
- testing() {
- mkdir -p "${T}/test-${PYTHON_ABI}"
- cd "${T}/test-${PYTHON_ABI}"
-
- django-admin.py-${PYTHON_ABI} startproject southtest || die "setting up test env failed"
- cd southtest
- sed -i \
- -e "/^INSTALLED_APPS/a\ 'south'," \
- -e 's/\(django.db.backends.\)/\1sqlite3/' \
- -e "s/\(NAME': '\)/\1test.db/" \
- southtest/settings.py || die "sed failed"
- echo "SKIP_SOUTH_TESTS=False" >> southtest/settings.py
- PYTHONPATH="${S}/build-${PYTHON_ABI}/lib:${S}/south/tests" "$(PYTHON)" manage.py test south || die "tests failed"
- }
- python_execute_function testing
-}