mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
fix numpy
This commit is contained in:
22
packages/py3_cython.rb
Normal file
22
packages/py3_cython.rb
Normal file
@@ -0,0 +1,22 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_cython < Package
|
||||
description 'The Cython language makes writing C extensions for the Python language as easy as Python itself.'
|
||||
homepage 'https://cython.org/'
|
||||
@_ver = '0.29.23'
|
||||
version @_ver
|
||||
license 'Apache-2.0'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/cython/cython.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.build
|
||||
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
|
||||
end
|
||||
end
|
||||
@@ -10,6 +10,8 @@ class Py3_numpy < Package
|
||||
source_url 'https://github.com/numpy/numpy.git'
|
||||
git_hashtag 'v' + @_ver
|
||||
|
||||
depends_on 'lapack'
|
||||
depends_on 'py3_cython' => :build
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.build
|
||||
|
||||
Reference in New Issue
Block a user