diff options
Diffstat (limited to 'dev-python/demjson')
-rw-r--r-- | dev-python/demjson/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/demjson/Manifest | 14 | ||||
-rw-r--r-- | dev-python/demjson/demjson-1.4.ebuild | 32 |
3 files changed, 28 insertions, 26 deletions
diff --git a/dev-python/demjson/ChangeLog b/dev-python/demjson/ChangeLog index 0200a31aa7e8..76ac17032a45 100644 --- a/dev-python/demjson/ChangeLog +++ b/dev-python/demjson/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/demjson -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/demjson/ChangeLog,v 1.7 2009/11/25 09:49:52 maekke Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/demjson/ChangeLog,v 1.8 2010/06/29 23:55:46 arfrever Exp $ + + 29 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + demjson-1.4.ebuild: + Set SUPPORT_PYTHON_ABIS. 25 Nov 2009; Markus Meier <maekke@gentoo.org> demjson-1.4.ebuild: amd64 stable, bug #281571 diff --git a/dev-python/demjson/Manifest b/dev-python/demjson/Manifest index 741fb9179c06..5d64c37487ee 100644 --- a/dev-python/demjson/Manifest +++ b/dev-python/demjson/Manifest @@ -1,14 +1,4 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - DIST demjson-1.4.tar.gz 62439 RMD160 b2935d932cb6c344de3684353f0b7090e673439c SHA1 046946f7c98006e890b6a6896421107e6b537077 SHA256 e5858dc54a80290cecbc1d1514c6ce50dca44fbd15ccc195c4a8b6969b45a41f -EBUILD demjson-1.4.ebuild 811 RMD160 fb85d30e7a9b2aa0bf11318b974ae35a352d2774 SHA1 d62ef6903399637179bc4ec618505a8da828b432 SHA256 ad23286d4fb1a46d20472c564e23ae07c45bd1f0064b9116c02a4ead83c44e83 -MISC ChangeLog 878 RMD160 e067473fab7518fe5d722a9a858da24f03733ea8 SHA1 013c21ea7899300047dd4c938d1171ba6228373a SHA256 d4f262c86d3a742ca770933e43143a7de90c2990c9449bbd26e61625401c4462 +EBUILD demjson-1.4.ebuild 1005 RMD160 5d79f15348848c2aba4121b0172225fe85f7863c SHA1 f50a74c85bdca31d09072e60a1e74ab0e98d0c1e SHA256 dbcc9c7141a275f3d101f7d3325c914bc48aa395cf6d7a416270cbe7b55e1579 +MISC ChangeLog 1003 RMD160 0cbfc59df93271fd10270c30231b3e7cbf03d051 SHA1 32d24529fe90207e707310f7bcea14c869473dd6 SHA256 34e9a12d97bc1e274920c6d80bc85e85e1ea97bf3e662f50459422c77d2a9db8 MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.11 (GNU/Linux) - -iEYEARECAAYFAksM/dEACgkQkKaRLQcq0GKQbgCfeeXLuvGyvn0wZ5ebuC2SMRV4 -iFAAoIayqR6dTShXL+6riHgKqgZrkZz8 -=iR+D ------END PGP SIGNATURE----- diff --git a/dev-python/demjson/demjson-1.4.ebuild b/dev-python/demjson/demjson-1.4.ebuild index 6413385ea57c..61023e2c74f4 100644 --- a/dev-python/demjson/demjson-1.4.ebuild +++ b/dev-python/demjson/demjson-1.4.ebuild @@ -1,34 +1,42 @@ -# 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/demjson/demjson-1.4.ebuild,v 1.3 2009/11/25 09:49:52 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/demjson/demjson-1.4.ebuild,v 1.4 2010/06/29 23:55:46 arfrever Exp $ -EAPI=1 -NEED_PYTHON=2.3 +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" inherit distutils -KEYWORDS="amd64 x86" - DESCRIPTION="Read and write JSON-encoded data, compliant with RFC 4627" -HOMEPAGE="http://deron.meranda.us/python/demjson/" +HOMEPAGE="http://deron.meranda.us/python/demjson/ http://pypi.python.org/pypi/demjson" SRC_URI="http://deron.meranda.us/python/${PN}/dist/${P}.tar.gz" + LICENSE="LGPL-3" SLOT="0" +KEYWORDS="amd64 x86" IUSE="doc test" DEPEND="dev-python/setuptools" RDEPEND="" DOCS="AUTHORS.txt CHANGES.txt NEWS.txt THANKS.txt" +PYTHON_MODNAME="demjson.py" + +src_test() { + cd test + + testing() { + PYTHONPATH="../build-${PYTHON_ABI}/lib" "$(PYTHON)" test_demjson.py + } + python_execute_function testing +} src_install() { distutils_src_install if use doc; then - dohtml -r docs/* || die "Failed to install docs" + dohtml -r docs/* || die "Installation of documentation failed" fi } - -src_test() { - cd test && PYTHONPATH=.. python test_demjson.py || die "Test failed" -} |