summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2009-02-16 20:05:12 +0000
committerjoerg <joerg>2009-02-16 20:05:12 +0000
commitcdaa8e9cfd8464afea44e9a60d70599a96be4c68 (patch)
treec5c6fc4ce3453b5ae13e8898a890f3de9e2ae5f9
parent729d308332e9eda4a6a7c68365973998743bbbcc (diff)
downloadpkgsrc-cdaa8e9cfd8464afea44e9a60d70599a96be4c68.tar.gz
Use Python Egg framework. DESTDIR support. Bump revision.
-rw-r--r--textproc/py-lxml/Makefile8
-rw-r--r--textproc/py-lxml/PLIST9
2 files changed, 13 insertions, 4 deletions
diff --git a/textproc/py-lxml/Makefile b/textproc/py-lxml/Makefile
index f8137fae58f..db436be5b67 100644
--- a/textproc/py-lxml/Makefile
+++ b/textproc/py-lxml/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/11/18 15:45:56 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2009/02/16 20:05:12 joerg Exp $
#
DISTNAME= lxml-2.1.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://codespeak.net/lxml/
EXTRACT_SUFX= .tgz
@@ -11,10 +12,11 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://codespeak.net/lxml/
COMMENT= Python binding for libxml2 and libxslt
-PYTHON_VERSIONS_ACCEPTED= 25 24 23
+PKG_DESTDIR_SUPPORT= user-destdir
+
PYDISTUTILSPKG= yes
-.include "../../lang/python/extension.mk"
+.include "../../lang/python/egg.mk"
BUILDLINK_API_DEPENDS.libxml2+= libxml2>=2.6.28
.include "../../textproc/libxml2/buildlink3.mk"
BUILDLINK_API_DEPENDS.libxslt+= libxslt>=1.1.15
diff --git a/textproc/py-lxml/PLIST b/textproc/py-lxml/PLIST
index e462f9b9ddd..573b6af52ae 100644
--- a/textproc/py-lxml/PLIST
+++ b/textproc/py-lxml/PLIST
@@ -1,4 +1,10 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2008/11/18 15:45:56 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2009/02/16 20:05:12 joerg Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/native_libs.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/lxml/ElementInclude.py
${PYSITELIB}/lxml/ElementInclude.pyc
${PYSITELIB}/lxml/ElementInclude.pyo
@@ -65,4 +71,5 @@ ${PYSITELIB}/lxml/usedoctest.py
${PYSITELIB}/lxml/usedoctest.pyc
${PYSITELIB}/lxml/usedoctest.pyo
@dirrm ${PYSITELIB}/lxml/html
+@dirrm ${PYSITELIB}/${EGG_INFODIR}
@dirrm ${PYSITELIB}/lxml