1 |
chtekk 08/05/25 16:32:10 |
2 |
|
3 |
Added: python-fastcgi-1.1-setup.patch |
4 |
Log: |
5 |
Initial release. |
6 |
(Portage version: 2.1.5.2) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 dev-python/python-fastcgi/files/python-fastcgi-1.1-setup.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-fastcgi/files/python-fastcgi-1.1-setup.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-fastcgi/files/python-fastcgi-1.1-setup.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: python-fastcgi-1.1-setup.patch |
15 |
=================================================================== |
16 |
--- setup.py 2005-12-15 07:41:42.000000000 +0100 |
17 |
+++ setup.py 2008-05-25 18:10:01.461135391 +0200 |
18 |
@@ -1,18 +1,12 @@ |
19 |
-#from distutils.core import setup, Extension |
20 |
-from ez_setup import use_setuptools |
21 |
-use_setuptools() |
22 |
-from setuptools import setup, Extension |
23 |
+#!/usr/bin/env python |
24 |
|
25 |
+from distutils import core |
26 |
+from distutils.extension import Extension |
27 |
|
28 |
-c_ext = Extension("fcgi", ["fastcgi/pyfcgi.c"], libraries=["fcgi"], |
29 |
- include_dirs=["/usr/local/include"], |
30 |
- library_dirs=["/usr/local/lib"], |
31 |
- #extra_link_args=["-s"], |
32 |
- ) |
33 |
- |
34 |
-setup(name="python-fastcgi", |
35 |
+core.setup( |
36 |
+ name="python-fastcgi", |
37 |
version="1.1", |
38 |
- description="Python wrapper for the Open Market FastCGI library", |
39 |
+ description="Python wrapper for the Open Market FastCGI library.", |
40 |
long_description="python-fastcgi is a lightweight wrapper around the Open Market FastCGI C Library/SDK. It includes threaded and forking WSGI 1.0 server implementations.", |
41 |
author="Cody Pisto", |
42 |
author_email="cody@××××.com", |
43 |
@@ -26,9 +20,7 @@ |
44 |
"Programming Language :: C", |
45 |
"Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries", |
46 |
"Topic :: Software Development :: Libraries :: Python Modules"], |
47 |
- packages=["fastcgi"], |
48 |
- #data_files=[("share/doc/python-fastcgi/example", ["example/test.fcgi"])], |
49 |
+ packages=['fastcgi'], |
50 |
ext_package='fastcgi', |
51 |
- ext_modules=[c_ext], |
52 |
- zip_safe=False, |
53 |
- ) |
54 |
+ ext_modules=[Extension(name='fcgi', sources=['fastcgi/pyfcgi.c'], libraries=['fcgi'])], |
55 |
+) |
56 |
|
57 |
|
58 |
|
59 |
-- |
60 |
gentoo-commits@l.g.o mailing list |