From 23e6966b6bf12bb5ec95c3c2a521a69ea61d45b4 Mon Sep 17 00:00:00 2001 From: Christoph Mende Date: Sun, 27 Jan 2013 09:54:36 +0000 Subject: [PATCH] python-mpd: Sync with gentoo-x86 Package-Manager: portage-2.2.0_alpha161 Manifest-Sign-Key: 84F20B43 --- dev-python/python-mpd/Manifest | 8 ++++---- dev-python/python-mpd/python-mpd-9999.ebuild | 22 +++++++++++++--------- 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/dev-python/python-mpd/Manifest b/dev-python/python-mpd/Manifest index 1c85b9c..e1f0ed8 100644 --- a/dev-python/python-mpd/Manifest +++ b/dev-python/python-mpd/Manifest @@ -1,12 +1,12 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 -EBUILD python-mpd-9999.ebuild 582 SHA256 91d024512ce35ba518f358c96ddfde547694ca3af01cadaa88d9e96f79ff21df SHA512 61a6d19225d9a89c0ee9062b22993797ea4a109dfceac49a92d09b7cd84dc4efb5e40dc3bf14bffc1cfed7bdebe2f72b3de1f060a3911849547f1c62864b1aff WHIRLPOOL 7c50ba374febc8ccc8ef71817fd5d1824708a36728885ba662cb9d8f425faa3ddb337bb1880e28c71cf88514dddcdb0c60dd3b95a52c976e461f4fa0177829fe +EBUILD python-mpd-9999.ebuild 750 SHA256 67248316375f79d66300eb7b0b3d84da7467157d1efc5312f623734909fc06df SHA512 e10374e91340f04eeb52174963e86b12165ff56d2feff9a8f9b6f37f29d6eb79b67d1e37986d6be4dbb1000d7d5362e2827e1c7c1ba37af7618d444abc1fb58f WHIRLPOOL dcbc63a712278540453a50d70acbb7ed4ed0de14ccdc66f0f763199d2a6a8d5aa73fbef0af4342749a1e0be27cc9176b67bd37354fc971481e14221c77c5fc15 MISC metadata.xml 235 SHA256 915505c0a0658816b936cf2c0a2978b3e2f939963c1d59290ed375319bcd7e54 SHA512 4746208aa2f8ac81d35cd279f696cdf637161e81ef1ffa794800370bbe79229cb856ae5a4399aa9a4a459adfa0ebeca6d18f355a7b1ff366bb5208651063e589 WHIRLPOOL ab8a0a44804ece1c5619b3078cce006f82f10161664d336a4d0384c9dffd9741cade7085f008bf9e40c322615765afb037d00aba1f133b55b6823ca9a26baa71 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iF4EAREIAAYFAk/+5ScACgkQmWq1bYTyC0OXrAEAxe3bMsf1KkcCTrSULDtO8JwK -mNFNiDm3T/5Zv8yGMR0A/2uYTT61fPQdvHpYUR2PlwWKwqpZale8iAnITPbDyyfE -=1XG0 +iF4EAREIAAYFAlEE+VsACgkQmWq1bYTyC0NANwEAiXRJVavA+USfStXBS+r2rMzy +bQWgnYenec6T10xOSoYBAJUfO/gsRDsiUspiJ0BI+m4/H5jD/rRHG3UyGRGqIcVv +=FkVX -----END PGP SIGNATURE----- diff --git a/dev-python/python-mpd/python-mpd-9999.ebuild b/dev-python/python-mpd/python-mpd-9999.ebuild index 37191b2..49cc7ec 100644 --- a/dev-python/python-mpd/python-mpd-9999.ebuild +++ b/dev-python/python-mpd/python-mpd-9999.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-mpd/python-mpd-0.4.2.ebuild,v 1.1 2012/07/12 14:51:27 angelos Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-mpd/python-mpd-0.5.0.ebuild,v 1.1 2013/01/19 21:47:52 angelos Exp $ -EAPI=4 -PYTHON_COMPAT="python2_6 python2_7 python3_1 python3_2" +EAPI=5 +PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} pypy{1_9,2_0} ) -inherit git-2 python-distutils-ng +inherit distutils-r1 git-2 DESCRIPTION="Python MPD client library" HOMEPAGE="https://github.com/Mic92/python-mpd2" @@ -14,9 +14,13 @@ EGIT_REPO_URI="git://github.com/Mic92/${PN}2.git" LICENSE="LGPL-3" KEYWORDS="" SLOT="0" -IUSE="" +IUSE="test" -RDEPEND="" -DEPEND="" +DEPEND="test? ( virtual/python-unittest2[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] )" -DOCS="CHANGES.txt README.md doc/commands.txt" +DOCS=( CHANGES.rst PORTING.rst README.rst doc/commands.rst ) + +python_test() { + "${PYTHON}" test.py || die "Tests fail with ${EPYTHON}" +} -- 2.11.4.GIT