67e1f1a6bf
This flag should be set for packages that import pkg_resources and thus need setuptools after the build step. Set this flag for packages that need it and bump PKGREVISION.
28 lines
704 B
Makefile
28 lines
704 B
Makefile
# $NetBSD: Makefile,v 1.12 2022/01/05 15:41:12 wiz Exp $
|
|
|
|
DISTNAME= tifffile-2021.11.2
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
PKGREVISION= 2
|
|
CATEGORIES= graphics python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=t/tifffile/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://www.lfd.uci.edu/~gohlke/
|
|
COMMENT= Read and write TIFF(r) files
|
|
LICENSE= modified-bsd
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
USE_PKG_RESOURCES= yes
|
|
|
|
post-install:
|
|
.for bin in lsm2bin tiff2fsspec tiffcomment tifffile
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
|
|
.endfor
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../math/py-numpy/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|