Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/fonts/py-fonttools py-fonttools: needs C compiler; fix...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5d78ad26e255
branches:  trunk
changeset: 429084:5d78ad26e255
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Apr 16 07:39:41 2020 +0000

description:
py-fonttools: needs C compiler; fix PLIST; bump revision

diffstat:

 fonts/py-fonttools/Makefile |  13 ++++++-------
 fonts/py-fonttools/PLIST    |   3 ++-
 2 files changed, 8 insertions(+), 8 deletions(-)

diffs (55 lines):

diff -r da487d29f4d2 -r 5d78ad26e255 fonts/py-fonttools/Makefile
--- a/fonts/py-fonttools/Makefile       Thu Apr 16 04:28:10 2020 +0000
+++ b/fonts/py-fonttools/Makefile       Thu Apr 16 07:39:41 2020 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.61 2020/04/11 07:21:37 adam Exp $
+# $NetBSD: Makefile,v 1.62 2020/04/16 07:39:41 adam Exp $
 
 DISTNAME=      fonttools-4.7.0
+PKGREVISION=   1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    fonts python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=F/FontTools/}
@@ -16,8 +17,6 @@
 TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.0:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 
-USE_LANGUAGES= # none
-
 PYSETUPTESTTARGET=     pytest
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27 # since 4.0.0
@@ -29,12 +28,12 @@
 SUBST_SED.man+=                -e "s,share/man,${PKGMANDIR},"
 
 post-install:
+.for bin in fonttools pyftmerge pyftsubset ttx
        cd ${DESTDIR}${PREFIX}/bin && \
-       for i in fonttools pyftmerge pyftsubset ttx; do \
-               ${MV} $${i} $${i}-${PYVERSSUFFIX}; \
-       done
+       ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
+.endfor
        cd ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 && \
-               ${MV} ttx.1 ttx-${PYVERSSUFFIX}.1 || ${TRUE}
+       ${MV} ttx.1 ttx-${PYVERSSUFFIX}.1 || ${TRUE}
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r da487d29f4d2 -r 5d78ad26e255 fonts/py-fonttools/PLIST
--- a/fonts/py-fonttools/PLIST  Thu Apr 16 04:28:10 2020 +0000
+++ b/fonts/py-fonttools/PLIST  Thu Apr 16 07:39:41 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.28 2020/04/11 07:21:37 adam Exp $
+@comment $NetBSD: PLIST,v 1.29 2020/04/16 07:39:41 adam Exp $
 bin/fonttools-${PYVERSSUFFIX}
 bin/pyftmerge-${PYVERSSUFFIX}
 bin/pyftsubset-${PYVERSSUFFIX}
@@ -52,6 +52,7 @@
 ${PYSITELIB}/fontTools/cu2qu/cu2qu.py
 ${PYSITELIB}/fontTools/cu2qu/cu2qu.pyc
 ${PYSITELIB}/fontTools/cu2qu/cu2qu.pyo
+${PYSITELIB}/fontTools/cu2qu/cu2qu.so
 ${PYSITELIB}/fontTools/cu2qu/errors.py
 ${PYSITELIB}/fontTools/cu2qu/errors.pyc
 ${PYSITELIB}/fontTools/cu2qu/errors.pyo



Home | Main Index | Thread Index | Old Index