Skip to content

Commit

Permalink
Merge pull request #163273 from timsutton/goolabs-vendor-python-deps
Browse files Browse the repository at this point in the history
goolabs: vendor Python deps
  • Loading branch information
BrewTestBot committed Feb 19, 2024
2 parents e5cd5d0 + f4cf045 commit 7217167
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 18 deletions.
59 changes: 42 additions & 17 deletions Formula/g/goolabs.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
class Goolabs < Formula
include Language::Python::Virtualenv

desc "Command-line tool for morphologically analyzing Japanese language"
homepage "https://pypi.python.org/pypi/goolabs"
url "https://files.pythonhosted.org/packages/ce/86/2d3b5bd85311ee3a7ae7a661b3619095431503cd0cae03048c646b700cad/goolabs-0.4.0.tar.gz"
Expand All @@ -7,28 +9,51 @@ class Goolabs < Formula
revision 8

bottle do
rebuild 1
sha256 cellar: :any_skip_relocation, arm64_sonoma: "dc22ccfb139d1b5d9182e00ec095b5f53a67d2570c572102a73387cfe3234686"
sha256 cellar: :any_skip_relocation, arm64_ventura: "4f0bd55b28ccc5b9ebbec680d617a787887b91719cf273abc66f0236295c8f20"
sha256 cellar: :any_skip_relocation, arm64_monterey: "d2f0cb3e6d48d4bfa753a7d047707a053636874b60364406de13b3e4ce576825"
sha256 cellar: :any_skip_relocation, sonoma: "5f775dc815f2f41287e19db174a5d7e99254c80dced2811e2ec6b3bad909f844"
sha256 cellar: :any_skip_relocation, ventura: "b04b263c9d5f2e802c330013141a30ff8a1f6084a574f8024fdea9bcbdcd458c"
sha256 cellar: :any_skip_relocation, monterey: "2fc7dcfaf17d51aa952104e2ca09f2b143860d3144bc1b1552f8aa9187799eb8"
sha256 cellar: :any_skip_relocation, x86_64_linux: "359ad52e29bc76fefc5b2e26ccf3f91876244c578f48b8768c1f598532c4d116"
end

depends_on "python-setuptools" => :build
depends_on "python-click"
depends_on "python-requests"
rebuild 2
sha256 cellar: :any_skip_relocation, arm64_sonoma: "9197336210096dd3367ed827475926b84bf0bb9d934a00c1aba7b82b68796463"
sha256 cellar: :any_skip_relocation, arm64_ventura: "5282447e44f66b098d59c22af2f7725edd321a856573eec5d2b356b44bfb21c6"
sha256 cellar: :any_skip_relocation, arm64_monterey: "386b6750bf5369b1ffa766657b0a75fc72d685979d111f52f561c26e9386a3c1"
sha256 cellar: :any_skip_relocation, sonoma: "08cc531831c9be769a77bc98283f93a90899984e7aacfefeae102cce8a368fc4"
sha256 cellar: :any_skip_relocation, ventura: "94f32f64a30bc1f541b10fcd3ce57723a189408eef8af284d9fd45c13054455e"
sha256 cellar: :any_skip_relocation, monterey: "8b0e2dd749bddb1942a21740e4f47c09a7e8d9714e8545a98b8001ac0728ea86"
sha256 cellar: :any_skip_relocation, x86_64_linux: "b5e084c19dc6ffdbcc2e8cb48d9b69fdbbf1b0f8c8d63d98c143c2baea372537"
end

depends_on "python-certifi"
depends_on "python@3.12"
depends_on "six"

def python3
"python3.12"
resource "charset-normalizer" do
url "https://files.pythonhosted.org/packages/63/09/c1bc53dab74b1816a00d8d030de5bf98f724c52c1635e07681d312f20be8/charset-normalizer-3.3.2.tar.gz"
sha256 "f30c3cb33b24454a82faecaf01b19c18562b1e89558fb6c56de4d9118a032fd5"
end

resource "click" do
url "https://files.pythonhosted.org/packages/96/d3/f04c7bfcf5c1862a2a5b845c6b2b360488cf47af55dfa79c98f6a6bf98b5/click-8.1.7.tar.gz"
sha256 "ca9853ad459e787e2192211578cc907e7594e294c7ccc834310722b41b9ca6de"
end

resource "idna" do
url "https://files.pythonhosted.org/packages/bf/3f/ea4b9117521a1e9c50344b909be7886dd00a519552724809bb1f486986c2/idna-3.6.tar.gz"
sha256 "9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca"
end

resource "requests" do
url "https://files.pythonhosted.org/packages/9d/be/10918a2eac4ae9f02f6cfe6414b7a155ccd8f7f9d4380d62fd5b955065c3/requests-2.31.0.tar.gz"
sha256 "942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1"
end

resource "six" do
url "https://files.pythonhosted.org/packages/71/39/171f1c67cd00715f190ba0b100d606d440a28c93c7714febeca8b79af85e/six-1.16.0.tar.gz"
sha256 "1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"
end

resource "urllib3" do
url "https://files.pythonhosted.org/packages/7a/50/7fd50a27caa0652cd4caf224aa87741ea41d3265ad13f010886167cfcc79/urllib3-2.2.1.tar.gz"
sha256 "d0570876c61ab9e520d776c38acbbb5b05a776d3f9ff98a5c8fd5162a444cf19"
end

def install
system python3, "-m", "pip", "install", *std_pip_args, "."
virtualenv_install_with_resources
end

test do
Expand Down
2 changes: 1 addition & 1 deletion pypi_formula_mappings.json
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@
"exclude_packages": ["click", "python-dateutil", "six"]
},
"goolabs": {
"exclude_packages": ["click", "requests", "six"]
"exclude_packages": ["certifi"]
},
"gptline": {
"exclude_packages": ["certifi", "click", "lxml", "pillow", "pygments", "pyyaml", "six"]
Expand Down

0 comments on commit 7217167

Please sign in to comment.