summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Solano Gómez <daniel@solanogomez.org>2017-10-24 18:05:30 -0500
committerDaniel Solano Gómez <daniel@solanogomez.org>2017-10-24 18:05:30 -0500
commite10419923047c0a2dbfc95fbe04022afbaff429f (patch)
tree42f6e5360810cb8c3e509a193dba1aaf08f3a69f /dev-python
parentRemove app-misc/todotxt, in tree (diff)
downloadsattvik-e10419923047c0a2dbfc95fbe04022afbaff429f.tar.gz
sattvik-e10419923047c0a2dbfc95fbe04022afbaff429f.tar.bz2
sattvik-e10419923047c0a2dbfc95fbe04022afbaff429f.zip
Add google USE flag to vdirsyncer
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/vdirsyncer/Manifest3
-rw-r--r--dev-python/vdirsyncer/metadata.xml3
-rw-r--r--dev-python/vdirsyncer/vdirsyncer-0.16.3-r1.ebuild50
3 files changed, 55 insertions, 1 deletions
diff --git a/dev-python/vdirsyncer/Manifest b/dev-python/vdirsyncer/Manifest
index e7647f0..3d436e1 100644
--- a/dev-python/vdirsyncer/Manifest
+++ b/dev-python/vdirsyncer/Manifest
@@ -1,3 +1,4 @@
DIST vdirsyncer-0.16.3.tar.gz 113327 SHA256 fc5f6c5225d588b01ee225358a7c096283896a2a26a4f02c9651cf93a25bfc36 SHA512 8f71cc71527d68836405722b4be03695b9010f72729c1c9b6d0199996bcf6821628a26297ff2d3a45047910618d570566e00edefccc428d29ba9fc9033caddff WHIRLPOOL 21d2185f05cf95e586bdbb4585a7782ec8892207b96ce149059f722c00e5c2cc746d282ecd1a3169e404e6b454cd7fb1adab7fa75b66933c5caa68d485d7f0c0
+EBUILD vdirsyncer-0.16.3-r1.ebuild 1495 SHA256 95f367827519b5f567484165a24c144f089a5c55a7944dfbba841717ce45e382 SHA512 3e9bd042dc01d466077e733caf6a523469918670ea7eacfb3e64e51fc51686f0a00dda38d0de9cde174f06a9c0757e10facdffb6a0d6f6b57231540e13677dbc WHIRLPOOL e1283647dd36fe853038fd9f9711ceecd076869728d26ac4bfa546bcdab4f1d53edfbd20afb2c967f324c52db5aca397fdf89faa41d6145ef39f7c8affc382d9
EBUILD vdirsyncer-0.16.3.ebuild 1425 SHA256 7b8988c837ef8042019c916e65deb94b4dbce6b0e4f3370eb6c9981fdcbe4896 SHA512 04688dd157d3773cc625d04ca73989b90a85c556a22672b7e7dac1187c10869e42a11f3cec1a538553ab1b909b025817b29b16c773c3b5b75ae1cd8512776610 WHIRLPOOL 6de899d83a2bd5a506dd172d02e61f1b283034f72469c561f3833d795f334975516f808b25e22d9c2b1f98258ec9c00e6e1e3cdbccc6582728de48dee0abed69
-MISC metadata.xml 390 SHA256 19bf93216340263c058461161172ab52769f823c5f2469e1bed5ef61bd28a36c SHA512 d75b91b5a4ae6a7edd7a310f4b6658ee0a7ac7a82c551a600038fe1b9875d54efd3dbd6df2335989b8b26ff3f0d57c3b24ad81de722f0ca29fbed3c042eeaf2c WHIRLPOOL 672fdc29ac42e66272f46513893bcfbe53188c90306074de62460264312179932854c614f78ac52572470d0bff4a2a4676e99efa637cd1d0531cfc146cc145db
+MISC metadata.xml 471 SHA256 c63dc179925d119493211485a3a06a86d10e85add03d4f6d55fac478c85e6040 SHA512 492ecefeb0f280f6bb7bf340c553ee60ef455f4009dda34f649a2811e7b8a8ea3e290ce590c89d3b4af6967a41eb348b68b068272185c1d3c5ec368fc2c57a0a WHIRLPOOL 07df517d86b04b19ba212e39b63bdc338fa264386dfd1fb0573335887e034a107efc0a5dc9d2f2d997bc3efd37dc5281235ffe0225222e678ad6a00c86204a3f
diff --git a/dev-python/vdirsyncer/metadata.xml b/dev-python/vdirsyncer/metadata.xml
index ab54d0f..594b394 100644
--- a/dev-python/vdirsyncer/metadata.xml
+++ b/dev-python/vdirsyncer/metadata.xml
@@ -9,4 +9,7 @@
<remote-id type="github">pimutils/vdirsyncer</remote-id>
<remote-id type="pypi">vdirsyncer</remote-id>
</upstream>
+ <use>
+ <flag name='google'>Adds support for syncing with Google</flag>
+ </use>
</pkgmetadata>
diff --git a/dev-python/vdirsyncer/vdirsyncer-0.16.3-r1.ebuild b/dev-python/vdirsyncer/vdirsyncer-0.16.3-r1.ebuild
new file mode 100644
index 0000000..e5eca06
--- /dev/null
+++ b/dev-python/vdirsyncer/vdirsyncer-0.16.3-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python3_{4,5,6} )
+PYTHON_REQ_USE="sqlite"
+
+inherit distutils-r1
+
+DESCRIPTION="Synchronize calendars and contacts"
+HOMEPAGE="https://github.com/pimutils/vdirsyncer"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="google test"
+
+RDEPEND=">=dev-python/click-5.0[${PYTHON_USEDEP}]
+ =dev-python/click-log-0.2*[${PYTHON_USEDEP}]
+ >=dev-python/click-threading-0.2[${PYTHON_USEDEP}]
+ >=dev-python/requests-2.4.1[${PYTHON_USEDEP}]
+ !=dev-python/requests-2.9.0[${PYTHON_USEDEP}]
+ >=dev-python/requests-toolbelt-0.4.0[${PYTHON_USEDEP}]
+ >=dev-python/atomicwrites-0.1.7[${PYTHON_USEDEP}]
+ google? (
+ dev-python/requests-oauthlib[${PYTHON_USEDEP}]
+ )"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ dev-python/setuptools_scm[${PYTHON_USEDEP}]
+ test? (
+ >=dev-python/hypothesis-3.1[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/pytest-localserver[${PYTHON_USEDEP}]
+ dev-python/pytest-subtesthack[${PYTHON_USEDEP}]
+ )"
+
+DOCS=( AUTHORS.rst CHANGELOG.rst CONTRIBUTING.rst README.rst config.example )
+
+python_test() {
+ # skip tests needing servers running
+ local -x DAV_SERVER=skip
+ local -x REMOTESTORAGE_SERVER=skip
+ # pytest dies hard if the envvars do not have any value...
+ local -x CI=false
+ local -x DETERMINISTIC_TESTS=false
+ py.test -v || die "Tests fail with ${EPYTHON}"
+}