summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2012-05-23 18:58:01 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2012-05-23 18:58:01 +0000
commit1ab69779858dd5301857c30a5b1f8585860887c6 (patch)
tree9085f85df94dfb752e98337182767152262eae84 /dev-python
parent[bump] dev-perl/Devel-REPL-1.3.13 (diff)
downloadgentoo-2-1ab69779858dd5301857c30a5b1f8585860887c6.tar.gz
gentoo-2-1ab69779858dd5301857c30a5b1f8585860887c6.tar.bz2
gentoo-2-1ab69779858dd5301857c30a5b1f8585860887c6.zip
Fix SRC_URI, reorder vars, rm -f always succeeds
(Portage version: 2.2.0_alpha107/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/django-evolution/ChangeLog6
-rw-r--r--dev-python/django-evolution/django-evolution-0.6.7.ebuild19
2 files changed, 16 insertions, 9 deletions
diff --git a/dev-python/django-evolution/ChangeLog b/dev-python/django-evolution/ChangeLog
index 5cd6a5af8f85..afcfed17af49 100644
--- a/dev-python/django-evolution/ChangeLog
+++ b/dev-python/django-evolution/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/django-evolution
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/django-evolution/ChangeLog,v 1.1 2012/05/20 10:34:08 tampakrap Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django-evolution/ChangeLog,v 1.2 2012/05/23 18:58:01 xarthisius Exp $
+
+ 23 May 2012; Kacper Kowalik <xarthisius@gentoo.org>
+ django-evolution-0.6.7.ebuild:
+ Fix SRC_URI, reorder vars, rm -f always succeeds
*django-evolution-0.6.7 (20 May 2012)
diff --git a/dev-python/django-evolution/django-evolution-0.6.7.ebuild b/dev-python/django-evolution/django-evolution-0.6.7.ebuild
index b93830d4c8b8..6a6545c2006b 100644
--- a/dev-python/django-evolution/django-evolution-0.6.7.ebuild
+++ b/dev-python/django-evolution/django-evolution-0.6.7.ebuild
@@ -1,31 +1,34 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/django-evolution/django-evolution-0.6.7.ebuild,v 1.1 2012/05/20 10:34:08 tampakrap Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django-evolution/django-evolution-0.6.7.ebuild,v 1.2 2012/05/23 18:58:01 xarthisius Exp $
EAPI=4
+
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython *-pypy"
inherit distutils eutils
-MY_P=${PN/-/_}-${PV}
+MY_PN=${PN/-/_}
+MY_P=${MY_PN}-${PV}
DESCRIPTION="A Django application that will run cron jobs for other django apps"
HOMEPAGE="http://code.google.com/p/django-evolution/ http://pypi.python.org/pypi/django_evolution/"
-SRC_URI="mirror://pypi/${PN:0:1}/${MY_P}/${MY_P}.tar.gz"
+SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
LICENSE="BSD"
SLOT="0"
-PYTHON_MODNAME="django_evolution"
-S="${WORKDIR}/${MY_P}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
RDEPEND="dev-python/setuptools"
DEPEND="${RDEPEND}
dev-python/django"
+PYTHON_MODNAME=${MY_PN}
+S=${WORKDIR}/${MY_P}
+
src_test() {
testing() {
local exit_status=0
@@ -40,7 +43,7 @@ src_install() {
distutils_src_install
rmtests() {
- rm -rf "${ED}"/$(python_get_sitedir)/tests/ || die
+ rm -rf "${ED}"/$(python_get_sitedir)/tests/
}
python_execute_function --action-message "$msg" rmtests
dodoc docs/*