File: explicit-test-requires.patch

package info (click to toggle)
zope.component 4.3.0-3
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 780 kB
  • sloc: python: 5,600; makefile: 130
file content (26 lines) | stat: -rw-r--r-- 753 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Description: Comment out recursive test requires, since this will cause
 package build to try to download the zope.component package from PyPI, but
 this is not allowed.  Instead, we'll add the requirements explicitly in the
 debian/control file.
Author: Barry Warsaw <barry@debian.org>
Forwarded: not-needed

--- a/setup.py
+++ b/setup.py
@@ -24,11 +24,11 @@
 
 
 TESTS_REQUIRE = [
-    'zope.testing',
-    'zope.component[hook]',
-    'zope.component[persistentregistry]',
-    'zope.component[security]',
-    'zope.component[zcml]',
+    ## 'zope.testing',
+    ## 'zope.component[hook]',
+    ## 'zope.component[persistentregistry]',
+    ## 'zope.component[security]',
+    ## 'zope.component[zcml]',
     ]
 
 def _modname(path, base, name=''):