Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

icloudpd 1.17.4 #168596

Merged
merged 2 commits into from
Apr 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/autobump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -924,6 +924,7 @@ i2p
i2pd
iamy
ibazel
icloudpd
ignite
igraph
igv
Expand Down
40 changes: 15 additions & 25 deletions Formula/i/icloudpd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ class Icloudpd < Formula

desc "Tool to download photos from iCloud"
homepage "https://github.com/icloud-photos-downloader/icloud_photos_downloader"
url "https://github.com/icloud-photos-downloader/icloud_photos_downloader/archive/refs/tags/v1.17.3.tar.gz"
sha256 "76e500d64ce491bf987bf1c6999276c138bedb016f9111ae40e33d26b9f17c49"
url "https://github.com/icloud-photos-downloader/icloud_photos_downloader/archive/refs/tags/v1.17.4.tar.gz"
sha256 "a6c590dcc96415c56a60da134ed48a21b639c09de5fafcccd2faa837fe5fc4c5"
license "MIT"
head "https://github.com/icloud-photos-downloader/icloud_photos_downloader.git", branch: "master"

bottle do
sha256 cellar: :any_skip_relocation, arm64_sonoma: "65a7a3caafb04712198a2c21a27c5c08a8e902628f65cdb2cc243b5903575961"
sha256 cellar: :any_skip_relocation, arm64_ventura: "ad20d559839485e31f3d83470f00b8debe58ef6102edb12220f40c824fe6c4d8"
sha256 cellar: :any_skip_relocation, arm64_monterey: "971bcb057f149373596d09ac08a40ff5a3095b4cdd6321b74c115aad51a12ecf"
sha256 cellar: :any_skip_relocation, sonoma: "fe9db6bcd641915d5b205a5102ce74712c59c131d73f381a2e2c3820c2ceb670"
sha256 cellar: :any_skip_relocation, ventura: "20b5e8d2c65698f0d4eaa9c1a826565528224b9f178a00f1cb7a1dd7564654f0"
sha256 cellar: :any_skip_relocation, monterey: "6e43602bdd08c567b8ec9084aa68f11de244222938069cd2caecc4a08a94b94d"
sha256 cellar: :any_skip_relocation, x86_64_linux: "078ed3972d7c52928f67c5fbe156c6ed91d92b788922cd187262f067c57c830c"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "6c48191309ee5ab2ff039fa1cdba31a94acdb1285ef328dc02afd3439fbd2c9b"
sha256 cellar: :any_skip_relocation, arm64_ventura: "6c48191309ee5ab2ff039fa1cdba31a94acdb1285ef328dc02afd3439fbd2c9b"
sha256 cellar: :any_skip_relocation, arm64_monterey: "6c48191309ee5ab2ff039fa1cdba31a94acdb1285ef328dc02afd3439fbd2c9b"
sha256 cellar: :any_skip_relocation, sonoma: "c4c1d55635571925a03c61d3ba9406ad7e17cacf32ca605500dde169897f1cd6"
sha256 cellar: :any_skip_relocation, ventura: "c4c1d55635571925a03c61d3ba9406ad7e17cacf32ca605500dde169897f1cd6"
sha256 cellar: :any_skip_relocation, monterey: "c4c1d55635571925a03c61d3ba9406ad7e17cacf32ca605500dde169897f1cd6"
sha256 cellar: :any_skip_relocation, x86_64_linux: "8eb3d3b91c12ac444c68a44e94f85cfc117d835a1e59d744ee0a4249a3b9d83c"
end

depends_on "[email protected]"
Expand Down Expand Up @@ -45,14 +45,9 @@ class Icloudpd < Formula
sha256 "9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca"
end

resource "importlib-metadata" do
url "https://files.pythonhosted.org/packages/90/b4/206081fca69171b4dc1939e77b378a7b87021b0f43ce07439d49d8ac5c84/importlib_metadata-7.0.1.tar.gz"
sha256 "f238736bb06590ae52ac1fab06a3a9ef1d8dce2b7a35b5ab329371d6c8f5d2cc"
end

resource "jaraco-classes" do
url "https://files.pythonhosted.org/packages/8b/de/d0a466824ce8b53c474bb29344e6d6113023eb2c3793d1c58c0908588bfa/jaraco.classes-3.3.0.tar.gz"
sha256 "c063dd08e89217cee02c8d5e5ec560f2c8ce6cdc2fcdc2e68f7b2e5547ed3621"
url "https://files.pythonhosted.org/packages/06/c0/ed4a27bc5571b99e3cff68f8a9fa5b56ff7df1c2251cc715a652ddd26402/jaraco.classes-3.4.0.tar.gz"
sha256 "47a024b51d0239c0dd8c8540c6c7f484be3b8fcf0b2d85c13825780d3b3f3acd"
end

resource "keyring" do
Expand Down Expand Up @@ -111,8 +106,8 @@ class Icloudpd < Formula
end

resource "tzdata" do
url "https://files.pythonhosted.org/packages/4d/60/acd18ca928cc20eace3497b616b6adb8ce1abc810dd4b1a22bc6bdefac92/tzdata-2023.4.tar.gz"
sha256 "dd54c94f294765522c77399649b4fefd95522479a664a0cec87f41bebc6148c9"
url "https://files.pythonhosted.org/packages/74/5b/e025d02cb3b66b7b76093404392d4b44343c69101cc85f4d180dd5784717/tzdata-2024.1.tar.gz"
sha256 "2674120f8d891909751c38abcdfd386ac0a5a1127954fbc332af6b5ceae07efd"
end

resource "tzlocal" do
Expand All @@ -125,19 +120,14 @@ class Icloudpd < Formula
sha256 "8f135f6502756bde6b2a9b28989df5fbe87c9970cecaa69041edcce7f0589b14"
end

resource "zipp" do
url "https://files.pythonhosted.org/packages/58/03/dd5ccf4e06dec9537ecba8fcc67bbd4ea48a2791773e469e73f94c3ba9a6/zipp-3.17.0.tar.gz"
sha256 "84e64a1c28cf7e91ed2078bb8cc8c259cb19b76942096c8d7b84947690cabaf0"
end

def install
virtualenv_install_with_resources
end

test do
assert_match version.to_s, shell_output(bin/"icloudpd --version")

output = shell_output(bin/"icloudpd -u brew@brew.sh -p brew --auth-only 2>&1", 1)
assert_match "Invalid username/password combination", output
output = shell_output(bin/"icloudpd -u brew -p brew --auth-only 2>&1", 1)
assert_match "Authenticating...", output
end
end
Loading