1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

[NEW] www/pycarddav: Simple to use CardDAV CLI client

pyCardDAV is a simple to use CardDAV CLI client. It has built in support for
mutt's query_command but also works very well solo (and with other MUAs).

pyCardDAV consists of pycardsyncer, a program for syncing your CardDAV
resource into a local database and of pc_query, a program for querying the
local database.

Features:

  * Tested against davical, owncloud and sabredav
  * Import the sender's address directly from mutt
  * Add email addresses directly from mutt
  * Backup and import to and from .vcf files

WWW: http://lostpackets.de/pycarddav

PR:		189098 (with changes)
Submitted by:	Samir Noir <samir noir im>
This commit is contained in:
Kubilay Kocak 2015-01-18 08:35:11 +00:00
parent 3de7a12258
commit 901c87bcbb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=377285
5 changed files with 63 additions and 0 deletions

View File

@ -1717,6 +1717,7 @@
SUBDIR += py-wsgidav
SUBDIR += py-zope.app.wsgi
SUBDIR += pyblosxom
SUBDIR += pycarddav
SUBDIR += pydio
SUBDIR += pyjamas
SUBDIR += pylot

39
www/pycarddav/Makefile Normal file
View File

@ -0,0 +1,39 @@
# $FreeBSD$
PORTNAME= pycarddav
PORTVERSION= 0.7.0
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pyCardDAV-${PORTVERSION}
MAINTAINER= samir@noir.im
COMMENT= Simple to use CardDAV CLI client
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:${PORTSDIR}/www/py-requests \
${PYTHON_PKGNAMEPREFIX}vobject>0:${PORTSDIR}/deskutils/py-vobject \
${PYTHON_PKGNAMEPREFIX}urwid>0:${PORTSDIR}/devel/py-urwid \
${PYTHON_PKGNAMEPREFIX}xdg>0:${PORTSDIR}/devel/py-xdg \
${PYTHON_PKGNAMEPREFIX}lxml>0:${PORTSDIR}/devel/py-lxml \
${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3
USES= python:2
USE_PYTHON= autoplist distutils
PLIST_FILES+= man/man1/pc_query.1.gz \
man/man1/pycard-import.1.gz \
man/man1/pycardsyncer.1.gz
PORTEXAMPLES= pycard.conf.sample
SUB_FILES= pkg-message
post-install:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/pycard.conf.sample ${STAGEDIR}${EXAMPLESDIR}/pycard.conf.sample
${INSTALL_MAN} ${WRKSRC}/doc/man/*.1 ${STAGEDIR}${PREFIX}/man/man1
.include <bsd.port.mk>

2
www/pycarddav/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (pyCardDAV-0.7.0.tar.gz) = a86bca36e361ce194d5fb49295f1ad1b0ed4a4c0759f3d40f8703b1d2fcb732b
SIZE (pyCardDAV-0.7.0.tar.gz) = 36677

View File

@ -0,0 +1,6 @@
Please copy the sample configuration file located in:
%%PREFIX%%/share/examples/pycarddav/
to your home directory in ~/.pycard/ or ~/.config/pycard/

15
www/pycarddav/pkg-descr Normal file
View File

@ -0,0 +1,15 @@
pyCardDAV is a simple to use CardDAV CLI client. It has built in support for
mutt's query_command but also works very well solo (and with other MUAs).
pyCardDAV consists of pycardsyncer, a program for syncing your CardDAV
resource into a local database and of pc_query, a program for querying the
local database.
Features:
* Tested against davical, owncloud and sabredav
* Import the sender's address directly from mutt
* Add email addresses directly from mutt
* Backup and import to and from .vcf files
WWW: http://lostpackets.de/pycarddav