From 6550e67e2756b58feb80974b2f711288ff55fda9 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Tue, 22 Dec 2015 05:15:08 +0000 Subject: [PATCH] The purpose of GooBook is to make it possible to use your Google Contacts from the command-line and from MUAs such as Mutt. It can be used from Mutt the same way as abook. WWW: https://gitlab.com/goobook/goobook PR: 205150 Submitted by: Randy Westlund Approved by: mat (mentor) Differential Revision: D4631 --- www/Makefile | 1 + www/py-goobook/Makefile | 29 +++++++++++++++++++++++++++++ www/py-goobook/distinfo | 2 ++ www/py-goobook/pkg-descr | 5 +++++ 4 files changed, 37 insertions(+) create mode 100644 www/py-goobook/Makefile create mode 100644 www/py-goobook/distinfo create mode 100644 www/py-goobook/pkg-descr diff --git a/www/Makefile b/www/Makefile index e7542c294aff..5ee64bf2a02c 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1617,6 +1617,7 @@ SUBDIR += py-funkload SUBDIR += py-gandi.cli SUBDIR += py-gevent-websocket + SUBDIR += py-goobook SUBDIR += py-google SUBDIR += py-google-api-python-client SUBDIR += py-graphite-web diff --git a/www/py-goobook/Makefile b/www/py-goobook/Makefile new file mode 100644 index 000000000000..f7771c12f886 --- /dev/null +++ b/www/py-goobook/Makefile @@ -0,0 +1,29 @@ +# Created by: Randy Westlund +# $FreeBSD$ + +PORTNAME= goobook +PORTVERSION= 1.9 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= rwestlun@gmail.com +COMMENT= Search your Google contacts from the command-line or Mutt + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}oauth2client>=1.4.12:${PORTSDIR}/security/py-oauth2client \ + ${PYTHON_PKGNAMEPREFIX}gdata>=2.0.18:${PORTSDIR}/devel/py-gdata \ + ${PYTHON_PKGNAMEPREFIX}simplejson>=2.1.0:${PORTSDIR}/devel/py-simplejson \ + ${PYTHON_PKGNAMEPREFIX}httplib2>=0.9.1:${PORTSDIR}/www/py-httplib2 + +NO_ARCH= yes +USES= python:-2.7 +USE_PYTHON= autoplist distutils +PLIST_FILES= man/man1/goobook.1.gz + +post-stage: + ${INSTALL_DATA} ${WRKSRC}/goobook.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + +.include diff --git a/www/py-goobook/distinfo b/www/py-goobook/distinfo new file mode 100644 index 000000000000..f81b9f17d3b2 --- /dev/null +++ b/www/py-goobook/distinfo @@ -0,0 +1,2 @@ +SHA256 (goobook-1.9.tar.gz) = 311cb344d285e8af36dcd4546d3bd499939140287a12b2d509ea6f2535c2b50b +SIZE (goobook-1.9.tar.gz) = 29274 diff --git a/www/py-goobook/pkg-descr b/www/py-goobook/pkg-descr new file mode 100644 index 000000000000..d59fa7ac99e7 --- /dev/null +++ b/www/py-goobook/pkg-descr @@ -0,0 +1,5 @@ +The purpose of GooBook is to make it possible to use your Google Contacts from +the command-line and from MUAs such as Mutt. It can be used from Mutt the same +way as abook. + +WWW: https://gitlab.com/goobook/goobook