Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 32608 Details for
Bug 46951
gosiege-0.2.ebuild (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gosiege-0.2-setup.py.patch
gosiege-0.2-setup.py.patch (text/plain), 1.16 KB, created by
Timothy Stranex
on 2004-06-03 11:13:22 UTC
(
hide
)
Description:
gosiege-0.2-setup.py.patch
Filename:
MIME Type:
Creator:
Timothy Stranex
Created:
2004-06-03 11:13:22 UTC
Size:
1.16 KB
patch
obsolete
>Index: setup.py >=================================================================== >--- setup.py (revision 57) >+++ setup.py (working copy) >@@ -47,6 +47,7 @@ > # global variables > app = 'gosiege' > windows_style = (os.name == 'nt') >+scripts = [] # scripts to install > > # use windows style setup if building a bdist_wininst regardless of platform > if (sys.argv[1] == 'bdist_wininst'): >@@ -150,6 +151,23 @@ > if (using_py2exe): > kwargs['windows'] = ['bin/gosiege'] > >+# scripts >+# only install bin/gosiege if pygtk is installed >+try: >+ import pygtk >+except ImportError: >+ got_pygtk = 0 >+else: >+ got_pygtk = 1 >+ >+if (got_pygtk): >+ try: >+ pygtk.require('2.0') >+ except AssertionError: >+ pass >+ else: >+ scripts.extend(['bin/gosiege']) >+ > # Setup > setup(name=app, > version=copyright.version, >@@ -159,7 +177,7 @@ > url="http://www.stranex.com/~perspex/gosige/", > license='GNU General Public License', > packages=['gosiege', 'gosiege.test'], >- scripts=['bin/gosiege'], >+ scripts=scripts, > data_files=data_files, > cmdclass={'build_py': build_py_go, > 'build_scripts': build_scripts_go,
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 46951
:
28783
|
32606
| 32608 |
32643
|
32644
|
32645