Skip to content

Commit 1c9c21a

Browse files
committed
datalad: remove stale workaround, add head
1 parent d6d8b32 commit 1c9c21a

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

Formula/d/datalad.rb

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ class Datalad < Formula
66
url "https://files.pythonhosted.org/packages/06/09/1cafa5d584ca92fe9e9381282103e2d92944aae2997085ca1aee111c5c1c/datalad-1.2.0.tar.gz"
77
sha256 "4ea32977ee8dabc277fb08bdee375885427177768330b4e2f51c0c1502400a80"
88
license "MIT"
9+
head "https://github.com/datalad/datalad.git", branch: "maint"
910

1011
bottle do
1112
sha256 cellar: :any_skip_relocation, arm64_sequoia: "22ce84563f77166529b3d3be9d1840a84630a9aa18d4dcb70a85dc850b442e91"
@@ -194,18 +195,7 @@ class Datalad < Formula
194195
end
195196

196197
def install
197-
without = %w[python-dateutil requests]
198-
venv = virtualenv_install_with_resources(without:)
199-
200-
# Fix compatability with setuptools 72+: https://github.com/dateutil/dateutil/pull/1376
201-
without.each do |r|
202-
resource(r).stage do
203-
inreplace "setup.py", "from setuptools.command.test import test as TestCommand",
204-
"TestCommand = object"
205-
venv.pip_install Pathname.pwd
206-
end
207-
end
208-
198+
virtualenv_install_with_resources
209199
generate_completions_from_executable(libexec/"bin/register-python-argcomplete", "datalad", "--shell")
210200
end
211201

0 commit comments

Comments
 (0)