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.
31 lines
1 KiB
Makefile
31 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.13 2022/01/05 15:41:23 wiz Exp $
|
|
|
|
DISTNAME= watchdog-0.10.4
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
PKGREVISION= 2
|
|
CATEGORIES= sysutils python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=w/watchdog/}
|
|
|
|
MAINTAINER= kamelderouiche@yahoo.com
|
|
HOMEPAGE= https://github.com/gorakhargosh/watchdog
|
|
COMMENT= Filesystem events monitoring
|
|
LICENSE= apache-2.0
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-argh>=0.24.1:../../devel/py-argh
|
|
DEPENDS+= ${PYPKGPREFIX}-pathtools>=0.1.1:../../sysutils/py-pathtools
|
|
DEPENDS+= ${PYPKGPREFIX}-yaml>=3.10:../../textproc/py-yaml
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout>=0.3:../../devel/py-test-timeout
|
|
|
|
PYSETUPTESTTARGET= pytest
|
|
|
|
USE_PKG_RESOURCES= yes
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} watchmedo watchmedo-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|