1 |
commit: b5f312d23839444ad8bf16b3c1577cdc9411d478 |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 11 17:07:02 2016 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 11 17:09:12 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5f312d2 |
7 |
|
8 |
dev-python/manuel: clean up old. |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
dev-python/manuel/Manifest | 1 - |
13 |
.../manuel/files/manuel-1.7-rm_zope_test.patch | 92 ---------------------- |
14 |
dev-python/manuel/manuel-1.7.1.ebuild | 33 -------- |
15 |
3 files changed, 126 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/manuel/Manifest b/dev-python/manuel/Manifest |
18 |
index f0b48b4..94bae12 100644 |
19 |
--- a/dev-python/manuel/Manifest |
20 |
+++ b/dev-python/manuel/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST manuel-1.7.1-20130316.tar.bz2 24910 SHA256 4b23c562c84fe771d897b1ce237ba065940ffd5a847bc23bb6ec81070e0d0824 SHA512 94dab56165b92761aa710aba057338ba3062faa375600885e9943e067726ced492493bee5d203883dad604d424f8599fab35fd605e024e2a4139fb5e1a32698e WHIRLPOOL 75909a8fb55f264198733b3b0b0344c5a8e2039e23e55daab2a3dc4aba67ab7d0226ec4197e588a3625cf38062940008ebf0ca8c72a42b8b5077e2e1c38f39dd |
23 |
DIST manuel-1.8.0.tar.gz 207600 SHA256 a974d7e83652b26be30f6f513fac95d28b9ffa5ae2819a5c63e2ef8594913eb6 SHA512 8099df44cfd28c8ac6256f346bf8cd36091893a38d3c297099866b1a5db97286b9c9e69f3f12054d7eee9ae3985ca0a003d7b2cc082d28d59850bbcad6b57c57 WHIRLPOOL 7870484499d8c18916bf8349ed1a8a9be84eb074440b8c875f3a0468137edf45425a51545da3517a6c81a862708114eea2fa8561eaa219ccb1ff958d8fcb2afe |
24 |
|
25 |
diff --git a/dev-python/manuel/files/manuel-1.7-rm_zope_test.patch b/dev-python/manuel/files/manuel-1.7-rm_zope_test.patch |
26 |
deleted file mode 100644 |
27 |
index 3487e5f..00000000 |
28 |
--- a/dev-python/manuel/files/manuel-1.7-rm_zope_test.patch |
29 |
+++ /dev/null |
30 |
@@ -1,92 +0,0 @@ |
31 |
-diff -ur manuel-1.7.1.orig/src/manuel/tests.py manuel-1.7.1/src/manuel/tests.py |
32 |
---- src/manuel/tests.py 2012-04-17 03:08:54.000000000 +0800 |
33 |
-+++ src/manuel/tests.py 2012-05-21 20:43:20.981722893 +0800 |
34 |
-@@ -9,16 +9,17 @@ |
35 |
- import os.path |
36 |
- import re |
37 |
- import unittest |
38 |
--import zope.testing.renormalizing |
39 |
- |
40 |
- doctest = manuel.absolute_import('doctest') |
41 |
- |
42 |
- here = os.path.dirname(os.path.abspath(__file__)) |
43 |
- |
44 |
--checker = zope.testing.renormalizing.RENormalizing([ |
45 |
-+try: |
46 |
-+ checker = zope.testing.renormalizing.RENormalizing([ |
47 |
- (re.compile(r"<unittest\.result\.TestResult"), '<unittest.TestResult'), |
48 |
- ]) |
49 |
-- |
50 |
-+except: |
51 |
-+ pass |
52 |
- |
53 |
- def turtle_on_the_bottom_test(): |
54 |
- """We use manuel to test itself. |
55 |
-@@ -52,7 +53,6 @@ |
56 |
- optionflags = doctest.NORMALIZE_WHITESPACE | doctest.ELLIPSIS |
57 |
- |
58 |
- m = manuel.ignore.Manuel() |
59 |
-- m += manuel.doctest.Manuel(optionflags=optionflags, checker=checker) |
60 |
- m += manuel.codeblock.Manuel() |
61 |
- m += manuel.capture.Manuel() |
62 |
- m += manuel.testcase.SectionManuel() |
63 |
-@@ -66,3 +66,6 @@ |
64 |
- suite, |
65 |
- doctest.DocTestSuite(), |
66 |
- )) |
67 |
-+ |
68 |
-+if __name__ == '__main__': |
69 |
-+ unittest.TextTestRunner().run(test_suite()) |
70 |
-diff -ur manuel-1.7.1.orig/setup.py manuel-1.7.1/setup.py |
71 |
---- setup.py 2013-02-14 10:07:38.000000000 +0800 |
72 |
-+++ setup.py 2013-03-15 23:21:18.834849031 +0800 |
73 |
-@@ -21,8 +21,6 @@ |
74 |
- + open('CHANGES.txt').read() |
75 |
- ) |
76 |
- |
77 |
--tests_require = ['zope.testing'] |
78 |
-- |
79 |
- setup( |
80 |
- name='manuel', |
81 |
- version='1.7.1', |
82 |
-@@ -38,10 +36,6 @@ |
83 |
- 'Programming Language :: Python :: 3', |
84 |
- ], |
85 |
- license='ZPL', |
86 |
-- extras_require={ |
87 |
-- 'tests': tests_require, |
88 |
-- }, |
89 |
-- tests_require = tests_require, |
90 |
- test_suite = 'manuel.tests.test_suite', |
91 |
- install_requires=[ |
92 |
- 'setuptools', |
93 |
-diff -ur manuel-1.7.1.orig/src/manuel/index.txt manuel-1.7.1/src/manuel/index.txt |
94 |
---- src/manuel/index.txt 2012-04-17 03:08:54.000000000 +0800 |
95 |
-+++ src/manuel/index.txt 2012-04-28 05:43:26.918993769 +0800 |
96 |
-@@ -166,16 +166,16 @@ |
97 |
- |
98 |
- .. code-block:: python |
99 |
- |
100 |
-- import os.path |
101 |
-- import manuel.testing |
102 |
-+ import os.path |
103 |
-+ import manuel.testing |
104 |
- |
105 |
-- class StripDirsTestCase(manuel.testing.TestCase): |
106 |
-- def shortDescription(self): |
107 |
-+ class StripDirsTestCase(manuel.testing.TestCase): |
108 |
-+ def shortDescription(self): |
109 |
- return os.path.basename(str(self)) |
110 |
-- suite = manuel.testing.TestSuite( |
111 |
-- m, path_to_test, TestCase=StripDirsTestCase) |
112 |
-+ suite = manuel.testing.TestSuite( |
113 |
-+ m, path_to_test, TestCase=StripDirsTestCase) |
114 |
- |
115 |
-- >>> list(suite)[0].shortDescription() |
116 |
-+ list(suite)[0].shortDescription() |
117 |
- 'bugs.txt' |
118 |
- |
119 |
- |
120 |
- |
121 |
- |
122 |
- |
123 |
|
124 |
diff --git a/dev-python/manuel/manuel-1.7.1.ebuild b/dev-python/manuel/manuel-1.7.1.ebuild |
125 |
deleted file mode 100644 |
126 |
index 15e19b1..00000000 |
127 |
--- a/dev-python/manuel/manuel-1.7.1.ebuild |
128 |
+++ /dev/null |
129 |
@@ -1,33 +0,0 @@ |
130 |
-# Copyright 1999-2015 Gentoo Foundation |
131 |
-# Distributed under the terms of the GNU General Public License v2 |
132 |
-# $Id$ |
133 |
- |
134 |
-EAPI=5 |
135 |
- |
136 |
-PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) |
137 |
- |
138 |
-inherit distutils-r1 |
139 |
- |
140 |
-DESCRIPTION="Manuel lets you build tested documentation" |
141 |
-HOMEPAGE="https://github.com/benji-york/manuel/ https://pypi.python.org/pypi/manuel" |
142 |
-# A snapshot was required since upstream missed out half the source |
143 |
-SRC_URI="https://dev.gentoo.org/~idella4/tarballs/${P}-20130316.tar.bz2" |
144 |
- |
145 |
-LICENSE="ZPL" |
146 |
-SLOT="0" |
147 |
-KEYWORDS="amd64 x86" |
148 |
-IUSE="" |
149 |
- |
150 |
-RDEPEND="dev-python/six[${PYTHON_USEDEP}]" |
151 |
-DEPEND="${RDEPEND} |
152 |
- dev-python/setuptools[${PYTHON_USEDEP}]" |
153 |
-# Required to run tests |
154 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
155 |
- |
156 |
-DOCS=( CHANGES.txt ) |
157 |
- |
158 |
-PATCHES=( "${FILESDIR}"/${PN}-1.7-rm_zope_test.patch ) |
159 |
- |
160 |
-python_test() { |
161 |
- PYTHONPATH=src/ esetup.py test |
162 |
-} |