Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 174226 Details for
Bug 249782
[ebuild] dev-python/portio-0.4 ebuild for gentoo linux
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
the patch
portio-0.2-remove_documentation.patch (text/plain), 2.22 KB, created by
Pasquale Boemio
on 2008-12-04 10:54:21 UTC
(
hide
)
Description:
the patch
Filename:
MIME Type:
Creator:
Pasquale Boemio
Created:
2008-12-04 10:54:21 UTC
Size:
2.22 KB
patch
obsolete
>--- setup.py 2008-11-13 19:41:28.000000000 +0100 >+++ setup.pypatch 2008-12-04 10:42:25.000000000 +0100 >@@ -54,30 +54,30 @@ > _setup(**kwargs) > > # if python docutils are installed, generate HTML documentation. >-if os.path.exists('/usr/bin/rst-buildhtml'): >- os.system('/usr/bin/rst-buildhtml') >+#if os.path.exists('/usr/bin/rst-buildhtml'): >+# os.system('/usr/bin/rst-buildhtml') > >-readme = open('index.rst').read() # read in documentation file >-readme = string.replace(readme,'**','') # remove restructuredtext markup >+#readme = open('index.rst').read() # read in documentation file >+#readme = string.replace(readme,'**','') # remove restructuredtext markup > > # split documentation by text titles and put each title and its text body > # into a dictionary: title is the key, text body is the value. >-readme_split = re.split('\n(.*?)\n====+?\n\n',readme) >-i = 3 >-readme_db = {} >-while i < len(readme_split): >- readme_db[readme_split[i]] = readme_split[i + 1] >- i += 2 >+#readme_split = re.split('\n(.*?)\n====+?\n\n',readme) >+#i = 3 >+#readme_db = {} >+#while i < len(readme_split): >+# readme_db[readme_split[i]] = readme_split[i + 1] >+# i += 2 > >-main_title = readme_split[1] + '\n' # main title goes alone >+#main_title = readme_split[1] + '\n' # main title goes alone > > # if not present, generate portio.c source file. > # Replace template tag "DOCUMENTATION" into C source with documentation > # text read from README. Add backslash iand new line at end of each line > # (C multiline string syntax). > if not os.path.exists('portio.c'): >- doc = main_title + '\n' + readme_db["Module reference"] >- doc = string.replace(doc,'\n','\\n\\\n') >+# doc = main_title + '\n' + readme_db["Module reference"] >+# doc = string.replace(doc,'\n','\\n\\\n') > source = open('portio.c.in').read() > source = source % {'DOCUMENTATION':doc} > open('portio.c','w').write(source) >@@ -108,9 +108,9 @@ > url = 'http://portio.inrim.it', > license = 'http://www.gnu.org/licenses/gpl.txt', > platforms = ['Linux'], >- description = main_title, >+# description = main_title, > classifiers = filter(None, classifiers.split("\n")), >- long_description = readme_db["Module reference"], >+# long_description = readme_db["Module reference"], > ext_modules = [module]) > > # cleanup
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 249782
:
174225
| 174226 |
202261