-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopenrtm-aist-python.rb
29 lines (25 loc) · 1.08 KB
/
openrtm-aist-python.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#============================================================
# OpenRTM-aist-Python formula for HomeBrew
#
# Author: Noriaki Ando <[email protected]>
# GitHub: https://github.com/OpenRTM/homebrew-openrtm
#============================================================
class OpenrtmAistPython < Formula
desc "OpenRTM-aist: RT-Middleware and OMG RTC implementation in Python implemented by AIST"
homepage "https://openrtm.org"
url "https://github.com/OpenRTM/OpenRTM-aist-Python/releases/download/v1.2.2/OpenRTM-aist-Python-1.2.2.tar.gz"
sha256 "88366dd5d9fefa19ba25cbf42b6d39170ffb65a1fe4c8f48222a13ddbcecfae8"
license "LGPL-2.1"
bottle do
root_url "https://github.com/OpenRTM/homebrew-openrtm/releases/download/1.2.2/"
sha256 cellar: :any_skip_relocation, catalina: "897e7d343af368b0800f409c60c0f65a7f4da1c4ea64ced037045ecf81e65d94"
end
depends_on "omniorbpy"
def install
system "/usr/local/bin/python3", "setup.py", "build"
system "/usr/local/bin/python3", "setup.py", "install", "--prefix=#{prefix}"
end
test do
system "rtcprof_python3", "--help"
end
end