pkgsrc/misc/py-tqdm/Makefile
2020-12-20 11:26:28 +00:00

34 lines
1,015 B
Makefile

# $NetBSD: Makefile,v 1.26 2020/12/20 11:26:28 nia Exp $
DISTNAME= tqdm-4.54.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
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
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
# Uses async
PYTHON_VERSIONS_INCOMPATIBLE= 27
USE_LANGUAGES= # none
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"