pkgsrc/misc/py-tqdm/Makefile
adam bdfa77a1d5 py-tqdm: updated to 4.64.1
4.64.1
support ipywidgets>=8
2022-09-05 09:43:51 +00:00

38 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.38 2022/09/05 09:43:51 adam Exp $
DISTNAME= tqdm-4.64.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= misc python
MASTER_SITES= ${MASTER_SITE_PYPI:=t/tqdm/}
MAINTAINER= kamelderouiche@yahoo.com
HOMEPAGE= https://github.com/tqdm/tqdm
COMMENT= Fast, extensible progress bar for Python
LICENSE= mit
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
TEST_DEPENDS+= ${PYPKGPREFIX}-flake8-[0-9]*:../../devel/py-flake8
TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
TEST_DEPENDS+= ${PYPKGPREFIX}-tox-[0-9]*:../../devel/py-tox
USE_LANGUAGES= # none
PYSETUPTESTTARGET= pytest
PYTHON_VERSIONS_INCOMPATIBLE= 27
USE_PKG_RESOURCES= yes
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
CHECK_INTERPRETER_SKIP+= ${PYSITELIB}/tqdm/completion.sh
post-install:
cd ${DESTDIR}${PREFIX} && \
${MV} bin/tqdm bin/tqdm-${PYVERSSUFFIX} && \
${MV} ${PYSITELIB}/tqdm/tqdm.1 ${PKGMANDIR}/man1/tqdm-${PYVERSSUFFIX}.1 || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"