summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2016-05-29 21:07:59 +0000
committerwiz <wiz@pkgsrc.org>2016-05-29 21:07:59 +0000
commitf05e58f844a777993333e732dd6ae07e987f913e (patch)
treee3f1e17046f418b16cd1cab33ec3d8a58344582c /textproc
parent454d92aaa2fcabfcfb7b4332840abf58fd442e40 (diff)
downloadpkgsrc-f05e58f844a777993333e732dd6ae07e987f913e.tar.gz
Switch to using libxslt/Makefile.common; update to 1.1.29.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-libxslt/Makefile26
-rw-r--r--textproc/py-libxslt/distinfo6
2 files changed, 11 insertions, 21 deletions
diff --git a/textproc/py-libxslt/Makefile b/textproc/py-libxslt/Makefile
index 0aad375d58b..a2b736335e8 100644
--- a/textproc/py-libxslt/Makefile
+++ b/textproc/py-libxslt/Makefile
@@ -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 $
+
+.include "../../textproc/libxslt/Makefile.common"
-DISTNAME= libxslt-1.1.28
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 2
CATEGORIES= textproc python
-MASTER_SITES= ftp://xmlsoft.org/libxslt/ \
- http://xmlsoft.org/sources/
MAINTAINER= minskim@NetBSD.org
-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 @@ MAKE_ENV+= PYLIBXSLTVERSION=${PKGVERSION}
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 --git a/textproc/py-libxslt/distinfo b/textproc/py-libxslt/distinfo
deleted file mode 100644
index b911cbe6b20..00000000000
--- a/textproc/py-libxslt/distinfo
+++ /dev/null
@@ -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