summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-29 22:31:07 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-29 22:31:07 +0000
commit74713496a23e186346f91eb0588d50b6a7216d2f (patch)
tree34d2e7cb4a55ab682b16eb851805fa555ce508f3 /dev-python/turbojson
parentDelete older ebuild. (diff)
downloadgentoo-2-74713496a23e186346f91eb0588d50b6a7216d2f.tar.gz
gentoo-2-74713496a23e186346f91eb0588d50b6a7216d2f.tar.bz2
gentoo-2-74713496a23e186346f91eb0588d50b6a7216d2f.zip
Set SUPPORT_PYTHON_ABIS.
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/turbojson')
-rw-r--r--dev-python/turbojson/ChangeLog8
-rw-r--r--dev-python/turbojson/turbojson-1.1.4.ebuild32
2 files changed, 22 insertions, 18 deletions
diff --git a/dev-python/turbojson/ChangeLog b/dev-python/turbojson/ChangeLog
index 4bb711c09178..001e54da156d 100644
--- a/dev-python/turbojson/ChangeLog
+++ b/dev-python/turbojson/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/turbojson
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/turbojson/ChangeLog,v 1.6 2009/12/20 12:34:02 grobian Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/turbojson/ChangeLog,v 1.7 2010/06/29 22:31:07 arfrever Exp $
+
+ 29 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ turbojson-1.1.4.ebuild:
+ Set SUPPORT_PYTHON_ABIS.
20 Dec 2009; Fabian Groffen <grobian@gentoo.org> turbojson-1.1.4.ebuild:
Merged keywords from Prefix
diff --git a/dev-python/turbojson/turbojson-1.1.4.ebuild b/dev-python/turbojson/turbojson-1.1.4.ebuild
index 3dd9bc01565d..efe22403d084 100644
--- a/dev-python/turbojson/turbojson-1.1.4.ebuild
+++ b/dev-python/turbojson/turbojson-1.1.4.ebuild
@@ -1,32 +1,32 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/turbojson/turbojson-1.1.4.ebuild,v 1.2 2009/12/20 12:34:02 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/turbojson/turbojson-1.1.4.ebuild,v 1.3 2010/06/29 22:31:07 arfrever Exp $
-NEED_PYTHON=2.4
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+DISTUTILS_SRC_TEST="setup.py"
inherit distutils
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-
-MY_PN=TurboJson
-MY_P=${MY_PN}-${PV}
+MY_PN="TurboJson"
+MY_P="${MY_PN}-${PV}"
DESCRIPTION="TurboGears JSON file format support plugin"
HOMEPAGE="http://www.turbogears.org/docs/plugins/template.html"
-#SRC_URI="http://files.turbogears.org/eggs/${MY_P}.tar.gz"
-SRC_URI="http://pypi.python.org/packages/source/T/${MY_PN}/${MY_P}.tar.gz"
+SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
LICENSE="MIT"
SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE="test"
-RDEPEND="dev-python/ruledispatch
- dev-python/simplejson"
+RDEPEND=">=dev-python/decoratortools-1.4
+ dev-python/ruledispatch
+ >=dev-python/simplejson-1.3"
DEPEND="${RDEPEND}
dev-python/setuptools
test? ( dev-python/nose )"
-S=${WORKDIR}/${MY_P}
-
-src_test() {
- PYTHONPATH=. "${python}" setup.py test || die "tests failed"
-}
+S="${WORKDIR}/${MY_P}"