rename flavors 2.1 -> py2.1

subpackage to avoid conflict
new style plist
This commit is contained in:
espie 2004-09-14 23:29:07 +00:00
parent 081e4fec6d
commit 0306c93e20
5 changed files with 47 additions and 37 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.61 2004/07/19 13:56:48 wilfried Exp $ # $OpenBSD: Makefile,v 1.62 2004/09/14 23:29:07 espie Exp $
# $FreeBSD: Makefile,v 1.24 1997/10/04 23:32:05 andreas Exp $ # $FreeBSD: Makefile,v 1.24 1997/10/04 23:32:05 andreas Exp $
# #
SUBDIR += db SUBDIR += db
@ -45,8 +45,8 @@
SUBDIR += p5-sybperl SUBDIR += p5-sybperl
SUBDIR += postgresql SUBDIR += postgresql
SUBDIR += py-ldap SUBDIR += py-ldap
SUBDIR += py-ldap,2.2 SUBDIR += py-ldap,py2.2
SUBDIR += py-ldap,2.3 SUBDIR += py-ldap,py2.3
SUBDIR += py-mysql SUBDIR += py-mysql
SUBDIR += py-psycopg SUBDIR += py-psycopg
SUBDIR += py-psycopg,zope SUBDIR += py-psycopg,zope

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.4 2004/08/04 19:46:14 xsa Exp $ # $OpenBSD: Makefile,v 1.5 2004/09/14 23:29:07 espie Exp $
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS} SHARED_ONLY= Yes
COMMENT= "LDAP client API for Python" COMMENT= "LDAP client API for Python"
COMMENT-examples= "LDAP client API for Python, samples"
VERSION= 2.0.0pre19 VERSION= 2.0.0pre19
DISTNAME= python-ldap-${VERSION} DISTNAME= python-ldap-${VERSION}
@ -21,18 +22,20 @@ PERMIT_DISTFILES_CDROM= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=python-ldap/} MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=python-ldap/}
FLAVORS= 2.1 2.2 2.3 FLAVORS= py2.1 py2.2 py2.3
FLAVOR?= 2.1 FLAVOR?= py2.1
MODULES= lang/python MODULES= lang/python
.if ${FLAVOR} == "2.1" || ${FLAVOR} == "2.2" || ${FLAVOR} == "2.3" .if ${FLAVOR:L} == "py2.1" || ${FLAVOR:L} == "py2.2" || ${FLAVOR:L} == "py2.3"
MODPY_VERSION= ${FLAVOR} MODPY_VERSION= ${FLAVOR:L:S/py//}
.else .else
ERRORS+= "Fatal: Conflicting flavor: ${FLAVOR}" ERRORS+= "Fatal: Conflicting flavor: ${FLAVOR}"
.endif .endif
MULTI_PACKAGES=-examples
FULLPKGNAME-examples=py-ldap-examples-${VERSION}
LIB_DEPENDS= ldap,lber::databases/openldap LIB_DEPENDS= ldap_r,lber::databases/openldap
EXAMPLESDIR= ${PREFIX}/share/examples/py-ldap EXAMPLESDIR= ${PREFIX}/share/examples/py-ldap

View File

@ -0,0 +1,8 @@
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.
Additionally the package contains modules for other LDAP-related
stuff (e.g. processing LDIF, LDAPURLs, LDAPv3 sub-schema, etc.).
Examples.

View File

@ -1,10 +1,9 @@
@comment $OpenBSD: PLIST,v 1.3 2004/08/13 08:08:34 espie Exp $ @comment $OpenBSD: PLIST,v 1.4 2004/09/14 23:29:07 espie Exp $
@comment @option no-default-conflict
@comment @pkgcfl py-ldap-*-${MODPY_VERSION}
lib/python${MODPY_VERSION}/site-packages/_ldap.so lib/python${MODPY_VERSION}/site-packages/_ldap.so
lib/python${MODPY_VERSION}/site-packages/dsml.py lib/python${MODPY_VERSION}/site-packages/dsml.py
lib/python${MODPY_VERSION}/site-packages/dsml.pyc lib/python${MODPY_VERSION}/site-packages/dsml.pyc
lib/python${MODPY_VERSION}/site-packages/dsml.pyo lib/python${MODPY_VERSION}/site-packages/dsml.pyo
lib/python${MODPY_VERSION}/site-packages/ldap/
lib/python${MODPY_VERSION}/site-packages/ldap/__init__.py lib/python${MODPY_VERSION}/site-packages/ldap/__init__.py
lib/python${MODPY_VERSION}/site-packages/ldap/__init__.pyc lib/python${MODPY_VERSION}/site-packages/ldap/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/ldap/__init__.pyo lib/python${MODPY_VERSION}/site-packages/ldap/__init__.pyo
@ -29,6 +28,7 @@ lib/python${MODPY_VERSION}/site-packages/ldap/modlist.pyo
lib/python${MODPY_VERSION}/site-packages/ldap/sasl.py lib/python${MODPY_VERSION}/site-packages/ldap/sasl.py
lib/python${MODPY_VERSION}/site-packages/ldap/sasl.pyc lib/python${MODPY_VERSION}/site-packages/ldap/sasl.pyc
lib/python${MODPY_VERSION}/site-packages/ldap/sasl.pyo lib/python${MODPY_VERSION}/site-packages/ldap/sasl.pyo
lib/python${MODPY_VERSION}/site-packages/ldap/schema/
lib/python${MODPY_VERSION}/site-packages/ldap/schema/__init__.py lib/python${MODPY_VERSION}/site-packages/ldap/schema/__init__.py
lib/python${MODPY_VERSION}/site-packages/ldap/schema/__init__.pyc lib/python${MODPY_VERSION}/site-packages/ldap/schema/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/ldap/schema/__init__.pyo lib/python${MODPY_VERSION}/site-packages/ldap/schema/__init__.pyo
@ -47,27 +47,3 @@ lib/python${MODPY_VERSION}/site-packages/ldapurl.pyo
lib/python${MODPY_VERSION}/site-packages/ldif.py lib/python${MODPY_VERSION}/site-packages/ldif.py
lib/python${MODPY_VERSION}/site-packages/ldif.pyc lib/python${MODPY_VERSION}/site-packages/ldif.pyc
lib/python${MODPY_VERSION}/site-packages/ldif.pyo lib/python${MODPY_VERSION}/site-packages/ldif.pyo
share/examples/py-ldap/Demo/Lib/ldap/res/deltree.py
share/examples/py-ldap/Demo/Lib/ldap/res/ldifwriter.py
share/examples/py-ldap/Demo/Lib/ldap/res/sizelimit.py
share/examples/py-ldap/Demo/Lib/ldapurl/urlsearch.py
share/examples/py-ldap/Demo/Lib/ldif/ldifcopy.py
share/examples/py-ldap/Demo/initialize.py
share/examples/py-ldap/Demo/options.py
share/examples/py-ldap/Demo/pickle_ldapobject.py
share/examples/py-ldap/Demo/reconnect.py
share/examples/py-ldap/Demo/rename.py
share/examples/py-ldap/Demo/sasl_bind.py
share/examples/py-ldap/Demo/schema.py
share/examples/py-ldap/Demo/schema_tree.py
share/examples/py-ldap/Demo/simple.py
share/examples/py-ldap/Demo/simplebrowse.py
@dirrm share/examples/py-ldap/Demo/Lib/ldif
@dirrm share/examples/py-ldap/Demo/Lib/ldapurl
@dirrm share/examples/py-ldap/Demo/Lib/ldap/res
@dirrm share/examples/py-ldap/Demo/Lib/ldap
@dirrm share/examples/py-ldap/Demo/Lib
@dirrm share/examples/py-ldap/Demo
@dirrm share/examples/py-ldap
@dirrm lib/python${MODPY_VERSION}/site-packages/ldap/schema
@dirrm lib/python${MODPY_VERSION}/site-packages/ldap

View File

@ -0,0 +1,23 @@
@comment $OpenBSD: PLIST-examples,v 1.1 2004/09/14 23:29:07 espie Exp $
share/examples/py-ldap/
share/examples/py-ldap/Demo/
share/examples/py-ldap/Demo/Lib/
share/examples/py-ldap/Demo/Lib/ldap/
share/examples/py-ldap/Demo/Lib/ldap/res/
share/examples/py-ldap/Demo/Lib/ldap/res/deltree.py
share/examples/py-ldap/Demo/Lib/ldap/res/ldifwriter.py
share/examples/py-ldap/Demo/Lib/ldap/res/sizelimit.py
share/examples/py-ldap/Demo/Lib/ldapurl/
share/examples/py-ldap/Demo/Lib/ldapurl/urlsearch.py
share/examples/py-ldap/Demo/Lib/ldif/
share/examples/py-ldap/Demo/Lib/ldif/ldifcopy.py
share/examples/py-ldap/Demo/initialize.py
share/examples/py-ldap/Demo/options.py
share/examples/py-ldap/Demo/pickle_ldapobject.py
share/examples/py-ldap/Demo/reconnect.py
share/examples/py-ldap/Demo/rename.py
share/examples/py-ldap/Demo/sasl_bind.py
share/examples/py-ldap/Demo/schema.py
share/examples/py-ldap/Demo/schema_tree.py
share/examples/py-ldap/Demo/simple.py
share/examples/py-ldap/Demo/simplebrowse.py