Files
chromebrew/packages/py3_pyicu.rb
saltedcoffii b9aff7ff51 agate
2021-05-09 19:27:50 -04:00

23 lines
524 B
Ruby

require 'package'
class Py3_pyicu < Package
description 'PyICU is a Python extension wrapping the ICU C++ API.'
homepage 'https://pyicu.org/'
@_ver = '2.7.3'
version @_ver
license 'MIT'
compatibility 'all'
source_url 'https://gitlab.pyicu.org/main/pyicu.git'
git_hashtag 'v' + @_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