Files
chromebrew/packages/py3_packaging.rb
2021-05-02 09:03:07 -04:00

23 lines
543 B
Ruby

require 'package'
class Py3_packaging < Package
description 'Packaging provides core utilities for Python packages'
homepage 'https://packaging.pypa.io/'
@_ver = '20.9'
version @_ver
license 'BSD-2 or Apache-2.0'
compatibility 'all'
source_url 'https://github.com/pypa/packaging.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