diff options
author | wiz <wiz> | 2012-01-08 15:20:31 +0000 |
---|---|---|
committer | wiz <wiz> | 2012-01-08 15:20:31 +0000 |
commit | 019307cb4d9f77b31c08051f0299e385d70dcdb9 (patch) | |
tree | a5f0d24ce0a0beb08310afb682a837b4cc9fa502 /misc | |
parent | afa21d7d475eed1a8da93657cdeb6b41edba08b2 (diff) | |
download | pkgsrc-019307cb4d9f77b31c08051f0299e385d70dcdb9.tar.gz |
Initial import of py-carddav-0.3.1:
pyCardDAV is supposed to provide a simple way of accessing a CardDAV
resource, mainly for use with mutt's query_command, but it might
be of some use solo. 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.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/py-carddav/DESCR | 5 | ||||
-rw-r--r-- | misc/py-carddav/Makefile | 41 | ||||
-rw-r--r-- | misc/py-carddav/PLIST | 6 | ||||
-rw-r--r-- | misc/py-carddav/distinfo | 5 |
4 files changed, 57 insertions, 0 deletions
diff --git a/misc/py-carddav/DESCR b/misc/py-carddav/DESCR new file mode 100644 index 00000000000..485345fe701 --- /dev/null +++ b/misc/py-carddav/DESCR @@ -0,0 +1,5 @@ +pyCardDAV is supposed to provide a simple way of accessing a CardDAV +resource, mainly for use with mutt's query_command, but it might +be of some use solo. 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. diff --git a/misc/py-carddav/Makefile b/misc/py-carddav/Makefile new file mode 100644 index 00000000000..ba8f0e715af --- /dev/null +++ b/misc/py-carddav/Makefile @@ -0,0 +1,41 @@ +# $NetBSD: Makefile,v 1.1.1.1 2012/01/08 15:20:31 wiz Exp $ +# + +DISTNAME= pycarddav0.3.1 +PKGNAME= ${DISTNAME:S/pycarddav/${PYPKGPREFIX}-carddav-/} +CATEGORIES= misc +MASTER_SITES= http://pycarddav.lostpackets.de/download/ +EXTRACT_SUFX= .tgz + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://pycarddav.lostpackets.de/ +COMMENT= Simple way of accessing a CardDAV resource +LICENSE= beer-ware + +DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3 +DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml +DEPENDS+= ${PYPKGPREFIX}-vobject-[0-9]*:../../textproc/py-vobject +DEPENDS+= ${PYPKGPREFIX}-curl-[0-9]*:../../www/py-curl + +PKG_DESTDIR_SUPPORT= user-destdir + +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 + +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 + ${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 "../../mk/bsd.pkg.mk" diff --git a/misc/py-carddav/PLIST b/misc/py-carddav/PLIST new file mode 100644 index 00000000000..c07c5357346 --- /dev/null +++ b/misc/py-carddav/PLIST @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2012/01/08 15:20:31 wiz Exp $ +bin/pc_query +bin/pycardsyncer +share/doc/py-carddav/README.html +share/doc/py-carddav/README.rst +share/examples/py-carddav/pycard.conf.sample diff --git a/misc/py-carddav/distinfo b/misc/py-carddav/distinfo new file mode 100644 index 00000000000..eacfbac1c62 --- /dev/null +++ b/misc/py-carddav/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2012/01/08 15:20:31 wiz Exp $ + +SHA1 (pycarddav0.3.1.tgz) = efaaa98a76540d5a4c0134e5ede895ec3bb67a81 +RMD160 (pycarddav0.3.1.tgz) = f106eed2bf6b4dc6aa8fc2a607350e70de46e030 +Size (pycarddav0.3.1.tgz) = 8486 bytes |