pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-libxml2 distutils pkg, register egg-info.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5f2fea2bf7fd
branches:  trunk
changeset: 599201:5f2fea2bf7fd
user:      obache <obache%pkgsrc.org@localhost>
date:      Tue Feb 07 11:21:51 2012 +0000

description:
distutils pkg, register egg-info.

Bump PKGREVISION.

diffstat:

 textproc/py-libxml2/Makefile |  8 +++++---
 textproc/py-libxml2/PLIST    |  3 ++-
 2 files changed, 7 insertions(+), 4 deletions(-)

diffs (50 lines):

diff -r 56d928ce6ce1 -r 5f2fea2bf7fd textproc/py-libxml2/Makefile
--- a/textproc/py-libxml2/Makefile      Tue Feb 07 11:06:04 2012 +0000
+++ b/textproc/py-libxml2/Makefile      Tue Feb 07 11:21:51 2012 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.39 2011/12/02 13:19:59 joerg Exp $
+# $NetBSD: Makefile,v 1.40 2012/02/07 11:21:51 obache Exp $
 
 DISTNAME=      libxml2-2.7.8
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    textproc python
 MASTER_SITES=  ftp://xmlsoft.org/libxml2/
 #MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libxml2/2.7/}
@@ -14,7 +15,6 @@
 PKG_DESTDIR_SUPPORT=   user-destdir
 
 WRKSRC=                ${WRKDIR}/${DISTNAME}/python
-PYDISTUTILSPKG=        YES
 NO_CONFIGURE=  YES
 
 SUBST_CLASSES+=                setup
@@ -25,11 +25,13 @@
                        -e "/^\"/s,/usr/include,${BUILDLINK_PREFIX.iconv}/include,g" \
                        -e "/^\"/s,/usr/local/include,${BUILDLINK_PREFIX.iconv}/include,g"
 
+EGG_NAME=      ${DISTNAME:S/-/_python-/}
+
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-expat>=0:../../textproc/py-expat
 
 BUILDLINK_API_DEPENDS.libxml2+=        libxml2>=${PKGVERSION}
 .include "../../textproc/libxml2/buildlink3.mk"
 
-.include "../../lang/python/extension.mk"
+.include "../../lang/python/distutils.mk"
 .include "../../converters/libiconv/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 56d928ce6ce1 -r 5f2fea2bf7fd textproc/py-libxml2/PLIST
--- a/textproc/py-libxml2/PLIST Tue Feb 07 11:06:04 2012 +0000
+++ b/textproc/py-libxml2/PLIST Tue Feb 07 11:21:51 2012 +0000
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/04 11:47:17 recht Exp $
+@comment $NetBSD: PLIST,v 1.2 2012/02/07 11:21:51 obache Exp $
 ${PYSITELIB}/drv_libxml2.py
 ${PYSITELIB}/drv_libxml2.pyc
 ${PYSITELIB}/drv_libxml2.pyo
 ${PYSITELIB}/libxml2.py
 ${PYSITELIB}/libxml2.pyc
 ${PYSITELIB}/libxml2.pyo
+${PLIST.eggfile}${PYSITELIB}/${EGG_FILE}
 ${PYSITELIB}/libxml2mod.so



Home | Main Index | Thread Index | Old Index