pkgsrc-Changes archive

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

CVS commit: pkgsrc/time/py-vdirsyncer



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Apr 14 20:21:51 UTC 2018

Modified Files:
        pkgsrc/time/py-vdirsyncer: Makefile PLIST

Log Message:
py-vdirsyncer: update to 0.16.4nb1.

Build and install man page.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 pkgsrc/time/py-vdirsyncer/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/time/py-vdirsyncer/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/time/py-vdirsyncer/Makefile
diff -u pkgsrc/time/py-vdirsyncer/Makefile:1.49 pkgsrc/time/py-vdirsyncer/Makefile:1.50
--- pkgsrc/time/py-vdirsyncer/Makefile:1.49     Sun Feb 11 18:49:18 2018
+++ pkgsrc/time/py-vdirsyncer/Makefile  Sat Apr 14 20:21:51 2018
@@ -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-oauthl
 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

Index: pkgsrc/time/py-vdirsyncer/PLIST
diff -u pkgsrc/time/py-vdirsyncer/PLIST:1.15 pkgsrc/time/py-vdirsyncer/PLIST:1.16
--- pkgsrc/time/py-vdirsyncer/PLIST:1.15        Tue Oct  3 09:50:02 2017
+++ pkgsrc/time/py-vdirsyncer/PLIST     Sat Apr 14 20:21:51 2018
@@ -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/version.pyo
 ${PYSITELIB}/vdirsyncer/vobject.py
 ${PYSITELIB}/vdirsyncer/vobject.pyc
 ${PYSITELIB}/vdirsyncer/vobject.pyo
+man/man1/vdirsyncer.1



Home | Main Index | Thread Index | Old Index