From 50a5baf57acbc6cdd3436fd85786bf25ea8bf26b Mon Sep 17 00:00:00 2001 From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Date: Mon, 15 Mar 2021 10:25:10 +0000 Subject: [PATCH] todoman: depend on python-tabulate Also, update resources. Closes #73182. Signed-off-by: Sean Molenaar <1484494+SMillerDev@users.noreply.github.com> Signed-off-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> --- Formula/todoman.rb | 15 ++++++--------- pypi_formula_mappings.json | 3 +++ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Formula/todoman.rb b/Formula/todoman.rb index f1a8dbbb486..fe61fddd60f 100644 --- a/Formula/todoman.rb +++ b/Formula/todoman.rb @@ -6,6 +6,7 @@ class Todoman < Formula url "https://files.pythonhosted.org/packages/05/7f/6387b4c886c88e983931dfdef884177495cbafaebe7d239c01406d8b5f6a/todoman-3.9.0.tar.gz" sha256 "e7e5cab13ecce0562b1f13f46ab8cbc079caed4b462f2371929f8a4abff2bcbe" license "ISC" + revision 1 head "https://github.com/pimutils/todoman.git" bottle do @@ -15,6 +16,7 @@ class Todoman < Formula sha256 cellar: :any_skip_relocation, mojave: "33524bd7330f99979230051bf8a8f6d4e173ab4dac6dc9dece6667582e1b28da" end + depends_on "python-tabulate" depends_on "python@3.9" conflicts_with "devtodo", because: "both install a `todo` binary" @@ -40,8 +42,8 @@ class Todoman < Formula end resource "humanize" do - url "https://files.pythonhosted.org/packages/61/b2/1d04b65aa3b47aacff465b5c8937c8620fce710ad73ac3b15facb1ede188/humanize-3.1.0.tar.gz" - sha256 "fd3eb915310335c63a54d4507289ecc7b3a7454cd2c22ac5086d061a3cbfd592" + url "https://files.pythonhosted.org/packages/64/f1/2fb00b5db6ece093d47fa8d0afc0634683c06bc8f0d0dd2a2457905d8456/humanize-3.2.0.tar.gz" + sha256 "ab69004895689951b79f2ae4fdd6b8127ff0c180aff107856d5d98119a33f026" end resource "icalendar" do @@ -60,8 +62,8 @@ class Todoman < Formula end resource "pytz" do - url "https://files.pythonhosted.org/packages/09/07/448a8887c7195450604dfc0305d80d74324c36ee18ed997664051d4bffe3/pytz-2020.4.tar.gz" - sha256 "3e6b7dd2d1e0a59084bcee14a17af60c5c562cdc16d828e8eba2e683d3a7e268" + url "https://files.pythonhosted.org/packages/b0/61/eddc6eb2c682ea6fd97a7e1018a6294be80dba08fa28e7a3570148b4612d/pytz-2021.1.tar.gz" + sha256 "83a4a90894bf38e243cf052c8b58f381bfe9a7a483f6a9cab140bc7f702ac4da" end resource "pyxdg" do @@ -74,11 +76,6 @@ class Todoman < Formula sha256 "30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259" end - resource "tabulate" do - url "https://files.pythonhosted.org/packages/57/6f/213d075ad03c84991d44e63b6516dd7d185091df5e1d02a660874f8f7e1e/tabulate-0.8.7.tar.gz" - sha256 "db2723a20d04bcda8522165c73eea7c300eda74e0ce852d9022e0159d7895007" - end - resource "urwid" do url "https://files.pythonhosted.org/packages/94/3f/e3010f4a11c08a5690540f7ebd0b0d251cc8a456895b7e49be201f73540c/urwid-2.1.2.tar.gz" sha256 "588bee9c1cb208d0906a9f73c613d2bd32c3ed3702012f51efe318a3f2127eae" diff --git a/pypi_formula_mappings.json b/pypi_formula_mappings.json index da85851eb11..73d7ead1d5f 100644 --- a/pypi_formula_mappings.json +++ b/pypi_formula_mappings.json @@ -41,6 +41,9 @@ "scipy": { "exclude_packages": ["numpy"] }, + "todoman": { + "exclude_packages": ["tabulate"] + }, "xdot": { "extra_packages": ["graphviz"] },