blob: b1be537a02a823a5cab58bee95639ab2ad708ab0 (
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
49
50
|
# $NetBSD: Makefile,v 1.59 2021/12/30 13:05:41 adam Exp $
DISTNAME= vdirsyncer-0.18.0
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
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
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.5:../../devel/py-click-threading
DEPENDS+= ${PYPKGPREFIX}-requests>=2.20.0:../../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
TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=5.0.0:../../devel/py-hypothesis
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
TEST_DEPENDS+= ${PYPKGPREFIX}-test-localserver-[0-9]*:../../devel/py-test-localserver
USE_LANGUAGES= # none
INSTALLATION_DIRS= share/examples/${PKGBASE} ${PKGMANDIR}/man1
PLIST_SUBST+= PKGBASE=${PKGBASE}
PYTHON_SELF_CONFLICT= yes
PYSETUPTESTTARGET= pytest
PYTHON_VERSIONS_INCOMPATIBLE= 27
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
|