Version bump. The new version uses a private D-Bus session bus instead of relying...
authorMichał Górny <mgorny@gentoo.org>
Wed, 4 Jan 2012 16:48:14 +0000 (16:48 +0000)
committerMichał Górny <mgorny@gentoo.org>
Wed, 4 Jan 2012 16:48:14 +0000 (16:48 +0000)
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64

app-portage/pms-test-suite/ChangeLog
app-portage/pms-test-suite/Manifest
app-portage/pms-test-suite/metadata.xml
app-portage/pms-test-suite/pms-test-suite-0.2.ebuild [new file with mode: 0644]

index f6434bfd9cbae55f742bd0ac3a521fc83fe61416..ada829972e096b002ef49024603de365793102f4 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for app-portage/pms-test-suite
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/pms-test-suite/ChangeLog,v 1.7 2011/10/23 22:15:08 tetromino Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-portage/pms-test-suite/ChangeLog,v 1.8 2012/01/04 16:48:14 mgorny Exp $
+
+*pms-test-suite-0.2 (04 Jan 2012)
+
+  04 Jan 2012; Michał Górny <mgorny@gentoo.org> +pms-test-suite-0.2.ebuild,
+  metadata.xml:
+  Version bump. The new version uses a private D-Bus session bus instead of
+  relying on the system one.
 
   23 Oct 2011; Alexandre Rostovtsev <tetromino@gentoo.org>
   pms-test-suite-0.1.ebuild:
index dec10907fd2ac2406d7e5e2e3b2a90fed9fbbe2f..ffa878bd8b97bfac714105f0bd9d6101aa0ec654 100644 (file)
@@ -2,13 +2,17 @@
 Hash: SHA256
 
 DIST pms-test-suite-0.1.tar.bz2 21773 RMD160 c095b9265ee67e02c4917eed3bfc923723a49199 SHA1 243e545e36a7fc81721338e81c392c207d82b4b3 SHA256 7d71d8b74787120e95e0c8e6aa181280a0fbedf7d1acd8fb6c91d1330f64224d
+DIST pms-test-suite-0.2.tar.bz2 21962 RMD160 754adbe72c65e6fffcaea5427fb992fa3dd48b3f SHA1 9993852ac31bc16bdac8a52d01dd5dc6a3792d78 SHA256 104a757edf5b223ff38885691b332420da82a0c62b80469787883579385aafea
 EBUILD pms-test-suite-0.1.ebuild 1334 RMD160 e7ccb86f63a1b64c70422ba55644ddf57ff7d7be SHA1 ef72e0393e28158fc28d0bd9a9150270db95d76c SHA256 ab4bbd4fe8be8b09eec1c31edb8c1d9d59e6ab5953fa8bb9fc806f22fc1f94dd
-MISC ChangeLog 1464 RMD160 148452b4c8d9c4e2ef47842a2d6bdbbaca72cd96 SHA1 29ecd9309e4721fabbd360aac80e158d978230fd SHA256 5becbe4f70ef02d45ce8662994e406b84bb15304dcf81c8ef82b1265cfe56f17
-MISC metadata.xml 526 RMD160 38caade727b8eabeb66ece75dbc05a571fb6e324 SHA1 d81087feaea0a5a69f8819c290bd9523a9d60f72 SHA256 fbccf1d7f42380cf42a5cd91e696fd6ebf6920cb43678343d436636f5a021f80
+EBUILD pms-test-suite-0.2.ebuild 1334 RMD160 c60dd31a0c11157650bfd5abc63467561682e4e8 SHA1 63b98f49de7678b271912e64a2ea90e705f5f5cd SHA256 b76066c285e158f77d9917315272cc2dae903a0ace48c37688f59a46e42ca1e8
+MISC ChangeLog 1696 RMD160 cbaa90d1dbf24a7daabba3f4267c603c546395ce SHA1 53c8c297e43374e6d4e95ac0cfa730ed80c58bef SHA256 2c8de3ad51a65f6c0a755ec7648c4ccd32aba4eb434c808ae6829fc0de691633
+MISC metadata.xml 442 RMD160 c40b5ddcdb0a71412c9b3287294dc0aa6a238bf0 SHA1 562ef4a4fb938fed2013883f3aedbd6c4a2d095a SHA256 89b74ec5ea931d2983bffce9b6dd5644a9887561c296b16c4d1a4ee562fff8a2
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.18 (GNU/Linux)
 
-iF4EAREIAAYFAk6kkfIACgkQdjK8w9WeBnB6QAEAgHOm9894qasY9HJ75DrxtCrb
-6wvuNrNjaPiz6rWw0ekBAKCHn0Chj7i/LUytEB3JTOy6Dxk4fxwVDkQfvDi3B2K7
-=0gxZ
+iJwEAQEIAAYFAk8EgyMACgkQfXuS5UK5QB1y8AP9GrQVsj6fGqZwQmETkTW7ROsA
+9N67VAZj1NrejuWH4E5SSt+DgY/LooGvjE4SUTi2gmGj6HbuSU2J8UE/WKVHupRW
+izL1Wyu294ScOHuiDjS/lsuuDCJjbleReXoBCdKrdNwGCSRDhEBN/WrjIK+bkDgR
+GKtqOwFbXX/jTiToY3s=
+=+A2a
 -----END PGP SIGNATURE-----
index f77c818b7a00f272095bc147fb9246ddc07ea368..f9ee48a1657fd7aa977d92002f040c333aedfe72 100644 (file)
@@ -10,6 +10,6 @@
                        <email>mgorny@gentoo.org</email>
                        <name>Michał Górny</name>
                </maintainer>
-               <bugs-to>http://bugs.gentoo.org/enter_bug.cgi?product=Gentoo%20Linux&amp;component=Applications&amp;short_desc=app-portage/pms-test-suite:%20</bugs-to>
+               <bugs-to>https://github.com/mgorny/pms-test-suite/issues/</bugs-to>
        </upstream>
 </pkgmetadata>
diff --git a/app-portage/pms-test-suite/pms-test-suite-0.2.ebuild b/app-portage/pms-test-suite/pms-test-suite-0.2.ebuild
new file mode 100644 (file)
index 0000000..b39cfd3
--- /dev/null
@@ -0,0 +1,62 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-portage/pms-test-suite/pms-test-suite-0.2.ebuild,v 1.1 2012/01/04 16:48:14 mgorny Exp $
+
+EAPI=4
+
+PYTHON_DEPEND='2:2.6'
+# Python ABIs are not supported by pkgcore
+#SUPPORT_PYTHON_ABIS=1
+# Python3 is not supported by dbus & gobject
+RESTRICT_PYTHON_ABIS='2.4 2.5 3.*'
+DISTUTILS_SRC_TEST=setup.py
+
+inherit base distutils
+
+DESCRIPTION="A test suite for Package Manager PMS compliance"
+HOMEPAGE="http://www.gentoo.org/proj/en/qa/pms/pms-test-suite.xml"
+SRC_URI="mirror://github/mgorny/${PN}/${P}.tar.bz2"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+
+RDEPEND=">=app-portage/gentoopm-0.1.5
+       dev-python/dbus-python
+       dev-python/pygobject:2"
+DEPEND="doc? ( dev-python/epydoc )
+       test? ( >=sys-apps/portage-2.1.10.3
+               sys-apps/pkgcore
+               >=sys-apps/paludis-0.64.2[python-bindings] )"
+
+# broken atm
+RESTRICT=test
+
+PYTHON_MODNAME=pmstestsuite
+
+pkg_setup() {
+       python_set_active_version 2
+       python_pkg_setup
+}
+
+src_prepare() {
+       base_src_prepare
+       distutils_src_prepare
+}
+
+src_compile() {
+       distutils_src_compile
+
+       if use doc; then
+               "$(PYTHON)" setup.py "${_DISTUTILS_GLOBAL_OPTIONS[@]}" doc || die
+       fi
+}
+
+src_install() {
+       distutils_src_install
+
+       if use doc; then
+               dohtml -r doc/*
+       fi
+}