summaryrefslogtreecommitdiff
path: root/databases/py-bdb-xml
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-03-31 17:18:45 +0000
committerminskim <minskim@pkgsrc.org>2004-03-31 17:18:45 +0000
commit950b9cc192cea479c6c077fffc855d8a606333ee (patch)
treebb6e9574cdd80fd6326fb567726ac0b28a924741 /databases/py-bdb-xml
parente16cb04e4f3b902551be81d70436537631a0ad80 (diff)
downloadpkgsrc-950b9cc192cea479c6c077fffc855d8a606333ee.tar.gz
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 (limited to 'databases/py-bdb-xml')
-rw-r--r--databases/py-bdb-xml/DESCR5
-rw-r--r--databases/py-bdb-xml/Makefile27
-rw-r--r--databases/py-bdb-xml/PLIST5
-rw-r--r--databases/py-bdb-xml/distinfo5
-rw-r--r--databases/py-bdb-xml/patches/patch-aa22
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 = []