summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/goobook')
-rw-r--r--app-misc/goobook/Manifest1
-rw-r--r--app-misc/goobook/goobook-3.3.ebuild46
-rw-r--r--app-misc/goobook/metadata.xml15
3 files changed, 58 insertions, 4 deletions
diff --git a/app-misc/goobook/Manifest b/app-misc/goobook/Manifest
index dba580029f06..ccb19502b272 100644
--- a/app-misc/goobook/Manifest
+++ b/app-misc/goobook/Manifest
@@ -1 +1,2 @@
DIST goobook-1.9.tar.gz 29274 BLAKE2B 1c2b0b04a7bd21135395d9c3965095973d6a67a9ecb1a6bbe948864eb8bd0e4ed86197de6f5545ce112cc8538abb5ab9fb773b72b569bc9f16c67dcbcd432d5e SHA512 66d017bfa0fcad39d24b80e454d4d2e97f92a95f6dbf545739b89721b8c44702177a7f656d9cf1f38ac8278f235935afe666047cbfb64733f8deae6838f91d81
+DIST goobook-3.3.tar.gz 34964 BLAKE2B f57a0252467220e734b95714c4086bdf233902dbd93fe9259504a2aee5d8f6c51775d0aa94574defd37dd80673e1483c46eef52154f4f99f20fa6abd1f7545ac SHA512 3921d25b55b35dc18944f8ed700e0f23ab1ad51131a4b98469b0b6a1688ddd79d31c16b36600b4f7b003be64964b3c2c78a257b28805b26ae697bf405d77c409
diff --git a/app-misc/goobook/goobook-3.3.ebuild b/app-misc/goobook/goobook-3.3.ebuild
new file mode 100644
index 000000000000..214c67fd4524
--- /dev/null
+++ b/app-misc/goobook/goobook-3.3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+PYTHON_COMPAT=( python3_{6,7} )
+
+inherit distutils-r1 readme.gentoo-r1
+
+DESCRIPTION="Access your Google contacts from the command line"
+HOMEPAGE="https://gitlab.com/goobook/goobook"
+SRC_URI="mirror://pypi/g/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ >=dev-python/google-api-python-client-1.6.4[${PYTHON_USEDEP}]"
+# dev-python/{simplejson,oauth2client} are deps for the above
+
+DEPEND="${PYTHON_DEPS}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+DISABLE_AUTOFORMATTING=1
+DOC_CONTENTS="
+To setup initial authentication, execute:
+
+~ $ goobook authenticate
+
+If you want to use goobook from mutt, add this in your .muttrc file:
+ set query_command=\"goobook query '%s'\"
+to query address book.
+
+You may find more information and advanced configuration tips at
+https://pypi.org/project/${PN}/${PV} in \"Configure/Mutt\" section"
+
+src_install() {
+ distutils-r1_src_install
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
+}
diff --git a/app-misc/goobook/metadata.xml b/app-misc/goobook/metadata.xml
index df79387b9d9e..7502096e1290 100644
--- a/app-misc/goobook/metadata.xml
+++ b/app-misc/goobook/metadata.xml
@@ -1,8 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<!-- maintainer-needed -->
- <upstream>
- <remote-id type="pypi">goobook</remote-id>
- </upstream>
+ <maintainer type="person">
+ <name>Kalin KOZHUHAROV</name>
+ <email>kalin@thinrope.net</email>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">goobook</remote-id>
+ </upstream>
</pkgmetadata>