mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
Merge pull request #5717 from saltedcoffii/pythonize1
Setup.pyize all python-related packages
This commit is contained in:
2
bin/crew
2
bin/crew
@@ -522,7 +522,7 @@ def update
|
||||
search package[:name], true
|
||||
if package[:version] != @pkg.version
|
||||
canBeUpdated += 1
|
||||
puts @pkg.name + ' could be updated from ' + package[:version] + ' to ' + @pkg.version
|
||||
puts @pkg.name + ' could be updated from ' + package[:version].to_s + ' to ' + @pkg.version
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -121,7 +121,8 @@ CREW_CMAKE_LIBSUFFIX_OPTIONS = "#{CREW_CMAKE_OPTIONS} -DLIB_SUFFIX=#{CREW_LIB_SU
|
||||
|
||||
PY3_SETUP_BUILD_OPTIONS = "--executable=#{CREW_PREFIX}/bin/python3"
|
||||
PY2_SETUP_BUILD_OPTIONS = "--executable=#{CREW_PREFIX}/bin/python2"
|
||||
PY_SETUP_INSTALL_OPTIONS = "--root=#{CREW_DEST_DIR} --prefix=#{CREW_PREFIX} -O2 --compile --single-version-externally-managed"
|
||||
PY_SETUP_INSTALL_OPTIONS_NO_SVEM = "--root=#{CREW_DEST_DIR} --prefix=#{CREW_PREFIX} -O2 --compile"
|
||||
PY_SETUP_INSTALL_OPTIONS = "#{PY_SETUP_INSTALL_OPTIONS_NO_SVEM} --single-version-externally-managed"
|
||||
|
||||
CREW_FIRST_PACKAGES = %w[curl git pixz shared_mime_info]
|
||||
CREW_LAST_PACKAGES = %w[ghc mandb gtk3 gtk4 sommelier]
|
||||
|
||||
@@ -3,29 +3,33 @@ require 'package'
|
||||
class Ansible < Package
|
||||
description 'Ansible is a radically simple IT automation engine that automates cloud provisioning, configuration management, application deployment, intra-service orchestration, and many other IT needs.'
|
||||
homepage 'https://www.ansible.com/'
|
||||
version '2.9.14'
|
||||
version '3.3.0'
|
||||
license 'GPL-3'
|
||||
compatibility 'all'
|
||||
source_url 'https://releases.ansible.com/ansible/ansible-2.9.14.tar.gz'
|
||||
source_sha256 'efe7183e08f0c9dd9efd9124efa8978be62851b1e8eb856593a073538bfc6fb5'
|
||||
source_url 'https://files.pythonhosted.org/packages/53/d5/6cdea3c8479644b1b788d57cad500e9d782e06f6a84cac05121a65cca67e/ansible-3.3.0.tar.gz'
|
||||
source_sha256 '2de5385c48a2a24a19f6cbaccc7d7684c64b6194f9a9b175aba7949d53b07bc9'
|
||||
|
||||
binary_url ({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ansible/2.9.14_armv7l/ansible-2.9.14-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ansible/2.9.14_armv7l/ansible-2.9.14-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ansible/2.9.14_i686/ansible-2.9.14-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ansible/2.9.14_x86_64/ansible-2.9.14-chromeos-x86_64.tar.xz',
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ansible/3.3.0_armv7l/ansible-3.3.0-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ansible/3.3.0_armv7l/ansible-3.3.0-chromeos-armv7l.tpxz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ansible/3.3.0_i686/ansible-3.3.0-chromeos-i686.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ansible/3.3.0_x86_64/ansible-3.3.0-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256 ({
|
||||
aarch64: '9c43a7e52691b4ba2042a34fc5613db34d45b8b3dbe96aeb8754b296fca9437a',
|
||||
armv7l: '9c43a7e52691b4ba2042a34fc5613db34d45b8b3dbe96aeb8754b296fca9437a',
|
||||
i686: 'f93312f9080369044f136abf3713e54b490efe1833d9ba6ca8959b3300f57de9',
|
||||
x86_64: '03858df7d32282cbc04bcf33ec923e3ea03963898be7d0d6fdb51e589e43f11f',
|
||||
binary_sha256({
|
||||
aarch64: 'b9510ce8907f00a3a41066de88b34f519776494a13a804dbbad35e63511fab65',
|
||||
armv7l: 'b9510ce8907f00a3a41066de88b34f519776494a13a804dbbad35e63511fab65',
|
||||
i686: 'df3f907db3401d10f4b302a2c899e18271c963e1d92ea9cdfa14e70e9d4986fe',
|
||||
x86_64: 'c1580c511f0ae42bf3aacce66439ce8c9cf2f93c4ebe40223ae65410e88b3b22'
|
||||
})
|
||||
|
||||
depends_on 'setuptools'
|
||||
depends_on 'ansible_base'
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.build
|
||||
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "pip install --prefix #{CREW_PREFIX} \
|
||||
--root #{CREW_DEST_DIR} -I ansible==#{self.version}"
|
||||
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
|
||||
end
|
||||
end
|
||||
|
||||
39
packages/ansible_base.rb
Normal file
39
packages/ansible_base.rb
Normal file
@@ -0,0 +1,39 @@
|
||||
require 'package'
|
||||
|
||||
class Ansible_base < Package
|
||||
description 'Ansible base libraries and functions.'
|
||||
homepage 'https://www.ansible.com/'
|
||||
version '2.10.9'
|
||||
license 'GPL-3'
|
||||
compatibility 'all'
|
||||
source_url 'https://files.pythonhosted.org/packages/2f/7c/36119f0695fe48fd5eeb33a78c11137642abf1f67b477f31b9772da5a85d/ansible-base-2.10.9.tar.gz'
|
||||
source_sha256 '04635d3e08fc29358c76b8e7f1e9db0ce443fb09ce30b2acc6cacaad165f2151'
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ansible_base/2.10.9_armv7l/ansible_base-2.10.9-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ansible_base/2.10.9_armv7l/ansible_base-2.10.9-chromeos-armv7l.tpxz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ansible_base/2.10.9_i686/ansible_base-2.10.9-chromeos-i686.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ansible_base/2.10.9_x86_64/ansible_base-2.10.9-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: 'a674696b14784221da3aa76d74e580037e40cf707e91d59c5a9028a68beaa6c0',
|
||||
armv7l: 'a674696b14784221da3aa76d74e580037e40cf707e91d59c5a9028a68beaa6c0',
|
||||
i686: '3b121d5d5948388eec588ad8d78eb9226a61c21f64ce304401109e1dd0601ad1',
|
||||
x86_64: '28d811d9b8d912f23f911fa46ed7e43758f1f54083486156e075a949a09dd03f'
|
||||
})
|
||||
|
||||
depends_on 'xdg_base'
|
||||
depends_on 'py3_cryptography'
|
||||
depends_on 'py3_pyyaml'
|
||||
depends_on 'py3_packaging'
|
||||
depends_on 'py3_jinja2'
|
||||
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
|
||||
@@ -3,7 +3,7 @@ require 'package'
|
||||
class Asciinema < Package
|
||||
description 'Terminal session recorder'
|
||||
homepage 'https://asciinema.org/'
|
||||
version '2.0.2-1'
|
||||
version '2.0.2-2'
|
||||
license 'GPL-3+'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/asciinema/asciinema/archive/v2.0.2.tar.gz'
|
||||
@@ -12,18 +12,18 @@ class Asciinema < Package
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/asciinema/2.0.2-1_armv7l/asciinema-2.0.2-1-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/asciinema/2.0.2-1_armv7l/asciinema-2.0.2-1-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/asciinema/2.0.2-1_i686/asciinema-2.0.2-1-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/asciinema/2.0.2-1_x86_64/asciinema-2.0.2-1-chromeos-x86_64.tar.xz'
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/asciinema/2.0.2-2_i686/asciinema-2.0.2-2-chromeos-i686.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/asciinema/2.0.2-2_x86_64/asciinema-2.0.2-2-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '5fddd233f9f093935c23574dc1ce6247103352e845408375fa537fd2f56675ec',
|
||||
armv7l: '5fddd233f9f093935c23574dc1ce6247103352e845408375fa537fd2f56675ec',
|
||||
i686: '82f850655844133b11a251428021f9d92904b6c733f68cd3f6f827987fc072ee',
|
||||
x86_64: 'e2bbf8e05f6762432da17259edba89f86f28d8c145de74adc057eb1d253eae90'
|
||||
i686: '9086a6bce66d3ad0542d8d61f6904bd24078998d2a0867ced9b65eabb15b889b',
|
||||
x86_64: 'a94b73de95817df65ede7ba0e58c71547cf7eb6a326b9707dd94a29a3fd73aab'
|
||||
})
|
||||
|
||||
depends_on 'xdg_base'
|
||||
depends_on 'setuptools'
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.build
|
||||
system "echo '[api]
|
||||
@@ -60,10 +60,11 @@ speed = 2
|
||||
|
||||
; Limit replayed terminal inactivity to max n seconds, default: off
|
||||
idle_time_limit = 1' > config"
|
||||
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "python3 setup.py install --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR}"
|
||||
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
|
||||
system "install -Dm644 config #{CREW_DEST_HOME}/.config/asciinema/config"
|
||||
system "touch #{CREW_DEST_HOME}/.config/asciinema/install-id"
|
||||
end
|
||||
|
||||
@@ -23,7 +23,7 @@ class Atk < Package
|
||||
})
|
||||
|
||||
depends_on 'gobject_introspection'
|
||||
depends_on 'six' => :build
|
||||
depends_on 'py3_six' => :build
|
||||
|
||||
def self.build
|
||||
system "meson #{CREW_MESON_FNO_LTO_OPTIONS} build"
|
||||
|
||||
@@ -1,60 +1,14 @@
|
||||
require 'package'
|
||||
|
||||
class Avocado < Package
|
||||
description 'Avocado is a next generation testing framework inspired by Autotest and modern development tools such as git.'
|
||||
description 'A dummy package for avocado_framework.'
|
||||
homepage 'https://avocado-framework.github.io/'
|
||||
version '67.0'
|
||||
@_ver = '87.0'
|
||||
version @_ver
|
||||
license 'GPL-2 and GPL-2+'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/avocado-framework/avocado/archive/67.0.tar.gz'
|
||||
source_sha256 'ae96466e2c19da3c6044ae59e05b235f6d211cfc4de8cbecfcaf0b59dc61332a'
|
||||
is_fake
|
||||
|
||||
binary_url ({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/avocado/67.0_armv7l/avocado-67.0-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/avocado/67.0_armv7l/avocado-67.0-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/avocado/67.0_i686/avocado-67.0-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/avocado/67.0_x86_64/avocado-67.0-chromeos-x86_64.tar.xz',
|
||||
})
|
||||
binary_sha256 ({
|
||||
aarch64: 'c97be359f822af9643b4f86d6a93a8aa265effb8c1deac27af29a744601164cf',
|
||||
armv7l: 'c97be359f822af9643b4f86d6a93a8aa265effb8c1deac27af29a744601164cf',
|
||||
i686: '71b3af54c49600bf58255368944300017cef12af75b2c2775515719dd5a40a7a',
|
||||
x86_64: '4946b467cfb4366ac950edbdd57b3d45780a560659f50677e45c95095e101500',
|
||||
})
|
||||
depends_on 'avocado_framework'
|
||||
|
||||
depends_on 'xdg_base'
|
||||
depends_on 'xzutils'
|
||||
depends_on 'setuptools'
|
||||
|
||||
def self.install
|
||||
system "pip install avocado-framework --root #{CREW_DEST_DIR} --prefix #{CREW_PREFIX}"
|
||||
system "chmod +x #{CREW_DEST_PREFIX}/bin/avocado"
|
||||
system "chmod +x #{CREW_DEST_PREFIX}/bin/avocado-rest-client"
|
||||
avocado_home = "#{CREW_DEST_HOME}/.config/avocado"
|
||||
system "mkdir -p #{avocado_home}/data"
|
||||
system "touch #{avocado_home}/data/empty"
|
||||
system "mkdir -p #{avocado_home}/job-results"
|
||||
system "touch #{avocado_home}/job-results/empty"
|
||||
Dir.chdir "#{avocado_home}" do
|
||||
avocado_lib = "#{CREW_PREFIX}/lib/python2.7/site-packages/avocado/etc/avocado"
|
||||
system "ln -sf #{avocado_lib}/avocado.conf avocado.conf"
|
||||
system "ln -sf #{avocado_lib}/conf.d conf.d"
|
||||
system "ln -sf #{avocado_lib}/scripts scripts"
|
||||
system "ln -sf #{avocado_lib}/sysinfo sysinfo"
|
||||
end
|
||||
Dir.chdir "#{CREW_DEST_PREFIX}/lib/python2.7/site-packages/avocado/etc/avocado" do
|
||||
system "sed -i 's,/etc,~/.config,' avocado.conf"
|
||||
system "sed -i 's,/var/lib,~/.config,' avocado.conf"
|
||||
system "sed -i 's,/usr/share/doc,~/.config,' avocado.conf"
|
||||
system "sed -i 's,~/avocado,~/.config/avocado,' avocado.conf"
|
||||
system "sed -i 's,/usr/bin,#{CREW_PREFIX}/bin,' conf.d/gdb.conf"
|
||||
system "sed -i 's,/etc,~/.config,' conf.d/jobscripts.conf"
|
||||
end
|
||||
end
|
||||
|
||||
def self.postinstall
|
||||
puts
|
||||
puts "To configure avocado, edit ~/.config/avocado/avocado.conf".lightblue
|
||||
puts
|
||||
end
|
||||
end
|
||||
|
||||
37
packages/avocado_framework.rb
Normal file
37
packages/avocado_framework.rb
Normal file
@@ -0,0 +1,37 @@
|
||||
require 'package'
|
||||
|
||||
class Avocado_framework < Package
|
||||
description 'Avocado is a next generation testing framework inspired by Autotest and modern development tools such as git.'
|
||||
homepage 'https://avocado-framework.github.io/'
|
||||
@_ver = '87.0'
|
||||
version @_ver
|
||||
license 'GPL-2 and GPL-2+'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/avocado-framework/avocado.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/avocado_framework/87.0_armv7l/avocado_framework-87.0-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/avocado_framework/87.0_armv7l/avocado_framework-87.0-chromeos-armv7l.tpxz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/avocado_framework/87.0_i686/avocado_framework-87.0-chromeos-i686.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/avocado_framework/87.0_x86_64/avocado_framework-87.0-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: 'fa01356025b6bcafda45fbbf468d0f3c29b5d4c499f8c9c0e089d1774de71c03',
|
||||
armv7l: 'fa01356025b6bcafda45fbbf468d0f3c29b5d4c499f8c9c0e089d1774de71c03',
|
||||
i686: '4734735ddbf692677d2c92d960c94ce09901c9b7c5c1cc402910bd88b71bfd54',
|
||||
x86_64: 'e51b95bf30fc88981f33b015d77150fefc4e1a77fe801691a19c86ef475ee6d8'
|
||||
})
|
||||
|
||||
depends_on 'xdg_base'
|
||||
depends_on 'xzutils'
|
||||
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
|
||||
@@ -22,7 +22,7 @@ class Aws < Package
|
||||
})
|
||||
|
||||
depends_on 'groff'
|
||||
depends_on 'setuptools' => :build
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.install
|
||||
system "pip install --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR} \
|
||||
|
||||
@@ -15,7 +15,7 @@ class Aws2 < Package
|
||||
})
|
||||
|
||||
depends_on 'rust' => :build
|
||||
depends_on 'setuptools' => :build
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.install
|
||||
system "pip install --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR} -I aws2==#{@_ver} --no-warn-script-location"
|
||||
|
||||
@@ -22,7 +22,7 @@ class Aws_shell < Package
|
||||
x86_64: '41ad9b4fbe0104c4e7d48fb7b5c2469f89562f46c1184b985114da37bf0ed479',
|
||||
})
|
||||
|
||||
depends_on 'setuptools'
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.install
|
||||
system "python setup.py install --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR}"
|
||||
|
||||
@@ -7,7 +7,8 @@ class Bind < Package
|
||||
version @_ver
|
||||
license 'Apache-2.0, BSD, BSD-2, GPL-2, HPND, ISC and MPL-2.0'
|
||||
compatibility 'all'
|
||||
source_url 'SKIP'
|
||||
source_url 'file:///dev/null'
|
||||
source_sha256 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/bind/9.17.11_armv7l/bind-9.17.11-chromeos-armv7l.tar.xz',
|
||||
|
||||
@@ -1,38 +0,0 @@
|
||||
require 'package'
|
||||
|
||||
class Charm < Package
|
||||
description 'Charm is a full-featured, cross-platfom blogging client for LiveJournal, Atom (Movable Type, Blogger), and MetaWeb (WordPress).'
|
||||
homepage 'http://ljcharm.sourceforge.net/'
|
||||
version '1.9.2'
|
||||
license 'charm'
|
||||
compatibility 'all'
|
||||
source_url 'http://downloads.sourceforge.net/project/ljcharm/charm/charm-1.9.2/charm-1.9.2.tar.gz'
|
||||
source_sha256 'ae2d536303e770ceb002f69c1e71f6a8532c8d5dd075d2f5c1bf09ad02c3c015'
|
||||
|
||||
binary_url ({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/charm/1.9.2_armv7l/charm-1.9.2-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/charm/1.9.2_armv7l/charm-1.9.2-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/charm/1.9.2_i686/charm-1.9.2-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/charm/1.9.2_x86_64/charm-1.9.2-chromeos-x86_64.tar.xz',
|
||||
})
|
||||
binary_sha256 ({
|
||||
aarch64: '0b830d2222daab4736c2de2952827371fcf934934640a56606669b163fdd58e5',
|
||||
armv7l: '0b830d2222daab4736c2de2952827371fcf934934640a56606669b163fdd58e5',
|
||||
i686: 'e7bfeb469261c56e6398019a84c4cf640d16796025420087ac039a6e9a94d119',
|
||||
x86_64: '9e826bf34b0c9d7fd6ccb712f57b40e29850c18ffe4d03f39215f66044a9b616',
|
||||
})
|
||||
|
||||
depends_on 'python2' unless File.exists? "#{CREW_PREFIX}/bin/python"
|
||||
|
||||
def self.install
|
||||
system "python setup.py install --root #{CREW_DEST_DIR} --prefix #{CREW_PREFIX}"
|
||||
system "install -Dm644 sample.charmrc #{CREW_DEST_DIR}$HOME/.charmrc"
|
||||
system "install -Dm644 sample.charmrc $HOME/.charmrc"
|
||||
end
|
||||
|
||||
def self.postinstall
|
||||
puts
|
||||
puts "To configure, edit $HOME/.charmrc".lightblue
|
||||
puts
|
||||
end
|
||||
end
|
||||
@@ -1,31 +0,0 @@
|
||||
require 'package'
|
||||
|
||||
class Choose < Package
|
||||
description 'make choices on the command line'
|
||||
homepage 'https://github.com/geier/choose'
|
||||
version '0.1.0'
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/geier/choose/archive/v0.1.0.tar.gz'
|
||||
source_sha256 'd09a679920480e66bff36c76dd4d33e8ad739a53eace505d01051c114a829633'
|
||||
|
||||
binary_url ({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/choose/0.1.0_armv7l/choose-0.1.0-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/choose/0.1.0_armv7l/choose-0.1.0-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/choose/0.1.0_i686/choose-0.1.0-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/choose/0.1.0_x86_64/choose-0.1.0-chromeos-x86_64.tar.xz',
|
||||
})
|
||||
binary_sha256 ({
|
||||
aarch64: '26cdefb57b3e12c1a73626879f0327aecc474289be086034c3f930d4cc51528b',
|
||||
armv7l: '26cdefb57b3e12c1a73626879f0327aecc474289be086034c3f930d4cc51528b',
|
||||
i686: 'e3db27cee1199945140e4524b9b2b4120d169190e37545015aed2cdd125def95',
|
||||
x86_64: '138d368f47682787e47e01a59090014d993e8f63ba6678a9b315640a5075cd88',
|
||||
})
|
||||
|
||||
depends_on 'setuptools'
|
||||
|
||||
def self.install
|
||||
system "pip install urwid --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR}"
|
||||
system "install -Dm755 choose #{CREW_DEST_PREFIX}/bin/choose"
|
||||
end
|
||||
end
|
||||
@@ -2,32 +2,39 @@ require 'package'
|
||||
|
||||
class Csvkit < Package
|
||||
description 'A suite of utilities for converting to and working with CSV, the king of tabular file formats.'
|
||||
homepage 'http://csvkit.rtfd.org/'
|
||||
version '1.0.4'
|
||||
homepage 'https://csvkit.rtfd.org/'
|
||||
@_ver = '1.0.6'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/wireservice/csvkit/archive/1.0.4.tar.gz'
|
||||
source_sha256 'e19c609894c42e850c25af1ca9082753f76f231450f70a70c46344bec45c1a66'
|
||||
source_url 'https://github.com/wireservice/csvkit.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
binary_url ({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/csvkit/1.0.4_armv7l/csvkit-1.0.4-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/csvkit/1.0.4_armv7l/csvkit-1.0.4-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/csvkit/1.0.4_i686/csvkit-1.0.4-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/csvkit/1.0.4_x86_64/csvkit-1.0.4-chromeos-x86_64.tar.xz',
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/csvkit/1.0.6_armv7l/csvkit-1.0.6-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/csvkit/1.0.6_armv7l/csvkit-1.0.6-chromeos-armv7l.tpxz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/csvkit/1.0.6_i686/csvkit-1.0.6-chromeos-i686.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/csvkit/1.0.6_x86_64/csvkit-1.0.6-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256 ({
|
||||
aarch64: 'b6d48277e99c02a4ae4afffed955682def7326cc6e24be797d35719cefb9f086',
|
||||
armv7l: 'b6d48277e99c02a4ae4afffed955682def7326cc6e24be797d35719cefb9f086',
|
||||
i686: 'dd6f3a7878131e5b5801415ef96f3b8462b32d3df95c59255194b5bc09e2d4c7',
|
||||
x86_64: '01d05a5337a2aeb7488ad7129cc19ac342e6dac19fe07f7487a4ec3cd0751d78',
|
||||
binary_sha256({
|
||||
aarch64: '3caee2c61cee798fcf16d96ba310f0f77a8b237e56889f1cfe2d12a127f34961',
|
||||
armv7l: '3caee2c61cee798fcf16d96ba310f0f77a8b237e56889f1cfe2d12a127f34961',
|
||||
i686: 'cfefda5b4ef28946e6bfe0aad8ad5f2373bd14d3b273b5aa97dc40cbbaa3ebf3',
|
||||
x86_64: '0b12a20e97969ebb2e7cca57040824c772b2bcdcb824ab5f32618f1a79fed62d'
|
||||
})
|
||||
|
||||
depends_on 'setuptools'
|
||||
depends_on 'py3_six'
|
||||
depends_on 'py3_agate_dfb'
|
||||
depends_on 'py3_agate'
|
||||
depends_on 'py3_agate_excel'
|
||||
depends_on 'py3_agate_sql'
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.build
|
||||
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "pip install --prefix #{CREW_PREFIX} \
|
||||
--root #{CREW_DEST_DIR} \
|
||||
-r requirements-py2.txt \
|
||||
-r requirements-py3.txt csvkit"
|
||||
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
|
||||
end
|
||||
end
|
||||
|
||||
@@ -26,7 +26,7 @@ class Dia < Package
|
||||
depends_on 'libart'
|
||||
depends_on 'libpng'
|
||||
depends_on 'libwmf'
|
||||
depends_on 'six'
|
||||
depends_on 'py3_six'
|
||||
depends_on 'swig1'
|
||||
depends_on 'sommelier'
|
||||
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
require 'package'
|
||||
|
||||
class Docutils < Package
|
||||
description 'Docutils is an open-source text processing system for processing plaintext documentation into useful formats, such as HTML, LaTeX, man-pages, open-document or XML.'
|
||||
homepage 'http://docutils.sourceforge.net/'
|
||||
version '0.15'
|
||||
license 'BSD-2, GPL-3 and public-domain'
|
||||
compatibility 'all'
|
||||
source_url 'https://prdownloads.sourceforge.net/project/docutils/docutils/0.15/docutils-0.15.tar.gz'
|
||||
source_sha256 'c35e87e985f70106f6f97e050f3bed990641e0e104566134b9cd23849a460e96'
|
||||
|
||||
binary_url ({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/docutils/0.15_armv7l/docutils-0.15-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/docutils/0.15_armv7l/docutils-0.15-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/docutils/0.15_i686/docutils-0.15-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/docutils/0.15_x86_64/docutils-0.15-chromeos-x86_64.tar.xz',
|
||||
})
|
||||
binary_sha256 ({
|
||||
aarch64: 'b5e6ebde642f897d08eed30a521daaea456ac179d36a27b002205ab82ddb2a42',
|
||||
armv7l: 'b5e6ebde642f897d08eed30a521daaea456ac179d36a27b002205ab82ddb2a42',
|
||||
i686: 'e074c6b0893088d27811967dc9f3d9e7321d9a7704f1e468af1564261862cdd6',
|
||||
x86_64: '08863068ca607c70717d9a7054ecae077ce8466fe9b06d4e3504b2e7561ee7b7',
|
||||
})
|
||||
|
||||
depends_on 'python3'
|
||||
|
||||
def self.install
|
||||
system "python3 setup.py install --root #{CREW_DEST_DIR} --prefix #{CREW_PREFIX}"
|
||||
end
|
||||
end
|
||||
@@ -1,22 +0,0 @@
|
||||
# Note: this package is depreciated upstream
|
||||
|
||||
require 'package'
|
||||
|
||||
class Dr < Package
|
||||
description 'A simple ed-like devRant client'
|
||||
homepage 'https://github.com/Ewpratten/dr'
|
||||
version '2.0'
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/Ewpratten/dr/archive/2.0-cros.tar.gz'
|
||||
source_sha256 '0ab9003c23d74d1ca8b0cfaf33e7db5e5b908d3448c87c4c0a83c9bf77a8ac23'
|
||||
|
||||
depends_on 'setuptools'
|
||||
|
||||
def self.install
|
||||
system 'curl -#Lo dr/dr https://github.com/Ewpratten/dr/releases/download/2.0-cros/dr'
|
||||
abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA256.hexdigest( File.read('dr/dr') ) == '4e39a28f947ac044e28349fb10ffb423100fb00acb0ab819e931d931e3f0b02f'
|
||||
system "install -Dm755 dr/dr #{CREW_DEST_PREFIX}/bin/dr"
|
||||
system "pip3 install . --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR} --upgrade --no-cache-dir -r requirements.txt"
|
||||
end
|
||||
end
|
||||
@@ -3,32 +3,35 @@ 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.7.15'
|
||||
compatibility 'all'
|
||||
version '0.8.19'
|
||||
license 'GPL-3'
|
||||
source_url 'https://code.launchpad.net/duplicity/0.7-series/0.7.15/+download/duplicity-0.7.15.tar.gz'
|
||||
source_sha256 '50bf7d14413284ecb036146ab9ba0e271937f2fa7826f8c8300b2965eb450a6c'
|
||||
compatibility 'all'
|
||||
source_url 'https://files.pythonhosted.org/packages/9f/ae/4eb8869a12a531f453ef1d64a0d53dfa6a674895f6222b347f8c96a7a88b/duplicity-0.8.19.tar.gz'
|
||||
source_sha256 'd5dda2918058d0e47bf7a1299cfc9b51cc2f0546920fc3cfcf7ae06fc76d68ba'
|
||||
|
||||
binary_url ({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/duplicity/0.7.15_armv7l/duplicity-0.7.15-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/duplicity/0.7.15_armv7l/duplicity-0.7.15-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/duplicity/0.7.15_i686/duplicity-0.7.15-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/duplicity/0.7.15_x86_64/duplicity-0.7.15-chromeos-x86_64.tar.xz',
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/duplicity/0.8.19_armv7l/duplicity-0.8.19-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/duplicity/0.8.19_armv7l/duplicity-0.8.19-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/duplicity/0.8.19_x86_64/duplicity-0.8.19-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256 ({
|
||||
aarch64: '173e42b07ec4d4646cfbe16c78faabf1f7bce3a6b754350058fa1ebc19d82a0b',
|
||||
armv7l: '173e42b07ec4d4646cfbe16c78faabf1f7bce3a6b754350058fa1ebc19d82a0b',
|
||||
i686: 'f09130b65c2f29bd44204911efaf1a755bf1be74454f4c62f3e77a808b47b090',
|
||||
x86_64: 'e122233caf601a05b85b1816ae690be8c1d6e82a83953351c8ecd0ca6046706e',
|
||||
binary_sha256({
|
||||
aarch64: '69cffac0a6b444047e073e8d8aff2dcd0f3e362da626ea0cb2824530963aa684',
|
||||
armv7l: '69cffac0a6b444047e073e8d8aff2dcd0f3e362da626ea0cb2824530963aa684',
|
||||
x86_64: 'a472aa7109a205f91dd16a4e3604bf73ddd7ef5e257eddfd7c63a39ba18eebbc'
|
||||
})
|
||||
|
||||
depends_on 'python2' unless File.exists? "#{CREW_PREFIX}/bin/python"
|
||||
depends_on 'librsync'
|
||||
depends_on 'gnupg'
|
||||
depends_on 'openssh'
|
||||
depends_on 'py3_future'
|
||||
depends_on 'py3_fasteners'
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.build
|
||||
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "pip install --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR} fasteners"
|
||||
system "python setup.py install --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR}"
|
||||
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
|
||||
end
|
||||
end
|
||||
|
||||
@@ -38,7 +38,7 @@ class Flatpak < Package
|
||||
depends_on 'libxau'
|
||||
depends_on 'polkit'
|
||||
depends_on 'pulseaudio'
|
||||
depends_on 'pyparsing'
|
||||
depends_on 'py3_pyparsing'
|
||||
depends_on 'xdg_base'
|
||||
depends_on 'xdg_dbus_proxy'
|
||||
depends_on 'xmlto' => :build
|
||||
|
||||
@@ -2,28 +2,17 @@ require 'package'
|
||||
|
||||
class Fuse3 < Package
|
||||
description 'The reference implementation of the Linux FUSE (Filesystem in Userspace) interface.'
|
||||
homepage 'https://github.com/libfuse/libfuse'
|
||||
version '3.10.2'
|
||||
homepage 'https://github.com/libfuse/libfuse/'
|
||||
@_ver = '3.10.4'
|
||||
version @_ver
|
||||
license 'GPL-2+'
|
||||
compatibility 'all'
|
||||
source_url "https://github.com/libfuse/libfuse/releases/download/fuse-#{version}/fuse-#{version}.tar.xz"
|
||||
source_sha256 '736e8d1ce65c09cb435fbbb500d53dc75f4d6e93bd325d22adc890951cf56337'
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/fuse3/3.10.2_armv7l/fuse3-3.10.2-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/fuse3/3.10.2_armv7l/fuse3-3.10.2-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/fuse3/3.10.2_i686/fuse3-3.10.2-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/fuse3/3.10.2_x86_64/fuse3-3.10.2-chromeos-x86_64.tar.xz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '6e4d623810017d9dc58852f19d251fe52282578d6099ea41eac94d23eb0066e8',
|
||||
armv7l: '6e4d623810017d9dc58852f19d251fe52282578d6099ea41eac94d23eb0066e8',
|
||||
i686: 'd202035312895ee3bd9d260775cabba729d67996b3a3c1ce3786c83120515efa',
|
||||
x86_64: 'c82701ac8f799f7716963363ab44b8a7984d580eff3ecd1d54ddbc589e08c907'
|
||||
})
|
||||
source_url "https://github.com/libfuse/libfuse.git"
|
||||
git_hashtag 'fuse-' + @_ver
|
||||
|
||||
depends_on 'py3_pytest' => :build
|
||||
|
||||
def self.build
|
||||
system "pip install --upgrade --no-warn-script-location pytest --prefix #{CREW_PREFIX}"
|
||||
system "meson #{CREW_MESON_OPTIONS} \
|
||||
-Ddisable-mtab=true \
|
||||
-Dudevrulesdir=#{CREW_PREFIX}/etc/udev/rules.d/ \
|
||||
@@ -31,14 +20,12 @@ class Fuse3 < Package
|
||||
-Duseroot=false \
|
||||
builddir"
|
||||
system 'meson configure builddir'
|
||||
system 'ninja -C builddir'
|
||||
system 'samu -C builddir'
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
|
||||
system "DESTDIR=#{CREW_DEST_DIR} samu -C builddir install"
|
||||
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/etc/init.d/"
|
||||
FileUtils.mv "#{CREW_DEST_DIR}/etc/init.d/fuse3", "#{CREW_DEST_PREFIX}/etc/init.d/fuse3"
|
||||
FileUtils.mv "#{CREW_DEST_PREFIX}/sbin/mount.fuse3", "#{CREW_DEST_PREFIX}/bin/mount.fuse3"
|
||||
system 'pip uninstall -y pytest'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -31,10 +31,6 @@ class Gdb < Package
|
||||
depends_on 'source_highlight' # R
|
||||
depends_on 'boost' # R
|
||||
|
||||
def self.patch
|
||||
system "sed -i 's%#include <term.h>%#include <ncursesw/term.h>%g' gdb/gdb_curses.h"
|
||||
end
|
||||
|
||||
def self.build
|
||||
FileUtils.mkdir_p 'build'
|
||||
Dir.chdir('build') do
|
||||
|
||||
@@ -31,15 +31,9 @@ class Gdk_pixbuf < Package
|
||||
depends_on 'libtiff' # R
|
||||
depends_on 'libwebp' => :build
|
||||
depends_on 'pango' => :build
|
||||
depends_on 'six' => :build
|
||||
|
||||
@python_deps = %w[Markdown typogrify]
|
||||
|
||||
def self.prebuild
|
||||
@python_deps.each do |item|
|
||||
system "pip install --upgrade #{item}"
|
||||
end
|
||||
end
|
||||
depends_on 'py3_six' => :build
|
||||
depends_on 'py3_markdown' => :build
|
||||
depends_on 'py3_typogrify' => :build
|
||||
|
||||
def self.build
|
||||
system "meson #{CREW_MESON_OPTIONS} \
|
||||
@@ -50,15 +44,11 @@ class Gdk_pixbuf < Package
|
||||
-Ddebug=false \
|
||||
-Dman=true \
|
||||
builddir"
|
||||
system 'meson configure builddir'
|
||||
system 'ninja -C builddir'
|
||||
@python_deps.each do |item|
|
||||
system "pip uninstall --yes #{item}"
|
||||
end
|
||||
system 'samu -C builddir'
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
|
||||
system "DESTDIR=#{CREW_DEST_DIR} samu -C builddir install"
|
||||
loader_dir = "#{CREW_DEST_LIB_PREFIX}/gdk-pixbuf-2.0/2.10.0/loaders"
|
||||
FileUtils.mkdir_p loader_dir
|
||||
system "touch #{loader_dir}.cache"
|
||||
|
||||
@@ -3,18 +3,27 @@ require 'package'
|
||||
class Gittools < Package
|
||||
description 'Tools for analyzing .git repositories'
|
||||
homepage 'https://github.com/internetwache/GitTools'
|
||||
version '37487'
|
||||
@_ver = '24eaef0d11e590643e65d188b017b49414d81cc2'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/internetwache/GitTools/archive/37487f603d1ba1bc5d7f7c94e9aa4b8e3beec413.tar.gz'
|
||||
source_sha256 'f445be1294a2b22dda860c8e9f8a3e891d24150b0dd591d9a0373711bf9f8b7c'
|
||||
source_url 'https://github.com/internetwache/GitTools.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
binary_url ({
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gittools/24eaef0d11e590643e65d188b017b49414d81cc2_armv7l/gittools-24eaef0d11e590643e65d188b017b49414d81cc2-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gittools/24eaef0d11e590643e65d188b017b49414d81cc2_armv7l/gittools-24eaef0d11e590643e65d188b017b49414d81cc2-chromeos-armv7l.tpxz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gittools/24eaef0d11e590643e65d188b017b49414d81cc2_i686/gittools-24eaef0d11e590643e65d188b017b49414d81cc2-chromeos-i686.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gittools/24eaef0d11e590643e65d188b017b49414d81cc2_x86_64/gittools-24eaef0d11e590643e65d188b017b49414d81cc2-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256 ({
|
||||
binary_sha256({
|
||||
aarch64: '7d71cda4330eb365798fca1c44d42ac4757fcaa20c057b370f740874e3424820',
|
||||
armv7l: '7d71cda4330eb365798fca1c44d42ac4757fcaa20c057b370f740874e3424820',
|
||||
i686: 'a46f08d6556c1dda637ca1f9823bf9440b0bd0fc533b856da94242685db5a517',
|
||||
x86_64: '13973423b9d8f1f015b6d003e9627b7753b0730f805cd1e9bdc6b67b14081dc2'
|
||||
})
|
||||
|
||||
depends_on 'python3'
|
||||
depends_on 'py3_requests'
|
||||
|
||||
def self.build
|
||||
system "echo '#!/bin/bash' > gitfinder"
|
||||
@@ -30,17 +39,14 @@ class Gittools < Package
|
||||
system "install -Dm755 Extractor/extractor.sh #{CREW_DEST_PREFIX}/bin/extractor"
|
||||
system "install -Dm755 Finder/gitfinder.py #{CREW_DEST_PREFIX}/bin/gitfinder.py"
|
||||
system "install -Dm755 gitfinder #{CREW_DEST_PREFIX}/bin/gitfinder"
|
||||
Dir.chdir 'Finder' do
|
||||
system "pip3 install -r requirements.txt --root #{CREW_DEST_DIR} --prefix #{CREW_PREFIX}"
|
||||
end
|
||||
end
|
||||
|
||||
def self.postinstall
|
||||
puts
|
||||
puts "The following tools are available:".lightblue
|
||||
puts "gitfinder - identifies websites with publicly accessible .git repositories".lightblue
|
||||
puts "gitdumper - downloads .git repositories from webservers which do not have directory listing enabled".lightblue
|
||||
puts "extractor - attempts to recover incomplete git repositories".lightblue
|
||||
puts 'The following tools are available:'.lightblue
|
||||
puts 'gitfinder - identifies websites with publicly accessible .git repositories'.lightblue
|
||||
puts 'gitdumper - downloads .git repositories from webservers which do not have directory listing enabled'.lightblue
|
||||
puts 'extractor - attempts to recover incomplete git repositories'.lightblue
|
||||
puts
|
||||
end
|
||||
end
|
||||
|
||||
@@ -24,9 +24,9 @@ class Glib < Package
|
||||
x86_64: 'f2f4cce78c7cedfa0ab73438c83f6aed840b5bdd92b8d0dcb7dea3ef81bd785f',
|
||||
})
|
||||
|
||||
depends_on 'pygments' => :build
|
||||
depends_on 'shared_mime_info' # L
|
||||
depends_on 'six' => :build
|
||||
depends_on 'py3_six' => :build
|
||||
depends_on 'py3_pygments' => :build
|
||||
depends_on 'util_linux' # R
|
||||
|
||||
def self.build
|
||||
|
||||
@@ -10,7 +10,7 @@ class Gnome_calculator < Package
|
||||
source_url "https://download.gnome.org/sources/gnome-calculator/#{@_ver.rpartition('.')[0]}/gnome-calculator-#{@_ver}.tar.xz"
|
||||
source_sha256 '8c83cc6433e015d15aa2a0cf3d0b187f7adb92830d39dd2e66076c73192a316b'
|
||||
|
||||
depends_on 'setuptools' => :build
|
||||
depends_on 'py3_setuptools' => :build
|
||||
depends_on 'gtk3'
|
||||
depends_on 'gtksourceview'
|
||||
depends_on 'itstool'
|
||||
|
||||
@@ -43,7 +43,7 @@ class Gtk2 < Package
|
||||
depends_on 'libxrender'
|
||||
depends_on 'pango'
|
||||
depends_on 'shared_mime_info'
|
||||
depends_on 'six' => :build
|
||||
depends_on 'py3_six' => :build
|
||||
|
||||
def self.build
|
||||
system "env CFLAGS='-pipe -flto=auto' \
|
||||
|
||||
@@ -34,7 +34,7 @@ class Gtk3 < Package
|
||||
depends_on 'graphite' => :build # Do we need this?
|
||||
depends_on 'libdeflate' => :build # Do we need this?
|
||||
depends_on 'libjpeg' => :build # Do we need this?
|
||||
depends_on 'six' => :build # Do we need this?
|
||||
depends_on 'py3_six' => :build # Do we need this?
|
||||
depends_on 'adwaita_icon_theme' # L
|
||||
depends_on 'cantarell_fonts' # L
|
||||
depends_on 'gnome_icon_theme' # L
|
||||
|
||||
@@ -31,8 +31,8 @@ class Gtk4 < Package
|
||||
depends_on 'libspectre' => :build
|
||||
depends_on 'mesa' => :build
|
||||
depends_on 'valgrind' => :build
|
||||
depends_on 'pygments' => :build # Is this needed?
|
||||
depends_on 'six' => :build # Is this needed?
|
||||
depends_on 'py3_pygments' => :build # Is this needed?
|
||||
depends_on 'py3_six' => :build # Is this needed?
|
||||
depends_on 'vulkan_headers' => :build
|
||||
depends_on 'adwaita_icon_theme' # L
|
||||
depends_on 'cantarell_fonts' # L
|
||||
|
||||
@@ -26,7 +26,7 @@ class Gtk_doc < Package
|
||||
depends_on 'fop'
|
||||
depends_on 'itstool'
|
||||
depends_on 'libxslt'
|
||||
depends_on 'pygments' => :build
|
||||
depends_on 'py3_pygments' => :build
|
||||
|
||||
#def self.patch
|
||||
# There are a lot of patches to grab here ~ They've all come from Void-Packages (xbps-src)
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
require 'package'
|
||||
|
||||
class Gyp < Package
|
||||
description 'GYP is a Meta-Build system: a build system that generates other build systems.'
|
||||
homepage 'https://gyp.gsrc.io/'
|
||||
version '81286d'
|
||||
license 'BSD-3'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/bnoordhuis/gyp/archive/81286d388abf5c8f946f3f4be274bd987a690952.tar.gz'
|
||||
source_sha256 'c99f4fb0ba0798492713cd19579af8140e9a65d32af62c56bd6d447cf1ab7f6a'
|
||||
|
||||
binary_url ({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gyp/81286d_armv7l/gyp-81286d-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gyp/81286d_armv7l/gyp-81286d-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gyp/81286d_i686/gyp-81286d-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gyp/81286d_x86_64/gyp-81286d-chromeos-x86_64.tar.xz',
|
||||
})
|
||||
binary_sha256 ({
|
||||
aarch64: '74c53919430e90aafd5301d815c8f161dc79822067e1381f7ed7116522eb8c93',
|
||||
armv7l: '74c53919430e90aafd5301d815c8f161dc79822067e1381f7ed7116522eb8c93',
|
||||
i686: '00f6bc5495648c67d1ddf35dca8bf382191be220861f027604d4aa4e4a33ac1a',
|
||||
x86_64: 'a6ad933e8dc00f2fc5baff2f5bf523040a7a427dbb5f4e59dd7cfc2e48c8388c',
|
||||
})
|
||||
|
||||
depends_on 'python2' unless File.exists? "#{CREW_PREFIX}/bin/python"
|
||||
|
||||
def self.install
|
||||
system "python setup.py install --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR}"
|
||||
end
|
||||
end
|
||||
@@ -1,28 +1,35 @@
|
||||
require 'package'
|
||||
|
||||
class Gyp_next < Package
|
||||
description 'GYP can Generate Your Projects.'
|
||||
homepage 'https://github.com/nodejs/gyp-next'
|
||||
version '0.8.0'
|
||||
license 'BSD'
|
||||
description 'GYP is a fork of the GYP build system for use in the Node.js projects.'
|
||||
homepage 'https://github.com/nodejs/gyp-next/'
|
||||
@_ver = '0.8.1'
|
||||
version @_ver
|
||||
license 'BSD-3'
|
||||
compatibility 'all'
|
||||
source_url 'SKIP'
|
||||
source_url 'https://github.com/nodejs/gyp-next.git'
|
||||
git_hashtag "v#{@_ver}"
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gyp_next/0.8.0_armv7l/gyp_next-0.8.0-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gyp_next/0.8.0_armv7l/gyp_next-0.8.0-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gyp_next/0.8.0_i686/gyp_next-0.8.0-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gyp_next/0.8.0_x86_64/gyp_next-0.8.0-chromeos-x86_64.tar.xz'
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gyp_next/0.8.1_armv7l/gyp_next-0.8.1-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gyp_next/0.8.1_armv7l/gyp_next-0.8.1-chromeos-armv7l.tpxz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gyp_next/0.8.1_i686/gyp_next-0.8.1-chromeos-i686.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gyp_next/0.8.1_x86_64/gyp_next-0.8.1-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '6f9637bbb731df38ebe855839e40e7c390127fc391e37428acf9ab978e73607b',
|
||||
armv7l: '6f9637bbb731df38ebe855839e40e7c390127fc391e37428acf9ab978e73607b',
|
||||
i686: '9662dcd813ad9d11c600d92f00cadc549ea787533c228b34bcf1b28e5cb9d180',
|
||||
x86_64: '4e94350d25225bc3ccc8a2b32d710ccef16ea2ce637969774ccccc8b85d8edd9'
|
||||
aarch64: '95b8ca7502843d7af0e2ed1ad85b27e426b2f7a72b345e73c3e67e4cde5b0674',
|
||||
armv7l: '95b8ca7502843d7af0e2ed1ad85b27e426b2f7a72b345e73c3e67e4cde5b0674',
|
||||
i686: 'ebd77d1c33236013adbaefed35bf7dedd576483dca65b78f028e28b4f4eb2729',
|
||||
x86_64: 'f0d7e59aee2f08b5b0a9b40b7daef3b8a85c850d46dc73fcc33ad1a6eacd11e5'
|
||||
})
|
||||
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.build
|
||||
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system 'pip3 uninstall -y gyp-next'
|
||||
system "pip3 install --upgrade --no-warn-script-location gyp-next --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR}"
|
||||
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
|
||||
end
|
||||
end
|
||||
|
||||
@@ -28,7 +28,7 @@ class Harfbuzz < Package
|
||||
depends_on 'gobject_introspection'
|
||||
depends_on 'ragel' => :build
|
||||
depends_on 'freetype_sub'
|
||||
depends_on 'six' => :build
|
||||
depends_on 'py3_six' => :build
|
||||
depends_on 'graphite' => :build
|
||||
|
||||
def self.build
|
||||
|
||||
@@ -3,36 +3,34 @@ require 'package'
|
||||
class Itstool < Package
|
||||
description 'Translate XML with PO files using W3C Internationalization Tag Set rules'
|
||||
homepage 'http://itstool.org/'
|
||||
version '2.0.6-1'
|
||||
@_ver = '2.0.6'
|
||||
version "#{@_ver}-2"
|
||||
license 'GPL-3+'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/itstool/itstool/archive/2.0.6.tar.gz'
|
||||
source_sha256 'bda0b08e9a1db885c9d7d1545535e9814dd8931d5b8dd5ab4a47bd769d0130c6'
|
||||
source_url 'https://github.com/itstool/itstool.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
binary_url ({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/itstool/2.0.6-1_armv7l/itstool-2.0.6-1-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/itstool/2.0.6-1_armv7l/itstool-2.0.6-1-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/itstool/2.0.6-1_i686/itstool-2.0.6-1-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/itstool/2.0.6-1_x86_64/itstool-2.0.6-1-chromeos-x86_64.tar.xz',
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/itstool/2.0.6-2_armv7l/itstool-2.0.6-2-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/itstool/2.0.6-2_armv7l/itstool-2.0.6-2-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/itstool/2.0.6-2_x86_64/itstool-2.0.6-2-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256 ({
|
||||
aarch64: '765e60cddd633a23262c94f0b9093d3b1ffcfe40eba35ca4b533ef85e2112949',
|
||||
armv7l: '765e60cddd633a23262c94f0b9093d3b1ffcfe40eba35ca4b533ef85e2112949',
|
||||
i686: '596bacc10fced4176a5d79e50739c02f299a3998398ae635b949a4fb8ad16478',
|
||||
x86_64: '64c99cf974fec8958a31b3cc642d93ed68b9458ec7c403e93734e344afc191ed',
|
||||
binary_sha256({
|
||||
aarch64: '93c92457c4087d06554d9217b5f56d275a1dd401129e8f8598ec79c22debae99',
|
||||
armv7l: '93c92457c4087d06554d9217b5f56d275a1dd401129e8f8598ec79c22debae99',
|
||||
x86_64: '61ad649af3ed493056b27350cf3491e7a6ada6d472dbb5d82f6586e7d5a2de6c'
|
||||
})
|
||||
|
||||
depends_on 'py3_libxml2'
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.build
|
||||
system './autogen.sh'
|
||||
system "env CFLAGS='-pipe -flto=auto' CXXFLAGS='-pipe -flto=auto' \
|
||||
./configure #{CREW_OPTIONS}"
|
||||
system 'make'
|
||||
system 'env NOCONFIGURE=1 ./autogen.sh'
|
||||
system "#{CREW_ENV_OPTIONS} ./configure #{CREW_OPTIONS}"
|
||||
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
|
||||
system "pip3 uninstall -y itstool"
|
||||
system "pip3 install --upgrade --no-warn-script-location itstool --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR}"
|
||||
def self.install
|
||||
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS_NO_SVEM}"
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
require 'package'
|
||||
|
||||
class Json2xml < Package
|
||||
description 'json to xml converter'
|
||||
homepage 'https://github.com/vinitkumar/json2xml'
|
||||
version '2.1.0-1'
|
||||
license 'Apache-2.0'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/vinitkumar/json2xml/archive/v2.1.0.tar.gz'
|
||||
source_sha256 '61c7c848f7dc74d09ecc10badaa69902859483ea4e3b13148a83173af564aeea'
|
||||
|
||||
binary_url ({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/json2xml/2.1.0_armv7l/json2xml-2.1.0-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/json2xml/2.1.0_armv7l/json2xml-2.1.0-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/json2xml/2.1.0_i686/json2xml-2.1.0-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/json2xml/2.1.0_x86_64/json2xml-2.1.0-chromeos-x86_64.tar.xz',
|
||||
})
|
||||
binary_sha256 ({
|
||||
aarch64: 'a7456faac3802bfffa003a845d7f7f12869e02796542b97b0539940ca6222061',
|
||||
armv7l: 'a7456faac3802bfffa003a845d7f7f12869e02796542b97b0539940ca6222061',
|
||||
i686: 'ed8b21bbcc5b6bc8d92eb5e36ff827de365e21a70c30537cf955dfb096833f8b',
|
||||
x86_64: 'cea573afae8c6f6439610041160f11aef73988eac87708d875b5be0cbef77043',
|
||||
})
|
||||
|
||||
depends_on 'libxslt'
|
||||
depends_on 'setuptools'
|
||||
|
||||
def self.install
|
||||
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/bin"
|
||||
Dir.chdir "#{CREW_DEST_PREFIX}/bin" do
|
||||
system "echo '#!/bin/bash' > json2xml"
|
||||
system "echo 'if test $1; then' >> json2xml"
|
||||
system "echo ' python3 -m src.cli \"$@\"' >> json2xml"
|
||||
system "echo 'else' >> json2xml"
|
||||
system "echo ' echo \"Usage: json2xml [-h] [--url URL] [--file FILE] [--data DATA]\"' >> json2xml"
|
||||
system "echo ' echo \"See https://github.com/vinitkumar/json2xml.\"' >> json2xml"
|
||||
system "echo 'fi' >> json2xml"
|
||||
system "chmod +x json2xml"
|
||||
end
|
||||
system "CFLAGS=-I#{CREW_PREFIX}/include/libxml2 pip3 install . --root #{CREW_DEST_DIR} --prefix #{CREW_PREFIX}"
|
||||
end
|
||||
end
|
||||
@@ -24,7 +24,7 @@ class Kcov < Package
|
||||
|
||||
depends_on 'libcurl'
|
||||
depends_on 'elfutils'
|
||||
depends_on 'six'
|
||||
depends_on 'py3_six'
|
||||
|
||||
def self.build
|
||||
Dir.mkdir 'build'
|
||||
|
||||
@@ -25,7 +25,7 @@ class Libcroco < Package
|
||||
})
|
||||
|
||||
depends_on 'gtk_doc'
|
||||
depends_on 'six' => :build
|
||||
depends_on 'py3_six' => :build
|
||||
|
||||
def self.build
|
||||
system 'sh autogen.sh'
|
||||
|
||||
@@ -23,7 +23,7 @@ class Libewf < Package
|
||||
})
|
||||
|
||||
depends_on 'bz2'
|
||||
depends_on 'six'
|
||||
depends_on 'py3_six'
|
||||
depends_on 'util_linux'
|
||||
|
||||
def self.build
|
||||
|
||||
@@ -3,32 +3,19 @@ require 'package'
|
||||
class Libmypaint < Package
|
||||
description 'Libmypaint is MyPaint\'s brushstroke rendering code, in a form that can be used by other programs.'
|
||||
homepage 'http://mypaint.org/'
|
||||
version '1.6.1'
|
||||
@_ver = '1.6.1'
|
||||
version @_ver
|
||||
license 'ISC'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/mypaint/libmypaint/releases/download/v1.6.1/libmypaint-1.6.1.tar.xz'
|
||||
source_sha256 '741754f293f6b7668f941506da07cd7725629a793108bb31633fb6c3eae5315f'
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libmypaint/1.6.1_armv7l/libmypaint-1.6.1-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libmypaint/1.6.1_armv7l/libmypaint-1.6.1-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libmypaint/1.6.1_i686/libmypaint-1.6.1-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libmypaint/1.6.1_x86_64/libmypaint-1.6.1-chromeos-x86_64.tar.xz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: 'd4771b0d30a84a37170863f83158f18c3ba5d2cbe49d8ba40f07bf4b9dd9193b',
|
||||
armv7l: 'd4771b0d30a84a37170863f83158f18c3ba5d2cbe49d8ba40f07bf4b9dd9193b',
|
||||
i686: '2073f128ff52c6e7ea2f0a1499eaffc779ff7fee82a15cdbcf20cfd8c79a3fad',
|
||||
x86_64: 'c9e0ec9d662a735f5e4373c5222ac37931bbd21e15314e80af0b14f1cdabe8c2'
|
||||
})
|
||||
source_url 'https://github.com/mypaint/libmypaint.git'
|
||||
git_hashtag 'v' + @_ver
|
||||
|
||||
depends_on 'gegl'
|
||||
depends_on 'jsonc'
|
||||
|
||||
def self.build
|
||||
system "env CFLAGS='-pipe -flto=auto' \
|
||||
CXXFLAGS='-pipe -flto=auto' \
|
||||
LDFLAGS='-flto=auto' \
|
||||
system "env NOCONFIGURE=1 ./autogen.sh"
|
||||
system "env #{CREW_ENV_OPTIONS} \
|
||||
GEGL_LIBS=\"#{CREW_LIB_PREFIX}/gegl-0.4\" \
|
||||
GEGL_CFLAGS=\"-I#{CREW_PREFIX}/include/gegl-0.4 \
|
||||
-I#{CREW_PREFIX}/include/babl-0.1 \
|
||||
|
||||
@@ -27,7 +27,7 @@ class Libnewt < Package
|
||||
depends_on 'libxcrypt'
|
||||
depends_on 'popt'
|
||||
depends_on 'tcl' => :build
|
||||
depends_on 'pygments' => :build
|
||||
depends_on 'py3_pygments' => :build
|
||||
|
||||
def self.patch
|
||||
patch_url = 'http://deb.debian.org/debian/pool/main/n/newt/newt_0.52.21-4.debian.tar.xz'
|
||||
|
||||
@@ -22,7 +22,7 @@ class Libprelude < Package
|
||||
x86_64: 'f7642b1ffb9a0b5ee5c22a3f1345fbc0ff8b7e334a9839c7d24b7108fd069806',
|
||||
})
|
||||
|
||||
depends_on 'six' => :build
|
||||
depends_on 'py3_six' => :build
|
||||
|
||||
def self.build
|
||||
system "./configure \
|
||||
|
||||
@@ -36,7 +36,7 @@ class Librsvg < Package
|
||||
depends_on 'libpng'
|
||||
depends_on 'pango'
|
||||
depends_on 'rust' => :build
|
||||
depends_on 'six' => :build
|
||||
depends_on 'py3_six' => :build
|
||||
depends_on 'vala' => :build
|
||||
|
||||
def self.build
|
||||
|
||||
@@ -3,24 +3,12 @@ require 'package'
|
||||
class Librsync < Package
|
||||
description 'remote delta-compression library'
|
||||
homepage 'https://librsync.github.io/'
|
||||
version '2.0.1-1'
|
||||
@_ver = '2.3.2'
|
||||
version @_ver
|
||||
license 'LGPL-2.1'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/librsync/librsync/archive/v2.0.1.tar.gz'
|
||||
source_sha256 '6fce69041aa4fc72a21f1ab280a7299b82df2b1fa0a25d8695fd527e6752625e'
|
||||
|
||||
binary_url ({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/librsync/2.0.1_armv7l/librsync-2.0.1-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/librsync/2.0.1_armv7l/librsync-2.0.1-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/librsync/2.0.1_i686/librsync-2.0.1-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/librsync/2.0.1_x86_64/librsync-2.0.1-chromeos-x86_64.tar.xz',
|
||||
})
|
||||
binary_sha256 ({
|
||||
aarch64: '49885aeceb210260c6e731c7ab45c0f3eeb65c3b5202d5d32ac848c5974a8ebc',
|
||||
armv7l: '49885aeceb210260c6e731c7ab45c0f3eeb65c3b5202d5d32ac848c5974a8ebc',
|
||||
i686: '3f3ae26981e968241522f4593051290ccb4266b36b2d9367c1afb07e541db6c5',
|
||||
x86_64: '7b997d55a11e5709a33f90e6b392b388f56ea7be1f6683027e27fb349eacdbef',
|
||||
})
|
||||
source_url 'https://github.com/librsync/librsync.git'
|
||||
git_hashtag 'v' + @_ver
|
||||
|
||||
depends_on 'cmake' => :build
|
||||
depends_on 'bz2'
|
||||
@@ -29,7 +17,7 @@ class Librsync < Package
|
||||
depends_on 'zlibpkg'
|
||||
|
||||
def self.build
|
||||
system "cmake . -DPREFIX=#{CREW_PREFIX} -DCMAKE_INSTALL_LIBDIR=#{CREW_DEST_LIB_PREFIX} -DCMAKE_C_FLAGS='-fPIC'"
|
||||
system "cmake . #{CREW_CMAKE_OPTIONS}"
|
||||
system "make"
|
||||
end
|
||||
|
||||
|
||||
@@ -3,45 +3,41 @@ require 'package'
|
||||
class Libwacom < Package
|
||||
description 'libwacom is a wrapper library for evdev devices.'
|
||||
homepage 'https://github.com/linuxwacom/libwacom'
|
||||
@_ver = 1.8
|
||||
@_ver = '1.11'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url "https://github.com/linuxwacom/libwacom/releases/download/libwacom-#{@_ver}/libwacom-#{@_ver}.tar.bz2"
|
||||
source_sha256 '2e8075e60bbef74fe9c3539b0a0080efab28912b2552784d8b54dbbf1aaa63e5'
|
||||
source_url 'https://github.com/linuxwacom/libwacom.git'
|
||||
git_hashtag "libwacom-#{@_ver}"
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libwacom/1.8_armv7l/libwacom-1.8-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libwacom/1.8_armv7l/libwacom-1.8-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libwacom/1.8_i686/libwacom-1.8-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libwacom/1.8_x86_64/libwacom-1.8-chromeos-x86_64.tar.xz'
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libwacom/1.11_armv7l/libwacom-1.11-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libwacom/1.11_armv7l/libwacom-1.11-chromeos-armv7l.tpxz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libwacom/1.11_i686/libwacom-1.11-chromeos-i686.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libwacom/1.11_x86_64/libwacom-1.11-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '7029db156ea3a27a9024f12071cb1fb99a54f233b1df0b3c5eb6174d5e5a54fd',
|
||||
armv7l: '7029db156ea3a27a9024f12071cb1fb99a54f233b1df0b3c5eb6174d5e5a54fd',
|
||||
i686: '9c1f8a3548b8d374e7da99311b9ecd88781989f605ef7fa4f3b703f5bd8e6cf7',
|
||||
x86_64: 'bd25043dcd7c6affa57e04ac2c9b6abebefa03ca7c6f83cb5c64827562ccf770'
|
||||
aarch64: '3f82ff53c82a48d4fc98b628f4d8be620872f4751e199779b861ee3045c7350e',
|
||||
armv7l: '3f82ff53c82a48d4fc98b628f4d8be620872f4751e199779b861ee3045c7350e',
|
||||
i686: '52e75577ecd3ded6104aa7286cf6e4b8d24e7199fa9236e0f79a1a2cd98bfe61',
|
||||
x86_64: '479764662e888c2c014b0a4f95a359adf8f892d7f08283b5e7fc3d16798d85ca'
|
||||
})
|
||||
|
||||
depends_on 'libgudev'
|
||||
depends_on 'eudev'
|
||||
depends_on 'libevdev'
|
||||
depends_on 'py3_libevdev' => :build
|
||||
depends_on 'py3_pyudev' => :build
|
||||
depends_on 'py3_pytest' => :build
|
||||
|
||||
def self.build
|
||||
system "pip3 install --upgrade --no-warn-script-location pyudev --prefix #{CREW_PREFIX}"
|
||||
system "pip3 install --upgrade --no-warn-script-location pytest --prefix #{CREW_PREFIX}"
|
||||
system "pip3 install --upgrade --no-warn-script-location libevdev --prefix #{CREW_PREFIX}"
|
||||
system "meson #{CREW_MESON_OPTIONS} \
|
||||
-Dtests=disabled \
|
||||
builddir"
|
||||
system 'meson configure builddir'
|
||||
system 'ninja -C builddir'
|
||||
system 'samu -C builddir'
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
|
||||
system 'pip3 uninstall -y pyudev'
|
||||
system 'pip3 uninstall -y pytest'
|
||||
system 'pip3 uninstall -y libevdev'
|
||||
system "DESTDIR=#{CREW_DEST_DIR} samu -C builddir install"
|
||||
end
|
||||
end
|
||||
|
||||
@@ -31,7 +31,7 @@ class Libxml2 < Package
|
||||
end
|
||||
|
||||
def self.build
|
||||
# libxml2-python built in another package (libxml2_python)
|
||||
# libxml2-python built in another package (py3_libxml2)
|
||||
system "./autogen.sh \
|
||||
#{CREW_OPTIONS} \
|
||||
#{CREW_ENV_OPTIONS} \
|
||||
|
||||
@@ -1,42 +1,13 @@
|
||||
require 'package'
|
||||
|
||||
class Libxml2_python < Package
|
||||
description 'Libxml2 (python module) is the XML C parser and toolkit developed for the Gnome project.'
|
||||
homepage 'http://xmlsoft.org/'
|
||||
version '2.9.10-f93c'
|
||||
description 'Dummy package for py3_libxml2'
|
||||
homepage 'https://gitlab.gnome.org/GNOME/libxml2/'
|
||||
version '1'
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/GNOME/libxml2/archive/f93ca3e140a371b26366f747a408588c631e0fd1.zip'
|
||||
source_sha256 '0faa7455354a724e3d07c37177cbf125b3e04da91073fa0858806cb5376f2c55'
|
||||
|
||||
binary_url ({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libxml2_python/2.9.10-f93c_armv7l/libxml2_python-2.9.10-f93c-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libxml2_python/2.9.10-f93c_armv7l/libxml2_python-2.9.10-f93c-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libxml2_python/2.9.10-f93c_i686/libxml2_python-2.9.10-f93c-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libxml2_python/2.9.10-f93c_x86_64/libxml2_python-2.9.10-f93c-chromeos-x86_64.tar.xz',
|
||||
})
|
||||
binary_sha256 ({
|
||||
aarch64: 'a9a5e98c5efbaa2640f4d6b89c5bbe790c1f4b76c5eb27796c3f3fed4746f4d1',
|
||||
armv7l: 'a9a5e98c5efbaa2640f4d6b89c5bbe790c1f4b76c5eb27796c3f3fed4746f4d1',
|
||||
i686: 'e33618cc4ec9f4a0a6ee1f2a27de1a137981bb2beb6158fd6dc988bd2821d0be',
|
||||
x86_64: '1cdba7d1e69a31876eabab8f84f61a883486140a9acc09f57c2f9ed27a3f912f',
|
||||
})
|
||||
is_fake
|
||||
|
||||
depends_on 'libxslt'
|
||||
|
||||
def self.build
|
||||
system "autoreconf -fi"
|
||||
system "./configure #{CREW_OPTIONS}"
|
||||
Dir.chdir("python") do
|
||||
system "LDFLAGS=-L#{CREW_LIB_PREFIX} python2 setup.py build"
|
||||
system "LDFLAGS=-L#{CREW_LIB_PREFIX} python3 setup.py build"
|
||||
end
|
||||
end
|
||||
|
||||
def self.install
|
||||
Dir.chdir("python") do
|
||||
system "python2 setup.py install --prefix=#{CREW_PREFIX} --root=#{CREW_DEST_DIR}"
|
||||
system "python3 setup.py install --prefix=#{CREW_PREFIX} --root=#{CREW_DEST_DIR}"
|
||||
end
|
||||
end
|
||||
depends_on 'py3_libxml2'
|
||||
end
|
||||
|
||||
@@ -22,7 +22,7 @@ class Libxslt < Package
|
||||
x86_64: '2ead1e30cb028f2f299056f8eea5bfb318f7346c6a65cfa4a891672560ed26bc',
|
||||
})
|
||||
|
||||
depends_on 'libxml2_python'
|
||||
depends_on 'py3_libxml2'
|
||||
depends_on 'libgcrypt'
|
||||
depends_on 'docbook_xsl'
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ class Llvm < Package
|
||||
})
|
||||
|
||||
depends_on 'ocaml' => :build
|
||||
depends_on 'pygments' => :build
|
||||
depends_on 'py3_pygments' => :build
|
||||
depends_on 'ccache' => :build
|
||||
depends_on 'elfutils' # R
|
||||
depends_on 'gcc11' # R or gcc11
|
||||
|
||||
@@ -31,7 +31,7 @@ class Llvm_stage1 < Package
|
||||
depends_on 'libedit'
|
||||
depends_on 'libtirpc'
|
||||
depends_on 'swig'
|
||||
depends_on 'pygments' => :build
|
||||
depends_on 'py3_pygments' => :build
|
||||
depends_on 'ccache' => :build
|
||||
|
||||
case ARCH
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
require 'package'
|
||||
|
||||
class Lxml < Package
|
||||
description 'Library for processing XML and HTML in the Python language.'
|
||||
homepage 'https://lxml.de/'
|
||||
version '4.6.1'
|
||||
license 'BSD, ElementTree, GPL-2 and PSF-2'
|
||||
compatibility 'all'
|
||||
source_url 'SKIP'
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/lxml/4.6.1_armv7l/lxml-4.6.1-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/lxml/4.6.1_armv7l/lxml-4.6.1-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/lxml/4.6.1_i686/lxml-4.6.1-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/lxml/4.6.1_x86_64/lxml-4.6.1-chromeos-x86_64.tar.xz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: 'c9b3bfe7891b89b124260f2fd7ac276060649922c9010b4287a13d18deb98c91',
|
||||
armv7l: 'c9b3bfe7891b89b124260f2fd7ac276060649922c9010b4287a13d18deb98c91',
|
||||
i686: '17ec2f74f7bb91b6cb81d8a58f62328e87002ded622ecc7d2d5216c9fc35139f',
|
||||
x86_64: '1951efc4cf2ad7b13fc33f5a8f89e49e5b52e117ca980819ed6ba0c58bbb16d6'
|
||||
})
|
||||
|
||||
def self.install
|
||||
system 'pip3 uninstall -y lxml'
|
||||
system "pip3 install --upgrade --no-warn-script-location lxml --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR}"
|
||||
end
|
||||
end
|
||||
@@ -24,7 +24,7 @@ class Mate_desktop < Package
|
||||
|
||||
depends_on 'mate_common'
|
||||
depends_on 'dconf'
|
||||
depends_on 'six' => :build
|
||||
depends_on 'py3_six' => :build
|
||||
|
||||
def self.build
|
||||
system "./autogen.sh"
|
||||
|
||||
@@ -3,49 +3,35 @@ require 'package'
|
||||
class Mercurial < Package
|
||||
description 'Mercurial is a free, distributed source control management tool. It efficiently handles projects of any size and offers an easy and intuitive interface.'
|
||||
homepage 'https://www.mercurial-scm.org/'
|
||||
version '4.2.2'
|
||||
@_ver = '5.8'
|
||||
version @_ver
|
||||
license 'GPL-2+'
|
||||
compatibility 'all'
|
||||
source_url 'https://www.mercurial-scm.org/release/mercurial-4.2.2.tar.gz'
|
||||
source_sha256 'b20132dec5ae6d27ee43a133144069895befe09f7e454bfa9e39950a185f0afe'
|
||||
source_url "https://www.mercurial-scm.org/release/mercurial-#{@_ver}.tar.gz"
|
||||
source_sha256 'fc5d6a8f6478d88ef83cdd0ab6d86ad68ee722bbdf4964e6a0b47c3c6ba5309f'
|
||||
|
||||
binary_url ({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mercurial/4.2.2_armv7l/mercurial-4.2.2-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mercurial/4.2.2_armv7l/mercurial-4.2.2-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mercurial/4.2.2_i686/mercurial-4.2.2-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mercurial/4.2.2_x86_64/mercurial-4.2.2-chromeos-x86_64.tar.xz',
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mercurial/5.8_armv7l/mercurial-5.8-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mercurial/5.8_armv7l/mercurial-5.8-chromeos-armv7l.tpxz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mercurial/5.8_i686/mercurial-5.8-chromeos-i686.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mercurial/5.8_x86_64/mercurial-5.8-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256 ({
|
||||
aarch64: '80f381f790326ad000501235b038d3f0633a6ac001d1bdb6969a7a0b3dd981da',
|
||||
armv7l: '80f381f790326ad000501235b038d3f0633a6ac001d1bdb6969a7a0b3dd981da',
|
||||
i686: '56f202784a34ae85917da536732f2d1897b4efef3cf1214272850598d363d4f1',
|
||||
x86_64: '5e33ff3958f26ff084330c833b90afd90314f28f9d60ec17150be63ab4b7e305',
|
||||
binary_sha256({
|
||||
aarch64: '83b3a8bcd61c507ea89833c67966a36fd4d1f254cd294ef7025f67e5fe912451',
|
||||
armv7l: '83b3a8bcd61c507ea89833c67966a36fd4d1f254cd294ef7025f67e5fe912451',
|
||||
i686: '4c7bc1014e1b53adbd4c7ab7ad3ed6fddef199486f34690ab8723adf9aaa10bc',
|
||||
x86_64: '6c94efc2f57585786374ee1202835226b844a0fe930cc8a520ac8d8a135623da'
|
||||
})
|
||||
|
||||
# what's the best route for adding a minimum version symbol as a constraint?
|
||||
depends_on "python27"
|
||||
depends_on 'py3_docutils'
|
||||
depends_on 'texinfo' => :build
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.build
|
||||
# would be great to avoid even downloading the source tarball if this dependency wasn't met
|
||||
py_ver = %x[python -V 2>&1 | awk '{ print $2 }'].strip
|
||||
abort '[!] python 2.7.13 or higher is required for tig, please run `crew upgrade python27` first.' unless py_ver > '2.7.12'
|
||||
if !%x[pip list | grep docutils].include? "docutils"
|
||||
puts "Installing docutils dependency..."
|
||||
system "pip", "install", "docutils"
|
||||
end
|
||||
system "make", "PREFIX=#{CREW_PREFIX}", "all"
|
||||
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
|
||||
puts "------------------"
|
||||
puts "Installation success!".lightgreen
|
||||
puts "Cleaning up dependencies only required for build..."
|
||||
system "pip", "uninstall", "docutils"
|
||||
puts
|
||||
puts "To begin using mercurial, you'll need to configure it.".lightblue
|
||||
puts
|
||||
puts "Run `hg debuginstall` and address any issues that it reports.".lightblue
|
||||
puts
|
||||
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
|
||||
end
|
||||
end
|
||||
|
||||
@@ -41,6 +41,7 @@ class Mesa < Package
|
||||
depends_on 'libxxf86vm' # R
|
||||
depends_on 'llvm' => :build
|
||||
depends_on 'lm_sensors' # R
|
||||
depends_on 'py3_mako'
|
||||
depends_on 'valgrind' => :build
|
||||
depends_on 'vulkan_headers' => :build
|
||||
depends_on 'vulkan_icd_loader' => :build
|
||||
@@ -56,19 +57,16 @@ class Mesa < Package
|
||||
@vk = 'auto'
|
||||
@galliumdrivers = 'auto'
|
||||
end
|
||||
system 'pip3 uninstall -y Mako MarkupSafe || :'
|
||||
system "pip3 install --no-warn-script-location --prefix \"#{CREW_PREFIX}\" --root \"#{CREW_DEST_DIR}\" Mako"
|
||||
system "pip3 install --prefix \"#{CREW_PREFIX}\" Mako"
|
||||
system "meson #{CREW_MESON_OPTIONS} \
|
||||
-Db_asneeded=false \
|
||||
-Dvulkan-drivers=#{@vk} \
|
||||
-Dgallium-drivers=#{@galliumdrivers} \
|
||||
builddir"
|
||||
system 'meson configure builddir'
|
||||
system 'ninja -C builddir'
|
||||
system 'samu -C builddir'
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
|
||||
system "DESTDIR=#{CREW_DEST_DIR} samu -C builddir install"
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1,32 +1,37 @@
|
||||
require 'package'
|
||||
|
||||
class Meson < Package
|
||||
description 'The Meson Build System'
|
||||
homepage 'http://mesonbuild.com/'
|
||||
@_ver = '0.58.1'
|
||||
description 'Meson is an open source build system meant to be both extremely fast and user friendly.'
|
||||
homepage 'https://mesonbuild.com/'
|
||||
@_ver = '0.58.2'
|
||||
version @_ver
|
||||
license 'Apache-2.0'
|
||||
compatibility 'all'
|
||||
source_url "https://github.com/mesonbuild/meson/archive/#{@_ver}.tar.gz"
|
||||
source_sha256 '78e0f553dd3bc632d5f96ab943b1bbccb599c2c84ff27c5fb7f7fff9c8a3f6b4'
|
||||
source_url 'https://github.com/mesonbuild/meson.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/meson/0.58.1_armv7l/meson-0.58.1-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/meson/0.58.1_armv7l/meson-0.58.1-chromeos-armv7l.tpxz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/meson/0.58.1_i686/meson-0.58.1-chromeos-i686.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/meson/0.58.1_x86_64/meson-0.58.1-chromeos-x86_64.tpxz'
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/meson/0.58.1_i686/meson-0.58.1-chromeos-i686.tpxz',
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/meson/0.58.2_armv7l/meson-0.58.2-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/meson/0.58.2_armv7l/meson-0.58.2-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/meson/0.58.2_x86_64/meson-0.58.2-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: 'd2a6cacfd9e258918fe0627e117faf27be537c2d7340f0d6ff663e59f0800a3f',
|
||||
armv7l: 'd2a6cacfd9e258918fe0627e117faf27be537c2d7340f0d6ff663e59f0800a3f',
|
||||
i686: '81211605d926df2868241b31726224bfe41f816faa7095a123e9c78dea680a7a',
|
||||
x86_64: 'abe7dfe244c45c3daa4d91938a199c997d81d063a53125117ce218c4a4677aaf'
|
||||
i686: '81211605d926df2868241b31726224bfe41f816faa7095a123e9c78dea680a7a',
|
||||
aarch64: '725b270200e40fd3ebbaa4d4312f6fa6cb76422c92bfaa125322b74696f04b5e',
|
||||
armv7l: '725b270200e40fd3ebbaa4d4312f6fa6cb76422c92bfaa125322b74696f04b5e',
|
||||
x86_64: '4330d50cc93deb873f60fb3dda818f9875c9967b938c66f5577245a4fdbebbd2'
|
||||
})
|
||||
|
||||
depends_on 'ninja'
|
||||
depends_on 'samurai'
|
||||
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 --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR}"
|
||||
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1,53 +1,40 @@
|
||||
require 'package'
|
||||
|
||||
class Mypaint < Package
|
||||
description 'MyPaint is a simple drawing and painting program'
|
||||
description 'MyPaint is a simple drawing and painting program.'
|
||||
homepage 'http://mypaint.org/'
|
||||
version '1.2.1'
|
||||
@_ver = '2.0.1'
|
||||
version @_ver
|
||||
license 'GPL-2'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/mypaint/mypaint/releases/download/v1.2.1/mypaint-1.2.1.tar.xz'
|
||||
source_sha256 'ed2349382f6a0c583d7defae06427e97ac7d14acb77b9e2c0fc7171ddd96d3c7'
|
||||
source_url 'https://github.com/mypaint/mypaint.git'
|
||||
git_hashtag "v#{@_ver}"
|
||||
|
||||
binary_url ({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mypaint/1.2.1_armv7l/mypaint-1.2.1-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mypaint/1.2.1_armv7l/mypaint-1.2.1-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mypaint/1.2.1_i686/mypaint-1.2.1-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mypaint/1.2.1_x86_64/mypaint-1.2.1-chromeos-x86_64.tar.xz',
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mypaint/2.0.1_armv7l/mypaint-2.0.1-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mypaint/2.0.1_armv7l/mypaint-2.0.1-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mypaint/2.0.1_x86_64/mypaint-2.0.1-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256 ({
|
||||
aarch64: '34fa83b9be46e7bb03e914abe51abe7e17da0d7bf6967c8ff2c77413f8edcab2',
|
||||
armv7l: '34fa83b9be46e7bb03e914abe51abe7e17da0d7bf6967c8ff2c77413f8edcab2',
|
||||
i686: '03fb94655a4fe7876ec7f9c3b86adc7e95cd43cc4263a505b5541649f4407d66',
|
||||
x86_64: 'a32e94eb92824d65544c35d09ef5d3e9d69b5ce504a820a46bd2ea48471cd125',
|
||||
binary_sha256({
|
||||
aarch64: 'd97f73215a501086af09156b0393aa9f2337a9baa102b6980d104b562943f460',
|
||||
armv7l: 'd97f73215a501086af09156b0393aa9f2337a9baa102b6980d104b562943f460',
|
||||
x86_64: '4e5718aa6dc82c95dbd6e264a28021d3900b046d70d351a8ce591c07b5bff684'
|
||||
})
|
||||
|
||||
depends_on 'scons' => :build
|
||||
depends_on 'swig' => :build
|
||||
depends_on 'py3_setuptools' => :build
|
||||
depends_on 'mypaint_brushes'
|
||||
depends_on 'pygobject'
|
||||
depends_on 'librsvg'
|
||||
depends_on 'xdg_base'
|
||||
depends_on 'sommelier'
|
||||
depends_on 'py3_numpy'
|
||||
|
||||
def self.build
|
||||
system 'pip install numpy'
|
||||
system "echo '#!/bin/bash' > mypaint.sh"
|
||||
system "echo 'GDK_BACKEND=x11' >> mypaint.sh"
|
||||
system "echo 'gdk-pixbuf-query-loaders --update-cache' >> mypaint.sh"
|
||||
system "echo '#{CREW_PREFIX}/bin/mypaint.run \"\$@\"' >> mypaint.sh"
|
||||
system 'scons'
|
||||
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "scons", "prefix=#{CREW_DEST_PREFIX}", "install"
|
||||
system 'pip uninstall numpy -y'
|
||||
system "pip install numpy --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR}"
|
||||
FileUtils.mkdir_p "#{CREW_DEST_HOME}/.config/mypaint"
|
||||
FileUtils.touch "#{CREW_DEST_HOME}/.config/mypaint/accelmap.conf"
|
||||
FileUtils.touch "#{CREW_DEST_HOME}/.config/mypaint/settings.json"
|
||||
FileUtils.rm "#{CREW_DEST_PREFIX}/lib/pkgconfig/libmypaint.pc"
|
||||
FileUtils.rm Dir.glob("#{CREW_DEST_PREFIX}/include/libmypaint/mypaint-*.h")
|
||||
FileUtils.mv "#{CREW_DEST_PREFIX}/bin/mypaint", "#{CREW_DEST_PREFIX}/bin/mypaint.run"
|
||||
FileUtils.install 'mypaint.sh', "#{CREW_DEST_PREFIX}/bin/mypaint", :mode => 0755
|
||||
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
|
||||
end
|
||||
end
|
||||
|
||||
@@ -2,41 +2,34 @@ require 'package'
|
||||
|
||||
class Mypaint_brushes < Package
|
||||
description 'Brushes used by MyPaint and other software using libmypaint.'
|
||||
homepage 'https://github.com/Jehan/mypaint-brushes'
|
||||
version '1.3.0'
|
||||
homepage 'http://mypaint.org/'
|
||||
@_ver = '2.0.2'
|
||||
version @_ver
|
||||
license 'CC0-1.0'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/Jehan/mypaint-brushes/archive/v1.3.0/mypaint-brushes-v1.3.0.tar.gz'
|
||||
source_sha256 '704bb6420e65085acfd7a61d6050e96b0395c5eab078433f11406c355f16b214'
|
||||
source_url 'https://github.com/mypaint/mypaint-brushes.git'
|
||||
git_hashtag "v#{@_ver}"
|
||||
|
||||
binary_url ({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mypaint_brushes/1.3.0_armv7l/mypaint_brushes-1.3.0-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mypaint_brushes/1.3.0_armv7l/mypaint_brushes-1.3.0-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mypaint_brushes/1.3.0_i686/mypaint_brushes-1.3.0-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mypaint_brushes/1.3.0_x86_64/mypaint_brushes-1.3.0-chromeos-x86_64.tar.xz',
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mypaint_brushes/2.0.2_armv7l/mypaint_brushes-2.0.2-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mypaint_brushes/2.0.2_armv7l/mypaint_brushes-2.0.2-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mypaint_brushes/2.0.2_x86_64/mypaint_brushes-2.0.2-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256 ({
|
||||
aarch64: '87eed1b1688597faac6b4910e1489d6fc4967af705b6594eaf9fdb5568a44dd1',
|
||||
armv7l: '87eed1b1688597faac6b4910e1489d6fc4967af705b6594eaf9fdb5568a44dd1',
|
||||
i686: '640c1fb3ad85e6ff83f84a5caa514e08bf65ec61403e53a72908c6a818335bde',
|
||||
x86_64: '28166ca3a372eec0ef0d97193fb65225e9edbb6d2288821fcfa291d1ddb8b26a',
|
||||
binary_sha256({
|
||||
aarch64: 'dd1cc71b20fd4b128b5e4c5d0122b3cad0b5aefdb14fe79d57fda90d14c91265',
|
||||
armv7l: 'dd1cc71b20fd4b128b5e4c5d0122b3cad0b5aefdb14fe79d57fda90d14c91265',
|
||||
x86_64: 'eff47096581ed7982f4d3d4def1b79d3a7b6652772f039b45b26a5421adf2f62'
|
||||
})
|
||||
|
||||
depends_on 'libmypaint'
|
||||
|
||||
def self.patch
|
||||
system "curl -#LO http://www.linuxfromscratch.org/patches/blfs/svn/mypaint-brushes-1.3.0-automake_1.16-1.patch"
|
||||
abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA256.hexdigest( File.read('mypaint-brushes-1.3.0-automake_1.16-1.patch') ) == '789f9233a31227c1acc2f81a5348a2d5bc7f656ae69044c0b33d0032d1f93ae2'
|
||||
system "patch -Np1 -i mypaint-brushes-1.3.0-automake_1.16-1.patch"
|
||||
end
|
||||
|
||||
def self.build
|
||||
system "./autogen.sh"
|
||||
system "./configure --prefix=#{CREW_PREFIX}"
|
||||
system "make"
|
||||
system 'env NOCONFIGURE=1 ./autogen.sh'
|
||||
system "#{CREW_ENV_OPTIONS} ./configure #{CREW_OPTIONS}"
|
||||
system 'make'
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
|
||||
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
require 'package'
|
||||
|
||||
class Nuitka < Package
|
||||
description 'nuitka is a Python to binary compiler written in Python. You feed it your Python app, it does a lot of clever things, and spits out an executable or extension module.'
|
||||
homepage 'https://nuitka.net/'
|
||||
version '0.6.13.2'
|
||||
license 'Apache-2.0'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/Nuitka/Nuitka/archive/refs/tags/0.6.13.2.tar.gz'
|
||||
source_sha256 'a594d054255688dbef8f8ba5b6cbb0207ad467384f2a6214522781ffbd5d43e5'
|
||||
|
||||
binary_url ({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/nuitka/0.6.13.2_armv7l/nuitka-0.6.13.2-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/nuitka/0.6.13.2_armv7l/nuitka-0.6.13.2-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/nuitka/0.6.13.2_i686/nuitka-0.6.13.2-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/nuitka/0.6.13.2_x86_64/nuitka-0.6.13.2-chromeos-x86_64.tar.xz',
|
||||
})
|
||||
binary_sha256 ({
|
||||
aarch64: '30d982517d09101767cfb71f7e579b0dd8b0636ce2e922ccd7d2a3eec93f0e26',
|
||||
armv7l: '30d982517d09101767cfb71f7e579b0dd8b0636ce2e922ccd7d2a3eec93f0e26',
|
||||
i686: '31d41f49b3caea88732e590ef269a17233f8cbc8298e50d9e89e7e8daae44889',
|
||||
x86_64: '19333abe43c61a1fb3907ab6d4e63532dc9ddc7917b2cfa0c790a21bb89117e1',
|
||||
})
|
||||
|
||||
def self.install
|
||||
system "python3 -m pip install --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR} -I nuitka==#{version} --no-warn-script-location"
|
||||
end
|
||||
end
|
||||
@@ -1,42 +0,0 @@
|
||||
require 'package'
|
||||
|
||||
class Oci < Package
|
||||
description 'Command Line Interface for Oracle Cloud Infrastructure'
|
||||
homepage 'https://github.com/oracle/oci-cli'
|
||||
version '2.4.23'
|
||||
license 'UPL-1.0'
|
||||
compatibility 'i686,x86_64'
|
||||
case ARCH
|
||||
when 'i686', 'x86_64'
|
||||
source_url 'https://github.com/oracle/oci-cli/releases/download/v2.4.23/oci-cli-2.4.23.zip'
|
||||
source_sha256 '84e6b312497c891144a0c32068097226c396a5a2467ebef3d00f55eb91228863'
|
||||
depends_on 'virtualenv'
|
||||
end
|
||||
|
||||
binary_url ({
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/oci/2.4.23_i686/oci-2.4.23-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/oci/2.4.23_x86_64/oci-2.4.23-chromeos-x86_64.tar.xz',
|
||||
})
|
||||
binary_sha256 ({
|
||||
i686: '541ead165b4ff71b8bea745779f68057a6f79b67da838369a8d9a94ed22b66b6',
|
||||
x86_64: 'c99356e8373dde7f00b3a24351e0eacdaf2037b47d30f52fedfc7c2233a2300b',
|
||||
})
|
||||
|
||||
def self.install
|
||||
system "pip3 install oci_cli-*-py2.py3-none-any.whl --root #{CREW_DEST_DIR} --prefix #{CREW_PREFIX}"
|
||||
system "pip3 install oci_cli --root #{CREW_DEST_DIR} --prefix #{CREW_PREFIX}"
|
||||
end
|
||||
|
||||
def self.postinstall
|
||||
puts
|
||||
puts "To complete the installation, setup a virtualenvs directory:".lightblue
|
||||
puts
|
||||
puts "mkdir ~/virtualenvs".lightblue
|
||||
puts "virtualenv ~/virtualenvs/testenv".lightblue
|
||||
puts
|
||||
puts "Replace 'testenv' with the name of the environment you want to create.".lightblue
|
||||
puts
|
||||
puts "For more information, see https://docs.us-phoenix-1.oraclecloud.com/Content/API/SDKDocs/cliusing.htm.".lightblue
|
||||
puts
|
||||
end
|
||||
end
|
||||
49
packages/oci_cli.rb
Normal file
49
packages/oci_cli.rb
Normal file
@@ -0,0 +1,49 @@
|
||||
require 'package'
|
||||
|
||||
class Oci_cli < Package
|
||||
description 'Command Line Interface for Oracle Cloud Infrastructure'
|
||||
homepage 'https://github.com/oracle/oci-cli/'
|
||||
@_ver = '2.24.3'
|
||||
version @_ver
|
||||
license 'UPL-1.0'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/oracle/oci-cli.git'
|
||||
git_hashtag "v#{@_ver}"
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/oci_cli/2.24.3_armv7l/oci_cli-2.24.3-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/oci_cli/2.24.3_armv7l/oci_cli-2.24.3-chromeos-armv7l.tpxz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/oci_cli/2.24.3_i686/oci_cli-2.24.3-chromeos-i686.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/oci_cli/2.24.3_x86_64/oci_cli-2.24.3-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: 'da6ca6ffe386a3fe9ca59a847f1e154dca207816a49ac9de0a44f16c54da2091',
|
||||
armv7l: 'da6ca6ffe386a3fe9ca59a847f1e154dca207816a49ac9de0a44f16c54da2091',
|
||||
i686: '3d78eadfca689d3949ad0083de9e81cb54a0cac1284be351a6ef0415e902ff74',
|
||||
x86_64: '8732fa4c8469aff32e587a43a3065064ac21aba6afef70187628d934929eb735'
|
||||
})
|
||||
|
||||
depends_on 'py3_arrow'
|
||||
depends_on 'py3_six'
|
||||
depends_on 'py3_terminaltables'
|
||||
depends_on 'py3_certifi'
|
||||
depends_on 'py3_dateutil'
|
||||
depends_on 'py3_click'
|
||||
depends_on 'py3_jmespath'
|
||||
depends_on 'py3_retrying'
|
||||
depends_on 'py3_pyopenssl'
|
||||
depends_on 'py3_pyyaml'
|
||||
depends_on 'py3_cryptography'
|
||||
depends_on 'py3_configparser'
|
||||
depends_on 'py3_pytz'
|
||||
depends_on 'py3_oci'
|
||||
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
|
||||
@@ -32,7 +32,7 @@ class Pango < Package
|
||||
depends_on 'libx11'
|
||||
depends_on 'libxft'
|
||||
depends_on 'libxrender'
|
||||
depends_on 'six'
|
||||
depends_on 'py3_six'
|
||||
|
||||
def self.build
|
||||
system "meson #{CREW_MESON_OPTIONS} \
|
||||
|
||||
@@ -22,7 +22,7 @@ class Pax_utils < Package
|
||||
x86_64: '836d8627d96ed61608cb7bee423db753fc00c67600c62386e1df98d4529c35c9',
|
||||
})
|
||||
|
||||
depends_on 'pyelftools'
|
||||
depends_on 'py3_pyelftools'
|
||||
depends_on 'libcap' => :build
|
||||
depends_on 'libseccomp' => :build
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ class Php73 < Package
|
||||
depends_on 're2c'
|
||||
depends_on 'tidy'
|
||||
depends_on 'unixodbc'
|
||||
depends_on 'pygments'
|
||||
depends_on 'py3_pygments'
|
||||
|
||||
def self.preflight
|
||||
phpver = `php -v 2> /dev/null | head -1 | cut -d' ' -f2`.chomp
|
||||
|
||||
@@ -40,7 +40,7 @@ class Php74 < Package
|
||||
depends_on 'tidy'
|
||||
depends_on 'unixodbc'
|
||||
depends_on 'oniguruma'
|
||||
depends_on 'pygments'
|
||||
depends_on 'py3_pygments'
|
||||
|
||||
def self.preflight
|
||||
phpver = `php -v 2> /dev/null | head -1 | cut -d' ' -f2`.chomp
|
||||
|
||||
@@ -40,7 +40,7 @@ class Php80 < Package
|
||||
depends_on 'tidy'
|
||||
depends_on 'unixodbc'
|
||||
depends_on 'oniguruma'
|
||||
depends_on 'pygments'
|
||||
depends_on 'py3_pygments'
|
||||
|
||||
def self.preflight
|
||||
phpver = `php -v 2> /dev/null | head -1 | cut -d' ' -f2`.chomp
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
require 'package'
|
||||
|
||||
class Psutil < Package
|
||||
description 'psutil (process and system utilities) is a cross-platform library for retrieving information on running processes and system utilization in Python.'
|
||||
homepage 'https://github.com/giampaolo/psutil'
|
||||
version '5.8.0'
|
||||
license 'BSD-3'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/giampaolo/psutil/archive/refs/tags/release-5.8.0.tar.gz'
|
||||
source_sha256 'c015248da36109ffaa15f46fce8c0003f678cfaa408090f466c80318885e7abf'
|
||||
|
||||
binary_url ({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/psutil/5.8.0_armv7l/psutil-5.8.0-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/psutil/5.8.0_armv7l/psutil-5.8.0-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/psutil/5.8.0_i686/psutil-5.8.0-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/psutil/5.8.0_x86_64/psutil-5.8.0-chromeos-x86_64.tar.xz',
|
||||
})
|
||||
binary_sha256 ({
|
||||
aarch64: '35a8643fdc7141f35a0a91d217a5dedf377bb79790c18dc02f089362dfc8e104',
|
||||
armv7l: '35a8643fdc7141f35a0a91d217a5dedf377bb79790c18dc02f089362dfc8e104',
|
||||
i686: 'e38537dffaf71ca7e8d9a83c83c63cf4ccbf7929c24d163b7b43dff7e0235450',
|
||||
x86_64: '8d99419f62b714a7bc241305db99d5f337b86ba78f0da5be2805bc3a90c90b5d',
|
||||
})
|
||||
|
||||
def self.install
|
||||
system "pip install --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR} -I psutil==#{version} --no-warn-script-location"
|
||||
end
|
||||
end
|
||||
35
packages/py2_six.rb
Normal file
35
packages/py2_six.rb
Normal file
@@ -0,0 +1,35 @@
|
||||
require 'package'
|
||||
|
||||
class Py2_six < Package
|
||||
description 'Six is a Python 2 and 3 compatibility library.'
|
||||
homepage 'https://six.readthedocs.io/'
|
||||
@_ver = '1.15.0'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/benjaminp/six.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py2_six/1.15.0_armv7l/py2_six-1.15.0-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py2_six/1.15.0_armv7l/py2_six-1.15.0-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py2_six/1.15.0_i686/py2_six-1.15.0-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py2_six/1.15.0_x86_64/py2_six-1.15.0-chromeos-x86_64.tar.xz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '7a5eb26a32d16ec92ff73cdf5fe85bc20810d0805e7280f1f2ce2a3db3becab4',
|
||||
armv7l: '7a5eb26a32d16ec92ff73cdf5fe85bc20810d0805e7280f1f2ce2a3db3becab4',
|
||||
i686: 'c147094d65bbbfccde10c89c572c69085a70dbf8b83b08d20d5eccbfa5da4db9',
|
||||
x86_64: '360cfb9534fe9c0e4efe450c2267519b60acecac2429a90b7b2fabbe7da77c24'
|
||||
})
|
||||
|
||||
depends_on 'py2_setuptools' => :build
|
||||
|
||||
def self.build
|
||||
system "python2 setup.py build #{PY2_SETUP_BUILD_OPTIONS}"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "python2 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
|
||||
end
|
||||
end
|
||||
41
packages/py3_agate.rb
Normal file
41
packages/py3_agate.rb
Normal file
@@ -0,0 +1,41 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_agate < Package
|
||||
description 'Agate is a data analysis library that is optimized for humans instead of machines.'
|
||||
homepage 'https://agate.readthedocs.io/'
|
||||
@_ver = '1.6.1'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/wireservice/agate.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_agate/1.6.1_armv7l/py3_agate-1.6.1-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_agate/1.6.1_armv7l/py3_agate-1.6.1-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_agate/1.6.1_x86_64/py3_agate-1.6.1-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: 'bcc3db13c5aa17e5e8234869b977011960b5cd4f488d92c3cb52adf4fbf3ac55',
|
||||
armv7l: 'bcc3db13c5aa17e5e8234869b977011960b5cd4f488d92c3cb52adf4fbf3ac55',
|
||||
x86_64: '9c7fefd9fe2e3d2a5f961efe28ad90758882e76f0e5101f07811194291883f77'
|
||||
})
|
||||
|
||||
depends_on 'py3_babel'
|
||||
depends_on 'py3_six'
|
||||
depends_on 'py3_pyicu'
|
||||
depends_on 'py3_pytimeparse'
|
||||
depends_on 'py3_slugify'
|
||||
depends_on 'py3_isodate'
|
||||
depends_on 'py3_leather'
|
||||
depends_on 'py3_parsedatetime'
|
||||
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
|
||||
35
packages/py3_agate_dfb.rb
Normal file
35
packages/py3_agate_dfb.rb
Normal file
@@ -0,0 +1,35 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_agate_dfb < Package
|
||||
description 'Agate-dbf adds read support for DBF files to agate.'
|
||||
homepage 'https://agate-dbf.readthedocs.org/'
|
||||
@_ver = '0.2.2'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/wireservice/agate-dbf.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_agate_dfb/0.2.2_armv7l/py3_agate_dfb-0.2.2-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_agate_dfb/0.2.2_armv7l/py3_agate_dfb-0.2.2-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_agate_dfb/0.2.2_x86_64/py3_agate_dfb-0.2.2-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '27a3e18a7dc058d0d4381d0f95b3bd8eef1c0a43455a6394a444cb6172cbddc4',
|
||||
armv7l: '27a3e18a7dc058d0d4381d0f95b3bd8eef1c0a43455a6394a444cb6172cbddc4',
|
||||
x86_64: '2395c81b46a6a6e5d05ce0edc65ad9c4c5ec87f67a10b031683f534ddfd06572'
|
||||
})
|
||||
|
||||
depends_on 'py3_dbfread'
|
||||
depends_on 'py3_agate'
|
||||
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
|
||||
37
packages/py3_agate_excel.rb
Normal file
37
packages/py3_agate_excel.rb
Normal file
@@ -0,0 +1,37 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_agate_excel < Package
|
||||
description 'Agate-excel read support for Excel files (xls and xlsx) to agate.'
|
||||
homepage 'https://agate-excel.readthedocs.io/'
|
||||
@_ver = '0.2.4'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/wireservice/agate-excel.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_agate_excel/0.2.4_armv7l/py3_agate_excel-0.2.4-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_agate_excel/0.2.4_armv7l/py3_agate_excel-0.2.4-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_agate_excel/0.2.4_x86_64/py3_agate_excel-0.2.4-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: 'a72b3a80ddc035fe6fbfd87acf6c934bebd0a936aafe289859a481a5e2a6bfea',
|
||||
armv7l: 'a72b3a80ddc035fe6fbfd87acf6c934bebd0a936aafe289859a481a5e2a6bfea',
|
||||
x86_64: '37ef4427689227433ef857e568df871be6d25fd0cce8b62c4b54f1af537ceca5'
|
||||
})
|
||||
|
||||
depends_on 'py3_xlrd'
|
||||
depends_on 'py3_openpyxl'
|
||||
depends_on 'py3_olefile'
|
||||
depends_on 'py3_agate'
|
||||
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
|
||||
35
packages/py3_agate_sql.rb
Normal file
35
packages/py3_agate_sql.rb
Normal file
@@ -0,0 +1,35 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_agate_sql < Package
|
||||
description 'Agate-sql adds SQL read/write support to agate.'
|
||||
homepage 'https://agate-sql.readthedocs.org/'
|
||||
@_ver = '0.5.7'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/wireservice/agate-sql.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_agate_sql/0.5.7_armv7l/py3_agate_sql-0.5.7-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_agate_sql/0.5.7_armv7l/py3_agate_sql-0.5.7-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_agate_sql/0.5.7_x86_64/py3_agate_sql-0.5.7-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '211b35ed7e9d3a484c16defcd5189657693067d4db59afa67a01189e09409411',
|
||||
armv7l: '211b35ed7e9d3a484c16defcd5189657693067d4db59afa67a01189e09409411',
|
||||
x86_64: '4e5560fbade017e6aa1e2f552e625bc9df2421ec9ca1312d69d58668e29d1995'
|
||||
})
|
||||
|
||||
depends_on 'py3_agate'
|
||||
depends_on 'py3_sqlalchemy'
|
||||
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
|
||||
33
packages/py3_alabaster.rb
Normal file
33
packages/py3_alabaster.rb
Normal file
@@ -0,0 +1,33 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_alabaster < Package
|
||||
description 'Alabaster is a configurable sidebar-enabled Sphinx theme.'
|
||||
homepage 'https://alabaster.readthedocs.io/'
|
||||
@_ver = '0.7.12'
|
||||
version @_ver
|
||||
license 'BSD' # License is BSD-style, might be BSD-3?
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/bitprophet/alabaster.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_alabaster/0.7.12_armv7l/py3_alabaster-0.7.12-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_alabaster/0.7.12_armv7l/py3_alabaster-0.7.12-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_alabaster/0.7.12_x86_64/py3_alabaster-0.7.12-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '9f3a1bad1ec31d93269f89680d5c35a13a08f4a95ce8a551867cecc5f1360370',
|
||||
armv7l: '9f3a1bad1ec31d93269f89680d5c35a13a08f4a95ce8a551867cecc5f1360370',
|
||||
x86_64: '91b8482cab6e522d127eb12a500e558bd4e75cc9c4aa2a15d6740d910234a766'
|
||||
})
|
||||
|
||||
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
|
||||
33
packages/py3_appdirs.rb
Normal file
33
packages/py3_appdirs.rb
Normal file
@@ -0,0 +1,33 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_appdirs < Package
|
||||
description 'Appdirs is a small Python module for determining appropriate platform-specific directories.'
|
||||
homepage 'https://github.com/ActiveState/appdirs/'
|
||||
@_ver = '1.4.4'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/ActiveState/appdirs.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_appdirs/1.4.4_armv7l/py3_appdirs-1.4.4-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_appdirs/1.4.4_armv7l/py3_appdirs-1.4.4-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_appdirs/1.4.4_x86_64/py3_appdirs-1.4.4-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: 'db15a8668c1aca1dff9f81cec803d61f1c493527f855aeb86283fe89eceb2997',
|
||||
armv7l: 'db15a8668c1aca1dff9f81cec803d61f1c493527f855aeb86283fe89eceb2997',
|
||||
x86_64: 'fbf581f687e842e0d1e607ce240d49347e8b7d91cbfb35fe7def1ec56f41c992'
|
||||
})
|
||||
|
||||
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
|
||||
33
packages/py3_argcomplete.rb
Normal file
33
packages/py3_argcomplete.rb
Normal file
@@ -0,0 +1,33 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_argcomplete < Package
|
||||
description 'Argcomplete provides bash completion for argparse.'
|
||||
homepage 'https://kislyuk.github.io/argcomplete/'
|
||||
@_ver = '1.12.3'
|
||||
version @_ver
|
||||
license 'Apache-2.0'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/kislyuk/argcomplete.git'
|
||||
git_hashtag "v#{@_ver}"
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_argcomplete/1.12.3_armv7l/py3_argcomplete-1.12.3-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_argcomplete/1.12.3_armv7l/py3_argcomplete-1.12.3-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_argcomplete/1.12.3_x86_64/py3_argcomplete-1.12.3-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '1ff2f9b0a998bcb04c5b63e256f347a93cd5e8cc7930aaf3efb89d29b18bc438',
|
||||
armv7l: '1ff2f9b0a998bcb04c5b63e256f347a93cd5e8cc7930aaf3efb89d29b18bc438',
|
||||
x86_64: 'ad27365654a37640bff243e4c03b0ed06cb5a3cb5a0abcf14feb4b207643d110'
|
||||
})
|
||||
|
||||
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
|
||||
34
packages/py3_arrow.rb
Normal file
34
packages/py3_arrow.rb
Normal file
@@ -0,0 +1,34 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_arrow < Package
|
||||
description 'Arrow is a Python library that offers a sensible and human-friendly approach to creating, manipulating, formatting and converting dates, times and timestamps.'
|
||||
homepage 'https://arrow.readthedocs.io/'
|
||||
@_ver = '0.17.0'
|
||||
version @_ver
|
||||
license 'Apache-2.0'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/arrow-py/arrow.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_arrow/0.17.0_armv7l/py3_arrow-0.17.0-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_arrow/0.17.0_armv7l/py3_arrow-0.17.0-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_arrow/0.17.0_x86_64/py3_arrow-0.17.0-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: 'ce488d8ba3142883bdd45ed20816d6be886453b098edc09a6d7d886b82c926bb',
|
||||
armv7l: 'ce488d8ba3142883bdd45ed20816d6be886453b098edc09a6d7d886b82c926bb',
|
||||
x86_64: 'd74a3e9dd7d6c4af0e6a7a8f08e3f3d680a4126f7e2f72d4586eff9d32b74fa9'
|
||||
})
|
||||
|
||||
depends_on 'py3_dateutil'
|
||||
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
|
||||
33
packages/py3_attrs.rb
Normal file
33
packages/py3_attrs.rb
Normal file
@@ -0,0 +1,33 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_attrs < Package
|
||||
description 'Attrs removes the need to implement object protocols in classes.'
|
||||
homepage 'https://www.attrs.org/'
|
||||
@_ver = '21.2.0'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/python-attrs/attrs.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_attrs/21.2.0_armv7l/py3_attrs-21.2.0-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_attrs/21.2.0_armv7l/py3_attrs-21.2.0-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_attrs/21.2.0_x86_64/py3_attrs-21.2.0-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: 'f6a64bcf69dd7858b2d86e6b46c43be2d233014f974edcf7e84507f35f625a99',
|
||||
armv7l: 'f6a64bcf69dd7858b2d86e6b46c43be2d233014f974edcf7e84507f35f625a99',
|
||||
x86_64: '1a4937ddeb9977bd37419a70e5191187511801ecbaee363aae89555f721b1732'
|
||||
})
|
||||
|
||||
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
|
||||
34
packages/py3_babel.rb
Normal file
34
packages/py3_babel.rb
Normal file
@@ -0,0 +1,34 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_babel < Package
|
||||
description 'Babel is an integrated collection of utilities that assist in internationalizing and localizing Python applications.'
|
||||
homepage 'https://babel.pocoo.org/'
|
||||
@_ver = '2.9.1'
|
||||
version @_ver
|
||||
license 'BSD'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/python-babel/babel.git'
|
||||
git_hashtag "v#{@_ver}"
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_babel/2.9.1_armv7l/py3_babel-2.9.1-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_babel/2.9.1_armv7l/py3_babel-2.9.1-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_babel/2.9.1_x86_64/py3_babel-2.9.1-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: 'a4c30b48576805611efcdf4f4b58b8ee307fb897055cd46e1597c1f6a38a104c',
|
||||
armv7l: 'a4c30b48576805611efcdf4f4b58b8ee307fb897055cd46e1597c1f6a38a104c',
|
||||
x86_64: '124f044721c89a5ab3f76202c90ca7ccf4d37cacb69088ca8552218a531e740a'
|
||||
})
|
||||
|
||||
depends_on 'py3_pytz'
|
||||
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
|
||||
33
packages/py3_beautifulsoup4.rb
Normal file
33
packages/py3_beautifulsoup4.rb
Normal file
@@ -0,0 +1,33 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_beautifulsoup4 < Package
|
||||
description 'BeautifulSoup is a screen-scraping library.'
|
||||
homepage 'https://www.crummy.com/software/BeautifulSoup/'
|
||||
@_ver = '4.9.3'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://files.pythonhosted.org/packages/6b/c3/d31704ae558dcca862e4ee8e8388f357af6c9d9acb0cad4ba0fbbd350d9a/beautifulsoup4-4.9.3.tar.gz'
|
||||
source_sha256 '84729e322ad1d5b4d25f805bfa05b902dd96450f43842c4e99067d5e1369eb25'
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_beautifulsoup4/4.9.3_armv7l/py3_beautifulsoup4-4.9.3-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_beautifulsoup4/4.9.3_armv7l/py3_beautifulsoup4-4.9.3-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_beautifulsoup4/4.9.3_x86_64/py3_beautifulsoup4-4.9.3-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '5d32a945ceffa8d39198bba8ebfd3830b1298eccd913134b11f8161d5ffdd102',
|
||||
armv7l: '5d32a945ceffa8d39198bba8ebfd3830b1298eccd913134b11f8161d5ffdd102',
|
||||
x86_64: 'b4de5da35e8c1a64fce5375c6c61917d69763ec3f8afd0383690d2ca9638b424'
|
||||
})
|
||||
|
||||
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
|
||||
33
packages/py3_certifi.rb
Normal file
33
packages/py3_certifi.rb
Normal file
@@ -0,0 +1,33 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_certifi < Package
|
||||
description 'Certifi provides Mozilla\'s CA Bundle.'
|
||||
homepage 'https://certifi.io/' # 403 Forbidden on 2021.05.08
|
||||
@_ver = '2020.12.05'
|
||||
version @_ver
|
||||
license 'MPL-2.0'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/certifi/python-certifi.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_certifi/2020.12.05_armv7l/py3_certifi-2020.12.05-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_certifi/2020.12.05_armv7l/py3_certifi-2020.12.05-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_certifi/2020.12.05_x86_64/py3_certifi-2020.12.05-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '568f94b763dc5a616150ed572f8136f1f83dd852674311f7445206eb638bef70',
|
||||
armv7l: '568f94b763dc5a616150ed572f8136f1f83dd852674311f7445206eb638bef70',
|
||||
x86_64: '3e11a1836f36b685c668c0b149e8a1001c2b385df2fb35ebe24b800357526e84'
|
||||
})
|
||||
|
||||
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
|
||||
35
packages/py3_cffi.rb
Normal file
35
packages/py3_cffi.rb
Normal file
@@ -0,0 +1,35 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_cffi < Package
|
||||
description 'C Foreign Function Interface for Python calling C code.'
|
||||
homepage 'https://cffi.readthedocs.io/'
|
||||
@_ver = '1.14.6'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://files.pythonhosted.org/packages/2e/92/87bb61538d7e60da8a7ec247dc048f7671afe17016cd0008b3b710012804/cffi-1.14.6.tar.gz'
|
||||
source_sha256 'c9a875ce9d7fe32887784274dd533c57909b7b1dcadcc128a2ac21331a9765dd'
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_cffi/1.14.6_armv7l/py3_cffi-1.14.6-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_cffi/1.14.6_armv7l/py3_cffi-1.14.6-chromeos-armv7l.tpxz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_cffi/1.14.6_i686/py3_cffi-1.14.6-chromeos-i686.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_cffi/1.14.6_x86_64/py3_cffi-1.14.6-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: 'b8fb5b6b8f7d866d80901792934034f6c1c145f06288e47600d16cbfe69a26e5',
|
||||
armv7l: 'b8fb5b6b8f7d866d80901792934034f6c1c145f06288e47600d16cbfe69a26e5',
|
||||
i686: '68be14b16f5c18ff3476ea640bd287584581651a0acbba025b8032560b583a31',
|
||||
x86_64: 'd75a398ba7e4196843558c7f32a7692347d0c0d280fcd6b5fe5c5c285d5e441b'
|
||||
})
|
||||
|
||||
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
|
||||
33
packages/py3_chardet.rb
Normal file
33
packages/py3_chardet.rb
Normal file
@@ -0,0 +1,33 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_chardet < Package
|
||||
description 'Chardet is a universal encoding detector.'
|
||||
homepage 'https://github.com/chardet/chardet/'
|
||||
@_ver = '4.0.0'
|
||||
version @_ver
|
||||
license 'LGPL-2.1'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/chardet/chardet.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_chardet/4.0.0_armv7l/py3_chardet-4.0.0-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_chardet/4.0.0_armv7l/py3_chardet-4.0.0-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_chardet/4.0.0_x86_64/py3_chardet-4.0.0-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '1f5e8a5b489edf07d57eef7ece1f9192d9271c64c9be8046dc5cf4545a83c365',
|
||||
armv7l: '1f5e8a5b489edf07d57eef7ece1f9192d9271c64c9be8046dc5cf4545a83c365',
|
||||
x86_64: '68734f0138f0d5c9e052f594b9119c05d92058fc5297b5bda3f712aab94df215'
|
||||
})
|
||||
|
||||
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
|
||||
33
packages/py3_click.rb
Normal file
33
packages/py3_click.rb
Normal file
@@ -0,0 +1,33 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_click < Package
|
||||
description 'Click is a simple wrapper around optparse for powerful command line utilities.'
|
||||
homepage 'https://click.palletsprojects.com'
|
||||
@_ver = '7.1.2'
|
||||
version @_ver
|
||||
license 'BSD-3'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/pallets/click.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_click/7.1.2_armv7l/py3_click-7.1.2-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_click/7.1.2_armv7l/py3_click-7.1.2-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_click/7.1.2_x86_64/py3_click-7.1.2-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '601e3274f08e2308083fc312aa4614b5eedb4272f611d344f77f72248abcd89f',
|
||||
armv7l: '601e3274f08e2308083fc312aa4614b5eedb4272f611d344f77f72248abcd89f',
|
||||
x86_64: 'baca766a2e97aeb8c6999fff28bc9b6f76493f544abd8e335ab502420e0544b0'
|
||||
})
|
||||
|
||||
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
|
||||
33
packages/py3_colorama.rb
Normal file
33
packages/py3_colorama.rb
Normal file
@@ -0,0 +1,33 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_colorama < Package
|
||||
description 'Colorama makes ANSI color sequences work on MS Windows.'
|
||||
homepage 'https://github.com/tartley/colorama/'
|
||||
@_ver = '0.4.4'
|
||||
version @_ver
|
||||
license 'BSD-3'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/tartley/colorama.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_colorama/0.4.4_armv7l/py3_colorama-0.4.4-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_colorama/0.4.4_armv7l/py3_colorama-0.4.4-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_colorama/0.4.4_x86_64/py3_colorama-0.4.4-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '65a9a09e40d7e266238ccfc497f13f7c11e3d656dd3aaeed65a5401c58dc70fe',
|
||||
armv7l: '65a9a09e40d7e266238ccfc497f13f7c11e3d656dd3aaeed65a5401c58dc70fe',
|
||||
x86_64: 'df9e61f5e16424e6d02a9eececa4fc284c9a9a26e2b268435566a1d542d6f31d'
|
||||
})
|
||||
|
||||
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
|
||||
33
packages/py3_configparser.rb
Normal file
33
packages/py3_configparser.rb
Normal file
@@ -0,0 +1,33 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_configparser < Package
|
||||
description 'Configparser backports newer configparser modules to earlier python versions.'
|
||||
homepage 'https://github.com/jaraco/configparser/'
|
||||
@_ver = '5.0.2'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/jaraco/configparser.git'
|
||||
git_hashtag "v#{@_ver}"
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_configparser/5.0.2_armv7l/py3_configparser-5.0.2-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_configparser/5.0.2_armv7l/py3_configparser-5.0.2-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_configparser/5.0.2_x86_64/py3_configparser-5.0.2-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '239d87ea1922fd8ae501b603011f8ddb4212026dd6e72bf3bf750ee5dd3cb277',
|
||||
armv7l: '239d87ea1922fd8ae501b603011f8ddb4212026dd6e72bf3bf750ee5dd3cb277',
|
||||
x86_64: 'e45b32190ef07b77b65cc4648ac8f0c2a3f7752d2f872c5f9b3e97b198956e3f'
|
||||
})
|
||||
|
||||
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
|
||||
38
packages/py3_cryptography.rb
Normal file
38
packages/py3_cryptography.rb
Normal file
@@ -0,0 +1,38 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_cryptography < Package
|
||||
description 'Cryptography provides cryptographic recipes and primitives to Python developers.'
|
||||
homepage 'https://cryptography.io/'
|
||||
@_ver = '3.4.7'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/pyca/cryptography.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_cryptography/3.4.7_armv7l/py3_cryptography-3.4.7-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_cryptography/3.4.7_armv7l/py3_cryptography-3.4.7-chromeos-armv7l.tpxz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_cryptography/3.4.7_i686/py3_cryptography-3.4.7-chromeos-i686.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_cryptography/3.4.7_x86_64/py3_cryptography-3.4.7-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '8bd03b0ab62ae17ce3c4cdeb4e209a5d761000c1327748bddc75de4d4d422c90',
|
||||
armv7l: '8bd03b0ab62ae17ce3c4cdeb4e209a5d761000c1327748bddc75de4d4d422c90',
|
||||
i686: '4ce8cefc8f67c30648ae3cf5d9ce711b7904f30e89fa8dc962fabd7f7fc0fcb6',
|
||||
x86_64: 'f95da04a5ebbb8b3d12b12ab90f244f2d45445e3eb004e62177966396ddbd2b9'
|
||||
})
|
||||
|
||||
depends_on 'py3_cffi'
|
||||
depends_on 'py3_six'
|
||||
depends_on 'py3_setuptools_rust' => :build
|
||||
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
|
||||
33
packages/py3_cssselect.rb
Normal file
33
packages/py3_cssselect.rb
Normal file
@@ -0,0 +1,33 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_cssselect < Package
|
||||
description 'CSSselect parses CSS3 Selectors and translates them to XPath 1.0.'
|
||||
homepage 'https://cssselect.readthedocs.io/'
|
||||
@_ver = '1.1.0'
|
||||
version @_ver
|
||||
license 'BSD'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/scrapy/cssselect.git'
|
||||
git_hashtag "v#{@_ver}"
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_cssselect/1.1.0_armv7l/py3_cssselect-1.1.0-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_cssselect/1.1.0_armv7l/py3_cssselect-1.1.0-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_cssselect/1.1.0_x86_64/py3_cssselect-1.1.0-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: 'daadd3f8649cabb1884f2e8ed37c05149be271e3aff9d0022548ce896a11e5ab',
|
||||
armv7l: 'daadd3f8649cabb1884f2e8ed37c05149be271e3aff9d0022548ce896a11e5ab',
|
||||
x86_64: 'bb1c01edf7595c0fdd4baa7c738df7c7c4c861f7b64bf1a23e2fc908d1d3f341'
|
||||
})
|
||||
|
||||
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
|
||||
35
packages/py3_cython.rb
Normal file
35
packages/py3_cython.rb
Normal file
@@ -0,0 +1,35 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_cython < Package
|
||||
description 'The Cython language makes writing C extensions for the Python language as easy as Python itself.'
|
||||
homepage 'https://cython.org/'
|
||||
@_ver = '0.29.23'
|
||||
version @_ver
|
||||
license 'Apache-2.0'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/cython/cython.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_cython/0.29.23_armv7l/py3_cython-0.29.23-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_cython/0.29.23_armv7l/py3_cython-0.29.23-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_cython/0.29.23_i686/py3_cython-0.29.23-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_cython/0.29.23_x86_64/py3_cython-0.29.23-chromeos-x86_64.tar.xz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '4febe216fea2a366bded23e9522d7984190fd0d65e446f5d89857ca9f4938e3b',
|
||||
armv7l: '4febe216fea2a366bded23e9522d7984190fd0d65e446f5d89857ca9f4938e3b',
|
||||
i686: '21c38b0a8f73120fedfade5db08b69e4cca5c7a1cd6595e5a84fcc177eccee43',
|
||||
x86_64: '1e4761d551e1ee2232d7a6af7be63c0f5ef7ab8cd1cb5f1fe9f22abafd346369'
|
||||
})
|
||||
|
||||
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
|
||||
33
packages/py3_dateutil.rb
Normal file
33
packages/py3_dateutil.rb
Normal file
@@ -0,0 +1,33 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_dateutil < Package
|
||||
description 'Dateutil provides extensions to the standard Python datetime module.'
|
||||
homepage 'https://dateutil.readthedocs.io/'
|
||||
@_ver = '2.8.1'
|
||||
version @_ver
|
||||
license 'BSD-3 and Apache-2.0 or BSD-3'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/dateutil/dateutil.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_dateutil/2.8.1_armv7l/py3_dateutil-2.8.1-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_dateutil/2.8.1_armv7l/py3_dateutil-2.8.1-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_dateutil/2.8.1_x86_64/py3_dateutil-2.8.1-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '69b12966a2d83315df429beb76465ac13a32ff82749c86afe3eb71e0213ff873',
|
||||
armv7l: '69b12966a2d83315df429beb76465ac13a32ff82749c86afe3eb71e0213ff873',
|
||||
x86_64: '626496d05853a5734262d7a2f44289effeaa3573b9a44dfc9e32ca5a7c624131'
|
||||
})
|
||||
|
||||
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
|
||||
33
packages/py3_dbfread.rb
Normal file
33
packages/py3_dbfread.rb
Normal file
@@ -0,0 +1,33 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_dbfread < Package
|
||||
description 'DBFread reads DBF Files with Python.'
|
||||
homepage 'https://dbfread.readthedocs.io/'
|
||||
@_ver = '2.0.7'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/olemb/dbfread.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_dbfread/2.0.7_armv7l/py3_dbfread-2.0.7-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_dbfread/2.0.7_armv7l/py3_dbfread-2.0.7-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_dbfread/2.0.7_x86_64/py3_dbfread-2.0.7-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '3e249ab1b461e7eb1f29fcb37c2ca22284c5f19c59aeeebf3ecc90b5f3e42db6',
|
||||
armv7l: '3e249ab1b461e7eb1f29fcb37c2ca22284c5f19c59aeeebf3ecc90b5f3e42db6',
|
||||
x86_64: '7ca187db27a24dcec9416523dc6e1801e9126a61b55cf47980711e23d245eac0'
|
||||
})
|
||||
|
||||
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
|
||||
33
packages/py3_decorator.rb
Normal file
33
packages/py3_decorator.rb
Normal file
@@ -0,0 +1,33 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_decorator < Package
|
||||
description 'Colorama makes ANSI color sequences work on MS Windows.'
|
||||
homepage 'https://github.com/micheles/decorator/'
|
||||
@_ver = '4.4.2'
|
||||
version @_ver
|
||||
license 'BSD-2'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/micheles/decorator.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_decorator/4.4.2_armv7l/py3_decorator-4.4.2-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_decorator/4.4.2_armv7l/py3_decorator-4.4.2-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_decorator/4.4.2_x86_64/py3_decorator-4.4.2-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '3b5cf4a06faa87a5f7cd6ac40f035d78f416c71529cf264f1ebd042170024689',
|
||||
armv7l: '3b5cf4a06faa87a5f7cd6ac40f035d78f416c71529cf264f1ebd042170024689',
|
||||
x86_64: 'c5cf9f13a699189e71e43f362b0e17447f4ee1cd01cebb8aaf6d2074efaab2d8'
|
||||
})
|
||||
|
||||
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
|
||||
33
packages/py3_dicttoxml.rb
Normal file
33
packages/py3_dicttoxml.rb
Normal file
@@ -0,0 +1,33 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_dicttoxml < Package
|
||||
description 'DicttoXML converts Python dictionaries into XML strings.'
|
||||
homepage 'https://github.com/quandyfactory/dicttoxml/'
|
||||
@_ver = '1.3.1'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/quandyfactory/dicttoxml.git'
|
||||
git_hashtag "v#{@_ver}"
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_dicttoxml/1.3.1_armv7l/py3_dicttoxml-1.3.1-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_dicttoxml/1.3.1_armv7l/py3_dicttoxml-1.3.1-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_dicttoxml/1.3.1_x86_64/py3_dicttoxml-1.3.1-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '2768c5f5a8030c4c767527190858affc5f08615c8fd51306747cc940520c1146',
|
||||
armv7l: '2768c5f5a8030c4c767527190858affc5f08615c8fd51306747cc940520c1146',
|
||||
x86_64: '2d1ac6c009956ef58fb036072918ca327adfaf8b9c689d1bc0cd058dbed3eecf'
|
||||
})
|
||||
|
||||
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_NO_SVEM}"
|
||||
end
|
||||
end
|
||||
33
packages/py3_distlib.rb
Normal file
33
packages/py3_distlib.rb
Normal file
@@ -0,0 +1,33 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_distlib < Package
|
||||
description 'Distlib provides distribution utilities for Python packages.'
|
||||
homepage 'https://bitbucket.org/pypa/distlib/'
|
||||
@_ver = '0.3.1'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://bitbucket.org/pypa/distlib.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_distlib/0.3.1_armv7l/py3_distlib-0.3.1-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_distlib/0.3.1_armv7l/py3_distlib-0.3.1-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_distlib/0.3.1_x86_64/py3_distlib-0.3.1-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '65978b1ac26d1fbed2e6d52b206556b5c73d97eb3b1df265ae0c697fa85b7987',
|
||||
armv7l: '65978b1ac26d1fbed2e6d52b206556b5c73d97eb3b1df265ae0c697fa85b7987',
|
||||
x86_64: '58c20fa460e47d16141c1e33482443e98b479c080cb2460df950a5d74b9e152f'
|
||||
})
|
||||
|
||||
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_NO_SVEM}"
|
||||
end
|
||||
end
|
||||
33
packages/py3_dnspython.rb
Normal file
33
packages/py3_dnspython.rb
Normal file
@@ -0,0 +1,33 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_dnspython < Package
|
||||
description 'DNSPython is a DNS toolkit.'
|
||||
homepage 'https://www.dnspython.org/'
|
||||
@_ver = '2.1.0'
|
||||
version @_ver
|
||||
license 'ISC'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/rthalley/dnspython.git'
|
||||
git_hashtag "v#{@_ver}"
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_dnspython/2.1.0_armv7l/py3_dnspython-2.1.0-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_dnspython/2.1.0_armv7l/py3_dnspython-2.1.0-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_dnspython/2.1.0_x86_64/py3_dnspython-2.1.0-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: 'f8b99763641f16ac27a7083e8cf1b2a541b9c3f552c216ceef0cba314637e889',
|
||||
armv7l: 'f8b99763641f16ac27a7083e8cf1b2a541b9c3f552c216ceef0cba314637e889',
|
||||
x86_64: '7dace66ee94e5ad3332ce8c24879df9958b9bd141a022580db5a31298cb2d843'
|
||||
})
|
||||
|
||||
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
|
||||
32
packages/py3_docutils.rb
Normal file
32
packages/py3_docutils.rb
Normal file
@@ -0,0 +1,32 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_docutils < Package
|
||||
description 'Docutils is an open-source text processing system for processing plaintext documentation into useful formats, such as HTML, LaTeX, man-pages, open-document or XML.'
|
||||
homepage 'http://docutils.sourceforge.net/'
|
||||
version '0.17.1'
|
||||
license 'BSD-2, GPL-3 and public-domain'
|
||||
compatibility 'all'
|
||||
source_url 'https://sourceforge.net/projects/docutils/files/docutils/0.17.1/docutils-0.17.1.tar.gz'
|
||||
source_sha256 '686577d2e4c32380bb50cbb22f575ed742d58168cee37e99117a854bcd88f125'
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_docutils/0.17.1_armv7l/py3_docutils-0.17.1-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_docutils/0.17.1_armv7l/py3_docutils-0.17.1-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_docutils/0.17.1_x86_64/py3_docutils-0.17.1-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '7991b4f06ea92a83f2f3516f3c084e5a2800592164e70869e5c38751b5c9e593',
|
||||
armv7l: '7991b4f06ea92a83f2f3516f3c084e5a2800592164e70869e5c38751b5c9e593',
|
||||
x86_64: 'a78db8875de1b809b898334ae4026fb3b86ac87e4f6cc788c535702e70f037ba'
|
||||
})
|
||||
|
||||
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
|
||||
33
packages/py3_docx2txt.rb
Normal file
33
packages/py3_docx2txt.rb
Normal file
@@ -0,0 +1,33 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_docx2txt < Package
|
||||
description 'Docx2txt is a pure python based utility to extract text and images from docx files.'
|
||||
homepage 'https://github.com/ankushshah89/python-docx2txt/'
|
||||
@_ver = '0.8'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/ankushshah89/python-docx2txt.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_docx2txt/0.8_armv7l/py3_docx2txt-0.8-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_docx2txt/0.8_armv7l/py3_docx2txt-0.8-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_docx2txt/0.8_x86_64/py3_docx2txt-0.8-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '8c73dcb3572f19da071bddaf2340ea7c5415790dd87ccd94a2667d3528247ce0',
|
||||
armv7l: '8c73dcb3572f19da071bddaf2340ea7c5415790dd87ccd94a2667d3528247ce0',
|
||||
x86_64: 'e4bb30becfb81c7f3b0570ec3f4849f2e44e9cdc164cf7ded0af8c40b46c6a92'
|
||||
})
|
||||
|
||||
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_NO_SVEM}"
|
||||
end
|
||||
end
|
||||
35
packages/py3_ebooklib.rb
Normal file
35
packages/py3_ebooklib.rb
Normal file
@@ -0,0 +1,35 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_ebooklib < Package
|
||||
description 'Ebooklib is a Python E-book library for handling books in EPUB2/EPUB3 format.'
|
||||
homepage 'https://docs.sourcefabric.org/projects/ebooklib/'
|
||||
@_ver = '0.17.1'
|
||||
version @_ver
|
||||
license 'AGPL-3'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/aerkalov/ebooklib.git'
|
||||
git_hashtag "v#{@_ver}"
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_ebooklib/0.17.1_armv7l/py3_ebooklib-0.17.1-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_ebooklib/0.17.1_armv7l/py3_ebooklib-0.17.1-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_ebooklib/0.17.1_x86_64/py3_ebooklib-0.17.1-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '9ef251c995198dbc2f0d9e63cbf9a7c03458ed7ea9b0aeea4eeb0e4465b5eb48',
|
||||
armv7l: '9ef251c995198dbc2f0d9e63cbf9a7c03458ed7ea9b0aeea4eeb0e4465b5eb48',
|
||||
x86_64: 'f805c0ac9fef8f5d9cdef29753d4a79d4b9eb83fe23fa0a1758282b29b7c7075'
|
||||
})
|
||||
|
||||
depends_on 'py3_lxml'
|
||||
depends_on 'py3_six'
|
||||
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
|
||||
33
packages/py3_et_xmlfile.rb
Normal file
33
packages/py3_et_xmlfile.rb
Normal file
@@ -0,0 +1,33 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_et_xmlfile < Package
|
||||
description 'Et-xmlfile is an implementation of lxml\'s xmlfile module for the standard library\'s ElementTree.'
|
||||
homepage 'https://openpyxl.readthedocs.io/'
|
||||
@_ver = '1.1'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://files.pythonhosted.org/packages/3d/5d/0413a31d184a20c763ad741cc7852a659bf15094c24840c5bdd1754765cd/et_xmlfile-1.1.0.tar.gz'
|
||||
source_sha256 '8eb9e2bc2f8c97e37a2dc85a09ecdcdec9d8a396530a6d5a33b30b9a92da0c5c'
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_et_xmlfile/1.1_armv7l/py3_et_xmlfile-1.1-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_et_xmlfile/1.1_armv7l/py3_et_xmlfile-1.1-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_et_xmlfile/1.1_x86_64/py3_et_xmlfile-1.1-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '20c7507f597d3397368033a826c93334259e36003ac557737971f1ba98afcd00',
|
||||
armv7l: '20c7507f597d3397368033a826c93334259e36003ac557737971f1ba98afcd00',
|
||||
x86_64: 'c64e6a5ce0288dd472903911e1bd21f760ba451cbb3c4c3bace140a3ae20b519'
|
||||
})
|
||||
|
||||
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
|
||||
36
packages/py3_extract_msg.rb
Normal file
36
packages/py3_extract_msg.rb
Normal file
@@ -0,0 +1,36 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_extract_msg < Package
|
||||
description 'Extract-msg extracts emails and attachments saved in Microsoft Outlook\'s .msg files.'
|
||||
homepage 'https://github.com/mattgwwalker/msg-extractor/'
|
||||
@_ver = '0.28.7'
|
||||
version @_ver
|
||||
license 'GPL-3'
|
||||
compatibility 'all'
|
||||
source_url 'https://files.pythonhosted.org/packages/67/fb/ed86f4fa53e58e90598f635bba9b4140a20992bd968aaaf8ae1fbacd6e57/extract_msg-0.28.7.tar.gz'
|
||||
source_sha256 '7ebdbd7863a3699080a69f71ec0cd30ed9bfee70bad9acc6a8e6abe9523c78c0'
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_extract_msg/0.28.7_armv7l/py3_extract_msg-0.28.7-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_extract_msg/0.28.7_armv7l/py3_extract_msg-0.28.7-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_extract_msg/0.28.7_x86_64/py3_extract_msg-0.28.7-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: 'c2b94eba0e922d79cd416c77db71e8004422efe69e90f306e5ae8b196d4a6446',
|
||||
armv7l: 'c2b94eba0e922d79cd416c77db71e8004422efe69e90f306e5ae8b196d4a6446',
|
||||
x86_64: 'e5a2c8dbf6abac1fdd8e7573c7ee08f3e0c9173c43ce554aeacf84132337afc3'
|
||||
})
|
||||
|
||||
depends_on 'py3_tzlocal'
|
||||
depends_on 'py3_olefile'
|
||||
depends_on 'py3_imapclient'
|
||||
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
|
||||
34
packages/py3_fasteners.rb
Normal file
34
packages/py3_fasteners.rb
Normal file
@@ -0,0 +1,34 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_fasteners < Package
|
||||
description 'Fasteners provides useful locks for python programs.'
|
||||
homepage 'https://github.com/harlowja/fasteners/'
|
||||
@_ver = '0.15'
|
||||
version @_ver
|
||||
license 'Apache-2.0'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/harlowja/fasteners.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_fasteners/0.15_armv7l/py3_fasteners-0.15-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_fasteners/0.15_armv7l/py3_fasteners-0.15-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_fasteners/0.15_x86_64/py3_fasteners-0.15-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '847f56cbe17a28de5bd78fcf9d69ea5db05fd011e035b70c28051444216460e4',
|
||||
armv7l: '847f56cbe17a28de5bd78fcf9d69ea5db05fd011e035b70c28051444216460e4',
|
||||
x86_64: 'cd2fdf2690b0acd28063048c4653f887237da16e44ea756f33af18916cbb0cd6'
|
||||
})
|
||||
|
||||
depends_on 'py3_six'
|
||||
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
|
||||
33
packages/py3_filelock.rb
Normal file
33
packages/py3_filelock.rb
Normal file
@@ -0,0 +1,33 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_filelock < Package
|
||||
description 'FileLock implements a platform independent file lock in Python.'
|
||||
homepage 'https://github.com/benediktschmitt/py-filelock/'
|
||||
@_ver = '3.0.12'
|
||||
version @_ver
|
||||
license 'Unlicense'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/benediktschmitt/py-filelock.git'
|
||||
git_hashtag "v#{@_ver}"
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_filelock/3.0.12_armv7l/py3_filelock-3.0.12-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_filelock/3.0.12_armv7l/py3_filelock-3.0.12-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_filelock/3.0.12_x86_64/py3_filelock-3.0.12-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '67648c5c3a5bb64e28cb3bf7a86db2b825ae648444975f198ca6c3e9a8471774',
|
||||
armv7l: '67648c5c3a5bb64e28cb3bf7a86db2b825ae648444975f198ca6c3e9a8471774',
|
||||
x86_64: '265ec94c08c1bb9fa4e49e1b5a5c4a3ff432a55af850f4891b731fab7505c61e'
|
||||
})
|
||||
|
||||
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
|
||||
37
packages/py3_flask.rb
Normal file
37
packages/py3_flask.rb
Normal file
@@ -0,0 +1,37 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_flask < Package
|
||||
description 'Flask is a simple framework for building complex web applications.'
|
||||
homepage 'https://palletsprojects.com/p/flask/'
|
||||
@_ver = '1.1.2'
|
||||
version @_ver
|
||||
license 'BSD-3'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/pallets/flask.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_flask/1.1.2_armv7l/py3_flask-1.1.2-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_flask/1.1.2_armv7l/py3_flask-1.1.2-chromeos-armv7l.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_flask/1.1.2_x86_64/py3_flask-1.1.2-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '61698011f63fd5edc84c44ef79f38f271281fe7b14f599b6fe78967007f0d11e',
|
||||
armv7l: '61698011f63fd5edc84c44ef79f38f271281fe7b14f599b6fe78967007f0d11e',
|
||||
x86_64: '6d63948aeaf0a00eb948399d301df392a1e73ab67d0209673a24327d296ed1b3'
|
||||
})
|
||||
|
||||
depends_on 'py3_werkzeug'
|
||||
depends_on 'py3_itsdangerous'
|
||||
depends_on 'py3_click'
|
||||
depends_on 'py3_jinja2'
|
||||
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
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user