Files
chromebrew/packages/duplicity.rb
Maximilian Downey Twiss f6dc1d8d4e Derive binary_url in package.rb (#7082)
* Add binary_compression value to each package

* Remove binary_url values and arrays

* Handle packages with empty binary_sha256 arrays (either missing binaries or not compiled by us)
2024-01-25 11:03:31 -05:00

35 lines
1.2 KiB
Ruby

require 'package'
class Duplicity < Package
description 'Duplicity backs directories by producing encrypted tar-format volumes and uploading them to a remote or local file server.'
homepage 'http://duplicity.nongnu.org/'
version '0.8.20'
license 'GPL-3'
compatibility 'all'
source_url 'https://files.pythonhosted.org/packages/84/65/5ca97dade5527b6a93757e88455c53b0d7002322f9d47d848c35902ef431/duplicity-0.8.20.tar.gz'
source_sha256 '488af2ecadb059214074f2b3ac51bf9d7de55a800e37ccc2f1075cd0a74940e3'
binary_compression 'tpxz'
binary_sha256({
aarch64: 'bcab1c51132837f0455ac7eeed0d9247c8c7ba4bc07cce885d25acf1dc083eb3',
armv7l: 'bcab1c51132837f0455ac7eeed0d9247c8c7ba4bc07cce885d25acf1dc083eb3',
i686: 'f2a67c6ff638d25808a46bd936a9a0eeb6da88635cf4cc61c33afc5cdef47c0a',
x86_64: 'badd683b26a5d10d0b850d5b9ffff5092a7031fabde4583fce5c217ac0e90fdc'
})
depends_on 'librsync'
depends_on 'gnupg'
depends_on 'openssh'
depends_on 'py3_future'
depends_on 'py3_fasteners'
depends_on 'python3' => :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