pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/py-libxslt Switch to using libxslt/Makefile.c...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1c801b8c615e
branches: trunk
changeset: 347773:1c801b8c615e
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun May 29 21:07:59 2016 +0000
description:
Switch to using libxslt/Makefile.common; update to 1.1.29.
diffstat:
textproc/py-libxslt/Makefile | 26 +++++++++++---------------
textproc/py-libxslt/distinfo | 6 ------
2 files changed, 11 insertions(+), 21 deletions(-)
diffs (68 lines):
diff -r 7c955bb6700f -r 1c801b8c615e textproc/py-libxslt/Makefile
--- a/textproc/py-libxslt/Makefile Sun May 29 21:06:58 2016 +0000
+++ b/textproc/py-libxslt/Makefile Sun May 29 21:07:59 2016 +0000
@@ -1,24 +1,19 @@
-# $NetBSD: Makefile,v 1.45 2015/12/05 21:26:02 adam Exp $
+# $NetBSD: Makefile,v 1.46 2016/05/29 21:07:59 wiz Exp $
-DISTNAME= libxslt-1.1.28
+.include "../../textproc/libxslt/Makefile.common"
+
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 2
CATEGORIES= textproc python
-MASTER_SITES= ftp://xmlsoft.org/libxslt/ \
- http://xmlsoft.org/sources/
MAINTAINER= minskim%NetBSD.org@localhost
-HOMEPAGE= http://xmlsoft.org/XSLT/
COMMENT= Python wrapper for libxslt
-LICENSE= mit # with no-advertising clause
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
DEPENDS+= ${PYPKGPREFIX}-libxml2>=2.6.8:../../textproc/py-libxml2
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 35 # not yet ported as of 1.1.28
-WRKSRC= ${WRKDIR}/${DISTNAME}/python
-PYDISTUTILSPKG= yes
+PYSETUPSUBDIR= python
NO_CONFIGURE= yes
MAKE_ENV+= PYLIBXSLTVERSION=${PKGVERSION}
@@ -26,18 +21,19 @@
SUBST_CLASSES+= setup
SUBST_MESSAGE.setup= Fixing hardcoded paths.
SUBST_STAGE.setup= pre-build
-SUBST_FILES.setup= setup.py
+SUBST_FILES.setup= python/setup.py
SUBST_SED.setup= -e "s,@LIBICONVDIR@,${BUILDLINK_PREFIX.iconv},g"
SUBST_SED.setup+= -e "s,@LIBXML2DIR@,${BUILDLINK_PREFIX.libxml2},g"
SUBST_SED.setup+= -e "s,@LIBXSLTDIR@,${BUILDLINK_PREFIX.libxslt},g"
+post-extract: setuppy
+.PHONY: setuppy
+setuppy:
+ ${CP} ${FILESDIR}/setup.py ${WRKSRC}/python
+
BUILDLINK_API_DEPENDS.libxslt+= libxslt>=${PKGVERSION}
.include "../../textproc/libxslt/buildlink3.mk"
-
.include "../../lang/python/extension.mk"
+.include "../../lang/python/distutils.mk"
.include "../../converters/libiconv/buildlink3.mk"
-
-post-extract:
- ${CP} ${FILESDIR}/setup.py ${WRKSRC}
-
.include "../../mk/bsd.pkg.mk"
diff -r 7c955bb6700f -r 1c801b8c615e textproc/py-libxslt/distinfo
--- a/textproc/py-libxslt/distinfo Sun May 29 21:06:58 2016 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-$NetBSD: distinfo,v 1.21 2015/11/04 02:00:03 agc Exp $
-
-SHA1 (libxslt-1.1.28.tar.gz) = 4df177de629b2653db322bfb891afa3c0d1fa221
-RMD160 (libxslt-1.1.28.tar.gz) = a4e2f9c3ac235284cc58a37ed26707a870e0f976
-SHA512 (libxslt-1.1.28.tar.gz) = 20b65bdaceaac5bd11d509bf683ce8e344030bc95164639266ae705d41659bcba47b5be1b059d0d67681e6428b0710db675d1749c06aa531bc2212ed3d0511b1
-Size (libxslt-1.1.28.tar.gz) = 3435907 bytes
Home |
Main Index |
Thread Index |
Old Index