pkgsrc/fonts/py-fonttools/Makefile
adam 3b92cf3cf7 py-fonttools: updated to 4.29.1
4.29.1 (released 2022-02-01)
----------------------------
- [colorLib] Fixed rounding issue with radial gradient's start/end circles inside
  one another
- [freetypePen] Handle rotate/skew transform when auto-computing width/height of the
  buffer; raise PenError wen missing moveTo

4.29.0 (released 2022-01-24)
----------------------------
- [ufoLib] Fixed illegal characters and expanded reserved filenames
- [COLRv1] Don't emit useless PaintColrLayers of lenght=1 in LayerListBuilder
- [ttx] Removed legacy ``waitForKeyPress`` method on Windows
- [pens] Added FreeTypePen that uses ``freetype-py`` and the pen protocol for
  rasterizating outline paths
- [unicodedata] Updated the script direction list to Unicode 14.0
  Bumped unicodedata2 dependency to 14.0
- [psLib] Fixed type of ``fontName`` in ``suckfont``
2022-02-07 21:12:59 +00:00

47 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.78 2022/02/07 21:12:59 adam Exp $
DISTNAME= fonttools-4.29.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= fonts python
MASTER_SITES= ${MASTER_SITE_PYPI:=F/FontTools/}
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/fonttools/fonttools
COMMENT= Library for manipulating fonts
LICENSE= mit
BUILD_DEPENDS+= ${PYPKGPREFIX}-cython-[0-9]*:../../devel/py-cython
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
# ufo
DEPENDS+= ${PYPKGPREFIX}-fs>=2.2.0:../../filesystems/py-fs
# woff
DEPENDS+= ${PYPKGPREFIX}-brotli>=1.0.1:../../archivers/py-brotli
DEPENDS+= ${PYPKGPREFIX}-zopfli>=0.1.4:../../archivers/py-zopfli
TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.0:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
# as of 4.17.1:
# 3 failed, 3456 passed, 143 skipped, 2 xfailed, 23 warnings, 6 errors
PYSETUPTESTTARGET= pytest
PYTHON_VERSIONS_INCOMPATIBLE= 27
USE_PKG_RESOURCES= yes
SUBST_CLASSES+= man
SUBST_STAGE.man= pre-configure
SUBST_MESSAGE.man= Fixing man page installation path.
SUBST_FILES.man+= setup.py
SUBST_SED.man+= -e "s,share/man,${PKGMANDIR},"
post-install:
.for bin in fonttools pyftmerge pyftsubset ttx
cd ${DESTDIR}${PREFIX}/bin && \
${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
.endfor
cd ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 && \
${MV} ttx.1 ttx-${PYVERSSUFFIX}.1 || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"