pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-libxml2 initial import of py-libxml2-2.6.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3786c62ecd35
branches:  trunk
changeset: 465651:3786c62ecd35
user:      recht <recht%pkgsrc.org@localhost>
date:      Sun Jan 04 11:47:17 2004 +0000

description:
initial import of py-libxml2-2.6.4
provided by Min Sik Kim via pkgsrc-wip

This is the libxml2 python module, providing access to the libxml2
library.

diffstat:

 textproc/py-libxml2/DESCR            |   2 ++
 textproc/py-libxml2/Makefile         |  29 +++++++++++++++++++++++++++++
 textproc/py-libxml2/PLIST            |   8 ++++++++
 textproc/py-libxml2/distinfo         |   5 +++++
 textproc/py-libxml2/patches/patch-aa |  13 +++++++++++++
 5 files changed, 57 insertions(+), 0 deletions(-)

diffs (77 lines):

diff -r 7f3b2724e793 -r 3786c62ecd35 textproc/py-libxml2/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-libxml2/DESCR Sun Jan 04 11:47:17 2004 +0000
@@ -0,0 +1,2 @@
+This is the libxml2 python module, providing access to the libxml2
+library.
diff -r 7f3b2724e793 -r 3786c62ecd35 textproc/py-libxml2/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-libxml2/Makefile      Sun Jan 04 11:47:17 2004 +0000
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/01/04 11:47:17 recht Exp $
+
+DISTNAME=      libxml2-2.6.4
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+WRKSRC=                ${WRKDIR}/${DISTNAME}/python
+CATEGORIES=    textproc
+MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/libxml2/2.6/}
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    minskim%bawi.org@localhost
+HOMEPAGE=      http://xmlsoft.org/
+COMMENT=       Python wrapper for libxml2
+
+PYDISTUTILSPKG=        YES
+USE_BUILDLINK2=        YES
+NO_CONFIGURE=  YES
+
+SUBST_CLASSES+=                setup
+SUBST_MESSAGE.setup=   "Fixing hardcoded paths."
+SUBST_STAGE.setup=     post-patch
+SUBST_FILES.setup=     setup.py
+SUBST_SED.setup=       -e "s,'/usr','${BUILDLINK_PREFIX.libxml2}',g"
+
+BUILDLINK_DEPENDS.libxml2=     libxml2>=${PKGVERSION}
+.include "../../textproc/libxml2/buildlink2.mk"
+
+.include "../../lang/python/extension.mk"
+.include "../../converters/libiconv/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 7f3b2724e793 -r 3786c62ecd35 textproc/py-libxml2/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-libxml2/PLIST Sun Jan 04 11:47:17 2004 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/04 11:47:17 recht Exp $
+${PYSITELIB}/drv_libxml2.py
+${PYSITELIB}/drv_libxml2.pyc
+${PYSITELIB}/drv_libxml2.pyo
+${PYSITELIB}/libxml2.py
+${PYSITELIB}/libxml2.pyc
+${PYSITELIB}/libxml2.pyo
+${PYSITELIB}/libxml2mod.so
diff -r 7f3b2724e793 -r 3786c62ecd35 textproc/py-libxml2/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-libxml2/distinfo      Sun Jan 04 11:47:17 2004 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/01/04 11:47:17 recht Exp $
+
+SHA1 (libxml2-2.6.4.tar.bz2) = 69828400b55ce4f70215c49b62ce546623438d61
+Size (libxml2-2.6.4.tar.bz2) = 2644177 bytes
+SHA1 (patch-aa) = 8466178808ae179a4e952c7304e1a79b639c8174
diff -r 7f3b2724e793 -r 3786c62ecd35 textproc/py-libxml2/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-libxml2/patches/patch-aa      Sun Jan 04 11:47:17 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/01/04 11:47:17 recht Exp $
+
+--- libxml.py.orig     2003-12-25 00:17:24.000000000 -0600
++++ libxml.py
+@@ -278,7 +278,7 @@ class xmlCore:
+     # defined as python2 properties
+     # 
+     import sys
+-    if float(sys.version[0:3]) < 2.2:
++    if float(sys.version[0:3].replace('p', '.')) < 2.2:
+         def __getattr__(self, attr):
+             if attr == "parent":
+                 ret = libxml2mod.parent(self._o)



Home | Main Index | Thread Index | Old Index