Skip to content

Commit

Permalink
Merge pull request #163143 from iMichka/euler-py
Browse files Browse the repository at this point in the history
euler-py: vendor deps
  • Loading branch information
BrewTestBot authored Feb 18, 2024
2 parents c5af7ac + 360b791 commit 8ec271b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 16 deletions.
32 changes: 19 additions & 13 deletions Formula/e/euler-py.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
class EulerPy < Formula
include Language::Python::Virtualenv

desc "Project Euler command-line tool written in Python"
homepage "https://github.com/iKevinY/EulerPy"
url "https://github.com/iKevinY/EulerPy/archive/refs/tags/v1.4.0.tar.gz"
Expand All @@ -8,26 +10,30 @@ class EulerPy < Formula
head "https://github.com/iKevinY/EulerPy.git", branch: "master"

bottle do
rebuild 3
sha256 cellar: :any_skip_relocation, arm64_sonoma: "3664a44a6e45e6b966ce78ff993efcbdd117f158e8ef78b8606e24232c10a273"
sha256 cellar: :any_skip_relocation, arm64_ventura: "11f5dfb6a969a89b7a40330336e43fcc06f489043b636fee552b25c09a6c534f"
sha256 cellar: :any_skip_relocation, arm64_monterey: "40993a34fc4bbefceb1ca7370a2b3ddd094cfbfeef9a46a7de2ff1174657ddb1"
sha256 cellar: :any_skip_relocation, sonoma: "f825cee5e8175be5899ceaf40d404d769b891add77396f4d2226498d9ad86415"
sha256 cellar: :any_skip_relocation, ventura: "df4ca6061b3d3b80bfa7eeb61a8de73b28a48c6a8fc6a00c954e6d7123f950c3"
sha256 cellar: :any_skip_relocation, monterey: "de2905475e72061e60f2ceb5f09b4f0da8470051e089ffd0243e9ee29e6e9a64"
sha256 cellar: :any_skip_relocation, x86_64_linux: "3c570e81e52680c373bf09d4e2f4372275f36e3579fbd1603f9f8ca9f96ef04f"
rebuild 4
sha256 cellar: :any_skip_relocation, arm64_sonoma: "adf91adfb085418d610cfa665aa90519f4c86f5dcf747688fd7bf914288e4c9d"
sha256 cellar: :any_skip_relocation, arm64_ventura: "5388db31e25c21e3f546cdac838fcd36dbe658108d1e4e935dc4fb357db5cc00"
sha256 cellar: :any_skip_relocation, arm64_monterey: "b8f9ed0803d146828690d8a1ec64e89284f53502a7039609ef4aff7ef58ea460"
sha256 cellar: :any_skip_relocation, sonoma: "78f7050a20167ca41518e78ef644935640d9f0843005a57ae967a340dd0acb61"
sha256 cellar: :any_skip_relocation, ventura: "fe998cb35bc72589040156208cb34a87c3da92a4a511a4715e80c2d18f0a6466"
sha256 cellar: :any_skip_relocation, monterey: "866be747b52ec9dd4639fbf8f876691d2e9ebd47fe837146869dc127d8b7cdbf"
sha256 cellar: :any_skip_relocation, x86_64_linux: "a279b7c32fe9e5ebf6a59066d85b36379d5c28434411c62a66f5532ae65beae8"
end

depends_on "python-setuptools" => :build
depends_on "python-click"
depends_on "[email protected]"

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

resource "setuptools" do
url "https://files.pythonhosted.org/packages/c9/3d/74c56f1c9efd7353807f8f5fa22adccdba99dc72f34311c30a69627a0fad/setuptools-69.1.0.tar.gz"
sha256 "850894c4195f09c4ed30dba56213bf7c3f21d86ed6bdaafb5df5972593bfc401"
end

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

test do
Expand Down
3 changes: 0 additions & 3 deletions pypi_formula_mappings.json
Original file line number Diff line number Diff line change
Expand Up @@ -357,9 +357,6 @@
"esptool": {
"exclude_packages": ["cffi", "cryptography", "pycparser", "six", "PyYAML"]
},
"euler-py": {
"exclude_packages": ["click"]
},
"evernote-backup": {
"exclude_packages": ["certifi", "click", "pyparsing"]
},
Expand Down

0 comments on commit 8ec271b

Please sign in to comment.