Skip to content

Commit

Permalink
astrometry-net: fix audit after Python 3.8 bump
Browse files Browse the repository at this point in the history
  • Loading branch information
iMichka committed Apr 5, 2020
1 parent 1f6b068 commit 55b7f50
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Formula/astrometry-net.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class AstrometryNet < Formula
homepage "https://github.com/dstndstn/astrometry.net"
url "https://github.com/dstndstn/astrometry.net/releases/download/0.79/astrometry.net-0.79.tar.gz"
sha256 "dd5d5403cc223eb6c51a06a22a5cb893db497d1895971735321354f882c80286"
revision 2
revision 3

bottle do
cellar :any
Expand All @@ -31,7 +31,7 @@ class AstrometryNet < Formula
sha256 "42b88214f9d8ed34a7911c3b41a680ce1bdee4880c58e441f00010058e97c0aa"

patch do
url "https://patch-diff.githubusercontent.com/raw/esheldon/fitsio/pull/297.patch?full_index=1"
url "https://github.com/esheldon/fitsio/pull/297.patch?full_index=1"
sha256 "d317355af23101b2bc49b6844ac83061a6485f4fa9741b2ecae0782972bcd675"
end
end
Expand All @@ -53,6 +53,8 @@ def install
ENV["PY_BASE_INSTALL_DIR"] = libexec/"lib/python#{xy}/site-packages/astrometry"
ENV["PY_BASE_LINK_DIR"] = libexec/"lib/python#{xy}/site-packages/astrometry"

ENV.append_to_cflags "-fno-stack-check" if DevelopmentTools.clang_build_version >= 1010

system "make"
system "make", "py"
system "make", "install"
Expand Down

0 comments on commit 55b7f50

Please sign in to comment.