5c9d5e5586
pkglint -Wall -F --only aligned -r No manual corrections.
46 lines
1.9 KiB
Makefile
46 lines
1.9 KiB
Makefile
# $NetBSD: Makefile,v 1.54 2019/11/02 16:28:41 rillig Exp $
|
|
|
|
DISTNAME= vdirsyncer-0.16.7
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= time python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=v/vdirsyncer/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://pypi.python.org/pypi/vdirsyncer/
|
|
COMMENT= Synchronization tool for vdir
|
|
LICENSE= modified-bsd
|
|
|
|
EXTRACT_USING= bsdtar # gtar cannot handle pre-1970 timestamps
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-atomicwrites>=0.1.7:../../devel/py-atomicwrites
|
|
DEPENDS+= ${PYPKGPREFIX}-click>=5.0:../../devel/py-click
|
|
DEPENDS+= ${PYPKGPREFIX}-click-log>=0.3.0:../../devel/py-click-log
|
|
DEPENDS+= ${PYPKGPREFIX}-click-threading>=0.2.0:../../devel/py-click-threading
|
|
DEPENDS+= ${PYPKGPREFIX}-requests>=2.9.1:../../devel/py-requests
|
|
DEPENDS+= ${PYPKGPREFIX}-requests-oauthlib-[0-9]*:../../security/py-requests-oauthlib
|
|
DEPENDS+= ${PYPKGPREFIX}-requests-toolbelt>=0.4.0:../../devel/py-requests-toolbelt
|
|
DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
|
|
# tests need DAV_SERVER and REMOTESTORAGE_SERVER environment variables set
|
|
#BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
|
|
#BUILD_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
|
|
|
|
USE_LANGUAGES= # none
|
|
INSTALLATION_DIRS= share/examples/${PKGBASE} ${PKGMANDIR}/man1
|
|
PLIST_SUBST+= PKGBASE=${PKGBASE}
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27 # not supported any longer
|
|
|
|
USE_TOOLS+= gmake
|
|
|
|
post-build:
|
|
cd ${WRKSRC}/docs && ${SETENV} ${MAKE_ENV} PYTHONPATH=${WRKSRC} ${GMAKE} man SPHINXBUILD=sphinx-build-${PYVERSSUFFIX}
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/docs/_build/man/vdirsyncer.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|
|
# needed due to py-click
|
|
TEST_ENV+= LC_ALL=en_US.UTF-8
|