mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
24 lines
549 B
Ruby
24 lines
549 B
Ruby
require 'package'
|
|
|
|
class S3cmd < Package
|
|
description 'Command line tool for managing Amazon S3 and CloudFront services'
|
|
homepage 'http://s3tools.org/s3cmd'
|
|
@_ver = '2.1.0'
|
|
version @_ver
|
|
license 'GPL-2+'
|
|
compatibility 'all'
|
|
source_url 'https://github.com/s3tools/s3cmd.git'
|
|
git_hashtag 'v' + @_ver
|
|
|
|
depends_on 'py3_dateutil'
|
|
depends_on 'py3_magic'
|
|
|
|
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}"
|
|
en
|
|
end
|