summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2010-08-27 17:27:31 +0000
committerTiziano Müller <dev-zero@gentoo.org>2010-08-27 17:27:31 +0000
commitfd69f57ba79aa30fdc6b721350427150fa29679b (patch)
tree80c80c86044a87422f076320308b169694332546 /dev-python/south
parentFix polarssl dependency to match >=0.14.0. Bug #331587 (diff)
downloadgentoo-2-fd69f57ba79aa30fdc6b721350427150fa29679b.tar.gz
gentoo-2-fd69f57ba79aa30fdc6b721350427150fa29679b.tar.bz2
gentoo-2-fd69f57ba79aa30fdc6b721350427150fa29679b.zip
Initial commit (bug #262923).
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/south')
-rw-r--r--dev-python/south/ChangeLog10
-rw-r--r--dev-python/south/metadata.xml9
-rw-r--r--dev-python/south/south-0.7.2.ebuild48
3 files changed, 67 insertions, 0 deletions
diff --git a/dev-python/south/ChangeLog b/dev-python/south/ChangeLog
new file mode 100644
index 000000000000..0d06044088ee
--- /dev/null
+++ b/dev-python/south/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/south
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/south/ChangeLog,v 1.1 2010/08/27 17:27:31 dev-zero Exp $
+
+*south-0.7.2 (27 Aug 2010)
+
+ 27 Aug 2010; Tiziano Müller <dev-zero@gentoo.org> +south-0.7.2.ebuild,
+ +metadata.xml:
+ Initial commit (bug #262923).
+
diff --git a/dev-python/south/metadata.xml b/dev-python/south/metadata.xml
new file mode 100644
index 000000000000..78170ac0a566
--- /dev/null
+++ b/dev-python/south/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>dev-zero@gentoo.org</email>
+ <name>Tiziano Müller</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-python/south/south-0.7.2.ebuild b/dev-python/south/south-0.7.2.ebuild
new file mode 100644
index 000000000000..84462146ee8b
--- /dev/null
+++ b/dev-python/south/south-0.7.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/south/south-0.7.2.ebuild,v 1.1 2010/08/27 17:27:31 dev-zero Exp $
+
+EAPI="3"
+
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit distutils
+
+DESCRIPTION="Intelligent schema migrations for Django apps."
+HOMEPAGE="http://south.aeracode.org/"
+SRC_URI="http://www.aeracode.org/releases/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc"
+
+RDEPEND="dev-python/django"
+DEPEND="${RDEPEND}
+ dev-python/setuptools
+ doc? ( dev-python/sphinx )"
+
+S="${WORKDIR}/${PN}"
+
+src_compile() {
+ distutils_src_compile
+
+ if use doc ; then
+ emake -C docs html || die "building docs failed"
+ fi
+}
+
+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."
+}