Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/pythonmods
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv896

Added Files:
        pylibacl-py.info pylibacl-py.patch 
Log Message:
New package from tracker # 1342745
Only 10.4 for now, since setuptools-py is missing from 10.3


--- NEW FILE: pylibacl-py.patch ---
--- pylibacl-0.2.1.orig/setup.py        2002-12-29 06:49:04.000000000 +0000
+++ pylibacl-0.2.1/setup.py     2005-10-30 20:20:07.000000000 +0000
@@ -14,6 +14,8 @@
 elif u_sysname == "FreeBSD":
     macros.append(("HAVE_FREEBSD", None))
     libs.append("posix1e")
+elif u_sysname == "Darwin":
+       libs.append("pthread")
 else:
     raise ValueError("I don't know your system. Please contact the author")
 
@@ -33,7 +35,7 @@
                              libraries=libs,
                              define_macros=macros,
                              )],
-      data_files=[("/usr/share/doc/pylibacl-%s" % version,
+      data_files=[("share/doc/pylibacl-python2.X",
                    ["README","IMPLEMENTATION", "PLATFORMS",
                     "BENCHMARK",
                     "posix1e.html", "posix1e.txt"])],

--- NEW FILE: pylibacl-py.info ---
Info2: <<

Package: pylibacl-py%type_pkg[python]
Version: 0.2.1
Revision: 1

Type: python (2.4 2.5)

Description: Python module for POSIX.1e ACLs
License: GPL
Homepage: http://pylibacl.sourceforge.net/
Maintainer: Murali Vadivelu <[EMAIL PROTECTED]>

# Dependencies.
Depends: python%type_pkg[python], setuptools-py%type_pkg[python]

# Unpack Phase.
Source: mirror:sourceforge:/pylibacl/pylibacl-%v.tar.bz2
Source-MD5: 5c06b62ca4ee453042c9fa3f28aa56e8

#Patch Phase
PatchScript: sed 's,python2.X,py%type_pkg[python],g' < %a/pylibacl-py.patch | 
patch -p1

# Compile Phase.
CompileScript: %p/bin/python%type_raw[python] setup.py build

# Install Phase.
InstallScript: %p/bin/python%type_raw[python] setup.py install --root=%d

# Documentation.
DescDetail: <<
This python extension module allows you to 
manipulate POSIX.1e Access Control Lists available
in Mac OS X 10.4 Tiger.
<<

<<


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to