pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/py-bdb-xml Reimport py-dbxml as py-bdb-xml t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6c75edb9c03f
branches:  trunk
changeset: 471840:6c75edb9c03f
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Wed Mar 31 17:18:45 2004 +0000

description:
Reimport py-dbxml as py-bdb-xml to match the name change of dbxml,
which was requested by the author in PR pkg/24996.

diffstat:

 databases/py-bdb-xml/DESCR            |   5 +++++
 databases/py-bdb-xml/Makefile         |  27 +++++++++++++++++++++++++++
 databases/py-bdb-xml/PLIST            |   5 +++++
 databases/py-bdb-xml/distinfo         |   5 +++++
 databases/py-bdb-xml/patches/patch-aa |  22 ++++++++++++++++++++++
 5 files changed, 64 insertions(+), 0 deletions(-)

diffs (84 lines):

diff -r 485b9a2ea0b7 -r 6c75edb9c03f databases/py-bdb-xml/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/py-bdb-xml/DESCR        Wed Mar 31 17:18:45 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 485b9a2ea0b7 -r 6c75edb9c03f databases/py-bdb-xml/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/py-bdb-xml/Makefile     Wed Mar 31 17:18:45 2004 +0000
@@ -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@localhost
+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 -r 485b9a2ea0b7 -r 6c75edb9c03f databases/py-bdb-xml/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/py-bdb-xml/PLIST        Wed Mar 31 17:18:45 2004 +0000
@@ -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 -r 485b9a2ea0b7 -r 6c75edb9c03f databases/py-bdb-xml/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/py-bdb-xml/distinfo     Wed Mar 31 17:18:45 2004 +0000
@@ -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 -r 485b9a2ea0b7 -r 6c75edb9c03f databases/py-bdb-xml/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/py-bdb-xml/patches/patch-aa     Wed Mar 31 17:18:45 2004 +0000
@@ -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 =   []



Home | Main Index | Thread Index | Old Index