From 9c3a06597db7c6af0e35fcc4fc9f73e52053fd2d Mon Sep 17 00:00:00 2001 From: Rob Cakebread Date: Sat, 21 Apr 2007 17:32:13 +0000 Subject: [PATCH] Added src_test Package-Manager: portage-2.1.2.4 --- dev-python/python-xlib/ChangeLog | 6 ++++- dev-python/python-xlib/Manifest | 22 +++++++++---------- .../python-xlib/python-xlib-0.12-r3.ebuild | 8 ++++++- 3 files changed, 23 insertions(+), 13 deletions(-) diff --git a/dev-python/python-xlib/ChangeLog b/dev-python/python-xlib/ChangeLog index dd04dbebe388..ff25949976e8 100644 --- a/dev-python/python-xlib/ChangeLog +++ b/dev-python/python-xlib/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/python-xlib # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-xlib/ChangeLog,v 1.15 2007/04/21 17:09:37 pythonhead Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-xlib/ChangeLog,v 1.16 2007/04/21 17:32:13 pythonhead Exp $ + + 21 Apr 2007; Rob Cakebread + python-xlib-0.12-r3.ebuild: + Added src_test *python-xlib-0.13 (21 Apr 2007) diff --git a/dev-python/python-xlib/Manifest b/dev-python/python-xlib/Manifest index 32b2ac760bbf..8dbf4ec020d0 100644 --- a/dev-python/python-xlib/Manifest +++ b/dev-python/python-xlib/Manifest @@ -23,10 +23,10 @@ EBUILD python-xlib-0.12-r2.ebuild 770 RMD160 1b2cafdadd4c5f4d4182cdc92eca3848714 MD5 e2194306e2ecb6643ea599fd94401b91 python-xlib-0.12-r2.ebuild 770 RMD160 1b2cafdadd4c5f4d4182cdc92eca3848714bbc8b python-xlib-0.12-r2.ebuild 770 SHA256 ffeebbec663878fa5f9e47a3f28a48833b3d7eedadd2ee6e545d91aaeb836f17 python-xlib-0.12-r2.ebuild 770 -EBUILD python-xlib-0.12-r3.ebuild 814 RMD160 93ef8005ea029e134d4c09226c4ebe80b5847f6d SHA1 8a94ee1d87b495bedbd3af7915c261421ed2fb36 SHA256 738fa80ba8dc65df88d4d1ae59c8b2f2e4c677864c28bc6ccf3dce342e9b6049 -MD5 747edfabc14fa2f79085de7f5989bbdb python-xlib-0.12-r3.ebuild 814 -RMD160 93ef8005ea029e134d4c09226c4ebe80b5847f6d python-xlib-0.12-r3.ebuild 814 -SHA256 738fa80ba8dc65df88d4d1ae59c8b2f2e4c677864c28bc6ccf3dce342e9b6049 python-xlib-0.12-r3.ebuild 814 +EBUILD python-xlib-0.12-r3.ebuild 930 RMD160 6cf65b1b794fdc6ef31c226737d721ec7595607a SHA1 41036329464d26b82304e13d3a37faf74caa56c1 SHA256 761ec691b8660b207a653f9d4b9db7595580a3d9544e052dd10e2c77c8939de1 +MD5 6275dc410102d221ed3455b2b5a6d2c5 python-xlib-0.12-r3.ebuild 930 +RMD160 6cf65b1b794fdc6ef31c226737d721ec7595607a python-xlib-0.12-r3.ebuild 930 +SHA256 761ec691b8660b207a653f9d4b9db7595580a3d9544e052dd10e2c77c8939de1 python-xlib-0.12-r3.ebuild 930 EBUILD python-xlib-0.12.ebuild 639 RMD160 4c45bd332e2e5918690e58ffac0a562b8d3f55ba SHA1 16e6e11fa6c86d96a1e6183c500b7cf188730455 SHA256 46baa37fabbabacb88e4cd4ee4c8c9c6e1adcf5c04cca7994989742ad55aef5f MD5 eb05ef08acfb13dbc26100f9f022ea0a python-xlib-0.12.ebuild 639 RMD160 4c45bd332e2e5918690e58ffac0a562b8d3f55ba python-xlib-0.12.ebuild 639 @@ -35,10 +35,10 @@ EBUILD python-xlib-0.13.ebuild 628 RMD160 ffdc7aecae2525e7688cfb9466e55f2f7c9bcd MD5 1902cca210dddb42446ab795f1ce813e python-xlib-0.13.ebuild 628 RMD160 ffdc7aecae2525e7688cfb9466e55f2f7c9bcdf1 python-xlib-0.13.ebuild 628 SHA256 deca26bbd777e95ad244c1ec04b560cf1d0fe81f16917376d3766266d6d494b1 python-xlib-0.13.ebuild 628 -MISC ChangeLog 1972 RMD160 a3cbe58a84a3e4de62c5f78bf2f28b6a17e7270c SHA1 36034777089dfc2e4b727a3ce45f42b5604f26ea SHA256 7e5c18b9a43d7e1a19083504db434d0eccb77e110fb2769d8a616cf9b11ef47f -MD5 9c7e087f6621e73c5deccbceab8cc695 ChangeLog 1972 -RMD160 a3cbe58a84a3e4de62c5f78bf2f28b6a17e7270c ChangeLog 1972 -SHA256 7e5c18b9a43d7e1a19083504db434d0eccb77e110fb2769d8a616cf9b11ef47f ChangeLog 1972 +MISC ChangeLog 2073 RMD160 92d355fe9af9cfefe10569cb75ee0d54579ac855 SHA1 d4d6d12962cc3d57b61b2fa52e7ced2f3f476f1a SHA256 bb881a68a58e2383b2796d4385e6d6d8df7af1635bfd6715000d4c1da5608627 +MD5 a820f556fa11e1d23dc7e502917c3cd3 ChangeLog 2073 +RMD160 92d355fe9af9cfefe10569cb75ee0d54579ac855 ChangeLog 2073 +SHA256 bb881a68a58e2383b2796d4385e6d6d8df7af1635bfd6715000d4c1da5608627 ChangeLog 2073 MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f metadata.xml 159 @@ -61,7 +61,7 @@ SHA256 47281eedea6b218c57380961c376550b145b6c991063d9f8de5b2dc2171a03fc files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (GNU/Linux) -iD8DBQFGKkVe96cFzIajWwkRAjWhAKCSLuFqA+/ZRmwbz0jGsJYw1EY7FgCg788u -1qbXG0u1SPVK+N0cBI6akus= -=vhN0 +iD8DBQFGKkqp96cFzIajWwkRAnT/AKCJTuuJLYNoGguJMbDry01KT4+bfQCZAYQj +CPOWcfOSeWFvQKWXufAWUzc= +=vwQY -----END PGP SIGNATURE----- diff --git a/dev-python/python-xlib/python-xlib-0.12-r3.ebuild b/dev-python/python-xlib/python-xlib-0.12-r3.ebuild index 6af0c7a0e136..6b2e3445f69f 100644 --- a/dev-python/python-xlib/python-xlib-0.12-r3.ebuild +++ b/dev-python/python-xlib/python-xlib-0.12-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-xlib/python-xlib-0.12-r3.ebuild,v 1.1 2007/01/12 21:56:35 lucass Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-xlib/python-xlib-0.12-r3.ebuild,v 1.2 2007/04/21 17:32:13 pythonhead Exp $ inherit distutils eutils @@ -27,3 +27,9 @@ src_install () { dohtml -r doc/html/ doinfo doc/info/*.info* } + +src_test() { + for pytest in $(ls test/*py); do + PYTHONPATH=. ${python} ${pytest} || die "test failed" + done +} -- 2.26.2