flake8 3.3.0 (remove resources)
Closes #10397. Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
This commit is contained in:
parent
2f6dabcfd0
commit
91942ecc24
1 changed files with 7 additions and 28 deletions
|
@ -3,8 +3,8 @@ class Flake8 < Formula
|
|||
|
||||
desc "Lint your Python code for style and logical errors"
|
||||
homepage "http://flake8.pycqa.org/"
|
||||
url "https://files.pythonhosted.org/packages/51/70/af1b3130cd051f2f79854b14079b3bcbad84b8bac31a7dffc63ef57f8a7a/flake8-3.2.1.tar.gz"
|
||||
sha256 "c7c460b5aff3a2063c798a77af18ec70af3941d35a22e2e76965e3c0e0b36055"
|
||||
url "https://gitlab.com/pycqa/flake8/repository/archive.tar.gz?ref=3.3.0"
|
||||
sha256 "2e60c7b6e93a5cd7d053e5a7ad91942d90931f7341e50a53a9f33943e5f60ea9"
|
||||
|
||||
head "https://gitlab.com/PyCQA/flake8.git", :shallow => false
|
||||
|
||||
|
@ -17,33 +17,12 @@ class Flake8 < Formula
|
|||
|
||||
depends_on :python if MacOS.version <= :snow_leopard
|
||||
|
||||
resource "pycodestyle" do
|
||||
url "https://files.pythonhosted.org/packages/43/9f/56e824b197398582b0c1aaaa2272560bc51f395fe3e45e1dd88de4bb24dc/pycodestyle-2.2.0.tar.gz"
|
||||
sha256 "df81dc3293e0123e2e8d1f2aaf819600e4ae287d8b3af8b72181af50257e5d9a"
|
||||
end
|
||||
|
||||
resource "pyflakes" do
|
||||
url "https://files.pythonhosted.org/packages/9f/48/927b1bf3e15d3dadfcfafb505177a62cdabcb78cf7eac4f31f180d5b1e26/pyflakes-1.3.0.tar.gz"
|
||||
sha256 "a4f93317c97a9d9ed71d6ecfe08b68e3de9fea3f4d94dcd1d9d83ccbf929bc31"
|
||||
end
|
||||
|
||||
resource "mccabe" do
|
||||
url "https://files.pythonhosted.org/packages/f1/b7/ff36d1a163079688633a776e1717b5459caccbb68973afab2aa8345ac40f/mccabe-0.5.2.tar.gz"
|
||||
sha256 "3473f06c8b757bbb5cdf295099bf64032e5f7d6fe0ec2f97ee9b23cb0a435aff"
|
||||
end
|
||||
|
||||
resource "configparser" do
|
||||
url "https://files.pythonhosted.org/packages/7c/69/c2ce7e91c89dc073eb1aa74c0621c3eefbffe8216b3f9af9d3885265c01c/configparser-3.5.0.tar.gz"
|
||||
sha256 "5308b47021bc2340965c371f0f058cc6971a04502638d4244225c49d80db273a"
|
||||
end
|
||||
|
||||
resource "enum34" do
|
||||
url "https://files.pythonhosted.org/packages/bf/3e/31d502c25302814a7c2f1d3959d2a3b3f78e509002ba91aea64993936876/enum34-1.1.6.tar.gz"
|
||||
sha256 "8ad8c4783bf61ded74527bffb48ed9b54166685e4230386a9ed9b1279e2df5b1"
|
||||
end
|
||||
|
||||
def install
|
||||
virtualenv_install_with_resources
|
||||
venv = virtualenv_create(libexec)
|
||||
system libexec/"bin/pip", "install", "-v", "--no-binary", ":all:",
|
||||
"--ignore-installed", buildpath
|
||||
system libexec/"bin/pip", "uninstall", "-y", name
|
||||
venv.pip_install_and_link buildpath
|
||||
end
|
||||
|
||||
test do
|
||||
|
|
Loading…
Reference in a new issue