Gentoo Archives: gentoo-commits

From: "Mike Gilbert (floppym)" <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/restkit/files: restkit-exclude-tests.patch
Date: Tue, 26 Feb 2013 05:55:12
Message-Id: 20130226055508.625D52171D@flycatcher.gentoo.org
1 floppym 13/02/26 05:55:08
2
3 Added: restkit-exclude-tests.patch
4 Log:
5 Exclude tests the right way.
6
7 (Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
8
9 Revision Changes Path
10 1.1 dev-python/restkit/files/restkit-exclude-tests.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/restkit/files/restkit-exclude-tests.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/restkit/files/restkit-exclude-tests.patch?rev=1.1&content-type=text/plain
14
15 Index: restkit-exclude-tests.patch
16 ===================================================================
17 From 62a02a962f8b6460a379156108bde09f003821af Mon Sep 17 00:00:00 2001
18 From: Mike Gilbert <floppym@g.o>
19 Date: Tue, 26 Feb 2013 00:43:01 -0500
20 Subject: [PATCH] Don't install tests.
21
22 ---
23 setup.py | 2 +-
24 1 file changed, 1 insertion(+), 1 deletion(-)
25
26 diff --git a/setup.py b/setup.py
27 index e6613c0..a6a5505 100755
28 --- a/setup.py
29 +++ b/setup.py
30 @@ -53,7 +53,7 @@ def main():
31 license = 'MIT',
32 url = 'http://benoitc.github.com/restkit',
33 classifiers = CLASSIFIERS,
34 - packages = find_packages(),
35 + packages = find_packages(exclude=['tests']),
36 data_files = DATA_FILES,
37 scripts = SCRIPTS,
38 zip_safe = False,
39 --
40 1.8.1.4