diff options
Diffstat (limited to 'databases/py-bdb-xml')
-rw-r--r-- | databases/py-bdb-xml/DESCR | 5 | ||||
-rw-r--r-- | databases/py-bdb-xml/Makefile | 27 | ||||
-rw-r--r-- | databases/py-bdb-xml/PLIST | 5 | ||||
-rw-r--r-- | databases/py-bdb-xml/distinfo | 5 | ||||
-rw-r--r-- | databases/py-bdb-xml/patches/patch-aa | 22 |
5 files changed, 64 insertions, 0 deletions
diff --git a/databases/py-bdb-xml/DESCR b/databases/py-bdb-xml/DESCR new file mode 100644 index 00000000000..d4560b4f802 --- /dev/null +++ b/databases/py-bdb-xml/DESCR @@ -0,0 +1,5 @@ +This module is built using SWIG (http://www.swig.org) to produce a +Python module that maps to the Berkeley DB XML C++ API fairly closely. +At present, separate documentation for the Python API is not provided. +Refer to the C++ API documentation and the Python examples for more +information, or contact Sleepycat Support (support@sleepycat.com). diff --git a/databases/py-bdb-xml/Makefile b/databases/py-bdb-xml/Makefile new file mode 100644 index 00000000000..d064cfcf535 --- /dev/null +++ b/databases/py-bdb-xml/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/03/31 17:18:45 minskim Exp $ + +DISTNAME= dbxml-1.2.1 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/db/bdb-/} +CATEGORIES= databases +MASTER_SITES= http://www.sleepycat.com/update/snapshot/ + +MAINTAINER= minskim@NetBSD.org +HOMEPAGE= http://www.sleepycat.com/products/xml.shtml +COMMENT= Python wrapper for Berkeley DB XML C++ API + +CONFLICTS= ${PYPKGPREFIX}-dbxml<=1.2.1 + +WRKSRC= ${WRKDIR}/${DISTNAME}/src/python +PYDISTUTILSPKG= YES +USE_BUILDLINK3= YES +NO_CONFIGURE= YES + +.include "../../lang/python/extension.mk" +PYSETUPBUILDARGS+= --with-berkeleydb=${BUILDLINK_PREFIX.db4} \ + --with-xerces=${BUILDLINK_PREFIX.xerces-c} \ + --with-pathan=${BUILDLINK_PREFIX.libpathan} + +.include "../../databases/bdb-xml/buildlink3.mk" +.include "../../textproc/libpathan/buildlink3.mk" +.include "../../textproc/xerces-c/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/databases/py-bdb-xml/PLIST b/databases/py-bdb-xml/PLIST new file mode 100644 index 00000000000..50a5fe1f4d8 --- /dev/null +++ b/databases/py-bdb-xml/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/03/31 17:18:45 minskim Exp $ +${PYSITELIB}/_dbxml.so +${PYSITELIB}/dbxml.py +${PYSITELIB}/dbxml.pyc +${PYSITELIB}/dbxml.pyo diff --git a/databases/py-bdb-xml/distinfo b/databases/py-bdb-xml/distinfo new file mode 100644 index 00000000000..526a8fbafd5 --- /dev/null +++ b/databases/py-bdb-xml/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/03/31 17:18:45 minskim Exp $ + +SHA1 (dbxml-1.2.1.tar.gz) = cc6ce354b3fb2e00d5b424c0b15ecee4ec340842 +Size (dbxml-1.2.1.tar.gz) = 3151529 bytes +SHA1 (patch-aa) = 9ab84591ec0c6398afc19cb7dfcc1eb8574a8758 diff --git a/databases/py-bdb-xml/patches/patch-aa b/databases/py-bdb-xml/patches/patch-aa new file mode 100644 index 00000000000..53f885d1c76 --- /dev/null +++ b/databases/py-bdb-xml/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/03/31 17:18:45 minskim Exp $ + +--- setup.py.orig 2003-12-17 14:55:18.000000000 -0600 ++++ setup.py +@@ -42,7 +42,7 @@ if "install" in sys.argv and not "build" + + if os.name == "posix": + INCLUDES = ["../../include", +- os.path.join(db_home, "include"), ++ os.path.join(db_home, "include", "db4"), + os.path.join(pathan_home, "include"), + os.path.join(xerces_home, "include")] + +@@ -52,7 +52,7 @@ if os.name == "posix": + os.path.join(xerces_home, "lib")] + + LIBS = ["dbxml-1.2", +- "db_cxx-4.2", ++ "db4_cxx-4.2", + "pathan", "xerces-c"] + + DATAFILES = [] |