vdirsyncer: fix remotestorage, add google
Closes #11816. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
853974f9ab
commit
5b5044470e
1 changed files with 13 additions and 0 deletions
|
@ -14,6 +14,7 @@ class Vdirsyncer < Formula
|
||||||
end
|
end
|
||||||
|
|
||||||
option "with-remotestorage", "Build with support for remote-storage"
|
option "with-remotestorage", "Build with support for remote-storage"
|
||||||
|
option "with-google", "Build with support for google storage types"
|
||||||
|
|
||||||
depends_on :python3
|
depends_on :python3
|
||||||
|
|
||||||
|
@ -47,6 +48,18 @@ class Vdirsyncer < Formula
|
||||||
sha256 "c3843884269d79e492522f3e9f490917e074c1ddbb80111968970e721fe36eaf"
|
sha256 "c3843884269d79e492522f3e9f490917e074c1ddbb80111968970e721fe36eaf"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if (build.with? "remotestorage") || (build.with? "google")
|
||||||
|
resource "oauthlib" do
|
||||||
|
url "https://files.pythonhosted.org/packages/fa/2e/25f25e6c69d97cf921f0a8f7d520e0ef336dd3deca0142c0b634b0236a90/oauthlib-2.0.2.tar.gz"
|
||||||
|
sha256 "b3b9b47f2a263fe249b5b48c4e25a5bce882ff20a0ac34d553ce43cff55b53ac"
|
||||||
|
end
|
||||||
|
|
||||||
|
resource "requests-oauthlib" do
|
||||||
|
url "https://files.pythonhosted.org/packages/80/14/ad120c720f86c547ba8988010d5186102030591f71f7099f23921ca47fe5/requests-oauthlib-0.8.0.tar.gz"
|
||||||
|
sha256 "883ac416757eada6d3d07054ec7092ac21c7f35cb1d2cf82faf205637081f468"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
def install
|
def install
|
||||||
virtualenv_create(libexec, "python3")
|
virtualenv_create(libexec, "python3")
|
||||||
virtualenv_install_with_resources
|
virtualenv_install_with_resources
|
||||||
|
|
Loading…
Reference in a new issue