pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/py-dbxml Import py-dbxml from pkgsrc-wip.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b060b6d5813a
branches:  trunk
changeset: 468412:b060b6d5813a
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Fri Feb 13 21:30:34 2004 +0000

description:
Import py-dbxml from pkgsrc-wip.

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@localhost).

diffstat:

 databases/py-dbxml/DESCR            |   5 +++++
 databases/py-dbxml/Makefile         |  25 +++++++++++++++++++++++++
 databases/py-dbxml/PLIST            |   5 +++++
 databases/py-dbxml/distinfo         |   5 +++++
 databases/py-dbxml/patches/patch-aa |  22 ++++++++++++++++++++++
 5 files changed, 62 insertions(+), 0 deletions(-)

diffs (82 lines):

diff -r b6e209c628da -r b060b6d5813a databases/py-dbxml/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/py-dbxml/DESCR  Fri Feb 13 21:30:34 2004 +0000
@@ -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@localhost).
diff -r b6e209c628da -r b060b6d5813a databases/py-dbxml/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/py-dbxml/Makefile       Fri Feb 13 21:30:34 2004 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/02/13 21:30:34 minskim Exp $
+
+DISTNAME=      dbxml-1.2.1
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    databases
+MASTER_SITES=  http://www.sleepycat.com/update/snapshot/
+
+MAINTAINER=    minskim%NetBSD.org@localhost
+HOMEPAGE=      http://www.sleepycat.com/products/xml.shtml
+COMMENT=       Python wrapper for Berkeley DB XML C++ API
+
+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/dbxml/buildlink3.mk"
+.include "../../textproc/libpathan/buildlink3.mk"
+.include "../../textproc/xerces-c/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r b6e209c628da -r b060b6d5813a databases/py-dbxml/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/py-dbxml/PLIST  Fri Feb 13 21:30:34 2004 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/13 21:30:34 minskim Exp $
+${PYSITELIB}/_dbxml.so
+${PYSITELIB}/dbxml.py
+${PYSITELIB}/dbxml.pyc
+${PYSITELIB}/dbxml.pyo
diff -r b6e209c628da -r b060b6d5813a databases/py-dbxml/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/py-dbxml/distinfo       Fri Feb 13 21:30:34 2004 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/02/13 21:30:34 minskim Exp $
+
+SHA1 (dbxml-1.2.1.tar.gz) = cc6ce354b3fb2e00d5b424c0b15ecee4ec340842
+Size (dbxml-1.2.1.tar.gz) = 3151529 bytes
+SHA1 (patch-aa) = 9ab84591ec0c6398afc19cb7dfcc1eb8574a8758
diff -r b6e209c628da -r b060b6d5813a databases/py-dbxml/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/py-dbxml/patches/patch-aa       Fri Feb 13 21:30:34 2004 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/02/13 21:30:34 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 =   []



Home | Main Index | Thread Index | Old Index