[csw-devel] SF.net SVN: gar:[11409] csw/mgar/pkg/lang-python

khabermann at users.sourceforge.net khabermann at users.sourceforge.net
Tue Oct 26 10:10:22 CEST 2010


Revision: 11409
          http://gar.svn.sourceforge.net/gar/?rev=11409&view=rev
Author:   khabermann
Date:     2010-10-26 08:10:22 +0000 (Tue, 26 Oct 2010)

Log Message:
-----------
created package

Added Paths:
-----------
    csw/mgar/pkg/lang-python/python-ldap/
    csw/mgar/pkg/lang-python/python-ldap/branches/
    csw/mgar/pkg/lang-python/python-ldap/tags/
    csw/mgar/pkg/lang-python/python-ldap/trunk/
    csw/mgar/pkg/lang-python/python-ldap/trunk/Makefile
    csw/mgar/pkg/lang-python/python-ldap/trunk/checksums
    csw/mgar/pkg/lang-python/python-ldap/trunk/files/
    csw/mgar/pkg/lang-python/python-ldap/trunk/files/0000-openldap-path.patch


Property changes on: csw/mgar/pkg/lang-python/python-ldap/trunk
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work


Added: svn:externals
   + gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2


Added: csw/mgar/pkg/lang-python/python-ldap/trunk/Makefile
===================================================================
--- csw/mgar/pkg/lang-python/python-ldap/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/lang-python/python-ldap/trunk/Makefile	2010-10-26 08:10:22 UTC (rev 11409)
@@ -0,0 +1,38 @@
+# $Id$
+GARNAME = python-ldap
+GARVERSION = 2.3.12
+CATEGORIES = python
+PACKAGES = CSWpy-ldap
+CATALOGNAME = py_ldap
+LICENSE = LICENCE
+
+DESCRIPTION = LDAP bindings for Python
+define BLURB
+  python-ldap provides an object-oriented API to access LDAP directory
+  servers from Python programs. Mainly it wraps the OpenLDAP 2.x libs
+  for that purpose.
+endef
+
+BUILD_DEP_PKGS = CSWpython-devel CSWoldapdevel CSWossldevel
+RUNTIME_DEP_PKGS_CSWpy-ldap += CSWsasl
+RUNTIME_DEP_PKGS_CSWpy-ldap += CSWosslrt
+RUNTIME_DEP_PKGS_CSWpy-ldap += CSWoldaprt
+RUNTIME_DEP_PKGS_CSWpy-ldap += CSWlibpython2-6-1-0
+
+MASTER_SITE_DIR = $(shell echo $(GARNAME) | cut -c 1)
+MASTER_SITES = http://pypi.python.org/packages/source/$(MASTER_SITE_DIR)/$(GARNAME)/
+DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
+VENDOR_URL = http://www.python-ldap.org/
+PATCHFILES += 0000-openldap-path.patch
+
+# File name regex to get notifications about upstream software releases
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
+
+# If the url used to check for software update is different of MASTER_SITES, then 
+# uncomment the next line. Otherwise it is set by default to the value of MASTER_SITES
+# UPSTREAM_MASTER_SITES = 
+
+CONFIGURE_ARGS = $(DIRPATHS)
+TEST_SCRIPTS =
+
+include gar/category.mk


Property changes on: csw/mgar/pkg/lang-python/python-ldap/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
   + Id

Added: csw/mgar/pkg/lang-python/python-ldap/trunk/checksums
===================================================================
--- csw/mgar/pkg/lang-python/python-ldap/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/lang-python/python-ldap/trunk/checksums	2010-10-26 08:10:22 UTC (rev 11409)
@@ -0,0 +1 @@
+2dadc521b2c2590d9b033894ba5c6f31  python-ldap-2.3.12.tar.gz

Added: csw/mgar/pkg/lang-python/python-ldap/trunk/files/0000-openldap-path.patch
===================================================================
--- csw/mgar/pkg/lang-python/python-ldap/trunk/files/0000-openldap-path.patch	                        (rev 0)
+++ csw/mgar/pkg/lang-python/python-ldap/trunk/files/0000-openldap-path.patch	2010-10-26 08:10:22 UTC (rev 11409)
@@ -0,0 +1,32 @@
+From c2685c786b9dd496fcebc9efab78942851e8bf1d Mon Sep 17 00:00:00 2001
+From: Kester Habermann <kester at opencsw.org>
+Date: Tue, 26 Oct 2010 10:02:40 +0200
+Subject: [PATCH] openldap-path
+
+---
+ setup.cfg |    5 ++---
+ 1 files changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/setup.cfg b/setup.cfg
+index cf765ab..3860a0f 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -2,8 +2,8 @@
+ extra_objects = 
+ extra_compile_args = 
+ libs = ldap_r lber sasl2 ssl crypto
+-library_dirs = /usr/local/openldap-2.3/lib
+-include_dirs = /usr/local/openldap-2.3/include /usr/include/sasl
++library_dirs = /opt/csw/lib
++include_dirs = /opt/csw/include /usr/include/sasl
+ 
+ [egg_info]
+ tag_build = 
+@@ -20,4 +20,3 @@ provides = python-ldap
+ release = 0
+ packager = Michael Stroeder <michael at stroeder.com>
+ requires = python libldap.so.2
+-
+-- 
+1.7.3
+


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list