mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
23 lines
524 B
Ruby
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
|