blob: 9163deff3490bc00aa95e97d819ff8b9a12a2ded (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# $NetBSD: Makefile,v 1.57 2020/12/05 10:06:39 wiz Exp $
DISTNAME= vdirsyncer-0.16.8
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
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
PYTHON_VERSIONS_INCOMPATIBLE+= 39 # does not work as of 0.16.8
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
|