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