Skip to content

Commit

Permalink
app-misc/goobook: Bump to 3.3
Browse files Browse the repository at this point in the history
* support for python-3.{6,7}
* removed indirect dependencies
* EAPI=7
* fixed syntax per PR conversation
* added /self as proxy maintainer

Bug: https://bugs.gentoo.org/686384
Reported-by: Kalin KOZHUHAROV <kalin@thinrope.net>
Signed-off-by: Kalin KOZHUHAROV <kalin@thinrope.net>
Related: https://bugs.gentoo.org/678398
Closes: #12061
Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>
  • Loading branch information
Kalin KOZHUHAROV authored and titanofold committed May 21, 2019
1 parent 371b252 commit 377b0ff
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 4 deletions.
1 change: 1 addition & 0 deletions app-misc/goobook/Manifest
Original file line number Diff line number Diff line change
@@ -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
46 changes: 46 additions & 0 deletions app-misc/goobook/goobook-3.3.ebuild
Original file line number Diff line number Diff line change
@@ -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
}
15 changes: 11 additions & 4 deletions app-misc/goobook/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit 377b0ff

Please sign in to comment.