2021-06-25 09:25:45 +02:00
|
|
|
# $NetBSD: Makefile,v 1.32 2021/06/25 07:25:45 adam Exp $
|
2018-05-22 01:45:59 +02:00
|
|
|
|
2021-06-25 09:25:45 +02:00
|
|
|
DISTNAME= tqdm-4.61.1
|
2018-05-22 01:45:59 +02:00
|
|
|
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
|
|
|
|
|
2021-01-16 12:15:13 +01:00
|
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
|
2019-01-28 15:13:50 +01:00
|
|
|
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
|
2021-04-06 22:16:06 +02:00
|
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
|
2018-05-22 01:45:59 +02:00
|
|
|
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
|
2021-04-06 22:16:06 +02:00
|
|
|
PYSETUPTESTTARGET= pytest
|
|
|
|
|
2021-03-11 10:50:19 +01:00
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
|
2019-01-28 15:13:50 +01:00
|
|
|
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
|
2018-05-22 01:45:59 +02:00
|
|
|
|
2020-05-03 13:52:00 +02:00
|
|
|
CHECK_INTERPRETER_SKIP+= ${PYSITELIB}/tqdm/completion.sh
|
|
|
|
|
2018-05-22 01:45:59 +02:00
|
|
|
post-install:
|
2019-01-28 15:13:50 +01:00
|
|
|
cd ${DESTDIR}${PREFIX} && \
|
|
|
|
${MV} bin/tqdm bin/tqdm-${PYVERSSUFFIX} && \
|
|
|
|
${MV} ${PYSITELIB}/tqdm/tqdm.1 ${PKGMANDIR}/man1/tqdm-${PYVERSSUFFIX}.1 || ${TRUE}
|
2018-05-22 01:45:59 +02:00
|
|
|
|
2019-01-28 15:13:50 +01:00
|
|
|
.include "../../lang/python/egg.mk"
|
2018-05-22 01:45:59 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|