pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/time/py-vdirsyncer py-vdirsyncer: update to 0.16.4nb1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/555661672f26
branches:  trunk
changeset: 378769:555661672f26
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Apr 14 20:21:51 2018 +0000

description:
py-vdirsyncer: update to 0.16.4nb1.

Build and install man page.

diffstat:

 time/py-vdirsyncer/Makefile |  14 ++++++++++++--
 time/py-vdirsyncer/PLIST    |   3 ++-
 2 files changed, 14 insertions(+), 3 deletions(-)

diffs (54 lines):

diff -r b790c4dcdeaf -r 555661672f26 time/py-vdirsyncer/Makefile
--- a/time/py-vdirsyncer/Makefile       Sat Apr 14 20:09:03 2018 +0000
+++ b/time/py-vdirsyncer/Makefile       Sat Apr 14 20:21:51 2018 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.49 2018/02/11 18:49:18 wiz Exp $
+# $NetBSD: Makefile,v 1.50 2018/04/14 20:21:51 wiz Exp $
 
 DISTNAME=      vdirsyncer-0.16.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    time python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=v/vdirsyncer/}
 
@@ -21,16 +22,25 @@
 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}
+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
diff -r b790c4dcdeaf -r 555661672f26 time/py-vdirsyncer/PLIST
--- a/time/py-vdirsyncer/PLIST  Sat Apr 14 20:09:03 2018 +0000
+++ b/time/py-vdirsyncer/PLIST  Sat Apr 14 20:21:51 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2017/10/03 09:50:02 wiz Exp $
+@comment $NetBSD: PLIST,v 1.16 2018/04/14 20:21:51 wiz Exp $
 bin/vdirsyncer
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -87,3 +87,4 @@
 ${PYSITELIB}/vdirsyncer/vobject.py
 ${PYSITELIB}/vdirsyncer/vobject.pyc
 ${PYSITELIB}/vdirsyncer/vobject.pyo
+man/man1/vdirsyncer.1



Home | Main Index | Thread Index | Old Index