From 7ec7d902c206311e830dddf22963857719836736 Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 16 Jun 2013 10:25:09 +0000 Subject: Update to 0.5.0: 0.5 multi account support support for more contenttypes/carddav servers all vcards should have a UID (required by RFC 6352 and enforced by Owncloud 5) 0.4.2 searching for non ascii characters should work doing an OPTIONS request now to check for carddav capabilities this should speed up the syncing process and increase compatibility (SOGo) 0.4.1 assorted bugfixes, see the git log 0.4.0 experimental write support in the backend import & export vcards import directly from mutt speed increase in (initial) sync due to switching from pycurl to requests detects removed cards on server and deletes them locally can delete cards locally and on server can handle base64 encoded images/sounds etc. --- misc/py-carddav/Makefile | 26 +++++++++++--------------- misc/py-carddav/PLIST | 27 +++++++++++++++++++++++++-- misc/py-carddav/distinfo | 8 ++++---- 3 files changed, 40 insertions(+), 21 deletions(-) (limited to 'misc') diff --git a/misc/py-carddav/Makefile b/misc/py-carddav/Makefile index 6a434f6d2d1..8fafea3ae05 100644 --- a/misc/py-carddav/Makefile +++ b/misc/py-carddav/Makefile @@ -1,11 +1,9 @@ -# $NetBSD: Makefile,v 1.9 2012/10/08 09:57:35 asau Exp $ -# +# $NetBSD: Makefile,v 1.10 2013/06/16 10:25:09 wiz Exp $ -DISTNAME= pycarddav0.3.4 -PKGNAME= ${DISTNAME:S/pycarddav/${PYPKGPREFIX}-carddav-/} +DISTNAME= pyCardDAV-0.5.0 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/pyCardDAV/carddav/} CATEGORIES= misc MASTER_SITES= http://lostpackets.de/pycarddav/downloads/ -EXTRACT_SUFX= .tgz MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://pycarddav.lostpackets.de/ @@ -19,21 +17,19 @@ DEPENDS+= ${PYPKGPREFIX}-curl-[0-9]*:../../www/py-curl USE_LANGUAGES= # none -SUBST_CLASSES= env -SUBST_MESSAGE.env= Fixing path to python interpreter. -SUBST_FILES.env= pc_query pycardsyncer -SUBST_SED.env+= -e "s,/usr/bin/env python,${PYTHONBIN}," -SUBST_STAGE.env= pre-build +REPLACE_PYTHON= pycarddav/ui.py +REPLACE_PYTHON+= pycarddav/controllers.py +REPLACE_PYTHON+= pycarddav/model.py +REPLACE_PYTHON+= pycarddav/carddav.py +REPLACE_PYTHON+= pycarddav/backend.py +REPLACE_PYTHON+= pycarddav/__init__.py INSTALLATION_DIRS= bin share/doc/py-carddav share/examples/py-carddav -do-build: - -do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/pc_query ${DESTDIR}${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/pycardsyncer ${DESTDIR}${PREFIX}/bin +post-install: ${INSTALL_DATA} ${WRKSRC}/README* ${DESTDIR}${PREFIX}/share/doc/py-carddav ${INSTALL_DATA} ${WRKSRC}/pycard.conf.sample ${DESTDIR}${PREFIX}/share/examples/py-carddav .include "../../lang/python/application.mk" +.include "../../lang/python/distutils.mk" .include "../../mk/bsd.pkg.mk" diff --git a/misc/py-carddav/PLIST b/misc/py-carddav/PLIST index c07c5357346..666e7ac2dad 100644 --- a/misc/py-carddav/PLIST +++ b/misc/py-carddav/PLIST @@ -1,6 +1,29 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2012/01/08 15:20:31 wiz Exp $ +@comment $NetBSD: PLIST,v 1.2 2013/06/16 10:25:09 wiz Exp $ bin/pc_query +bin/pycard-import bin/pycardsyncer -share/doc/py-carddav/README.html +${PYSITELIB}/${EGG_FILE}/PKG-INFO +${PYSITELIB}/${EGG_FILE}/SOURCES.txt +${PYSITELIB}/${EGG_FILE}/dependency_links.txt +${PYSITELIB}/${EGG_FILE}/top_level.txt +${PYSITELIB}/pycarddav/__init__.py +${PYSITELIB}/pycarddav/__init__.pyc +${PYSITELIB}/pycarddav/__init__.pyo +${PYSITELIB}/pycarddav/backend.py +${PYSITELIB}/pycarddav/backend.pyc +${PYSITELIB}/pycarddav/backend.pyo +${PYSITELIB}/pycarddav/carddav.py +${PYSITELIB}/pycarddav/carddav.pyc +${PYSITELIB}/pycarddav/carddav.pyo +${PYSITELIB}/pycarddav/controllers.py +${PYSITELIB}/pycarddav/controllers.pyc +${PYSITELIB}/pycarddav/controllers.pyo +${PYSITELIB}/pycarddav/model.py +${PYSITELIB}/pycarddav/model.pyc +${PYSITELIB}/pycarddav/model.pyo +${PYSITELIB}/pycarddav/ui.py +${PYSITELIB}/pycarddav/ui.pyc +${PYSITELIB}/pycarddav/ui.pyo share/doc/py-carddav/README.rst +share/doc/py-carddav/README.txt share/examples/py-carddav/pycard.conf.sample diff --git a/misc/py-carddav/distinfo b/misc/py-carddav/distinfo index aab4a51b34e..649be1a3d3e 100644 --- a/misc/py-carddav/distinfo +++ b/misc/py-carddav/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.4 2012/08/11 12:03:59 wiz Exp $ +$NetBSD: distinfo,v 1.5 2013/06/16 10:25:09 wiz Exp $ -SHA1 (pycarddav0.3.4.tgz) = b8782dd3cbb2fab063ff4566f7592a532a897bf3 -RMD160 (pycarddav0.3.4.tgz) = 828a56b86ed156780047ca1f58760be9d4fc5411 -Size (pycarddav0.3.4.tgz) = 9994 bytes +SHA1 (pyCardDAV-0.5.0.tar.gz) = 5d56f109fe9bc3c4a048e5c40702d4d49056e01b +RMD160 (pyCardDAV-0.5.0.tar.gz) = 056729a6b0cb72fb29c62cd0b4c184b55227eb99 +Size (pyCardDAV-0.5.0.tar.gz) = 29864 bytes -- cgit v1.2.3