diff --git a/bin/crew b/bin/crew index 2596d9402..8e250fabe 100755 --- a/bin/crew +++ b/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 diff --git a/lib/const.rb b/lib/const.rb index 6de37acf5..a5b14b0ef 100644 --- a/lib/const.rb +++ b/lib/const.rb @@ -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] diff --git a/packages/ansible.rb b/packages/ansible.rb index 48041be1b..1257991c3 100644 --- a/packages/ansible.rb +++ b/packages/ansible.rb @@ -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 diff --git a/packages/ansible_base.rb b/packages/ansible_base.rb new file mode 100644 index 000000000..0f53bd207 --- /dev/null +++ b/packages/ansible_base.rb @@ -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 diff --git a/packages/asciinema.rb b/packages/asciinema.rb index f42c187fb..855759af9 100644 --- a/packages/asciinema.rb +++ b/packages/asciinema.rb @@ -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 diff --git a/packages/atk.rb b/packages/atk.rb index 138afba44..8fcc8211b 100644 --- a/packages/atk.rb +++ b/packages/atk.rb @@ -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" diff --git a/packages/avocado.rb b/packages/avocado.rb index 94ad4750d..cdd5cb451 100644 --- a/packages/avocado.rb +++ b/packages/avocado.rb @@ -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 diff --git a/packages/avocado_framework.rb b/packages/avocado_framework.rb new file mode 100644 index 000000000..b427ea784 --- /dev/null +++ b/packages/avocado_framework.rb @@ -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 diff --git a/packages/aws.rb b/packages/aws.rb index 44fb97ae8..52ba462cd 100644 --- a/packages/aws.rb +++ b/packages/aws.rb @@ -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} \ diff --git a/packages/aws2.rb b/packages/aws2.rb index c77eb44d1..2ded05f90 100644 --- a/packages/aws2.rb +++ b/packages/aws2.rb @@ -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" diff --git a/packages/aws_shell.rb b/packages/aws_shell.rb index 54d4d527c..ba6132551 100644 --- a/packages/aws_shell.rb +++ b/packages/aws_shell.rb @@ -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}" diff --git a/packages/bind.rb b/packages/bind.rb index 31d7a8bc6..883ea77c6 100644 --- a/packages/bind.rb +++ b/packages/bind.rb @@ -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', diff --git a/packages/charm.rb b/packages/charm.rb deleted file mode 100644 index ef7c9c4d9..000000000 --- a/packages/charm.rb +++ /dev/null @@ -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 diff --git a/packages/choose.rb b/packages/choose.rb deleted file mode 100644 index b74db6aa2..000000000 --- a/packages/choose.rb +++ /dev/null @@ -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 diff --git a/packages/csvkit.rb b/packages/csvkit.rb index d3f85dbd7..7ff72f6fa 100644 --- a/packages/csvkit.rb +++ b/packages/csvkit.rb @@ -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 diff --git a/packages/dia.rb b/packages/dia.rb index c63bc4331..29e4caeb6 100644 --- a/packages/dia.rb +++ b/packages/dia.rb @@ -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' diff --git a/packages/docutils.rb b/packages/docutils.rb deleted file mode 100644 index fede66ac9..000000000 --- a/packages/docutils.rb +++ /dev/null @@ -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 diff --git a/packages/dr.rb b/packages/dr.rb deleted file mode 100644 index 444392182..000000000 --- a/packages/dr.rb +++ /dev/null @@ -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 diff --git a/packages/duplicity.rb b/packages/duplicity.rb index 7fed21575..6e1f19b96 100644 --- a/packages/duplicity.rb +++ b/packages/duplicity.rb @@ -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 diff --git a/packages/flatpak.rb b/packages/flatpak.rb index b5b269182..27be0580d 100644 --- a/packages/flatpak.rb +++ b/packages/flatpak.rb @@ -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 diff --git a/packages/fuse3.rb b/packages/fuse3.rb index 2e11bdd9a..4ff22a104 100644 --- a/packages/fuse3.rb +++ b/packages/fuse3.rb @@ -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 diff --git a/packages/gdb.rb b/packages/gdb.rb index 56207be35..d945b0e35 100644 --- a/packages/gdb.rb +++ b/packages/gdb.rb @@ -31,10 +31,6 @@ class Gdb < Package depends_on 'source_highlight' # R depends_on 'boost' # R - def self.patch - system "sed -i 's%#include %#include %g' gdb/gdb_curses.h" - end - def self.build FileUtils.mkdir_p 'build' Dir.chdir('build') do diff --git a/packages/gdk_pixbuf.rb b/packages/gdk_pixbuf.rb index 483f446a1..1d2741725 100644 --- a/packages/gdk_pixbuf.rb +++ b/packages/gdk_pixbuf.rb @@ -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" diff --git a/packages/gittools.rb b/packages/gittools.rb index 81d82dcaa..19e40329f 100644 --- a/packages/gittools.rb +++ b/packages/gittools.rb @@ -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 diff --git a/packages/glib.rb b/packages/glib.rb index 40dac1cf3..5b1833c70 100644 --- a/packages/glib.rb +++ b/packages/glib.rb @@ -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 diff --git a/packages/gnome_calculator.rb b/packages/gnome_calculator.rb index 931770fd1..a802ac3a0 100644 --- a/packages/gnome_calculator.rb +++ b/packages/gnome_calculator.rb @@ -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' diff --git a/packages/gtk2.rb b/packages/gtk2.rb index 1f87fe787..6063e1330 100644 --- a/packages/gtk2.rb +++ b/packages/gtk2.rb @@ -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' \ diff --git a/packages/gtk3.rb b/packages/gtk3.rb index c15e8c8ee..f6ed764a7 100644 --- a/packages/gtk3.rb +++ b/packages/gtk3.rb @@ -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 diff --git a/packages/gtk4.rb b/packages/gtk4.rb index 102e4c9b5..eebae5add 100644 --- a/packages/gtk4.rb +++ b/packages/gtk4.rb @@ -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 diff --git a/packages/gtk_doc.rb b/packages/gtk_doc.rb index b1a7cca8b..79d4da057 100644 --- a/packages/gtk_doc.rb +++ b/packages/gtk_doc.rb @@ -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) diff --git a/packages/gyp.rb b/packages/gyp.rb deleted file mode 100644 index ffb79426d..000000000 --- a/packages/gyp.rb +++ /dev/null @@ -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 diff --git a/packages/gyp_next.rb b/packages/gyp_next.rb index 1cd3d9ff8..10d9f4e55 100644 --- a/packages/gyp_next.rb +++ b/packages/gyp_next.rb @@ -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 diff --git a/packages/harfbuzz.rb b/packages/harfbuzz.rb index b6460d215..c08b3464b 100644 --- a/packages/harfbuzz.rb +++ b/packages/harfbuzz.rb @@ -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 diff --git a/packages/itstool.rb b/packages/itstool.rb index 9f95552bd..934875f34 100644 --- a/packages/itstool.rb +++ b/packages/itstool.rb @@ -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 diff --git a/packages/json2xml.rb b/packages/json2xml.rb deleted file mode 100644 index 04aba761f..000000000 --- a/packages/json2xml.rb +++ /dev/null @@ -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 diff --git a/packages/kcov.rb b/packages/kcov.rb index 7ba02cb34..6da084afd 100644 --- a/packages/kcov.rb +++ b/packages/kcov.rb @@ -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' diff --git a/packages/libcroco.rb b/packages/libcroco.rb index 62d672bef..bed2c9f41 100644 --- a/packages/libcroco.rb +++ b/packages/libcroco.rb @@ -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' diff --git a/packages/libewf.rb b/packages/libewf.rb index dddbdf4d9..75c9b11c9 100644 --- a/packages/libewf.rb +++ b/packages/libewf.rb @@ -23,7 +23,7 @@ class Libewf < Package }) depends_on 'bz2' - depends_on 'six' + depends_on 'py3_six' depends_on 'util_linux' def self.build diff --git a/packages/libmypaint.rb b/packages/libmypaint.rb index fe7298553..8bddfb0c5 100644 --- a/packages/libmypaint.rb +++ b/packages/libmypaint.rb @@ -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 \ diff --git a/packages/libnewt.rb b/packages/libnewt.rb index 28b277707..d8a0b9c85 100644 --- a/packages/libnewt.rb +++ b/packages/libnewt.rb @@ -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' diff --git a/packages/libprelude.rb b/packages/libprelude.rb index 3dc6b5917..7f94dbccb 100644 --- a/packages/libprelude.rb +++ b/packages/libprelude.rb @@ -22,7 +22,7 @@ class Libprelude < Package x86_64: 'f7642b1ffb9a0b5ee5c22a3f1345fbc0ff8b7e334a9839c7d24b7108fd069806', }) - depends_on 'six' => :build + depends_on 'py3_six' => :build def self.build system "./configure \ diff --git a/packages/librsvg.rb b/packages/librsvg.rb index e46630da8..0ff79a824 100644 --- a/packages/librsvg.rb +++ b/packages/librsvg.rb @@ -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 diff --git a/packages/librsync.rb b/packages/librsync.rb index a0cd428e6..efe8218c9 100644 --- a/packages/librsync.rb +++ b/packages/librsync.rb @@ -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 diff --git a/packages/libwacom.rb b/packages/libwacom.rb index 917c8256e..cc6d248e6 100644 --- a/packages/libwacom.rb +++ b/packages/libwacom.rb @@ -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 diff --git a/packages/libxml2.rb b/packages/libxml2.rb index 0eed7d821..868b6cf88 100644 --- a/packages/libxml2.rb +++ b/packages/libxml2.rb @@ -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} \ diff --git a/packages/libxml2_python.rb b/packages/libxml2_python.rb index d75b9b684..ccc99680c 100644 --- a/packages/libxml2_python.rb +++ b/packages/libxml2_python.rb @@ -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 diff --git a/packages/libxslt.rb b/packages/libxslt.rb index d319cd100..6c1786a1a 100644 --- a/packages/libxslt.rb +++ b/packages/libxslt.rb @@ -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' diff --git a/packages/llvm.rb b/packages/llvm.rb index 5ab226fd0..402fc3f1f 100644 --- a/packages/llvm.rb +++ b/packages/llvm.rb @@ -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 diff --git a/packages/llvm_stage1.rb b/packages/llvm_stage1.rb index 2c28ecbcc..7d693e839 100644 --- a/packages/llvm_stage1.rb +++ b/packages/llvm_stage1.rb @@ -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 diff --git a/packages/lxml.rb b/packages/lxml.rb deleted file mode 100644 index 967f85833..000000000 --- a/packages/lxml.rb +++ /dev/null @@ -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 diff --git a/packages/mate_desktop.rb b/packages/mate_desktop.rb index b5f4b38c0..410fa7843 100644 --- a/packages/mate_desktop.rb +++ b/packages/mate_desktop.rb @@ -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" diff --git a/packages/mercurial.rb b/packages/mercurial.rb index 63e7bb50d..a8d05a693 100644 --- a/packages/mercurial.rb +++ b/packages/mercurial.rb @@ -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 diff --git a/packages/mesa.rb b/packages/mesa.rb index a9f04c26d..976e1d76f 100644 --- a/packages/mesa.rb +++ b/packages/mesa.rb @@ -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 diff --git a/packages/meson.rb b/packages/meson.rb index 0f9bdd586..4aa8d0f2f 100644 --- a/packages/meson.rb +++ b/packages/meson.rb @@ -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 diff --git a/packages/mypaint.rb b/packages/mypaint.rb index 052fb8643..4d69ea935 100644 --- a/packages/mypaint.rb +++ b/packages/mypaint.rb @@ -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 diff --git a/packages/mypaint_brushes.rb b/packages/mypaint_brushes.rb index 5f53276a9..dd2f69661 100644 --- a/packages/mypaint_brushes.rb +++ b/packages/mypaint_brushes.rb @@ -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 diff --git a/packages/nuitka.rb b/packages/nuitka.rb deleted file mode 100644 index 1d474b5b3..000000000 --- a/packages/nuitka.rb +++ /dev/null @@ -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 diff --git a/packages/oci.rb b/packages/oci.rb deleted file mode 100644 index 8d8750e2d..000000000 --- a/packages/oci.rb +++ /dev/null @@ -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 diff --git a/packages/oci_cli.rb b/packages/oci_cli.rb new file mode 100644 index 000000000..60ca500db --- /dev/null +++ b/packages/oci_cli.rb @@ -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 diff --git a/packages/pango.rb b/packages/pango.rb index 4c60f3504..7b2621e01 100644 --- a/packages/pango.rb +++ b/packages/pango.rb @@ -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} \ diff --git a/packages/pax_utils.rb b/packages/pax_utils.rb index 4cde91927..3036d82b4 100644 --- a/packages/pax_utils.rb +++ b/packages/pax_utils.rb @@ -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 diff --git a/packages/php73.rb b/packages/php73.rb index b6823b576..1ed4e6498 100644 --- a/packages/php73.rb +++ b/packages/php73.rb @@ -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 diff --git a/packages/php74.rb b/packages/php74.rb index c96e5fc3d..ba1370318 100644 --- a/packages/php74.rb +++ b/packages/php74.rb @@ -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 diff --git a/packages/php80.rb b/packages/php80.rb index ceb1937a4..f5896773a 100644 --- a/packages/php80.rb +++ b/packages/php80.rb @@ -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 diff --git a/packages/psutil.rb b/packages/psutil.rb deleted file mode 100644 index d0bb7cdca..000000000 --- a/packages/psutil.rb +++ /dev/null @@ -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 diff --git a/packages/py2_six.rb b/packages/py2_six.rb new file mode 100644 index 000000000..dab243cfb --- /dev/null +++ b/packages/py2_six.rb @@ -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 diff --git a/packages/py3_agate.rb b/packages/py3_agate.rb new file mode 100644 index 000000000..6735a7067 --- /dev/null +++ b/packages/py3_agate.rb @@ -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 diff --git a/packages/py3_agate_dfb.rb b/packages/py3_agate_dfb.rb new file mode 100644 index 000000000..75cda6cf0 --- /dev/null +++ b/packages/py3_agate_dfb.rb @@ -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 diff --git a/packages/py3_agate_excel.rb b/packages/py3_agate_excel.rb new file mode 100644 index 000000000..e4659ed48 --- /dev/null +++ b/packages/py3_agate_excel.rb @@ -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 diff --git a/packages/py3_agate_sql.rb b/packages/py3_agate_sql.rb new file mode 100644 index 000000000..d62444597 --- /dev/null +++ b/packages/py3_agate_sql.rb @@ -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 diff --git a/packages/py3_alabaster.rb b/packages/py3_alabaster.rb new file mode 100644 index 000000000..c408a2001 --- /dev/null +++ b/packages/py3_alabaster.rb @@ -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 diff --git a/packages/py3_appdirs.rb b/packages/py3_appdirs.rb new file mode 100644 index 000000000..06819f6e5 --- /dev/null +++ b/packages/py3_appdirs.rb @@ -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 diff --git a/packages/py3_argcomplete.rb b/packages/py3_argcomplete.rb new file mode 100644 index 000000000..d45c0d5b6 --- /dev/null +++ b/packages/py3_argcomplete.rb @@ -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 diff --git a/packages/py3_arrow.rb b/packages/py3_arrow.rb new file mode 100644 index 000000000..41ad5ea83 --- /dev/null +++ b/packages/py3_arrow.rb @@ -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 diff --git a/packages/py3_attrs.rb b/packages/py3_attrs.rb new file mode 100644 index 000000000..4231f0fe1 --- /dev/null +++ b/packages/py3_attrs.rb @@ -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 diff --git a/packages/py3_babel.rb b/packages/py3_babel.rb new file mode 100644 index 000000000..a2859b080 --- /dev/null +++ b/packages/py3_babel.rb @@ -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 diff --git a/packages/py3_beautifulsoup4.rb b/packages/py3_beautifulsoup4.rb new file mode 100644 index 000000000..fe3a62b06 --- /dev/null +++ b/packages/py3_beautifulsoup4.rb @@ -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 diff --git a/packages/py3_certifi.rb b/packages/py3_certifi.rb new file mode 100644 index 000000000..c88e962d1 --- /dev/null +++ b/packages/py3_certifi.rb @@ -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 diff --git a/packages/py3_cffi.rb b/packages/py3_cffi.rb new file mode 100644 index 000000000..21cf7813f --- /dev/null +++ b/packages/py3_cffi.rb @@ -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 diff --git a/packages/py3_chardet.rb b/packages/py3_chardet.rb new file mode 100644 index 000000000..aad4dc62c --- /dev/null +++ b/packages/py3_chardet.rb @@ -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 diff --git a/packages/py3_click.rb b/packages/py3_click.rb new file mode 100644 index 000000000..fe863e998 --- /dev/null +++ b/packages/py3_click.rb @@ -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 diff --git a/packages/py3_colorama.rb b/packages/py3_colorama.rb new file mode 100644 index 000000000..62256c48d --- /dev/null +++ b/packages/py3_colorama.rb @@ -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 diff --git a/packages/py3_configparser.rb b/packages/py3_configparser.rb new file mode 100644 index 000000000..66b9bac1d --- /dev/null +++ b/packages/py3_configparser.rb @@ -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 diff --git a/packages/py3_cryptography.rb b/packages/py3_cryptography.rb new file mode 100644 index 000000000..994288c09 --- /dev/null +++ b/packages/py3_cryptography.rb @@ -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 diff --git a/packages/py3_cssselect.rb b/packages/py3_cssselect.rb new file mode 100644 index 000000000..8caf300b9 --- /dev/null +++ b/packages/py3_cssselect.rb @@ -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 diff --git a/packages/py3_cython.rb b/packages/py3_cython.rb new file mode 100644 index 000000000..e98526f9f --- /dev/null +++ b/packages/py3_cython.rb @@ -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 diff --git a/packages/py3_dateutil.rb b/packages/py3_dateutil.rb new file mode 100644 index 000000000..b7109197f --- /dev/null +++ b/packages/py3_dateutil.rb @@ -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 diff --git a/packages/py3_dbfread.rb b/packages/py3_dbfread.rb new file mode 100644 index 000000000..a1f65fddf --- /dev/null +++ b/packages/py3_dbfread.rb @@ -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 diff --git a/packages/py3_decorator.rb b/packages/py3_decorator.rb new file mode 100644 index 000000000..a37e491e7 --- /dev/null +++ b/packages/py3_decorator.rb @@ -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 diff --git a/packages/py3_dicttoxml.rb b/packages/py3_dicttoxml.rb new file mode 100644 index 000000000..136a30045 --- /dev/null +++ b/packages/py3_dicttoxml.rb @@ -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 diff --git a/packages/py3_distlib.rb b/packages/py3_distlib.rb new file mode 100644 index 000000000..1b83bd265 --- /dev/null +++ b/packages/py3_distlib.rb @@ -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 diff --git a/packages/py3_dnspython.rb b/packages/py3_dnspython.rb new file mode 100644 index 000000000..541ee3cd7 --- /dev/null +++ b/packages/py3_dnspython.rb @@ -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 diff --git a/packages/py3_docutils.rb b/packages/py3_docutils.rb new file mode 100644 index 000000000..377d1e6eb --- /dev/null +++ b/packages/py3_docutils.rb @@ -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 diff --git a/packages/py3_docx2txt.rb b/packages/py3_docx2txt.rb new file mode 100644 index 000000000..488a994dd --- /dev/null +++ b/packages/py3_docx2txt.rb @@ -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 diff --git a/packages/py3_ebooklib.rb b/packages/py3_ebooklib.rb new file mode 100644 index 000000000..10bdffa2c --- /dev/null +++ b/packages/py3_ebooklib.rb @@ -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 diff --git a/packages/py3_et_xmlfile.rb b/packages/py3_et_xmlfile.rb new file mode 100644 index 000000000..6eb58dfd7 --- /dev/null +++ b/packages/py3_et_xmlfile.rb @@ -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 diff --git a/packages/py3_extract_msg.rb b/packages/py3_extract_msg.rb new file mode 100644 index 000000000..432a08354 --- /dev/null +++ b/packages/py3_extract_msg.rb @@ -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 diff --git a/packages/py3_fasteners.rb b/packages/py3_fasteners.rb new file mode 100644 index 000000000..79b52ff67 --- /dev/null +++ b/packages/py3_fasteners.rb @@ -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 diff --git a/packages/py3_filelock.rb b/packages/py3_filelock.rb new file mode 100644 index 000000000..81b572198 --- /dev/null +++ b/packages/py3_filelock.rb @@ -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 diff --git a/packages/py3_flask.rb b/packages/py3_flask.rb new file mode 100644 index 000000000..44f7fad05 --- /dev/null +++ b/packages/py3_flask.rb @@ -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 diff --git a/packages/py3_future.rb b/packages/py3_future.rb new file mode 100644 index 000000000..ea49b14b1 --- /dev/null +++ b/packages/py3_future.rb @@ -0,0 +1,33 @@ +require 'package' + +class Py3_future < Package + description 'Future provides clean single-source support for Python 3 and 2.' + homepage 'https://python-future.org/' + @_ver = '0.18.2' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://github.com/PythonCharmers/python-future.git' + git_hashtag "v#{@_ver}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_future/0.18.2_armv7l/py3_future-0.18.2-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_future/0.18.2_armv7l/py3_future-0.18.2-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_future/0.18.2_x86_64/py3_future-0.18.2-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '2f45cc2a262e3ee766966df030ef2abd7fa35088a175051a0d58c579b131dfcc', + armv7l: '2f45cc2a262e3ee766966df030ef2abd7fa35088a175051a0d58c579b131dfcc', + x86_64: 'd3de1fd3a86c74ce4ed4d34e90d034b2de0cb8717e79c6398b022c7592159294' + }) + + 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 diff --git a/packages/py3_greenlet.rb b/packages/py3_greenlet.rb new file mode 100644 index 000000000..f37617530 --- /dev/null +++ b/packages/py3_greenlet.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_greenlet < Package + description 'Greenlet provides lightweight in-process concurrent programming.' + homepage 'https://greenlet.readthedocs.io/' + @_ver = '1.1.0' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://github.com/python-greenlet/greenlet.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_greenlet/1.1.0_armv7l/py3_greenlet-1.1.0-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_greenlet/1.1.0_armv7l/py3_greenlet-1.1.0-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_greenlet/1.1.0_x86_64/py3_greenlet-1.1.0-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: 'f5c1a3532b05917a888490359d5d63fa852781be3987f5f682e378e74bf6dae7', + armv7l: 'f5c1a3532b05917a888490359d5d63fa852781be3987f5f682e378e74bf6dae7', + x86_64: '05d6bfaa4de933989cddbea9a604d5b8930a19df365a56479d21cfb5e0732426' + }) + + 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 diff --git a/packages/py3_idna.rb b/packages/py3_idna.rb new file mode 100644 index 000000000..feda21374 --- /dev/null +++ b/packages/py3_idna.rb @@ -0,0 +1,33 @@ +require 'package' + +class Py3_idna < Package + description 'IDNA provides internationalized domain names for Python.' + homepage 'https://github.com/kjd/idna/' + @_ver = '3.1' + version @_ver + license 'BSD-3' + compatibility 'all' + source_url 'https://github.com/kjd/idna.git' + git_hashtag "v#{@_ver}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_idna/3.1_armv7l/py3_idna-3.1-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_idna/3.1_armv7l/py3_idna-3.1-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_idna/3.1_x86_64/py3_idna-3.1-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '8b1d43393a55416ce6d245b757c8fb471e6e9a05b0e0b97c03bdfeae61daf527', + armv7l: '8b1d43393a55416ce6d245b757c8fb471e6e9a05b0e0b97c03bdfeae61daf527', + x86_64: '81ae966d16b99111df47c49bad147ab4517a91dc1056ef3f7037edc0c1ac3767' + }) + + 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 diff --git a/packages/py3_imagesize.rb b/packages/py3_imagesize.rb new file mode 100644 index 000000000..e9d1943a8 --- /dev/null +++ b/packages/py3_imagesize.rb @@ -0,0 +1,33 @@ +require 'package' + +class Py3_imagesize < Package + description 'Imagesize gets image size from png/jpeg/jpeg2000/gif file.' + homepage 'https://github.com/shibukawa/imagesize_py/' + @_ver = '1.1.0' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://github.com/shibukawa/imagesize_py.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_imagesize/1.1.0_armv7l/py3_imagesize-1.1.0-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_imagesize/1.1.0_armv7l/py3_imagesize-1.1.0-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_imagesize/1.1.0_x86_64/py3_imagesize-1.1.0-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '8a50d8638aa483659890a2f8a7fbb728ba06f144ee744d8ce58f5e0fa4673969', + armv7l: '8a50d8638aa483659890a2f8a7fbb728ba06f144ee744d8ce58f5e0fa4673969', + x86_64: '43f5e898252eefbf95f4f8671ea60bd7936ba21dbf26d1f1ff5520a29f8f3c49' + }) + + 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 diff --git a/packages/py3_imapclient.rb b/packages/py3_imapclient.rb new file mode 100644 index 000000000..f9c6776a7 --- /dev/null +++ b/packages/py3_imapclient.rb @@ -0,0 +1,34 @@ +require 'package' + +class Py3_imapclient < Package + description 'IMAPclient is an easy-to-use, complete IMAP client library.' + homepage 'https://imapclient.readthedocs.io/' + @_ver = '2.2.0' + version @_ver + license 'BSD' + compatibility 'all' + source_url 'https://github.com/mjs/imapclient.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_imapclient/2.2.0_armv7l/py3_imapclient-2.2.0-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_imapclient/2.2.0_armv7l/py3_imapclient-2.2.0-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_imapclient/2.2.0_x86_64/py3_imapclient-2.2.0-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '26ba0231d3a994da411ef64e6fbee4676be0f66a5fa66d5412ee13a0c7e78dd6', + armv7l: '26ba0231d3a994da411ef64e6fbee4676be0f66a5fa66d5412ee13a0c7e78dd6', + x86_64: '02bc417b206a0881fb13c6804b02281168eca1688932f944a4a5355fb1809528' + }) + + 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 diff --git a/packages/py3_impacket.rb b/packages/py3_impacket.rb new file mode 100644 index 000000000..522a86d65 --- /dev/null +++ b/packages/py3_impacket.rb @@ -0,0 +1,40 @@ +require 'package' + +class Py3_impacket < Package + description 'Impacket provides network protocols constructors and dissectors.' + homepage 'https://www.secureauth.com/labs/open-source-tools/impacket/' + @_ver = '0.9.22' + version @_ver + license 'Apache-2.0-with-impacket-modifications' + compatibility 'all' + source_url 'https://github.com/SecureAuthCorp/impacket.git' + git_hashtag "impacket_#{@_ver.gsub('.', '_')}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_impacket/0.9.22_armv7l/py3_impacket-0.9.22-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_impacket/0.9.22_armv7l/py3_impacket-0.9.22-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_impacket/0.9.22_x86_64/py3_impacket-0.9.22-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '207d25e818e1bbeaccdfc8461459a138d109ab0542bb3576353f9e79d5b57399', + armv7l: '207d25e818e1bbeaccdfc8461459a138d109ab0542bb3576353f9e79d5b57399', + x86_64: '795f9396ffaa32c7f197dc732bd36cdcbe71965514e75ae205f4d9729ac288e5' + }) + + depends_on 'py3_pycryptodomex' + depends_on 'py3_flask' + depends_on 'py3_pyasn1' + depends_on 'py3_pyopenssl' + depends_on 'py3_six' + depends_on 'py3_ldap3' + depends_on 'py3_ldapdomaindump' + 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 diff --git a/packages/py3_importlib_metadata.rb b/packages/py3_importlib_metadata.rb new file mode 100644 index 000000000..2e8ddf704 --- /dev/null +++ b/packages/py3_importlib_metadata.rb @@ -0,0 +1,34 @@ +require 'package' + +class Py3_importlib_metadata < Package + description 'Importlib metadata reads metadata from Python packages.' + homepage 'https://github.com/python/importlib_metadata/' + @_ver = '4.6.1' + version @_ver + license 'Apache-2.0' + compatibility 'all' + source_url 'https://github.com/python/importlib_metadata.git' + git_hashtag "v#{@_ver}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_importlib_metadata/4.6.1_armv7l/py3_importlib_metadata-4.6.1-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_importlib_metadata/4.6.1_armv7l/py3_importlib_metadata-4.6.1-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_importlib_metadata/4.6.1_x86_64/py3_importlib_metadata-4.6.1-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '5568b64c5d7d8b967a739a3f21fb2a718daedb34a41f15290649e32ecbacbe74', + armv7l: '5568b64c5d7d8b967a739a3f21fb2a718daedb34a41f15290649e32ecbacbe74', + x86_64: '55de7326823289d71254bc10fb31b58578072b27c09abc203f604fb9005ac27a' + }) + + depends_on 'py3_zipp' + 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 diff --git a/packages/py3_iniconfig.rb b/packages/py3_iniconfig.rb new file mode 100644 index 000000000..e1decc54a --- /dev/null +++ b/packages/py3_iniconfig.rb @@ -0,0 +1,33 @@ +require 'package' + +class Py3_iniconfig < Package + description 'Iniconfig provides simple config-ini parsing.' + homepage 'https://github.com/pytest-dev/iniconfig/' + @_ver = '1.1.1' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://github.com/pytest-dev/iniconfig.git' + git_hashtag "v#{@_ver}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_iniconfig/1.1.1_armv7l/py3_iniconfig-1.1.1-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_iniconfig/1.1.1_armv7l/py3_iniconfig-1.1.1-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_iniconfig/1.1.1_x86_64/py3_iniconfig-1.1.1-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: 'd8faa31c9d0d32fdcb8580ffe407a084a7a3a761eb998b73407e5df41ae715af', + armv7l: 'd8faa31c9d0d32fdcb8580ffe407a084a7a3a761eb998b73407e5df41ae715af', + x86_64: '29d178df195e9c668fb9a74463ddaa98988a89d27c702b1f2479b4e70e527e62' + }) + + 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 diff --git a/packages/py3_isodate.rb b/packages/py3_isodate.rb new file mode 100644 index 000000000..b1eeca5fc --- /dev/null +++ b/packages/py3_isodate.rb @@ -0,0 +1,34 @@ +require 'package' + +class Py3_isodate < Package + description 'ISOdate is an ISO 8601 date/time/duration parser and formatter.' + homepage 'https://github.com/gweis/isodate/' + @_ver = '0.6.0' + version @_ver + license 'BSD' + compatibility 'all' + source_url 'https://github.com/gweis/isodate.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_isodate/0.6.0_armv7l/py3_isodate-0.6.0-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_isodate/0.6.0_armv7l/py3_isodate-0.6.0-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_isodate/0.6.0_x86_64/py3_isodate-0.6.0-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '0b45d4ecab2b2ca8706e1de22e8918c8d6cf100bab2e8085fb8976cb3a7d0015', + armv7l: '0b45d4ecab2b2ca8706e1de22e8918c8d6cf100bab2e8085fb8976cb3a7d0015', + x86_64: '3d204a492c1b418a2fa77d810d4756a1c78aafc6eb87113e17d4ff04b70aa190' + }) + + 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 diff --git a/packages/py3_itsdangerous.rb b/packages/py3_itsdangerous.rb new file mode 100644 index 000000000..edb89f3fc --- /dev/null +++ b/packages/py3_itsdangerous.rb @@ -0,0 +1,33 @@ +require 'package' + +class Py3_itsdangerous < Package + description 'ItsDangerous provide various helpers to pass data to untrusted environments and back.' + homepage 'https://palletsprojects.com/p/itsdangerous/' + @_ver = '1.1.0' + version @_ver + license 'BSD-3' + compatibility 'all' + source_url 'https://github.com/pallets/itsdangerous.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_itsdangerous/1.1.0_armv7l/py3_itsdangerous-1.1.0-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_itsdangerous/1.1.0_armv7l/py3_itsdangerous-1.1.0-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_itsdangerous/1.1.0_x86_64/py3_itsdangerous-1.1.0-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '1a9e0553a57fe8ffc640b83b24b11da265fae3b9e7aacf7b69b113b32fb18ecb', + armv7l: '1a9e0553a57fe8ffc640b83b24b11da265fae3b9e7aacf7b69b113b32fb18ecb', + x86_64: 'c95d5c7d93517188a33c72f25342f55b74f230e8424ea50737e658de9ee087de' + }) + + 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 diff --git a/packages/py3_jeepney.rb b/packages/py3_jeepney.rb new file mode 100644 index 000000000..270fc3082 --- /dev/null +++ b/packages/py3_jeepney.rb @@ -0,0 +1,33 @@ +require 'package' + +class Py3_jeepney < Package + description 'Jeepney is a low-level, pure Python DBus protocol wrapper.' + homepage 'https://gitlab.com/takluyver/jeepney/' + @_ver = '0.7.0' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://files.pythonhosted.org/packages/8e/9b/72259ccc9c49cf830f60289c841d57a449d993f48de0df5e76b3f9d929ae/jeepney-0.7.0.tar.gz' + source_sha256 '1237cd64c8f7ac3aa4b3f332c4d0fb4a8216f39eaa662ec904302d4d77de5a54' + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_jeepney/0.7.0_armv7l/py3_jeepney-0.7.0-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_jeepney/0.7.0_armv7l/py3_jeepney-0.7.0-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_jeepney/0.7.0_x86_64/py3_jeepney-0.7.0-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: 'f6d662b0d518b94df727fb08e6fb76f43f346f8fcb164c7eada2622aa59c39fc', + armv7l: 'f6d662b0d518b94df727fb08e6fb76f43f346f8fcb164c7eada2622aa59c39fc', + x86_64: 'c28d755bd64f0b335792f0059833640bb7b175ea51695a4ec56d362315f35190' + }) + + 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 diff --git a/packages/py3_jinja2.rb b/packages/py3_jinja2.rb new file mode 100644 index 000000000..f958ef5b9 --- /dev/null +++ b/packages/py3_jinja2.rb @@ -0,0 +1,36 @@ +require 'package' + +class Py3_jinja2 < Package + description 'Jinja2 is a very fast and expressive template engine.' + homepage 'https://jinja.palletsprojects.com/' + @_ver = '2.11.3' + version @_ver + license 'BSD-3' + compatibility 'all' + source_url 'https://github.com/pallets/jinja.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_jinja2/2.11.3_armv7l/py3_jinja2-2.11.3-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_jinja2/2.11.3_armv7l/py3_jinja2-2.11.3-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_jinja2/2.11.3_i686/py3_jinja2-2.11.3-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_jinja2/2.11.3_x86_64/py3_jinja2-2.11.3-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: 'd3e75f478bca3d6a91b1482b055646af9cb49b5e2a52941b30b4378cc7ddd8a2', + armv7l: 'd3e75f478bca3d6a91b1482b055646af9cb49b5e2a52941b30b4378cc7ddd8a2', + i686: '4c6e6345689b30e015772cd0fff51be3ace97989dfb78aadcb0c4ac0b3005cd6', + x86_64: '7f92ed068506f415c0e2c95d32131f65be19181013f0db99f6c031a55566b1e5' + }) + + depends_on 'py3_markupsafe' + 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 diff --git a/packages/py3_jmespath.rb b/packages/py3_jmespath.rb new file mode 100644 index 000000000..c2bfcfc9a --- /dev/null +++ b/packages/py3_jmespath.rb @@ -0,0 +1,33 @@ +require 'package' + +class Py3_jmespath < Package + description 'JMESPath is a query language for JSON.' + homepage 'https://jmespath.org/' + @_ver = '0.10.0' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://github.com/jmespath/jmespath.py.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_jmespath/0.10.0_armv7l/py3_jmespath-0.10.0-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_jmespath/0.10.0_armv7l/py3_jmespath-0.10.0-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_jmespath/0.10.0_x86_64/py3_jmespath-0.10.0-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '0fc01341a03a02daad06ef2bf3e82c947964a2b9e048890e7f638712bea1d072', + armv7l: '0fc01341a03a02daad06ef2bf3e82c947964a2b9e048890e7f638712bea1d072', + x86_64: 'bfab11e20104c918092dc31029083424a461207f28093e9fc5873fb3f791ca52' + }) + + 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 diff --git a/packages/py3_json2xml.rb b/packages/py3_json2xml.rb new file mode 100644 index 000000000..dd2202a6c --- /dev/null +++ b/packages/py3_json2xml.rb @@ -0,0 +1,36 @@ +require 'package' + +class Py3_json2xml < Package + description 'json to xml converter' + homepage 'https://json2xml.readthedocs.io/' + @_ver = '3.6.0' + version @_ver + license 'Apache-2.0' + compatibility 'all' + source_url 'https://github.com/vinitkumar/json2xml.git' + git_hashtag "v#{@_ver}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_json2xml/3.6.0_armv7l/py3_json2xml-3.6.0-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_json2xml/3.6.0_armv7l/py3_json2xml-3.6.0-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_json2xml/3.6.0_x86_64/py3_json2xml-3.6.0-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: 'ebaf5d827ea6d9683d36b6db16f04a2de05d0fd1e63b2b2c0d82602ede6b9b46', + armv7l: 'ebaf5d827ea6d9683d36b6db16f04a2de05d0fd1e63b2b2c0d82602ede6b9b46', + x86_64: '13e41d07e2939271ba4d3cd2ad458cfa84490c3c57fa8da3328031f91d954af3' + }) + + depends_on 'py3_requests' + depends_on 'py3_xmltodict' + depends_on 'py3_dicttoxml' + 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 diff --git a/packages/py3_keyring.rb b/packages/py3_keyring.rb new file mode 100644 index 000000000..561098ae8 --- /dev/null +++ b/packages/py3_keyring.rb @@ -0,0 +1,36 @@ +require 'package' + +class Py3_keyring < Package + description 'Keyring stores and accesses your passwords safely.' + homepage 'https://github.com/jaraco/keyring/' + @_ver = '23.0.1' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://github.com/jaraco/keyring.git' + git_hashtag "v#{@_ver}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_keyring/23.0.1_armv7l/py3_keyring-23.0.1-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_keyring/23.0.1_armv7l/py3_keyring-23.0.1-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_keyring/23.0.1_x86_64/py3_keyring-23.0.1-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '1bb40d7217db39f04c41bbd1e45bc95a9d3aeba2259a64fa87449fa00d4e4e6e', + armv7l: '1bb40d7217db39f04c41bbd1e45bc95a9d3aeba2259a64fa87449fa00d4e4e6e', + x86_64: 'f1ce83cfed4f4d7f6f0628e7022c1d9f8c1ec77a8217deed2d968075bdf4b79b' + }) + + depends_on 'py3_jeepney' + depends_on 'py3_secretstorage' + depends_on 'py3_importlib_metadata' + 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 diff --git a/packages/py3_ldap3.rb b/packages/py3_ldap3.rb new file mode 100644 index 000000000..9b2c7cf29 --- /dev/null +++ b/packages/py3_ldap3.rb @@ -0,0 +1,34 @@ +require 'package' + +class Py3_ldap3 < Package + description 'LDAP3 is a strictly RFC 4510 conforming LDAP V3 pure Python client library.' + homepage 'https://github.com/cannatag/ldap3/' + @_ver = '2.9' + version @_ver + license 'LGPL-3' + compatibility 'all' + source_url 'https://github.com/cannatag/ldap3.git' + git_hashtag "v#{@_ver}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_ldap3/2.9_armv7l/py3_ldap3-2.9-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_ldap3/2.9_armv7l/py3_ldap3-2.9-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_ldap3/2.9_x86_64/py3_ldap3-2.9-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '40e23ad500cdfc66f8f67a651ed07276fbe9ecf3ca4440f3a02016cf7b670fdb', + armv7l: '40e23ad500cdfc66f8f67a651ed07276fbe9ecf3ca4440f3a02016cf7b670fdb', + x86_64: 'd5bdd0be697e51fe7919bb4c485791b1cdd3f517b027e8b2c7ba4e8aca97ec86' + }) + + depends_on 'py3_pyasn1' + 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 diff --git a/packages/py3_ldapdomaindump.rb b/packages/py3_ldapdomaindump.rb new file mode 100644 index 000000000..c9cb0d99a --- /dev/null +++ b/packages/py3_ldapdomaindump.rb @@ -0,0 +1,36 @@ +require 'package' + +class Py3_ldapdomaindump < Package + description 'LDAPDomainDump uses LDAP to dump active directory information.' + homepage 'https://github.com/dirkjanm/ldapdomaindump/' + @_ver = '0.9.3' + version @_ver + license 'LGPL-3' + compatibility 'all' + source_url 'https://github.com/dirkjanm/ldapdomaindump.git' + git_hashtag "v#{@_ver}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_ldapdomaindump/0.9.3_armv7l/py3_ldapdomaindump-0.9.3-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_ldapdomaindump/0.9.3_armv7l/py3_ldapdomaindump-0.9.3-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_ldapdomaindump/0.9.3_x86_64/py3_ldapdomaindump-0.9.3-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '8863611b54e966831c4adf1901cbbc8911cd09fffde4039ccf696b70bb9d3098', + armv7l: '8863611b54e966831c4adf1901cbbc8911cd09fffde4039ccf696b70bb9d3098', + x86_64: '90d80b5305990db7a424673c1dfc380f9eb16dec7f04c87f6184e399b8822b1e' + }) + + depends_on 'py3_future' + depends_on 'py3_dnspython' + depends_on 'py3_ldap3' + 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 diff --git a/packages/py3_leather.rb b/packages/py3_leather.rb new file mode 100644 index 000000000..1e8e3cffc --- /dev/null +++ b/packages/py3_leather.rb @@ -0,0 +1,34 @@ +require 'package' + +class Py3_leather < Package + description 'Leather is a fast, approximate chart generator in Python.' + homepage 'https://leather.readthedocs.io/' + @_ver = '0.3.3' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://github.com/wireservice/leather.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_leather/0.3.3_armv7l/py3_leather-0.3.3-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_leather/0.3.3_armv7l/py3_leather-0.3.3-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_leather/0.3.3_x86_64/py3_leather-0.3.3-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: 'f14d873fa5aa5becc163ad401060dc794a71a421a39ca3bb387801bfbfe75fcc', + armv7l: 'f14d873fa5aa5becc163ad401060dc794a71a421a39ca3bb387801bfbfe75fcc', + x86_64: '848cc859d20f8b8184cb3fe512d703073608e84a021bb57527a9103e4a61cdb9' + }) + + 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 diff --git a/packages/py3_libevdev.rb b/packages/py3_libevdev.rb new file mode 100644 index 000000000..ff01b2707 --- /dev/null +++ b/packages/py3_libevdev.rb @@ -0,0 +1,33 @@ +require 'package' + +class Py3_libevdev < Package + description 'Libevdev is a Python wrapper around the libevdev C library.' + homepage 'https://python-libevdev.readthedocs.io/' + @_ver = '0.9' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://gitlab.freedesktop.org/libevdev/python-libevdev.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_libevdev/0.9_armv7l/py3_libevdev-0.9-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_libevdev/0.9_armv7l/py3_libevdev-0.9-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_libevdev/0.9_x86_64/py3_libevdev-0.9-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '423bfba6a3ebcb077a42d62df039a03f7495bbe82e69d54bee23917274a0b82e', + armv7l: '423bfba6a3ebcb077a42d62df039a03f7495bbe82e69d54bee23917274a0b82e', + x86_64: '637430a7df660a2be0c0681ad08c26f7e746f145fa6c1aa2de7ea1256179d6ce' + }) + + 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 diff --git a/packages/py3_libxml2.rb b/packages/py3_libxml2.rb new file mode 100644 index 000000000..01cf51be8 --- /dev/null +++ b/packages/py3_libxml2.rb @@ -0,0 +1,43 @@ +require 'package' + +class Py3_libxml2 < Package + description 'Libxml2-python provides access to libxml2 and libxslt in Python.' + homepage 'https://gitlab.gnome.org/GNOME/libxml2/' + @_ver = '2.9.12' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://gitlab.gnome.org/GNOME/libxml2.git' + git_hashtag "v#{@_ver}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_libxml2/2.9.12_armv7l/py3_libxml2-2.9.12-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_libxml2/2.9.12_armv7l/py3_libxml2-2.9.12-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_libxml2/2.9.12_i686/py3_libxml2-2.9.12-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_libxml2/2.9.12_x86_64/py3_libxml2-2.9.12-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '6e56764b886b8a311031ec5f8f7d25aa2593e28a34e79f0b15d87ab462a7f403', + armv7l: '6e56764b886b8a311031ec5f8f7d25aa2593e28a34e79f0b15d87ab462a7f403', + i686: 'bb5df65e5758fc7731e076ecee120692000fc864f6c11b28f09f0e41447de8b3', + x86_64: 'd9f41187eae16e4c3dd25a647b12f6a7b9b5a4511a13bddc915a68d36fb19b7a' + }) + + depends_on 'libxml2' + depends_on 'libxslt' + depends_on 'py3_setuptools' => :build + + def self.build + system 'autoreconf -fiv' + system "./configure #{CREW_OPTIONS}" + Dir.chdir('python') do + system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}" + end + end + + def self.install + Dir.chdir('python') do + system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS_NO_SVEM}" + end + end +end diff --git a/packages/py3_lxml.rb b/packages/py3_lxml.rb new file mode 100644 index 000000000..44b78c751 --- /dev/null +++ b/packages/py3_lxml.rb @@ -0,0 +1,34 @@ +require 'package' + +class Py3_lxml < Package + description 'LXML is a Python library for processing XML and HTML.' + homepage 'https://lxml.de/' + @_ver = '4.6.3' + version @_ver + license 'BSD-3' + compatibility 'all' + source_url 'https://github.com/lxml/lxml.git' + git_hashtag "lxml-#{@_ver}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_lxml/4.6.3_armv7l/py3_lxml-4.6.3-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_lxml/4.6.3_armv7l/py3_lxml-4.6.3-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_lxml/4.6.3_x86_64/py3_lxml-4.6.3-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '78988749162202d2da062a5c9b718d27f9cb0290d18cf3526eeba8affa489657', + armv7l: '78988749162202d2da062a5c9b718d27f9cb0290d18cf3526eeba8affa489657', + x86_64: 'fa0232ee0bd1d4a171f37f15e0e608e3fd27bc9306c30d195ac83639cfa5feb6' + }) + + depends_on 'py3_cython' => :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 diff --git a/packages/py3_magic.rb b/packages/py3_magic.rb new file mode 100644 index 000000000..54a45bc0e --- /dev/null +++ b/packages/py3_magic.rb @@ -0,0 +1,34 @@ +require 'package' + +class Py3_magic < Package + description 'Magic is a python wrapper for libmagic.' + homepage 'https://github.com/ahupp/python-magic/' + @_ver = '0.4.22' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://github.com/ahupp/python-magic.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_magic/0.4.22_armv7l/py3_magic-0.4.22-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_magic/0.4.22_armv7l/py3_magic-0.4.22-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_magic/0.4.22_x86_64/py3_magic-0.4.22-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: 'c86ecb80682a8c66d4bc71243c3bfd4985248c9ebd11b9306e90263d204dfa35', + armv7l: 'c86ecb80682a8c66d4bc71243c3bfd4985248c9ebd11b9306e90263d204dfa35', + x86_64: '358ae56e26512e33ed4527e342226ab81e6bfeda40f85391a839cf557b7c6a57' + }) + + depends_on 'filecmd' + 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 diff --git a/packages/py3_mako.rb b/packages/py3_mako.rb new file mode 100644 index 000000000..6984974a3 --- /dev/null +++ b/packages/py3_mako.rb @@ -0,0 +1,34 @@ +require 'package' + +class Py3_mako < Package + description 'Mako is a super fast templating language.' + homepage 'https://www.makotemplates.org/' + @_ver = '1.1.4' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://github.com/sqlalchemy/mako.git' + git_hashtag "rel_#{@_ver.gsub('.', '_')}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_mako/1.1.4_armv7l/py3_mako-1.1.4-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_mako/1.1.4_armv7l/py3_mako-1.1.4-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_mako/1.1.4_x86_64/py3_mako-1.1.4-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: 'e2de545b1cc564adcca01fedc0d9eae9d7960bf2b113ead1e5ea984112975e37', + armv7l: 'e2de545b1cc564adcca01fedc0d9eae9d7960bf2b113ead1e5ea984112975e37', + x86_64: 'abc167c04d84436e3760bc8274f4c78d1ab062f439829489ab90c5ec8521122c' + }) + + depends_on 'py3_markupsafe' + 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 diff --git a/packages/py3_markdown.rb b/packages/py3_markdown.rb new file mode 100644 index 000000000..559e9f759 --- /dev/null +++ b/packages/py3_markdown.rb @@ -0,0 +1,33 @@ +require 'package' + +class Py3_markdown < Package + description 'Markdown is a Python implementation of Markdown.' + homepage 'https://python-markdown.github.io/' + @_ver = '3.3.4' + version @_ver + license 'BSD' + compatibility 'all' + source_url 'https://github.com/Python-Markdown/markdown.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_markdown/3.3.4_armv7l/py3_markdown-3.3.4-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_markdown/3.3.4_armv7l/py3_markdown-3.3.4-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_markdown/3.3.4_x86_64/py3_markdown-3.3.4-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '1b2adf8265bba21545e029127806cd2523d4fa43a609494ce9202eb0af7f93b3', + armv7l: '1b2adf8265bba21545e029127806cd2523d4fa43a609494ce9202eb0af7f93b3', + x86_64: '08d6d1d753b8bb9eb34d5269b17196e25b3d5372335b70bea1130bd87a441d8c' + }) + + 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 diff --git a/packages/py3_markupsafe.rb b/packages/py3_markupsafe.rb new file mode 100644 index 000000000..4203cf1b3 --- /dev/null +++ b/packages/py3_markupsafe.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_markupsafe < Package + description 'Markupsafe allows the safe addition of untrusted strings to HTML/XML markup.' + homepage 'https://markupsafe.palletsprojects.com/' + @_ver = '1.1.1' + version @_ver + license 'BSD-3' + compatibility 'all' + source_url 'https://github.com/pallets/markupsafe.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_markupsafe/1.1.1_armv7l/py3_markupsafe-1.1.1-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_markupsafe/1.1.1_armv7l/py3_markupsafe-1.1.1-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_markupsafe/1.1.1_i686/py3_markupsafe-1.1.1-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_markupsafe/1.1.1_x86_64/py3_markupsafe-1.1.1-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '05269eb76a28496280e09830e855ceac625562826e0d31b8c72eef0d655a8a7a', + armv7l: '05269eb76a28496280e09830e855ceac625562826e0d31b8c72eef0d655a8a7a', + i686: 'a6d5aaf27943187471c6c312d067b9151482324104095bdf792b4702f4ea39f8', + x86_64: 'c716a9294a7e21ec561e24aa85b10b20ba5c09234054b5a37f1d95d38b7d86be' + }) + + 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 diff --git a/packages/py3_minidb.rb b/packages/py3_minidb.rb new file mode 100644 index 000000000..7f065f7b3 --- /dev/null +++ b/packages/py3_minidb.rb @@ -0,0 +1,33 @@ +require 'package' + +class Py3_minidb < Package + description 'Minidb is a simple SQLite3-based store for Python objects.' + homepage 'http://thp.io/2010/minidb/' + @_ver = '2.0.4' + version @_ver + license 'ISC' + compatibility 'all' + source_url 'https://github.com/thp/minidb.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_minidb/2.0.4_armv7l/py3_minidb-2.0.4-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_minidb/2.0.4_armv7l/py3_minidb-2.0.4-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_minidb/2.0.4_x86_64/py3_minidb-2.0.4-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: 'f24b36350a476fb5b19cd6b80539a56bdb55dbfe6b06457033f5c4e2a3a6a2ab', + armv7l: 'f24b36350a476fb5b19cd6b80539a56bdb55dbfe6b06457033f5c4e2a3a6a2ab', + x86_64: 'a25902253e19f270ead0504e21ba738415c1a116fb3a7dd2a8d18897522d8681' + }) + + 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 diff --git a/packages/py3_nuitka.rb b/packages/py3_nuitka.rb new file mode 100644 index 000000000..81691fe1e --- /dev/null +++ b/packages/py3_nuitka.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_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/' + @_ver = '0.6.16.2' + version @_ver + license 'Apache-2.0' + compatibility 'all' + source_url 'https://github.com/Nuitka/Nuitka.git' + git_hashtag @_ver + + binary_url({ + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_nuitka/0.6.14.5_i686/py3_nuitka-0.6.14.5-chromeos-i686.tar.xz', + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_nuitka/0.6.16.2_armv7l/py3_nuitka-0.6.16.2-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_nuitka/0.6.16.2_armv7l/py3_nuitka-0.6.16.2-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_nuitka/0.6.16.2_x86_64/py3_nuitka-0.6.16.2-chromeos-x86_64.tpxz' + }) + binary_sha256({ + i686: '536aa48fba66c1dea2f81127479426be5edbd9b21336b44d415ba635be69b17d', + aarch64: '06d9d1e0de011c0ebf250cfb71067c189210711480c08fb706185fe5f003d8ca', + armv7l: '06d9d1e0de011c0ebf250cfb71067c189210711480c08fb706185fe5f003d8ca', + x86_64: 'f647a197723b43ec25f57bcb03d6e05f41276f40424e1e3c0f221602dfe7c721' + }) + + 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 diff --git a/packages/py3_numpy.rb b/packages/py3_numpy.rb new file mode 100644 index 000000000..0acd6365b --- /dev/null +++ b/packages/py3_numpy.rb @@ -0,0 +1,37 @@ +require 'package' + +class Py3_numpy < Package + description 'NumPy is the fundamental package for array computing with Python.' + homepage 'https://numpy.org/' + @_ver = '1.20.2' + version @_ver + license 'BSD' + compatibility 'all' + source_url 'https://github.com/numpy/numpy.git' + git_hashtag "v#{@_ver}" + + binary_url({ + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_numpy/1.20.2_i686/py3_numpy-1.20.2-chromeos-i686.tar.xz', + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_numpy/1.20.2_armv7l/py3_numpy-1.20.2-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_numpy/1.20.2_armv7l/py3_numpy-1.20.2-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_numpy/1.20.2_x86_64/py3_numpy-1.20.2-chromeos-x86_64.tpxz' + }) + binary_sha256({ + i686: '15358c391e68667f3ceb607a16720093806a7840c6da526d7078a52b195b63e3', + aarch64: 'de21a40aeb98be94b3546d2b49452679fc281170ae6377f35f384823beab3469', + armv7l: 'de21a40aeb98be94b3546d2b49452679fc281170ae6377f35f384823beab3469', + x86_64: 'abed005b2ae64c691a275d21101dd1d87a8dba3351630883d26264b2e47cd0ab' + }) + + depends_on 'lapack' + depends_on 'py3_cython' => :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 diff --git a/packages/py3_oci.rb b/packages/py3_oci.rb new file mode 100644 index 000000000..d1a567c9d --- /dev/null +++ b/packages/py3_oci.rb @@ -0,0 +1,39 @@ +require 'package' + +class Py3_oci < Package + description 'Oracle Cloud Infrastructure Python SDK' + homepage 'https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/' + @_ver = '2.38.1' + version @_ver + license 'UPL-1.0 or Apache-2.0' + compatibility 'all' + source_url 'https://github.com/oracle/oci-python-sdk.git' + git_hashtag "v#{@_ver}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_oci/2.38.1_armv7l/py3_oci-2.38.1-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_oci/2.38.1_armv7l/py3_oci-2.38.1-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_oci/2.38.1_x86_64/py3_oci-2.38.1-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '0412d58af1bf04b702d03c3121ffd53eaf3b2143c88d4ba40336c2f340a210da', + armv7l: '0412d58af1bf04b702d03c3121ffd53eaf3b2143c88d4ba40336c2f340a210da', + x86_64: 'd8405fcf598555bd2e060fd2549ac055b09d086a6d4f96abda982a9b0d48697e' + }) + + depends_on 'py3_dateutil' + depends_on 'py3_configparser' + depends_on 'py3_pyopenssl' + depends_on 'py3_certifi' + depends_on 'py3_pytz' + depends_on 'py3_cryptography' + 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 diff --git a/packages/py3_olefile.rb b/packages/py3_olefile.rb new file mode 100644 index 000000000..832484cd5 --- /dev/null +++ b/packages/py3_olefile.rb @@ -0,0 +1,33 @@ +require 'package' + +class Py3_olefile < Package + description 'Olefile is a Python package to parse, read and write Microsoft OLE2 files.' + homepage 'https://www.decalage.info/python/olefileio/' + @_ver = '0.46' + version @_ver + license 'BSD' + compatibility 'all' + source_url 'https://github.com/decalage2/olefile.git' + git_hashtag "v#{@_ver}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_olefile/0.46_armv7l/py3_olefile-0.46-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_olefile/0.46_armv7l/py3_olefile-0.46-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_olefile/0.46_x86_64/py3_olefile-0.46-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '82216940336248467735a00ed9178a7dda6da52458ceff0ee29e41705ff443a5', + armv7l: '82216940336248467735a00ed9178a7dda6da52458ceff0ee29e41705ff443a5', + x86_64: '9869cf81203d8a9ae564569e9977bdfd64890c6ba1dd7128593421f42028e600' + }) + + 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 diff --git a/packages/py3_openpyxl.rb b/packages/py3_openpyxl.rb new file mode 100644 index 000000000..9ede7e090 --- /dev/null +++ b/packages/py3_openpyxl.rb @@ -0,0 +1,34 @@ +require 'package' + +class Py3_openpyxl < Package + description 'Openpyxl is a Python library to read/write Excel 2010 xlsx/xlsm files.' + homepage 'https://openpyxl.readthedocs.io/' + @_ver = '3.0.7' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://files.pythonhosted.org/packages/f1/7d/fb475cd963bd9d244f95a90c98f518f5c834fefe749f25f9f479ca2d8a51/openpyxl-3.0.7.tar.gz' + source_sha256 '6456a3b472e1ef0facb1129f3c6ef00713cebf62e736cd7a75bcc3247432f251' + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_openpyxl/3.0.7_armv7l/py3_openpyxl-3.0.7-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_openpyxl/3.0.7_armv7l/py3_openpyxl-3.0.7-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_openpyxl/3.0.7_x86_64/py3_openpyxl-3.0.7-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '67f3562fdfa8fc22850b8cb128678f4bf508704e5b2eea838e29952084b74202', + armv7l: '67f3562fdfa8fc22850b8cb128678f4bf508704e5b2eea838e29952084b74202', + x86_64: '7fc82dee675d67baafa0458367c844c5493bf9c167ef229e40d940fc55420703' + }) + + depends_on 'py3_et_xmlfile' + 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 diff --git a/packages/py3_packaging.rb b/packages/py3_packaging.rb new file mode 100644 index 000000000..e93b079ab --- /dev/null +++ b/packages/py3_packaging.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_packaging < Package + description 'Packaging provides core utilities for Python packages' + homepage 'https://packaging.pypa.io/' + @_ver = '20.9' + version @_ver + license 'BSD-2 or Apache-2.0' + compatibility 'all' + source_url 'https://github.com/pypa/packaging.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_packaging/20.9_armv7l/py3_packaging-20.9-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_packaging/20.9_armv7l/py3_packaging-20.9-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_packaging/20.9_i686/py3_packaging-20.9-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_packaging/20.9_x86_64/py3_packaging-20.9-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '455e073afb6ca12d3c4837f97d6c4753ab20093b3a45529199f6331ccae2192b', + armv7l: '455e073afb6ca12d3c4837f97d6c4753ab20093b3a45529199f6331ccae2192b', + i686: '9209458660109c6278e1680230cb16f755b6d486e4f7a2b01fcedab80fb12fef', + x86_64: '976769e26fb5a042068876e1204820ea39177b82eb576e36ed0ecb96b178747c' + }) + + 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 diff --git a/packages/py3_parsedatetime.rb b/packages/py3_parsedatetime.rb new file mode 100644 index 000000000..40b67fa42 --- /dev/null +++ b/packages/py3_parsedatetime.rb @@ -0,0 +1,33 @@ +require 'package' + +class Py3_parsedatetime < Package + description 'Leather is a fast, approximate chart generator in Python.' + homepage 'https://github.com/bear/parsedatetime/' + @_ver = '2.6' + version @_ver + license 'Apache-2.0' + compatibility 'all' + source_url 'https://github.com/bear/parsedatetime.git' + git_hashtag "v#{@_ver}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_parsedatetime/2.6_armv7l/py3_parsedatetime-2.6-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_parsedatetime/2.6_armv7l/py3_parsedatetime-2.6-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_parsedatetime/2.6_x86_64/py3_parsedatetime-2.6-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: 'bb4a5c7932ccdaba5b29e981f1872fd84f22cf1dbbe36c210f20f30ca2e7461c', + armv7l: 'bb4a5c7932ccdaba5b29e981f1872fd84f22cf1dbbe36c210f20f30ca2e7461c', + x86_64: 'ad032dca3e09c204521a36b4f5e266c74c2add26b77fc034e6ee2782d278ec61' + }) + + 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 diff --git a/packages/py3_pathspec.rb b/packages/py3_pathspec.rb new file mode 100644 index 000000000..1c694011d --- /dev/null +++ b/packages/py3_pathspec.rb @@ -0,0 +1,33 @@ +require 'package' + +class Py3_pathspec < Package + description 'Path specification is a utility library for gitignore style pattern matching of file paths.' + homepage 'https://github.com/cpburnz/python-path-specification/' + @_ver = '0.8.1' + version @_ver + license 'MPL-2.0' + compatibility 'all' + source_url 'https://github.com/cpburnz/python-path-specification.git' + git_hashtag '7b125acf41702cb82679dcf56aaf6a14d34bd785' + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pathspec/0.8.1_armv7l/py3_pathspec-0.8.1-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pathspec/0.8.1_armv7l/py3_pathspec-0.8.1-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pathspec/0.8.1_x86_64/py3_pathspec-0.8.1-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '481821346709685a9267ac247db37279cb7511c44056edd4bbb02d4a3f4bb81a', + armv7l: '481821346709685a9267ac247db37279cb7511c44056edd4bbb02d4a3f4bb81a', + x86_64: 'b3f22a0db1f837e25e673b9723d9e4adb9eac2ce5f559fe74f271317b6c5fab6' + }) + + 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 diff --git a/packages/py3_pdfminer_six.rb b/packages/py3_pdfminer_six.rb new file mode 100644 index 000000000..5c12e87cf --- /dev/null +++ b/packages/py3_pdfminer_six.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_pdfminer_six < Package + description 'PDFminer.six is a community maintained fork of PDFminer.' + homepage 'https://pdfminersix.readthedocs.io/' + @_ver = '20201018' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://github.com/pdfminer/pdfminer.six.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pdfminer_six/20201018_armv7l/py3_pdfminer_six-20201018-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pdfminer_six/20201018_armv7l/py3_pdfminer_six-20201018-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pdfminer_six/20201018_x86_64/py3_pdfminer_six-20201018-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '0190554a998298faa773b29a8a29746627dcfeea528a58c7149bed1f9d4f8093', + armv7l: '0190554a998298faa773b29a8a29746627dcfeea528a58c7149bed1f9d4f8093', + x86_64: '00e565527c66c64c8f61ccfcbd8f283c7e77002115fdd24cd27f7e2a8c99e901' + }) + + depends_on 'py3_pycryptodome' + depends_on 'py3_sortedcontainers' + 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 diff --git a/packages/py3_pillow.rb b/packages/py3_pillow.rb new file mode 100644 index 000000000..e40552cc3 --- /dev/null +++ b/packages/py3_pillow.rb @@ -0,0 +1,41 @@ +require 'package' + +class Py3_pillow < Package + description 'Pillow is a Python Imaging Library (PIL).' + homepage 'https://python-pillow.org/' + @_ver = '8.3.1' + version @_ver + license 'HPND' + compatibility 'all' + source_url 'https://github.com/python-pillow/Pillow.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pillow/8.3.1_armv7l/py3_pillow-8.3.1-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pillow/8.3.1_armv7l/py3_pillow-8.3.1-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pillow/8.3.1_x86_64/py3_pillow-8.3.1-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: 'd13c98552eb144e0e37550e179a49c24fe1a35a0a3033810e3814d32c0fbc015', + armv7l: 'd13c98552eb144e0e37550e179a49c24fe1a35a0a3033810e3814d32c0fbc015', + x86_64: '227408b4faf8bbb1dfe0da046d54dad9071d054cad675eba91468717ce438919' + }) + + depends_on 'py3_lxml' + depends_on 'py3_xlsxwriter' + depends_on 'libjpeg' + depends_on 'libxcb' + depends_on 'py3_setuptools' => :build + + def self.build + system "python3 setup.py build_ext \ + --disable-platform-guessing \ + --enable-zlib \ + --enable-jpeg \ + --enable-xcb" + end + + def self.install + system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}" + end +end diff --git a/packages/py3_pip.rb b/packages/py3_pip.rb index 76ee1d22a..0d8135175 100644 --- a/packages/py3_pip.rb +++ b/packages/py3_pip.rb @@ -23,6 +23,7 @@ class Py3_pip < Package x86_64: '794210d8b23bf7f3ecf2377eee166da6acc3e1cfaa8db7ddbff1b4ec29d60007' }) + depends_on 'python3' depends_on 'py3_setuptools' depends_on 'py3_wheel' diff --git a/packages/py3_pluggy.rb b/packages/py3_pluggy.rb new file mode 100644 index 000000000..2739d268d --- /dev/null +++ b/packages/py3_pluggy.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_pluggy < Package + description 'Pluggy provides plugin and hook calling mechanisms for Python.' + homepage 'https://pluggy.readthedocs.io/' + @_ver = '0.13.1' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://github.com/pytest-dev/pluggy.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pluggy/0.13.1_armv7l/py3_pluggy-0.13.1-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pluggy/0.13.1_armv7l/py3_pluggy-0.13.1-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pluggy/0.13.1_i686/py3_pluggy-0.13.1-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pluggy/0.13.1_x86_64/py3_pluggy-0.13.1-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: 'b52471f3165e506014641212c666b4b0cd83554a420f9b956c528a5941efc0b0', + armv7l: 'b52471f3165e506014641212c666b4b0cd83554a420f9b956c528a5941efc0b0', + i686: 'b95f3e24bcd6e1feeb40e4f3f1a85b49942117d0b2ad84a783a0c947f6593ea6', + x86_64: '65b5e572673f2c23516b5eb728dba13a9ab228e992170e0237cb84e54319e38a' + }) + + 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 diff --git a/packages/py3_ply.rb b/packages/py3_ply.rb new file mode 100644 index 000000000..c390100ab --- /dev/null +++ b/packages/py3_ply.rb @@ -0,0 +1,34 @@ +require 'package' + +class Py3_ply < Package + description 'Python Lex/Yacc is an implementation of lex and yacc parsing tools for Python.' + homepage 'https://www.dabeaz.com/ply/index.html' + version '3.11' + license 'BSD' + compatibility 'all' + source_url 'https://files.pythonhosted.org/packages/e5/69/882ee5c9d017149285cab114ebeab373308ef0f874fcdac9beb90e0ac4da/ply-3.11.tar.gz' + source_sha256 '00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3' + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_ply/3.11_armv7l/py3_ply-3.11-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_ply/3.11_armv7l/py3_ply-3.11-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_ply/3.11_i686/py3_ply-3.11-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_ply/3.11_x86_64/py3_ply-3.11-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '01623b278862d6b2cc009b29d8d9caa58b3f8d5b191fe22ea762a1a9ee337137', + armv7l: '01623b278862d6b2cc009b29d8d9caa58b3f8d5b191fe22ea762a1a9ee337137', + i686: '312b4256f509aeddec27cf01fd369921ed55f41defb2dbe38ce46c1e45f0251b', + x86_64: '85171b92200dec35d59d0ca62b7c3c1f0cf3aeb091b186e616a4c199829e8851' + }) + + 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 diff --git a/packages/py3_pptx.rb b/packages/py3_pptx.rb new file mode 100644 index 000000000..74b0b24d3 --- /dev/null +++ b/packages/py3_pptx.rb @@ -0,0 +1,36 @@ +require 'package' + +class Py3_pptx < Package + description 'Python PPTX generates and manipulates Open XML PowerPoint files.' + homepage 'https://github.com/scanny/python-pptx/' + @_ver = '0.6.18' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://github.com/scanny/python-pptx.git' + git_hashtag "v#{@_ver}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pptx/0.6.18_armv7l/py3_pptx-0.6.18-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pptx/0.6.18_armv7l/py3_pptx-0.6.18-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pptx/0.6.18_x86_64/py3_pptx-0.6.18-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '0d48691a41df2ff7af5c5568214b312350909554a95ef3e2661bc56dbb7ea9d1', + armv7l: '0d48691a41df2ff7af5c5568214b312350909554a95ef3e2661bc56dbb7ea9d1', + x86_64: 'cb94d5f39a4eef3f50b24bc089f5cb6a462a589c5dc7a778b82c18beaecd6d6b' + }) + + depends_on 'py3_lxml' + depends_on 'py3_pillow' + depends_on 'py3_xlsxwriter' + 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 diff --git a/packages/py3_psutil.rb b/packages/py3_psutil.rb new file mode 100644 index 000000000..ab78988b0 --- /dev/null +++ b/packages/py3_psutil.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_psutil < Package + description 'psutil is a cross-platform library for process and system monitoring in Python.' + homepage 'https://github.com/giampaolo/psutil/' + @_ver = '5.8.0' + version @_ver + '-1' + license 'BSD-3' + compatibility 'all' + source_url 'https://github.com/giampaolo/psutil.git' + git_hashtag "release-#{@_ver}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_psutil/5.8.0-1_armv7l/py3_psutil-5.8.0-1-chromeos-armv7l.tar.xz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_psutil/5.8.0-1_armv7l/py3_psutil-5.8.0-1-chromeos-armv7l.tar.xz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_psutil/5.8.0-1_i686/py3_psutil-5.8.0-1-chromeos-i686.tar.xz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_psutil/5.8.0-1_x86_64/py3_psutil-5.8.0-1-chromeos-x86_64.tar.xz' + }) + binary_sha256({ + aarch64: '18ba9a9e443b4ad2881ea6d217b8dfacd5407c1f861fcda275cc75d8f9a11c43', + armv7l: '18ba9a9e443b4ad2881ea6d217b8dfacd5407c1f861fcda275cc75d8f9a11c43', + i686: 'f524b9fd9e96b751b4b3fcbe29362743ae2e6a5462781670db4f5a57a88756b8', + x86_64: 'a1dcb3782e3fdf47407195c207f8e308433031ac050eeb8ef587351364188595' + }) + + 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 diff --git a/packages/py3_py.rb b/packages/py3_py.rb new file mode 100644 index 000000000..61a639101 --- /dev/null +++ b/packages/py3_py.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_py < Package + description 'Py is a library with cross-python path, ini-parsing, io, code, log facilities.' + homepage 'https://py.readthedocs.io/' + @_ver = '1.10.0' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://github.com/pytest-dev/py.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_py/1.10.0_armv7l/py3_py-1.10.0-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_py/1.10.0_armv7l/py3_py-1.10.0-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_py/1.10.0_i686/py3_py-1.10.0-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_py/1.10.0_x86_64/py3_py-1.10.0-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '87216dfa6e6dea6bf5d2a2b706a054db9affbb78413de08b14df23711eeeb053', + armv7l: '87216dfa6e6dea6bf5d2a2b706a054db9affbb78413de08b14df23711eeeb053', + i686: 'f9b7e26edf6d2a5b605cf16c0ef76ad590b07472f7d9741b635286794de3ff0b', + x86_64: 'daf69c756cec7668d0a3aea2d2dd54e7634a5a0650a6452b8a3e004f001571df' + }) + + 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 diff --git a/packages/py3_pyasn1.rb b/packages/py3_pyasn1.rb new file mode 100644 index 000000000..13543fda9 --- /dev/null +++ b/packages/py3_pyasn1.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_pyasn1 < Package + description 'PyASN.1 is a generic ASN.1 library for Python' + homepage 'https://github.com/etingof/pyasn1/' + @_ver = '0.4.8' + version @_ver + license 'BSD-2' + compatibility 'all' + source_url 'https://github.com/etingof/pyasn1.git' + git_hashtag "v#{@_ver}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyasn1/0.4.8_armv7l/py3_pyasn1-0.4.8-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyasn1/0.4.8_armv7l/py3_pyasn1-0.4.8-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyasn1/0.4.8_i686/py3_pyasn1-0.4.8-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyasn1/0.4.8_x86_64/py3_pyasn1-0.4.8-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '973e13b9ed9e573657b2e0d4744a59a2b184f476c3fac9444d0b04c623a81f93', + armv7l: '973e13b9ed9e573657b2e0d4744a59a2b184f476c3fac9444d0b04c623a81f93', + i686: '00e5fca0a064b6788ff674dfc020750af9817d30b52dc88d689d36e3da847aae', + x86_64: '1654c19d2179c0c0a810003a29c1a55e0005c99e3bd7d64347a734806b670e70' + }) + + 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 diff --git a/packages/py3_pycairo.rb b/packages/py3_pycairo.rb new file mode 100644 index 000000000..d33ec9c08 --- /dev/null +++ b/packages/py3_pycairo.rb @@ -0,0 +1,38 @@ +require 'package' + +class Py3_pycairo < Package + description 'Pycairo is a provides bindings for the cairo graphics library.' + homepage 'https://cairographics.org/pycairo/' + @_ver = '1.20.0' + version @_ver + license 'LGPL-2.1 or MPL-1.1' + compatibility 'all' + source_url 'https://github.com/pygobject/pycairo.git' + git_hashtag "v#{@_ver}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pycairo/1.20.0_armv7l/py3_pycairo-1.20.0-chromeos-armv7l.tar.xz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pycairo/1.20.0_armv7l/py3_pycairo-1.20.0-chromeos-armv7l.tar.xz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pycairo/1.20.0_i686/py3_pycairo-1.20.0-chromeos-i686.tar.xz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pycairo/1.20.0_x86_64/py3_pycairo-1.20.0-chromeos-x86_64.tar.xz' + }) + binary_sha256({ + aarch64: '845603cc75602939a723553988c809dd33a6d8993385384f2be639625844cf2f', + armv7l: '845603cc75602939a723553988c809dd33a6d8993385384f2be639625844cf2f', + i686: '41a7a6dd34f3add72b663965f178a64f6a4b254740dde9d5fdf08afea3f827d5', + x86_64: '8b422b09d245634bf5257c408ccf78245c0d9555627800882f4856a30bf03d81' + }) + + depends_on 'cairo' + depends_on 'libxxf86vm' + depends_on 'libxrender' + 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 diff --git a/packages/py3_pycryptodome.rb b/packages/py3_pycryptodome.rb new file mode 100644 index 000000000..8e27cd009 --- /dev/null +++ b/packages/py3_pycryptodome.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_pycryptodome < Package + description 'Pycryptodome is a cryptographic library for Python.' + homepage 'https://www.pycryptodome.org/' + @_ver = '3.10.1' + version @_ver + license 'BSD and public-domain' + compatibility 'all' + source_url 'https://github.com/Legrandin/pycryptodome.git' + git_hashtag "v#{@_ver}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pycryptodome/3.10.1_armv7l/py3_pycryptodome-3.10.1-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pycryptodome/3.10.1_armv7l/py3_pycryptodome-3.10.1-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pycryptodome/3.10.1_i686/py3_pycryptodome-3.10.1-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pycryptodome/3.10.1_x86_64/py3_pycryptodome-3.10.1-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '1a41505f8037649f2d50514b71c9ed449c499ecd287031f5063ed0442e2d4e2e', + armv7l: '1a41505f8037649f2d50514b71c9ed449c499ecd287031f5063ed0442e2d4e2e', + i686: '8ad84664a25f52aa6496b61de8e97069b26e648da25bebf2acd5f887920c9b5e', + x86_64: 'b6461c2659331ec4748d0f8209ba9e89695d3edfbd9ff03aac4f68e706b2c43f' + }) + + 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 diff --git a/packages/py3_pycryptodomex.rb b/packages/py3_pycryptodomex.rb new file mode 100644 index 000000000..4cd3cc28d --- /dev/null +++ b/packages/py3_pycryptodomex.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_pycryptodomex < Package + description 'Pycryptodomex is a cryptographic library for Python.' + homepage 'https://www.pycryptodome.org/' + @_ver = '3.10.1' + version @_ver + license 'BSD and public-domain' + compatibility 'all' + source_url 'https://github.com/Legrandin/pycryptodome.git' + git_hashtag "v#{@_ver}x" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pycryptodomex/3.10.1_armv7l/py3_pycryptodomex-3.10.1-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pycryptodomex/3.10.1_armv7l/py3_pycryptodomex-3.10.1-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pycryptodomex/3.10.1_i686/py3_pycryptodomex-3.10.1-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pycryptodomex/3.10.1_x86_64/py3_pycryptodomex-3.10.1-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '5e171077d9015b2520ef00e45254e714c793f138de2e73021cc9014ca4c57c2a', + armv7l: '5e171077d9015b2520ef00e45254e714c793f138de2e73021cc9014ca4c57c2a', + i686: 'e582907524615c4ee549b2c2a811441a975305db7b24d66e7552f3242c34a603', + x86_64: '932d34f2810d2a6aeb28a1109fa1a91807babe26eef2593980cb752aee4a5ada' + }) + + 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 diff --git a/packages/py3_pyelftools.rb b/packages/py3_pyelftools.rb new file mode 100644 index 000000000..7fb900a37 --- /dev/null +++ b/packages/py3_pyelftools.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_pyelftools < Package + description 'Pure-Python library for parsing and analyzing ELF files and DWARF debugging information.' + homepage 'https://github.com/eliben/pyelftools/' + @_ver = '0.27' + version @_ver + license 'public-domain' + compatibility 'all' + source_url 'https://github.com/eliben/pyelftools.git' + git_hashtag "v#{@_ver}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyelftools/0.27_armv7l/py3_pyelftools-0.27-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyelftools/0.27_armv7l/py3_pyelftools-0.27-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyelftools/0.27_i686/py3_pyelftools-0.27-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyelftools/0.27_x86_64/py3_pyelftools-0.27-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: 'b994942b282cb1c859b5001f16839476c4d99cd22a75b6f926342aa23d91444e', + armv7l: 'b994942b282cb1c859b5001f16839476c4d99cd22a75b6f926342aa23d91444e', + i686: '0826647dfdf8f0eea9d21e64d170dd5dbbe350145cf46d5ae3b42536dfa014f2', + x86_64: 'a4fb7eb28776078f41b15bd41d25ed0f2ca70629186cacb305116ba0d7975dbe' + }) + + 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 diff --git a/packages/py3_pygments.rb b/packages/py3_pygments.rb new file mode 100644 index 000000000..4c120dc40 --- /dev/null +++ b/packages/py3_pygments.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_pygments < Package + description 'Python Syntax Highlighter' + homepage 'https://pygments.org/' + @_ver = '2.8.1' + version @_ver + license 'BSD-2' + compatibility 'all' + source_url 'https://github.com/pygments/pygments.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pygments/2.8.1_armv7l/py3_pygments-2.8.1-chromeos-armv7l.tar.xz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pygments/2.8.1_armv7l/py3_pygments-2.8.1-chromeos-armv7l.tar.xz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pygments/2.8.1_i686/py3_pygments-2.8.1-chromeos-i686.tar.xz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pygments/2.8.1_x86_64/py3_pygments-2.8.1-chromeos-x86_64.tar.xz' + }) + binary_sha256({ + aarch64: '86d7cc5515cdcedfe1b73dcb2ad3e89cb7e2b431c81f348bd7fc047b6698c734', + armv7l: '86d7cc5515cdcedfe1b73dcb2ad3e89cb7e2b431c81f348bd7fc047b6698c734', + i686: 'e4fd62a071d8eeab567fa26be829ce209401fbec385696c56a4f80978c9e5491', + x86_64: '33548074ae94058a84fe3489913b235ddf3c0578d30f825d2bcffbc8caccfd04' + }) + + 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 diff --git a/packages/py3_pyicu.rb b/packages/py3_pyicu.rb new file mode 100644 index 000000000..19e762107 --- /dev/null +++ b/packages/py3_pyicu.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_pyicu < Package + description 'PyICU is a Python extension wrapping the ICU C++ API.' + homepage 'https://pyicu.org/' + @_ver = '2.7.3' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://gitlab.pyicu.org/main/pyicu.git' + git_hashtag "v#{@_ver}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyicu/2.7.3_armv7l/py3_pyicu-2.7.3-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyicu/2.7.3_armv7l/py3_pyicu-2.7.3-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyicu/2.7.3_i686/py3_pyicu-2.7.3-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyicu/2.7.3_x86_64/py3_pyicu-2.7.3-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: 'c33368edcac29c591da25ada3005349ebc86a1013b821df6e459af2c08715dac', + armv7l: 'c33368edcac29c591da25ada3005349ebc86a1013b821df6e459af2c08715dac', + i686: '98e0df912c29f530aca4dc4fb0ac3241be2ca93ce01ff1f299a345913e896166', + x86_64: '8243a2b5e225bc1001fa0392887ea122f47b01644f2e7b0cf68e5b355f6ab4c7' + }) + + 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 diff --git a/packages/py3_pyopenssl.rb b/packages/py3_pyopenssl.rb new file mode 100644 index 000000000..61f2e8059 --- /dev/null +++ b/packages/py3_pyopenssl.rb @@ -0,0 +1,38 @@ +require 'package' + +class Py3_pyopenssl < Package + description 'PyOpenSSL is a Python wrapper module around the OpenSSL library.' + homepage 'https://www.pyopenssl.org/' + @_ver = '20.0.1' + version @_ver + license 'Apache-2.0' + compatibility 'all' + source_url 'https://github.com/pyca/pyopenssl.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyopenssl/20.0.1_armv7l/py3_pyopenssl-20.0.1-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyopenssl/20.0.1_armv7l/py3_pyopenssl-20.0.1-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyopenssl/20.0.1_i686/py3_pyopenssl-20.0.1-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyopenssl/20.0.1_x86_64/py3_pyopenssl-20.0.1-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: 'd098a318914cb131f7e1b90ae09056e6273a79d0da73636f981c5a88d4990f89', + armv7l: 'd098a318914cb131f7e1b90ae09056e6273a79d0da73636f981c5a88d4990f89', + i686: '66e2046576f17e8dd612be3a9dbe63ec9f636759f3cc69af6db30938a78623df', + x86_64: '071477601beeca4bd49dc5975a9fe0d4ee7050135538086f3218d03fb1932a5a' + }) + + depends_on 'openssl' + depends_on 'py3_cryptography' + 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 diff --git a/packages/py3_pyparsing.rb b/packages/py3_pyparsing.rb new file mode 100644 index 000000000..7f84c3f95 --- /dev/null +++ b/packages/py3_pyparsing.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_pyparsing < Package + description 'The pyparsing module is an alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions.' + homepage 'https://github.com/pyparsing/pyparsing/' + @_ver = '2.4.7' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://github.com/pyparsing/pyparsing.git' + git_hashtag "pyparsing_#{@_ver}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyparsing/2.4.7_armv7l/py3_pyparsing-2.4.7-chromeos-armv7l.tar.xz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyparsing/2.4.7_armv7l/py3_pyparsing-2.4.7-chromeos-armv7l.tar.xz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyparsing/2.4.7_i686/py3_pyparsing-2.4.7-chromeos-i686.tar.xz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyparsing/2.4.7_x86_64/py3_pyparsing-2.4.7-chromeos-x86_64.tar.xz' + }) + binary_sha256({ + aarch64: 'cd2141e4eb353cde5a30ef4445ff513d5b8733e864e24b4f8c88c2073d300f47', + armv7l: 'cd2141e4eb353cde5a30ef4445ff513d5b8733e864e24b4f8c88c2073d300f47', + i686: 'd6ee1ae8508b1147e651d9cfb5c2c075a51f06d8dd6bf00019589df92df9df95', + x86_64: '1bd47b7bb7c75d0bc12e65038eea0aaae21d504a656e52298758d839731f2628' + }) + + 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 diff --git a/packages/py3_pystemmer.rb b/packages/py3_pystemmer.rb new file mode 100644 index 000000000..4da4e23be --- /dev/null +++ b/packages/py3_pystemmer.rb @@ -0,0 +1,30 @@ +require 'package' + +class Py3_pystemmer < Package + description 'Snowball stemming algorithms, for information retrieval' + homepage 'http://snowball.tartarus.org' + version '2.0.1' + license 'BSD MIT' + compatibility 'all' + source_url 'https://pypi.io/packages/source/P/PyStemmer/PyStemmer-2.0.1.tar.gz' + source_sha256 '9b81c35302f1d2a5ad9465b85986db246990db93d97d3e8f129269ed7102788e' + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pystemmer/2.0.1_armv7l/py3_pystemmer-2.0.1-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pystemmer/2.0.1_armv7l/py3_pystemmer-2.0.1-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pystemmer/2.0.1_x86_64/py3_pystemmer-2.0.1-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '33877bc277d34c3b4345a54589d6d2a824ff51c8a53683ba1546b51f34bde0d4', + armv7l: '33877bc277d34c3b4345a54589d6d2a824ff51c8a53683ba1546b51f34bde0d4', + x86_64: '10d004a45733854bbd67e03133c60eaac0e52ce40d9ee7dbe0a64fa59b6717a4' + }) + + 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 diff --git a/packages/py3_pyte.rb b/packages/py3_pyte.rb new file mode 100644 index 000000000..0edf2b901 --- /dev/null +++ b/packages/py3_pyte.rb @@ -0,0 +1,36 @@ +require 'package' + +class Py3_pyte < Package + description 'PyTE is a Simple VTXXX-compatible terminal emulator.' + homepage 'https://github.com/selectel/pyte/' + @_ver = '0.8.0' + version @_ver + license 'LGPL-3' + compatibility 'all' + source_url 'https://github.com/selectel/pyte.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyte/0.8.0_armv7l/py3_pyte-0.8.0-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyte/0.8.0_armv7l/py3_pyte-0.8.0-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyte/0.8.0_i686/py3_pyte-0.8.0-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyte/0.8.0_x86_64/py3_pyte-0.8.0-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: 'db517d40a541ba10577ef864500d67b0799df7734e2f2c06d6475957a849d42b', + armv7l: 'db517d40a541ba10577ef864500d67b0799df7734e2f2c06d6475957a849d42b', + i686: '9749d97615fb44aeee633d1989ad64c72a6b61450d537fe8b716bd2fc6cad6c4', + x86_64: '696b32d304152582824182624049ff495a9fc2557204e785cc89749e12bb3fd5' + }) + + depends_on 'py3_wcwidth' + 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 diff --git a/packages/py3_pytest.rb b/packages/py3_pytest.rb new file mode 100644 index 000000000..cda8594c6 --- /dev/null +++ b/packages/py3_pytest.rb @@ -0,0 +1,41 @@ +require 'package' + +class Py3_pytest < Package + description 'Pytest is simple powerful testing with Python.' + homepage 'https://pytest.org/' + @_ver = '6.2.4' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://github.com/pytest-dev/pytest.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pytest/6.2.4_armv7l/py3_pytest-6.2.4-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pytest/6.2.4_armv7l/py3_pytest-6.2.4-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pytest/6.2.4_i686/py3_pytest-6.2.4-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pytest/6.2.4_x86_64/py3_pytest-6.2.4-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: 'd853fbff044481b9f34b630b7e44677a1f2dd3f0a8649eaf52209b9d484db4a3', + armv7l: 'd853fbff044481b9f34b630b7e44677a1f2dd3f0a8649eaf52209b9d484db4a3', + i686: '36d1774ffe2a919e0249ddf0df4c02f6ce6550851e738afb0a86b46a0acee799', + x86_64: '30fe0a993bc2c666f7bbc1555fde84e4a2f0c1e1199e5fabd94e25902ab6a71a' + }) + + depends_on 'py3_py' + depends_on 'py3_toml' + depends_on 'py3_packaging' + depends_on 'py3_attrs' + depends_on 'py3_pluggy' + depends_on 'py3_iniconfig' + 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 diff --git a/packages/py3_pytimeparse.rb b/packages/py3_pytimeparse.rb new file mode 100644 index 000000000..d208f9c54 --- /dev/null +++ b/packages/py3_pytimeparse.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_pytimeparse < Package + description 'Pytimeparse is a small Python module to parse various kinds of time expressions. ' + homepage 'https://github.com/wroberts/pytimeparse/' + @_ver = '1.1.8' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://github.com/wroberts/pytimeparse.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pytimeparse/1.1.8_armv7l/py3_pytimeparse-1.1.8-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pytimeparse/1.1.8_armv7l/py3_pytimeparse-1.1.8-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pytimeparse/1.1.8_i686/py3_pytimeparse-1.1.8-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pytimeparse/1.1.8_x86_64/py3_pytimeparse-1.1.8-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '0d51a50a382749a31a884549ac6914bf9c43fc6937eb5c330c083b050fed74f8', + armv7l: '0d51a50a382749a31a884549ac6914bf9c43fc6937eb5c330c083b050fed74f8', + i686: 'dab4724d8ef6d17b01092e58a7f8d79f8fcecfd0bdfdbdca95c1e97fbe272423', + x86_64: 'fcfab1dc5a048c57fd8a465fc1f3df01bb74e938f10a627c7c327f3eb3dc280f' + }) + + 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 diff --git a/packages/py3_pytz.rb b/packages/py3_pytz.rb new file mode 100644 index 000000000..78f22db12 --- /dev/null +++ b/packages/py3_pytz.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_pytz < Package + description 'pytz brings the Olson tz database into Python.' + homepage 'https://pythonhosted.org/pytz/' + @_ver = '2021.1' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://files.pythonhosted.org/packages/b0/61/eddc6eb2c682ea6fd97a7e1018a6294be80dba08fa28e7a3570148b4612d/pytz-2021.1.tar.gz' + source_sha256 '83a4a90894bf38e243cf052c8b58f381bfe9a7a483f6a9cab140bc7f702ac4da' + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pytz/2021.1_armv7l/py3_pytz-2021.1-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pytz/2021.1_armv7l/py3_pytz-2021.1-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pytz/2021.1_i686/py3_pytz-2021.1-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pytz/2021.1_x86_64/py3_pytz-2021.1-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '385c77eef4a350e34c165cd7e229868bf1faee782bbce1f7a41d19d38792631c', + armv7l: '385c77eef4a350e34c165cd7e229868bf1faee782bbce1f7a41d19d38792631c', + i686: 'f1c29171271fb34ef467854c6ce56ba75de5c2c40246fc4397f062bba0e02ee0', + x86_64: 'c33ae70cd50e9a09f5909eeebe227828011a79cd24b9325ab59b7b3d00214078' + }) + + 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 diff --git a/packages/py3_pyudev.rb b/packages/py3_pyudev.rb new file mode 100644 index 000000000..51d2613be --- /dev/null +++ b/packages/py3_pyudev.rb @@ -0,0 +1,36 @@ +require 'package' + +class Py3_pyudev < Package + description 'Pyudev provides Python bindings for udev.' + homepage 'https://pyudev.readthedocs.io/' + @_ver = '0.22' + version @_ver + license 'LGPL-2.1+' + compatibility 'all' + source_url 'https://github.com/pyudev/pyudev.git' + git_hashtag "v#{@_ver}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyudev/0.22_armv7l/py3_pyudev-0.22-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyudev/0.22_armv7l/py3_pyudev-0.22-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyudev/0.22_i686/py3_pyudev-0.22-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyudev/0.22_x86_64/py3_pyudev-0.22-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: 'd3595f1225885de8ccbdca03a0a4e6a3be3745d48869fa0e65bbaf152a8bacaa', + armv7l: 'd3595f1225885de8ccbdca03a0a4e6a3be3745d48869fa0e65bbaf152a8bacaa', + i686: 'df1eca213e62f52722cd9437f141207c05a22711990ba163d522a6b9cde6c8f6', + x86_64: 'b3e8f6b7149108bf039a29a7a6ed1c19199396c68a3f08d5817128c726af198b' + }) + + 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 diff --git a/packages/py3_pyyaml.rb b/packages/py3_pyyaml.rb new file mode 100644 index 000000000..e58a40057 --- /dev/null +++ b/packages/py3_pyyaml.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_pyyaml < Package + description 'PyYAML is a YAML parser and emitter for Python.' + homepage 'https://pyyaml.org/' + @_ver = '5.4.1.1' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://github.com/yaml/pyyaml.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyyaml/5.4.1.1_armv7l/py3_pyyaml-5.4.1.1-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyyaml/5.4.1.1_armv7l/py3_pyyaml-5.4.1.1-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyyaml/5.4.1.1_i686/py3_pyyaml-5.4.1.1-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyyaml/5.4.1.1_x86_64/py3_pyyaml-5.4.1.1-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '2238a2b916934779b015e9b80279d05a0e8431580c33c97baeed732dfd97e5db', + armv7l: '2238a2b916934779b015e9b80279d05a0e8431580c33c97baeed732dfd97e5db', + i686: 'd2e8fc66be9ab8411a83211ec08e04549410cc4c0be3295a37943c7a518288e9', + x86_64: '2219b3b519406e57edcbd2bde7895b850b255b4a06d8d76c1e7ee8f784935e47' + }) + + 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 diff --git a/packages/py3_requests.rb b/packages/py3_requests.rb new file mode 100644 index 000000000..4049048ab --- /dev/null +++ b/packages/py3_requests.rb @@ -0,0 +1,38 @@ +require 'package' + +class Py3_requests < Package + description 'Requests is a simple, yet elegant, HTTP library.' + homepage 'https://docs.python-requests.org/' + @_ver = '2.25.1' + version @_ver + license 'Apache-2.0' + compatibility 'all' + source_url 'https://github.com/psf/requests.git' + git_hashtag "v#{@_ver}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_requests/2.25.1_armv7l/py3_requests-2.25.1-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_requests/2.25.1_armv7l/py3_requests-2.25.1-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_requests/2.25.1_i686/py3_requests-2.25.1-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_requests/2.25.1_x86_64/py3_requests-2.25.1-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '02ff6c040ddd7ecb5d8513e921fea179775582472352efed67edf539eefef0ba', + armv7l: '02ff6c040ddd7ecb5d8513e921fea179775582472352efed67edf539eefef0ba', + i686: 'e8eb241123a995e5a68d782d50de5ba59512bd493163c2852d93d7eb82954349', + x86_64: '740645baf795270ca05fffd76ff190d9c31f8cd87414ee406846baae770ba1fa' + }) + + depends_on 'py3_chardet' + depends_on 'py3_idna' + depends_on 'py3_urllib3' + 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 diff --git a/packages/py3_retrying.rb b/packages/py3_retrying.rb new file mode 100644 index 000000000..1835033cf --- /dev/null +++ b/packages/py3_retrying.rb @@ -0,0 +1,36 @@ +require 'package' + +class Py3_retrying < Package + description 'Retrying simplifies the task of adding retry behavior to just about anything.' + homepage 'https://github.com/rholder/retrying/' + @_ver = '1.3.3' + version @_ver + license 'Apache-2.0' + compatibility 'all' + source_url 'https://github.com/rholder/retrying.git' + git_hashtag "v#{@_ver}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_retrying/1.3.3_armv7l/py3_retrying-1.3.3-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_retrying/1.3.3_armv7l/py3_retrying-1.3.3-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_retrying/1.3.3_i686/py3_retrying-1.3.3-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_retrying/1.3.3_x86_64/py3_retrying-1.3.3-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: 'b740f5334db1044b55f4edc3876f7f88b631584abde4cb57f68f0a29285e4820', + armv7l: 'b740f5334db1044b55f4edc3876f7f88b631584abde4cb57f68f0a29285e4820', + i686: 'd0dcfc77dc868dda22e863de9d140384cb53fe010b9e67da9a13a217c6365e85', + x86_64: 'b96a36c91d9c3a54ec595ac9133cf62d45f03c6057a785cca907cae6006c55b7' + }) + + 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 diff --git a/packages/py3_secretstorage.rb b/packages/py3_secretstorage.rb new file mode 100644 index 000000000..02a45d5d4 --- /dev/null +++ b/packages/py3_secretstorage.rb @@ -0,0 +1,37 @@ +require 'package' + +class Py3_secretstorage < Package + description 'Jeepney is a low-level, pure Python DBus protocol wrapper.' + homepage 'https://secretstorage.readthedocs.io/' + @_ver = '3.3.1' + version @_ver + license 'BSD-3' + compatibility 'all' + source_url 'https://github.com/mitya57/secretstorage.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_secretstorage/3.3.1_armv7l/py3_secretstorage-3.3.1-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_secretstorage/3.3.1_armv7l/py3_secretstorage-3.3.1-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_secretstorage/3.3.1_i686/py3_secretstorage-3.3.1-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_secretstorage/3.3.1_x86_64/py3_secretstorage-3.3.1-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: 'f96796ae7c776a7826d80744760d64d91ba5594bed17125620806ae071e7450a', + armv7l: 'f96796ae7c776a7826d80744760d64d91ba5594bed17125620806ae071e7450a', + i686: '8effc39487d487cbc6c4d79ce6a69b5bdfd0fec9bf1af06ac65355b5e9813fd5', + x86_64: '6907804991a9052f2a9d7fa2c472d0c407034013978cd231d3c17defa845573e' + }) + + depends_on 'py3_jeepney' + depends_on 'py3_cryptography' + 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 diff --git a/packages/py3_semantic_version.rb b/packages/py3_semantic_version.rb new file mode 100644 index 000000000..dfb93ed47 --- /dev/null +++ b/packages/py3_semantic_version.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_semantic_version < Package + description 'Semantic version implements the SemVer scheme.' + homepage 'https://github.com/rbarrois/python-semanticversion/' + @_ver = '2.8.5' + version @_ver + license 'BSD-2' + compatibility 'all' + source_url 'https://github.com/rbarrois/python-semanticversion.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_semantic_version/2.8.5_armv7l/py3_semantic_version-2.8.5-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_semantic_version/2.8.5_armv7l/py3_semantic_version-2.8.5-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_semantic_version/2.8.5_i686/py3_semantic_version-2.8.5-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_semantic_version/2.8.5_x86_64/py3_semantic_version-2.8.5-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: 'ebc85d3489343da5afc4d4813acf825323df52aac0f693f728f89100c13ee25c', + armv7l: 'ebc85d3489343da5afc4d4813acf825323df52aac0f693f728f89100c13ee25c', + i686: '83b1ac5f32fd508d8e2c9c0333e341cbc2bb5824a04074c19cab72d757134802', + x86_64: '48d4d1a2df32ba2624a01a1f6670e2bf9dc2d1693fc05e893ff77e654ceb3454' + }) + + 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 diff --git a/packages/py3_setuptools_rust.rb b/packages/py3_setuptools_rust.rb new file mode 100644 index 000000000..7fe7bc98a --- /dev/null +++ b/packages/py3_setuptools_rust.rb @@ -0,0 +1,38 @@ +require 'package' + +class Py3_setuptools_rust < Package + description 'Setuptools-rust provides rust support for setuptools.' + homepage 'https://github.com/PyO3/setuptools-rust/' + @_ver = '0.12.1' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://github.com/PyO3/setuptools-rust.git' + git_hashtag "v#{@_ver}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_setuptools_rust/0.12.1_armv7l/py3_setuptools_rust-0.12.1-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_setuptools_rust/0.12.1_armv7l/py3_setuptools_rust-0.12.1-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_setuptools_rust/0.12.1_i686/py3_setuptools_rust-0.12.1-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_setuptools_rust/0.12.1_x86_64/py3_setuptools_rust-0.12.1-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: 'bff4567f3243e9bad84c6a7c1f6e902f3a1213054d6d25c32845cd32b4866bf7', + armv7l: 'bff4567f3243e9bad84c6a7c1f6e902f3a1213054d6d25c32845cd32b4866bf7', + i686: '1267c21286377e05edfbaf4e6a69d97b5def022a64080ffecaf429fb8cf75664', + x86_64: '2adf2ae4abf600713550e459ef379e97901895218f4cc7ef4654b81d3ea4d6a7' + }) + + depends_on 'rust' + depends_on 'py3_toml' + depends_on 'py3_semantic_version' + depends_on 'py3_setuptools' + + 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 diff --git a/packages/py3_six.rb b/packages/py3_six.rb new file mode 100644 index 000000000..c65bf428a --- /dev/null +++ b/packages/py3_six.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_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/py3_six/1.15.0_armv7l/py3_six-1.15.0-chromeos-armv7l.tar.xz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_six/1.15.0_armv7l/py3_six-1.15.0-chromeos-armv7l.tar.xz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_six/1.15.0_i686/py3_six-1.15.0-chromeos-i686.tar.xz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_six/1.15.0_x86_64/py3_six-1.15.0-chromeos-x86_64.tar.xz' + }) + binary_sha256({ + aarch64: '7fd52ee11377bea79689beb61606479c1de3df30dfed40281a58591c57872166', + armv7l: '7fd52ee11377bea79689beb61606479c1de3df30dfed40281a58591c57872166', + i686: 'a7b172a5e44d2d000a843d478e9f04b9d5d2c792eeca4ef791dec1de206396b9', + x86_64: '00be47e6c38bae5b71b2a965c2e9d63381b18ec66dc7cd10b61c56e14653790d' + }) + + 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 diff --git a/packages/py3_slugify.rb b/packages/py3_slugify.rb new file mode 100644 index 000000000..beea1dd37 --- /dev/null +++ b/packages/py3_slugify.rb @@ -0,0 +1,36 @@ +require 'package' + +class Py3_slugify < Package + description 'Python-slugify returns unicode slugs.' + homepage 'https://github.com/un33k/python-slugify/' + @_ver = '5.0.1' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://github.com/un33k/python-slugify.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_slugify/5.0.1_armv7l/py3_slugify-5.0.1-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_slugify/5.0.1_armv7l/py3_slugify-5.0.1-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_slugify/5.0.1_i686/py3_slugify-5.0.1-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_slugify/5.0.1_x86_64/py3_slugify-5.0.1-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '4c62ddf03f67ef4169a7f5f8bc1594e70f0d5af1161ad25d8d263fe080ab611c', + armv7l: '4c62ddf03f67ef4169a7f5f8bc1594e70f0d5af1161ad25d8d263fe080ab611c', + i686: 'b202c7abb501d81e12253998f6aa6bc523b86bd6a96497dc476ee2ebea732dd8', + x86_64: '9f2fe8908a21c4d84914c8ee85facf56e752b8d768449b429297ac616a0c291b' + }) + + depends_on 'py3_text_unidecode' + 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 diff --git a/packages/py3_smartypants.rb b/packages/py3_smartypants.rb new file mode 100644 index 000000000..419eadc0c --- /dev/null +++ b/packages/py3_smartypants.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_smartypants < Package + description 'Smartypants translates plain ASCII punctuation characters into "smart" typographic punctuation HTML entities.' + homepage 'https://github.com/leohemsted/smartypants.py/' + @_ver = '2.0.1' + version @_ver + license 'BSD' + compatibility 'all' + source_url 'https://github.com/leohemsted/smartypants.py.git' + git_hashtag "v#{@_ver}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_smartypants/2.0.1_armv7l/py3_smartypants-2.0.1-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_smartypants/2.0.1_armv7l/py3_smartypants-2.0.1-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_smartypants/2.0.1_i686/py3_smartypants-2.0.1-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_smartypants/2.0.1_x86_64/py3_smartypants-2.0.1-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '93ec8b6d99d9d3c20fef9901de46375465f7b5211af30c4fcef4133cb93a73e2', + armv7l: '93ec8b6d99d9d3c20fef9901de46375465f7b5211af30c4fcef4133cb93a73e2', + i686: '1cdc95854b2c1245e784baad8262b1fbbe8ebc134df44f2d424e48bb04b00e1a', + x86_64: '0bebd464e086c86be7dc31eb52a664959cc292b9e9e021970cf4daf396d9ca36' + }) + + 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 diff --git a/packages/py3_snowballstemmer.rb b/packages/py3_snowballstemmer.rb new file mode 100644 index 000000000..ef1166bde --- /dev/null +++ b/packages/py3_snowballstemmer.rb @@ -0,0 +1,32 @@ +require 'package' + +class Py3_snowballstemmer < Package + description 'Snowball stemming library collection for Python' + homepage 'https://snowballstem.org' + version '2.1.0' + license 'BSD' + compatibility 'all' + source_url 'https://pypi.python.org/packages/source/s/snowballstemmer/snowballstemmer-2.1.0.tar.gz' + source_sha256 'e997baa4f2e9139951b6f4c631bad912dfd3c792467e2f03d7239464af90e914' + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_snowballstemmer/2.1.0_armv7l/py3_snowballstemmer-2.1.0-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_snowballstemmer/2.1.0_armv7l/py3_snowballstemmer-2.1.0-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_snowballstemmer/2.1.0_x86_64/py3_snowballstemmer-2.1.0-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: 'f6a3a2ba2d0868c407a99d73e1abdc0c10a737810ed533a896158c0c55812550', + armv7l: 'f6a3a2ba2d0868c407a99d73e1abdc0c10a737810ed533a896158c0c55812550', + x86_64: 'b6c0bfcb4e3ac932ce270daeee1e3ded5e2c65051aaa8297abc242695317b6e2' + }) + + depends_on 'py3_pystemmer' + + 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 diff --git a/packages/py3_sortedcontainers.rb b/packages/py3_sortedcontainers.rb new file mode 100644 index 000000000..5a3edd493 --- /dev/null +++ b/packages/py3_sortedcontainers.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_sortedcontainers < Package + description 'Pycryptodomex is a cryptographic library for Python.' + homepage 'http://www.grantjenks.com/docs/sortedcontainers/' + @_ver = '2.3.0' + version @_ver + license 'Apache-2.0' + compatibility 'all' + source_url 'https://github.com/grantjenks/python-sortedcontainers.git' + git_hashtag "v#{@_ver}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_sortedcontainers/2.3.0_armv7l/py3_sortedcontainers-2.3.0-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_sortedcontainers/2.3.0_armv7l/py3_sortedcontainers-2.3.0-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_sortedcontainers/2.3.0_i686/py3_sortedcontainers-2.3.0-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_sortedcontainers/2.3.0_x86_64/py3_sortedcontainers-2.3.0-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '3fc796fddd1d7856d5c07e690078b7e0bc728dce970241beffd7a37fb082df30', + armv7l: '3fc796fddd1d7856d5c07e690078b7e0bc728dce970241beffd7a37fb082df30', + i686: '03fb1cb1d88f9b7b7d9257d84c016f74b52e676269e6dce3518d4f226f384c3b', + x86_64: '6a5c717c5e740bd07beb92c70650791d5fad7ff691fa62cf0ba40c589a35a38b' + }) + + 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 diff --git a/packages/py3_speechrecognition.rb b/packages/py3_speechrecognition.rb new file mode 100644 index 000000000..62698770a --- /dev/null +++ b/packages/py3_speechrecognition.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_speechrecognition < Package + description 'SpeechRecognition is a library for performing speech recognition, with support for several engines and APIs, online and offline.' + homepage 'https://github.com/Uberi/speech_recognition/' + @_ver = '3.8.1' + version @_ver + license 'BSD' + compatibility 'all' + source_url 'https://github.com/Uberi/speech_recognition.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_speechrecognition/3.8.1_armv7l/py3_speechrecognition-3.8.1-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_speechrecognition/3.8.1_armv7l/py3_speechrecognition-3.8.1-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_speechrecognition/3.8.1_i686/py3_speechrecognition-3.8.1-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_speechrecognition/3.8.1_x86_64/py3_speechrecognition-3.8.1-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '6a7c922b92517dfc88374777aa7a4a46b46454b06b97dc4f7e9f7c5c276117b2', + armv7l: '6a7c922b92517dfc88374777aa7a4a46b46454b06b97dc4f7e9f7c5c276117b2', + i686: '3c6dc27f3104eed6077024225802aa34b04028291b850a049ee2ec03f8d73929', + x86_64: '616ac521e9abc6844240623932a93a42421bc0e716a5733e8d11546bc4e9dbfd' + }) + + 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 diff --git a/packages/py3_sphinxcontrib_applehelp.rb b/packages/py3_sphinxcontrib_applehelp.rb new file mode 100644 index 000000000..ef426b275 --- /dev/null +++ b/packages/py3_sphinxcontrib_applehelp.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_sphinxcontrib_applehelp < Package + description 'sphinxcontrib-applehelp is a sphinx extension which outputs Apple help books.' + homepage 'https://www.sphinx-doc.org/' + @_ver = '1.0.2' + version @_ver + license 'BSD' + compatibility 'all' + source_url 'https://github.com/sphinx-doc/sphinxcontrib-applehelp.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_sphinxcontrib_applehelp/1.0.2_armv7l/py3_sphinxcontrib_applehelp-1.0.2-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_sphinxcontrib_applehelp/1.0.2_armv7l/py3_sphinxcontrib_applehelp-1.0.2-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_sphinxcontrib_applehelp/1.0.2_i686/py3_sphinxcontrib_applehelp-1.0.2-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_sphinxcontrib_applehelp/1.0.2_x86_64/py3_sphinxcontrib_applehelp-1.0.2-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '1db60ca36fd42bd589e66962e35c442420ff84b5b1dc3ddd45655c31add61e2a', + armv7l: '1db60ca36fd42bd589e66962e35c442420ff84b5b1dc3ddd45655c31add61e2a', + i686: 'c6f48493ab7bc8d259ffdcc9c0c7922c35d3bbe88040022530ebd44a1b8f7bba', + x86_64: '876096dc0a671b5c77229a67eb9abfa5804aeb3263dfef4119553aafaad279d8' + }) + + 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 diff --git a/packages/py3_sphinxcontrib_devhelp.rb b/packages/py3_sphinxcontrib_devhelp.rb new file mode 100644 index 000000000..d28021f4d --- /dev/null +++ b/packages/py3_sphinxcontrib_devhelp.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_sphinxcontrib_devhelp < Package + description 'Sphinxcontrib-devhelp is a sphinx extension which outputs a Devhelp document.' + homepage 'https://www.sphinx-doc.org/' + @_ver = '1.0.2' + version @_ver + license 'BSD' + compatibility 'all' + source_url 'https://github.com/sphinx-doc/sphinxcontrib-devhelp.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_sphinxcontrib_devhelp/1.0.2_armv7l/py3_sphinxcontrib_devhelp-1.0.2-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_sphinxcontrib_devhelp/1.0.2_armv7l/py3_sphinxcontrib_devhelp-1.0.2-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_sphinxcontrib_devhelp/1.0.2_i686/py3_sphinxcontrib_devhelp-1.0.2-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_sphinxcontrib_devhelp/1.0.2_x86_64/py3_sphinxcontrib_devhelp-1.0.2-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: 'dac0c64018d2773024219781f16dbc2d6f66313159eb805fea7426a942a03f36', + armv7l: 'dac0c64018d2773024219781f16dbc2d6f66313159eb805fea7426a942a03f36', + i686: '6c84e7d96a26722635d98ea7200c478b169152ace4d59a286484b947ef018936', + x86_64: '419c47c6c8b0c1e11ae84f4d9bcc6fe4e7afb8b00da07de21198fafe703a47f5' + }) + + 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 diff --git a/packages/py3_sphinxcontrib_htmlhelp.rb b/packages/py3_sphinxcontrib_htmlhelp.rb new file mode 100644 index 000000000..76c1f0ec2 --- /dev/null +++ b/packages/py3_sphinxcontrib_htmlhelp.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_sphinxcontrib_htmlhelp < Package + description 'sphinxcontrib-htmlhelp is a sphinx extension which renders HTML help files.' + homepage 'https://www.sphinx-doc.org/' + @_ver = '1.0.3' + version @_ver + license 'BSD' + compatibility 'all' + source_url 'https://github.com/sphinx-doc/sphinxcontrib-htmlhelp.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_sphinxcontrib_htmlhelp/1.0.3_armv7l/py3_sphinxcontrib_htmlhelp-1.0.3-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_sphinxcontrib_htmlhelp/1.0.3_armv7l/py3_sphinxcontrib_htmlhelp-1.0.3-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_sphinxcontrib_htmlhelp/1.0.3_i686/py3_sphinxcontrib_htmlhelp-1.0.3-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_sphinxcontrib_htmlhelp/1.0.3_x86_64/py3_sphinxcontrib_htmlhelp-1.0.3-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '70829b7bc50fd770d86639633f8925c7f0f694c3c20a4d7026f738ae40bb3bff', + armv7l: '70829b7bc50fd770d86639633f8925c7f0f694c3c20a4d7026f738ae40bb3bff', + i686: '4005a7d73961c7e357367950c435d5aecdcf87c5f64520ca1cfd53ee6ef8b669', + x86_64: '248b002ef01ee172d9408f53f561268e8aa3e6f094157548c825a72827641c84' + }) + + 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 diff --git a/packages/py3_sphinxcontrib_jsmath.rb b/packages/py3_sphinxcontrib_jsmath.rb new file mode 100644 index 000000000..afa8602ed --- /dev/null +++ b/packages/py3_sphinxcontrib_jsmath.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_sphinxcontrib_jsmath < Package + description 'sphinxcontrib-jsmath is a sphinx extension which renders display math in HTML via JavaScript.' + homepage 'https://www.sphinx-doc.org/' + @_ver = '1.0.1' + version @_ver + license 'BSD' + compatibility 'all' + source_url 'https://github.com/sphinx-doc/sphinxcontrib-jsmath.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_sphinxcontrib_jsmath/1.0.1_armv7l/py3_sphinxcontrib_jsmath-1.0.1-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_sphinxcontrib_jsmath/1.0.1_armv7l/py3_sphinxcontrib_jsmath-1.0.1-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_sphinxcontrib_jsmath/1.0.1_i686/py3_sphinxcontrib_jsmath-1.0.1-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_sphinxcontrib_jsmath/1.0.1_x86_64/py3_sphinxcontrib_jsmath-1.0.1-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: 'd0301393950d06f2dba2849d6e48d11ec90c01faaff2dd8ba3249e67e34a59f1', + armv7l: 'd0301393950d06f2dba2849d6e48d11ec90c01faaff2dd8ba3249e67e34a59f1', + i686: '3752fdb5805ed63a0ee31093cae77a73bd53040643e6251a1ce09ebd58c4da2b', + x86_64: '897b6481bd73eaa64086ed9429131df7e1f03ca82108bd799b4344e2c825367f' + }) + + 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 diff --git a/packages/py3_sphinxcontrib_qthelp.rb b/packages/py3_sphinxcontrib_qthelp.rb new file mode 100644 index 000000000..cc78b7d2b --- /dev/null +++ b/packages/py3_sphinxcontrib_qthelp.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_sphinxcontrib_qthelp < Package + description 'sphinxcontrib-qthelp is a sphinx extension which outputs QtHelp document.' + homepage 'https://www.sphinx-doc.org/' + @_ver = '1.0.3' + version @_ver + license 'BSD' + compatibility 'all' + source_url 'https://github.com/sphinx-doc/sphinxcontrib-qthelp.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_sphinxcontrib_qthelp/1.0.3_armv7l/py3_sphinxcontrib_qthelp-1.0.3-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_sphinxcontrib_qthelp/1.0.3_armv7l/py3_sphinxcontrib_qthelp-1.0.3-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_sphinxcontrib_qthelp/1.0.3_i686/py3_sphinxcontrib_qthelp-1.0.3-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_sphinxcontrib_qthelp/1.0.3_x86_64/py3_sphinxcontrib_qthelp-1.0.3-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: 'fd704c99d991b7e9d099048386399c027e05885353c422edd014eee98fa60b5b', + armv7l: 'fd704c99d991b7e9d099048386399c027e05885353c422edd014eee98fa60b5b', + i686: '7232ad9206a252a383db1dd1621de131412645e9091a2ba9c3b1be551b4f1cc2', + x86_64: '12409c13d5e5d417bc9efffd558532652824aae63d00a6c0de886694f9804fa4' + }) + + 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 diff --git a/packages/py3_sphinxcontrib_serializinghtml.rb b/packages/py3_sphinxcontrib_serializinghtml.rb new file mode 100644 index 000000000..d4bec66e8 --- /dev/null +++ b/packages/py3_sphinxcontrib_serializinghtml.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_sphinxcontrib_serializinghtml < Package + description 'sphinxcontrib-serializinghtml is a sphinx extension which outputs "serialized" HTML files (json and pickle).' + homepage 'https://www.sphinx-doc.org/' + @_ver = '1.1.4' + version @_ver + license 'BSD' + compatibility 'all' + source_url 'https://github.com/sphinx-doc/sphinxcontrib-serializinghtml.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_sphinxcontrib_serializinghtml/1.1.4_armv7l/py3_sphinxcontrib_serializinghtml-1.1.4-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_sphinxcontrib_serializinghtml/1.1.4_armv7l/py3_sphinxcontrib_serializinghtml-1.1.4-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_sphinxcontrib_serializinghtml/1.1.4_i686/py3_sphinxcontrib_serializinghtml-1.1.4-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_sphinxcontrib_serializinghtml/1.1.4_x86_64/py3_sphinxcontrib_serializinghtml-1.1.4-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: 'ec052912c7425f5425a1c76676eed001cad7206634a4eb8c127d30f00895c752', + armv7l: 'ec052912c7425f5425a1c76676eed001cad7206634a4eb8c127d30f00895c752', + i686: '14b0617014d93833ee6bd58cebabdcd40c10deb3c60a3b29473a1a66b40aea81', + x86_64: '71b951db454bf7cf3d0754ba72f17560b5d2f6a7a115569fd17b71a5eb06af8b' + }) + + 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 diff --git a/packages/py3_sqlalchemy.rb b/packages/py3_sqlalchemy.rb new file mode 100644 index 000000000..69cf0cba8 --- /dev/null +++ b/packages/py3_sqlalchemy.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_sqlalchemy < Package + description 'SQLalchemy is a database toolkit for Python.' + homepage 'https://sqlalchemy.org' + @_ver = '1.4.21' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://github.com/sqlalchemy/sqlalchemy.git' + git_hashtag "rel_#{@_ver.gsub('.', '_')}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_sqlalchemy/1.4.21_armv7l/py3_sqlalchemy-1.4.21-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_sqlalchemy/1.4.21_armv7l/py3_sqlalchemy-1.4.21-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_sqlalchemy/1.4.21_i686/py3_sqlalchemy-1.4.21-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_sqlalchemy/1.4.21_x86_64/py3_sqlalchemy-1.4.21-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '075915be591aa3ef89c5a08cdd1cf8922ce97900c1fb6aeeb1da146e011b2daf', + armv7l: '075915be591aa3ef89c5a08cdd1cf8922ce97900c1fb6aeeb1da146e011b2daf', + i686: '4fb2f1f01451952e39e3c58ab91372d3debb0678930d7213bb4e9b27fefe7f59', + x86_64: '99c8729d8fc8f1dcb5d1635419cc9953cee791f2443d3e6954471e26ed7c6854' + }) + + 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 diff --git a/packages/py3_terminaltables.rb b/packages/py3_terminaltables.rb new file mode 100644 index 000000000..9c2b5f8ca --- /dev/null +++ b/packages/py3_terminaltables.rb @@ -0,0 +1,36 @@ +require 'package' + +class Py3_terminaltables < Package + description 'Terminaltables generates simple tables in terminals from a nested list of strings.' + homepage 'https://robpol86.github.io/terminaltables/' + @_ver = '3.1.0' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://github.com/Robpol86/terminaltables.git' + git_hashtag "v#{@_ver}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_terminaltables/3.1.0_armv7l/py3_terminaltables-3.1.0-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_terminaltables/3.1.0_armv7l/py3_terminaltables-3.1.0-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_terminaltables/3.1.0_i686/py3_terminaltables-3.1.0-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_terminaltables/3.1.0_x86_64/py3_terminaltables-3.1.0-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '28a47e04b0adeaa207368d2ff7783778a3cac4901422908cbafce54f2b608921', + armv7l: '28a47e04b0adeaa207368d2ff7783778a3cac4901422908cbafce54f2b608921', + i686: '69c81fceac6edb3f2c2bbb94dd95ddc6f666f46ed852fa36f0cd89703ce8a14a', + x86_64: 'e47536692ca04ff487ff0619ba71ed592e5dcf2cc0583b9a0b523f9da5487a88' + }) + + 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 diff --git a/packages/py3_text_unidecode.rb b/packages/py3_text_unidecode.rb new file mode 100644 index 000000000..f6625faca --- /dev/null +++ b/packages/py3_text_unidecode.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_text_unidecode < Package + description 'Text-unicode is the most basic Text::Unidecode port.' + homepage 'https://github.com/kmike/text-unidecode/' + @_ver = '1.3' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://github.com/kmike/text-unidecode.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_text_unidecode/1.3_armv7l/py3_text_unidecode-1.3-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_text_unidecode/1.3_armv7l/py3_text_unidecode-1.3-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_text_unidecode/1.3_i686/py3_text_unidecode-1.3-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_text_unidecode/1.3_x86_64/py3_text_unidecode-1.3-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '27bfe9b9931884739864f2ce718526060b86171a780f0115294a1933f3e0c714', + armv7l: '27bfe9b9931884739864f2ce718526060b86171a780f0115294a1933f3e0c714', + i686: 'c07ceff06fb6fc8101395a8d59f8a9c980a0fb0b5eb8a13df64557def90c7c6c', + x86_64: 'feeba57cf3f5c2f0e6971b94594c4868043d93c1597da0ec16bf3c15c6d95ce2' + }) + + 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 diff --git a/packages/py3_toml.rb b/packages/py3_toml.rb new file mode 100644 index 000000000..97b28a326 --- /dev/null +++ b/packages/py3_toml.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_toml < Package + description 'Toml is a Python Library for Tom\'s Obvious, Minimal Language.' + homepage 'https://github.com/uiri/toml/' + @_ver = '0.10.2' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://github.com/uiri/toml.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_toml/0.10.2_armv7l/py3_toml-0.10.2-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_toml/0.10.2_armv7l/py3_toml-0.10.2-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_toml/0.10.2_i686/py3_toml-0.10.2-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_toml/0.10.2_x86_64/py3_toml-0.10.2-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '8740f4745f1491bbeb33de0707cda75e81a4c69645914c38986841a065425400', + armv7l: '8740f4745f1491bbeb33de0707cda75e81a4c69645914c38986841a065425400', + i686: '374ada4e78998f7aa1e43894f1a865691b9b5e38aa21167570512fad12c56271', + x86_64: '01e5b4d3b2213eae93985f6b2783d7f40892dc531ed9b77c936f404150c727ec' + }) + + 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 diff --git a/packages/py3_tox.rb b/packages/py3_tox.rb new file mode 100644 index 000000000..76a42825b --- /dev/null +++ b/packages/py3_tox.rb @@ -0,0 +1,42 @@ +require 'package' + +class Py3_tox < Package + description 'Toml is a Python Library for Tom\'s Obvious, Minimal Language.' + homepage 'https://tox.readthedocs.io/' + @_ver = '3.13.2' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://github.com/tox-dev/tox.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_tox/3.13.2_armv7l/py3_tox-3.13.2-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_tox/3.13.2_armv7l/py3_tox-3.13.2-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_tox/3.13.2_i686/py3_tox-3.13.2-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_tox/3.13.2_x86_64/py3_tox-3.13.2-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '19f3b62f19149e5e952fa280628eaef7a787414bf2fa828bbad30e5f0bf7f0c8', + armv7l: '19f3b62f19149e5e952fa280628eaef7a787414bf2fa828bbad30e5f0bf7f0c8', + i686: 'b396ba791ab6828f30e15b27067bf58b5de20fe0cac6dc072fbfe4d8febe5836', + x86_64: 'e43bf863121a5761105569e0bf515d873c779625ea82240d3a6254d29bc35436' + }) + + depends_on 'py3_py' + depends_on 'py3_filelock' + depends_on 'py3_six' + depends_on 'py3_packaging' + depends_on 'py3_virtualenv' + depends_on 'py3_pluggy' + depends_on 'py3_toml' + 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 diff --git a/packages/py3_typogrify.rb b/packages/py3_typogrify.rb new file mode 100644 index 000000000..3b03f540f --- /dev/null +++ b/packages/py3_typogrify.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_typogrify < Package + description 'Typogrify provides filters to enhance web typography.' + homepage 'https://python-markdown.github.io/' + @_ver = '2.0.7' + version @_ver + license 'BSD' + compatibility 'all' + source_url 'https://github.com/mintchaos/typogrify.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_typogrify/2.0.7_armv7l/py3_typogrify-2.0.7-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_typogrify/2.0.7_armv7l/py3_typogrify-2.0.7-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_typogrify/2.0.7_i686/py3_typogrify-2.0.7-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_typogrify/2.0.7_x86_64/py3_typogrify-2.0.7-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '50f562c28e356a34e6f4bd8146353b6aff50035abe0a123962b08fb7e39090db', + armv7l: '50f562c28e356a34e6f4bd8146353b6aff50035abe0a123962b08fb7e39090db', + i686: 'af3b2e1f11a14751d660534c590f7b907992222391a06cd6a1b39eab5ae7d59a', + x86_64: 'c0681f49f3318b7fb6d40e6a54ef970cac3389accaf2bcd9cd0ccef1de70d81a' + }) + + 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 diff --git a/packages/py3_tzlocal.rb b/packages/py3_tzlocal.rb new file mode 100644 index 000000000..1c159e535 --- /dev/null +++ b/packages/py3_tzlocal.rb @@ -0,0 +1,36 @@ +require 'package' + +class Py3_tzlocal < Package + description 'Tzlocal provides tzinfo object for the local timezone.' + homepage 'https://github.com/regebro/tzlocal/' + @_ver = '1.5.1' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://github.com/regebro/tzlocal.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_tzlocal/1.5.1_armv7l/py3_tzlocal-1.5.1-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_tzlocal/1.5.1_armv7l/py3_tzlocal-1.5.1-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_tzlocal/1.5.1_i686/py3_tzlocal-1.5.1-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_tzlocal/1.5.1_x86_64/py3_tzlocal-1.5.1-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '65257a990b181d64c789ec90138e4254bd85ee43b179dbf355abaad4c6619091', + armv7l: '65257a990b181d64c789ec90138e4254bd85ee43b179dbf355abaad4c6619091', + i686: 'f0826794d8ce2b418543b9d7ce349fdf088ac73da2bddc1ee6eafa5e5c07a325', + x86_64: '218731e661685965ddeede0b02cf567e9c5344a7755dac09d07c3edb35b02174' + }) + + 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 diff --git a/packages/py3_urllib3.rb b/packages/py3_urllib3.rb new file mode 100644 index 000000000..be7fc010b --- /dev/null +++ b/packages/py3_urllib3.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_urllib3 < Package + description 'URLlib3 is an HTTP library with thread-safe connection pooling, file post, and more.' + homepage 'https://urllib3.readthedocs.io/' + @_ver = '1.26.4' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://github.com/urllib3/urllib3.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_urllib3/1.26.4_armv7l/py3_urllib3-1.26.4-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_urllib3/1.26.4_armv7l/py3_urllib3-1.26.4-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_urllib3/1.26.4_i686/py3_urllib3-1.26.4-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_urllib3/1.26.4_x86_64/py3_urllib3-1.26.4-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: 'bf68c09e43c2146279fef1aebc82391a3a00f84d02bd8c1886583f84a92ae8d8', + armv7l: 'bf68c09e43c2146279fef1aebc82391a3a00f84d02bd8c1886583f84a92ae8d8', + i686: '9384102b6c832c47e4ff9ce145c2688ce42def8c526db8936e1d42379a6f6c3b', + x86_64: '0f4f87c1ca55ada88d565c947a3219502baa207396a4cdce27873f9126cab279' + }) + + 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 diff --git a/packages/py3_urwid.rb b/packages/py3_urwid.rb new file mode 100644 index 000000000..48c115fae --- /dev/null +++ b/packages/py3_urwid.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_urwid < Package + description 'Urwid is a full-featured console user interface library.' + homepage 'http://urwid.org/' + @_ver = '2.1.2' + version @_ver + license 'LGPL-2.1' + compatibility 'all' + source_url 'https://github.com/urwid/urwid.git' + git_hashtag "release-#{@_ver}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_urwid/2.1.2_armv7l/py3_urwid-2.1.2-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_urwid/2.1.2_armv7l/py3_urwid-2.1.2-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_urwid/2.1.2_i686/py3_urwid-2.1.2-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_urwid/2.1.2_x86_64/py3_urwid-2.1.2-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '38afd9d587f8b96d22a0bee2dcb65733718c4cd5c22ce1aeaadc4184ab763d3b', + armv7l: '38afd9d587f8b96d22a0bee2dcb65733718c4cd5c22ce1aeaadc4184ab763d3b', + i686: '33e095941cac6e21c11f87cba6dd7f3729c985c168a4a88fa15162024171c2f1', + x86_64: 'fa219fcf2872d1482f17fcee27f908e07dee4bcf2fdd9e7b0029e7075d650bee' + }) + + 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 diff --git a/packages/py3_virtualenv.rb b/packages/py3_virtualenv.rb new file mode 100644 index 000000000..9c466e4e0 --- /dev/null +++ b/packages/py3_virtualenv.rb @@ -0,0 +1,39 @@ +require 'package' + +class Py3_virtualenv < Package + description 'Virtualenv is a Virtual Environment builder for Python.' + homepage 'https://virtualenv.pypa.io/' + @_ver = '20.0.27' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://github.com/pypa/virtualenv.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_virtualenv/20.0.27_armv7l/py3_virtualenv-20.0.27-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_virtualenv/20.0.27_armv7l/py3_virtualenv-20.0.27-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_virtualenv/20.0.27_i686/py3_virtualenv-20.0.27-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_virtualenv/20.0.27_x86_64/py3_virtualenv-20.0.27-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '03e01c5dde9ad6ae1b6e07ec39f928cf7840fba64263569400b61c969915bc3f', + armv7l: '03e01c5dde9ad6ae1b6e07ec39f928cf7840fba64263569400b61c969915bc3f', + i686: 'a50c70f65ac0c95d879be93b964e9afbb08f84a3d84686a97ba6fa1c9e74c589', + x86_64: '907e4a92284aea8eee071b823e86803d96ef191793521343ed06cfdc4bc8eae8' + }) + + depends_on 'py3_appdirs' + depends_on 'py3_distlib' + depends_on 'py3_six' + depends_on 'py3_pip' + 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 diff --git a/packages/py3_wcwidth.rb b/packages/py3_wcwidth.rb new file mode 100644 index 000000000..c0baacc41 --- /dev/null +++ b/packages/py3_wcwidth.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_wcwidth < Package + description 'WCWidth measures the displayed width of unicode strings in a terminal.' + homepage 'https://github.com/jquast/wcwidth/' + @_ver = '0.2.5' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://github.com/jquast/wcwidth.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_wcwidth/0.2.5_armv7l/py3_wcwidth-0.2.5-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_wcwidth/0.2.5_armv7l/py3_wcwidth-0.2.5-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_wcwidth/0.2.5_i686/py3_wcwidth-0.2.5-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_wcwidth/0.2.5_x86_64/py3_wcwidth-0.2.5-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '7063a37eb48101ce14322f53766269acf684e8696101d4d8391350cb2dda44cc', + armv7l: '7063a37eb48101ce14322f53766269acf684e8696101d4d8391350cb2dda44cc', + i686: '3482a71c7aeb6d700f63fcdeb210aa86cf17a5934e1e36b9496772a08d6f7a68', + x86_64: 'ecbd3bc2b90bd30aeb168c11cd5b98cecf7a1be65d5de4c845810154ee630511' + }) + + 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 diff --git a/packages/py3_werkzeug.rb b/packages/py3_werkzeug.rb new file mode 100644 index 000000000..fa09fc92c --- /dev/null +++ b/packages/py3_werkzeug.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_werkzeug < Package + description 'Werkzeug is a comprehensive WSGI web application library.' + homepage 'https://palletsprojects.com/p/werkzeug/' + @_ver = '1.0.1' + version @_ver + license 'BSD-3' + compatibility 'all' + source_url 'https://github.com/pallets/werkzeug.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_werkzeug/1.0.1_armv7l/py3_werkzeug-1.0.1-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_werkzeug/1.0.1_armv7l/py3_werkzeug-1.0.1-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_werkzeug/1.0.1_i686/py3_werkzeug-1.0.1-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_werkzeug/1.0.1_x86_64/py3_werkzeug-1.0.1-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '8df6835784b65e901c8f8f857a47cfcbef1dfdd28eef30f44ca01ba49a19182a', + armv7l: '8df6835784b65e901c8f8f857a47cfcbef1dfdd28eef30f44ca01ba49a19182a', + i686: '7af0e035d16a862b63e50dd340a659b8c2e53797da76af62498ce2bfe19b1825', + x86_64: '232433cbf1bcaba259ed5f73551ea5a8d2b4af0a260d1b18154fdec8c6dd3320' + }) + + 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 diff --git a/packages/py3_xlrd.rb b/packages/py3_xlrd.rb new file mode 100644 index 000000000..768773d12 --- /dev/null +++ b/packages/py3_xlrd.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_xlrd < Package + description 'XLRD is a library to extract data from Microsoft Excel (tm) spreadsheet files.' + homepage 'https://xlrd.readthedocs.io/' + @_ver = '2.0.1' + version @_ver + license 'BSD' + compatibility 'all' + source_url 'https://github.com/python-excel/xlrd.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_xlrd/2.0.1_armv7l/py3_xlrd-2.0.1-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_xlrd/2.0.1_armv7l/py3_xlrd-2.0.1-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_xlrd/2.0.1_i686/py3_xlrd-2.0.1-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_xlrd/2.0.1_x86_64/py3_xlrd-2.0.1-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '9a7800b3ac478d8108485b785bbc0815db92d43d5d2df645f6b145442a70d48c', + armv7l: '9a7800b3ac478d8108485b785bbc0815db92d43d5d2df645f6b145442a70d48c', + i686: '782adefc2e97ceccd609de4f1a50e72c67281fa9a6ff65455a80717ada9923e7', + x86_64: '8ad7b6d53bd416c6cda2e7d3a18dc842029bc9c43ca14225484117b575280a8b' + }) + + 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 diff --git a/packages/py3_xlsxwriter.rb b/packages/py3_xlsxwriter.rb new file mode 100644 index 000000000..ef820876a --- /dev/null +++ b/packages/py3_xlsxwriter.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_xlsxwriter < Package + description 'XlsxWriter is a Python module for creating Excel XLSX files.' + homepage 'https://xlsxwriter.readthedocs.io/' + @_ver = '1.4.2' + version @_ver + license 'BSD' + compatibility 'all' + source_url 'https://github.com/jmcnamara/XlsxWriter.git' + git_hashtag "RELEASE_#{@_ver}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_xlsxwriter/1.4.2_armv7l/py3_xlsxwriter-1.4.2-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_xlsxwriter/1.4.2_armv7l/py3_xlsxwriter-1.4.2-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_xlsxwriter/1.4.2_i686/py3_xlsxwriter-1.4.2-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_xlsxwriter/1.4.2_x86_64/py3_xlsxwriter-1.4.2-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '67a7065af7e6db0cdb160244f851486ae7f6ef3f5ccc1902dba3d7abd1585186', + armv7l: '67a7065af7e6db0cdb160244f851486ae7f6ef3f5ccc1902dba3d7abd1585186', + i686: '5c161cbdc107feb5c804dd2c481c77ae2f83649764c7de37272386a33973f943', + x86_64: 'f639eb481f72295de011fd1578422a8124562516543cc3e7897e10f85addcc9e' + }) + + 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 diff --git a/packages/py3_xmltodict.rb b/packages/py3_xmltodict.rb new file mode 100644 index 000000000..3da09b9bc --- /dev/null +++ b/packages/py3_xmltodict.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_xmltodict < Package + description 'XMLtoDict makes working with XML feel like you are working with JSON.' + homepage 'https://github.com/martinblech/xmltodict/' + @_ver = '0.12.0' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://github.com/martinblech/xmltodict.git' + git_hashtag "v#{@_ver}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_xmltodict/0.12.0_armv7l/py3_xmltodict-0.12.0-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_xmltodict/0.12.0_armv7l/py3_xmltodict-0.12.0-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_xmltodict/0.12.0_i686/py3_xmltodict-0.12.0-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_xmltodict/0.12.0_x86_64/py3_xmltodict-0.12.0-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: 'd2f1f67dd415be8c6ea04832d0c92a5241d2db02f33b036c89d4c04b587fb17e', + armv7l: 'd2f1f67dd415be8c6ea04832d0c92a5241d2db02f33b036c89d4c04b587fb17e', + i686: '59801b6583e036eb706d57b0b71e6ae7719310e665d435cffef7f65f084ecab7', + x86_64: 'a71384afcde283e696cfce1754884f6b347da546ad58523929cc5600c75a5b5c' + }) + + 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 diff --git a/packages/py3_yamllint.rb b/packages/py3_yamllint.rb new file mode 100644 index 000000000..418b40e40 --- /dev/null +++ b/packages/py3_yamllint.rb @@ -0,0 +1,37 @@ +require 'package' + +class Py3_yamllint < Package + description 'YAMLlint is a linter for YAML files.' + homepage 'https://github.com/adrienverge/yamllint/' + @_ver = '1.26.1' + version @_ver + license 'GPL-3' + compatibility 'all' + source_url 'https://github.com/adrienverge/yamllint.git' + git_hashtag "v#{@_ver}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_yamllint/1.26.1_armv7l/py3_yamllint-1.26.1-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_yamllint/1.26.1_armv7l/py3_yamllint-1.26.1-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_yamllint/1.26.1_i686/py3_yamllint-1.26.1-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_yamllint/1.26.1_x86_64/py3_yamllint-1.26.1-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '837b3fbd5de3720a73bf42449551f689715d4eca1fa652a3adeb5555bb3bd06f', + armv7l: '837b3fbd5de3720a73bf42449551f689715d4eca1fa652a3adeb5555bb3bd06f', + i686: '9ce8a6f3c6a67b89f82a18205eb6f5d1461f1c5049b7b4f417bf08375cb86543', + x86_64: '94658f0b7f7c2406112d4c38fa3448dc61b17c84e6c19cbcb07a90bd0cf97149' + }) + + depends_on 'py3_pathspec' + depends_on 'py3_pyyaml' + 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 diff --git a/packages/py3_zipp.rb b/packages/py3_zipp.rb new file mode 100644 index 000000000..b93c34213 --- /dev/null +++ b/packages/py3_zipp.rb @@ -0,0 +1,35 @@ +require 'package' + +class Py3_zipp < Package + description 'Zipp is a backport of pathlib-compatible object wrapper for zip files.' + homepage 'https://github.com/jaraco/zipp/' + @_ver = '3.5.0' + version @_ver + license 'MIT' + compatibility 'all' + source_url 'https://github.com/jaraco/zipp.git' + git_hashtag "v#{@_ver}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_zipp/3.5.0_armv7l/py3_zipp-3.5.0-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_zipp/3.5.0_armv7l/py3_zipp-3.5.0-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_zipp/3.5.0_i686/py3_zipp-3.5.0-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_zipp/3.5.0_x86_64/py3_zipp-3.5.0-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: 'fcb28de86bc4709d0820bcf6b4ee7e4142198316b1b408d43ce6b96651d61fac', + armv7l: 'fcb28de86bc4709d0820bcf6b4ee7e4142198316b1b408d43ce6b96651d61fac', + i686: 'e24a64ca2e0131d63b5cf708ba9938ae0200b1fa93e84741a43990e173a9284d', + x86_64: '120cc840acb223b7ca42f0946f1442d02fbfce8fead7537b8a614f68ba69adba' + }) + + 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 diff --git a/packages/pycairo.rb b/packages/pycairo.rb index 06bbffd19..42f457637 100644 --- a/packages/pycairo.rb +++ b/packages/pycairo.rb @@ -1,40 +1,12 @@ require 'package' class Pycairo < Package - description 'Pycairo is a Python module providing bindings for the cairo graphics library.' + description 'Dummy package for py3_pycairo.' homepage 'https://cairographics.org/pycairo/' - version '1.17.1' + version '1' license 'LGPL-2.1 or MPL-1.1' compatibility 'all' - source_url 'https://files.pythonhosted.org/packages/68/76/340ff847897296b2c8174dfa5a5ec3406e3ed783a2abac918cf326abad86/pycairo-1.17.1.tar.gz' - source_sha256 '0f0a35ec923d87bc495f6753b1e540fd046d95db56a35250c44089fbce03b698' + is_fake - binary_url ({ - aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/pycairo/1.17.1_armv7l/pycairo-1.17.1-chromeos-armv7l.tar.xz', - armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/pycairo/1.17.1_armv7l/pycairo-1.17.1-chromeos-armv7l.tar.xz', - i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/pycairo/1.17.1_i686/pycairo-1.17.1-chromeos-i686.tar.xz', - x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/pycairo/1.17.1_x86_64/pycairo-1.17.1-chromeos-x86_64.tar.xz', - }) - binary_sha256 ({ - aarch64: '401ca3457234b15a392c6506480211a83c6d3d03b191e0dc1033cf8daacc341b', - armv7l: '401ca3457234b15a392c6506480211a83c6d3d03b191e0dc1033cf8daacc341b', - i686: '2921ce60149fdaef82bfde2e0eb4f661a40ce7a31ff8cd6b9bec3551c060611e', - x86_64: '7805d36fa3e6377411f2c29cbbba4ca7148102d84cf31a1287ce5e6ca9ab7fb0', - }) - - depends_on 'cairo' - depends_on 'python3' - depends_on 'python2' - depends_on 'libxxf86vm' - depends_on 'libxrender' - - def self.build - system "python2.7 setup.py build" - system "python3 setup.py build" - end - - def self.install - system "python2.7 setup.py install --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR}" - system "python3 setup.py install --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR}" - end + depends_on 'py3_pycairo' end diff --git a/packages/pyelftools.rb b/packages/pyelftools.rb deleted file mode 100644 index 1884cc79f..000000000 --- a/packages/pyelftools.rb +++ /dev/null @@ -1,28 +0,0 @@ -require 'package' - -class Pyelftools < Package - description 'Pure-Python library for parsing and analyzing ELF files and DWARF debugging information.' - homepage 'https://github.com/eliben/pyelftools' - version '0.27' - license 'public-domain' - compatibility 'all' - source_url 'SKIP' - - binary_url ({ - aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/pyelftools/0.27_armv7l/pyelftools-0.27-chromeos-armv7l.tar.xz', - armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/pyelftools/0.27_armv7l/pyelftools-0.27-chromeos-armv7l.tar.xz', - i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/pyelftools/0.27_i686/pyelftools-0.27-chromeos-i686.tar.xz', - x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/pyelftools/0.27_x86_64/pyelftools-0.27-chromeos-x86_64.tar.xz', - }) - binary_sha256 ({ - aarch64: '6948872decb8cbd4b9da384e6684fcf55736bd1fd998b94878f0d7896a0c32bb', - armv7l: '6948872decb8cbd4b9da384e6684fcf55736bd1fd998b94878f0d7896a0c32bb', - i686: '2781fb4f954695bdb05a0e5c6b2c36a3b88bc89ae5c001fca16c9daa2c839363', - x86_64: 'cd61b483e2268bfa2f09390710f44d183c8151b1e05d64dcb705ca297cda6b6d', - }) - - def self.install - system "pip3 uninstall -y pyelftools" - system "pip3 install --upgrade --no-warn-script-location pyelftools --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR}" - end -end diff --git a/packages/pygments.rb b/packages/pygments.rb deleted file mode 100644 index bfde34684..000000000 --- a/packages/pygments.rb +++ /dev/null @@ -1,34 +0,0 @@ -require 'package' - -class Pygments < Package - description 'Python Syntax Highlighter' - homepage 'https://pygments.org/' - version '2.8.0' - license 'BSD' - compatibility 'all' - source_url 'SKIP' - - binary_url({ - aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/pygments/2.8.0_armv7l/pygments-2.8.0-chromeos-armv7l.tar.xz', - armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/pygments/2.8.0_armv7l/pygments-2.8.0-chromeos-armv7l.tar.xz', - i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/pygments/2.8.0_i686/pygments-2.8.0-chromeos-i686.tar.xz', - x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/pygments/2.8.0_x86_64/pygments-2.8.0-chromeos-x86_64.tar.xz' - }) - binary_sha256({ - aarch64: '0b7af6a0717a3b929c8a51fb2466565239810090478b7a4ac23f0e3da2fbc04e', - armv7l: '0b7af6a0717a3b929c8a51fb2466565239810090478b7a4ac23f0e3da2fbc04e', - i686: 'ffe3bd980c153fb1592a6027b44cd4b57161211160e8d2ce4ee4b17d86528615', - x86_64: '955f2f252e98842b63569334ad133908c2c527617b687f632bbfd1f4db8013b6' - }) - - depends_on 'py3_pip' - - def self.install - system 'pip uninstall -y pygments' - system "pip install --upgrade --no-warn-script-location pygments --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR}" - end - - def self.postinstall - system 'pip install --upgrade pygments' - end -end diff --git a/packages/pygobject.rb b/packages/pygobject.rb index 4c3a737ed..23a670c5c 100644 --- a/packages/pygobject.rb +++ b/packages/pygobject.rb @@ -2,41 +2,37 @@ require 'package' class Pygobject < Package description 'PyGObject is a Python package which provides bindings for GObject based libraries such as GTK+, GStreamer, WebKitGTK+, GLib, GIO and many more.' - homepage 'https://pygobject.readthedocs.io/en/latest/' - version '3.38-0a16' + homepage 'https://pygobject.readthedocs.io/' + @_ver = '3.40.1' + version @_ver license 'LGPL-2.1+' compatibility 'all' - source_url 'https://gitlab.gnome.org/GNOME/pygobject/-/archive/0a16082c3e092fdccf5499172a4b9dec07aa383d/pygobject-0a16082c3e092fdccf5499172a4b9dec07aa383d.tar.bz2' - source_sha256 'f83531eeb2d4980afde618a83d16749b14e47d92673a6b1ec63ae7a0a01c4bfc' + source_url 'https://gitlab.gnome.org/GNOME/pygobject.git' + git_hashtag @_ver - binary_url ({ - aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/pygobject/3.38-0a16_armv7l/pygobject-3.38-0a16-chromeos-armv7l.tar.xz', - armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/pygobject/3.38-0a16_armv7l/pygobject-3.38-0a16-chromeos-armv7l.tar.xz', - i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/pygobject/3.38-0a16_i686/pygobject-3.38-0a16-chromeos-i686.tar.xz', - x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/pygobject/3.38-0a16_x86_64/pygobject-3.38-0a16-chromeos-x86_64.tar.xz', + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/pygobject/3.40.1_armv7l/pygobject-3.40.1-chromeos-armv7l.tar.xz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/pygobject/3.40.1_armv7l/pygobject-3.40.1-chromeos-armv7l.tar.xz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/pygobject/3.40.1_i686/pygobject-3.40.1-chromeos-i686.tar.xz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/pygobject/3.40.1_x86_64/pygobject-3.40.1-chromeos-x86_64.tar.xz' }) - binary_sha256 ({ - aarch64: '25288827bdc2116b0afabca5b4016a3d53feb884dbb4514281e1ac2eb50212bb', - armv7l: '25288827bdc2116b0afabca5b4016a3d53feb884dbb4514281e1ac2eb50212bb', - i686: 'e85370c34c4beb590b8bf9695dfcbc8107b958d37fec6a49d39c445b30e7cfc2', - x86_64: '65a8a2138b1ddae9cf90782515295577219bee5e26c41f3285077d92ddffd10f', + binary_sha256({ + aarch64: '1500e6bc54033b30b095bee58fed4690d614c765671bd3722688e76b78fe454e', + armv7l: '1500e6bc54033b30b095bee58fed4690d614c765671bd3722688e76b78fe454e', + i686: 'ebe701b39d9ca9fb0b394333c92eab82ff76d3126566bcefc140b800a0356f48', + x86_64: '25669c04d58e2f76ea77ef6d7f9235feb608291dbdf8632bb8dd5c1e4cd44fe9' }) depends_on 'glib' depends_on 'gobject_introspection' - depends_on 'pycairo' + depends_on 'py3_pycairo' + depends_on 'py3_setuptools' => :build def self.build - system 'pip3 install --upgrade pycairo' - system "meson #{CREW_MESON_OPTIONS} \ - builddir" - system 'meson configure builddir' - system 'ninja -C builddir' + system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}" end def self.install - system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install" - system 'pip3 uninstall --yes pycairo' - system "pip3 install pycairo --root #{CREW_DEST_DIR} --prefix #{CREW_PREFIX}" + system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}" end end diff --git a/packages/pygobject2.rb b/packages/pygobject2.rb index 424e16dd6..36bf57a24 100644 --- a/packages/pygobject2.rb +++ b/packages/pygobject2.rb @@ -2,7 +2,7 @@ require 'package' class Pygobject2 < Package description 'PyGObject is a Python package which provides bindings for GObject based libraries such as GTK+, GStreamer, WebKitGTK+, GLib, GIO and many more.' - homepage 'https://pygobject.readthedocs.io/en/latest/' + homepage 'https://pygobject.readthedocs.io/' version '2.28.7' license 'LGPL-2.1+' compatibility 'all' @@ -24,7 +24,7 @@ class Pygobject2 < Package depends_on 'glib' depends_on 'gobject_introspection' - depends_on 'pycairo' + depends_on 'py3_pycairo' def self.build system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}" diff --git a/packages/pyparsing.rb b/packages/pyparsing.rb deleted file mode 100644 index 33c6bfb7b..000000000 --- a/packages/pyparsing.rb +++ /dev/null @@ -1,28 +0,0 @@ -require 'package' - -class Pyparsing < Package - description 'The pyparsing module is an alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions.' - homepage 'https://github.com/pyparsing/pyparsing' - version '2.4.7' - license 'MIT' - compatibility 'all' - source_url 'https://github.com/pyparsing/pyparsing/releases/download/pyparsing_2.4.7/pyparsing-2.4.7.tar.gz' - source_sha256 'c203ec8783bf771a155b207279b9bccb8dea02d8f0c9e5f8ead507bc3246ecc1' - - binary_url({ - aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/pyparsing/2.4.7_armv7l/pyparsing-2.4.7-chromeos-armv7l.tar.xz', - armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/pyparsing/2.4.7_armv7l/pyparsing-2.4.7-chromeos-armv7l.tar.xz', - i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/pyparsing/2.4.7_i686/pyparsing-2.4.7-chromeos-i686.tar.xz', - x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/pyparsing/2.4.7_x86_64/pyparsing-2.4.7-chromeos-x86_64.tar.xz' - }) - binary_sha256({ - aarch64: 'd4decc10bf590b30f6c05fb463e7fc9d79b7d9e9d84a92de694619ba10da0381', - armv7l: 'd4decc10bf590b30f6c05fb463e7fc9d79b7d9e9d84a92de694619ba10da0381', - i686: '8bf0da6c070cd6b6273b0d75078cd22264031a270b068d48d4eb120251f662a1', - x86_64: '82bd555e8dca145d04a4db65548a711c088d8d9c6e6cee62b2d7931da240e19f' - }) - - def self.install - system "pip3 install --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR} -I pyparsing==#{version}" - end -end diff --git a/packages/python27.rb b/packages/python27.rb index ea2776e02..14e01a0d5 100644 --- a/packages/python27.rb +++ b/packages/python27.rb @@ -9,5 +9,4 @@ class Python27 < Package is_fake depends_on 'python2' - end diff --git a/packages/s3cmd.rb b/packages/s3cmd.rb index e48d4cef6..ed1aa25c2 100644 --- a/packages/s3cmd.rb +++ b/packages/s3cmd.rb @@ -3,29 +3,34 @@ require 'package' class S3cmd < Package description 'Command line tool for managing Amazon S3 and CloudFront services' homepage 'http://s3tools.org/s3cmd' - version '2.0.1' - license 'GPL-2' + @_ver = '2.1.0' + version @_ver + license 'GPL-2+' compatibility 'all' - source_url 'https://github.com/s3tools/s3cmd/releases/download/v2.0.1/s3cmd-2.0.1.tar.gz' - source_sha256 'caf09f1473301c442fba6431c983c361c9af8bde503dac0953f0d2f8f2c53c8f' + source_url 'https://github.com/s3tools/s3cmd.git' + git_hashtag "v#{@_ver}" - binary_url ({ - aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/s3cmd/2.0.1_armv7l/s3cmd-2.0.1-chromeos-armv7l.tar.xz', - armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/s3cmd/2.0.1_armv7l/s3cmd-2.0.1-chromeos-armv7l.tar.xz', - i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/s3cmd/2.0.1_i686/s3cmd-2.0.1-chromeos-i686.tar.xz', - x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/s3cmd/2.0.1_x86_64/s3cmd-2.0.1-chromeos-x86_64.tar.xz', + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/s3cmd/2.1.0_armv7l/s3cmd-2.1.0-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/s3cmd/2.1.0_armv7l/s3cmd-2.1.0-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/s3cmd/2.1.0_i686/s3cmd-2.1.0-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/s3cmd/2.1.0_x86_64/s3cmd-2.1.0-chromeos-x86_64.tpxz' }) - binary_sha256 ({ - aarch64: 'beb0aa2dd915c1d7b1830d107d5875893f3d69194401f868dffd9ebbe9ad0bd2', - armv7l: 'beb0aa2dd915c1d7b1830d107d5875893f3d69194401f868dffd9ebbe9ad0bd2', - i686: '272f221a44e9e4f7cecc165f2d7ddb896d53c56d8c0ad75450261a93ef8bfb3f', - x86_64: '78677e4289aa1723623276fd4df256f059f812f788688680a494ae9835afd262', + binary_sha256({ + aarch64: '313e17b05c93f876d865cb8f170f191b6d1815b9d344ba53400fd4aa1e523a19', + armv7l: '313e17b05c93f876d865cb8f170f191b6d1815b9d344ba53400fd4aa1e523a19', + i686: '9d422dbd45acf2661b3cb2d93f60fe010442765af4f21ebccbd965c7410d1b2a', + x86_64: '34aae7b83d4197f25bb727a880d7c1580baa003cb6b62fe2c61202795794ddd9' }) - depends_on 'python27' unless File.exists? "#{CREW_PREFIX}/bin/python" + depends_on 'py3_dateutil' + depends_on 'py3_magic' + + def self.build + system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}" + end def self.install - system "python setup.py install --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR}" - system "pip install python-dateutil --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR}" + system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}" end end diff --git a/packages/setuptools.rb b/packages/setuptools.rb deleted file mode 100644 index e06aed251..000000000 --- a/packages/setuptools.rb +++ /dev/null @@ -1,16 +0,0 @@ -# Do not use this package as a dependency for other packages. -require 'package' - -class Setuptools < Package - description 'A package that installs setuptools for all python versions.' - homepage 'https://pypi.org/project/setuptools/' - version '1.0' - license 'MIT' - compatibility 'all' - - is_fake - - depends_on 'py3_setuptools' - depends_on 'py2_setuptools' - -end diff --git a/packages/six.rb b/packages/six.rb index 466c747df..d5ff3261c 100644 --- a/packages/six.rb +++ b/packages/six.rb @@ -1,37 +1,13 @@ require 'package' class Six < Package - description 'Six is a Python 2 and 3 compatibility library.' - homepage 'https://github.com/benjaminp/six' - version '1.14.0' + description 'Dummy package for py3_six' + homepage 'https://six.readthedocs.io/' + version '1' license 'MIT' compatibility 'all' - source_url 'https://github.com/benjaminp/six/archive/1.14.0.tar.gz' - source_sha256 '6efff7289d1d369f0a25180433aba83ec2584e489e90f115b52ba69e4816cfb4' - binary_url ({ - aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/six/1.14.0_armv7l/six-1.14.0-chromeos-armv7l.tar.xz', - armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/six/1.14.0_armv7l/six-1.14.0-chromeos-armv7l.tar.xz', - i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/six/1.14.0_i686/six-1.14.0-chromeos-i686.tar.xz', - x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/six/1.14.0_x86_64/six-1.14.0-chromeos-x86_64.tar.xz', - }) - binary_sha256 ({ - aarch64: '194646b4fb1a0ed11492d21a45bc09d91ab7da78cbc8a6ad2f0c3ebe723692ba', - armv7l: '194646b4fb1a0ed11492d21a45bc09d91ab7da78cbc8a6ad2f0c3ebe723692ba', - i686: '51c17725b9925874af0fa7bcd86afbc930b5023ab353efb3754c69d7e7d52d4c', - x86_64: '649ca8a551af2fd558bc889cfa0df05ff2e2b853ea76786b61d5d8a765adcd02', - }) + is_fake - depends_on 'python3' - depends_on 'python27' - - def self.build - system "python2.7 setup.py build" - system "python3 setup.py build" - end - - def self.install - system "python2.7 setup.py install --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR}" - system "python3 setup.py install --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR}" - end + depends_on 'py3_six' end diff --git a/packages/smbclient.rb b/packages/smbclient.rb index 9f0fa4d5d..31fa95cb9 100644 --- a/packages/smbclient.rb +++ b/packages/smbclient.rb @@ -1,6 +1,3 @@ -# Adapted from Arch Linux samba PKGBUILD at: -# https://github.com/archlinux/svntogit-packages/raw/packages/samba/trunk/PKGBUILD - require 'package' class Smbclient < Package @@ -40,6 +37,8 @@ class Smbclient < Package depends_on 'lmdb' => :build depends_on 'perl_parse_yapp' => :build depends_on 'popt' + depends_on 'py3_markdown' + depends_on 'py3_dnspython' depends_on 'talloc' depends_on 'tdb' depends_on 'tevent' @@ -52,8 +51,6 @@ class Smbclient < Package smbcquotas smbget net nmblookup smbtar] @smbclient_pkgconfig = %w[smbclient netapi wbclient] - @python_deps = %w[Markdown dnspython] - @xml_catalog_files = ENV['XML_CATALOG_FILES'] def self.patch @@ -63,17 +60,9 @@ class Smbclient < Package system "sed -i 's,file:///etc/xml/catalog,#{@xml_catalog_files},g' buildtools/wafsamba/wafsamba.py" end - def self.prebuild - @python_deps.each do |item| - system "pip install --upgrade #{item}" - end - end - def self.build system './configure --help' - system "env CFLAGS='-pipe -flto=auto -fuse-ld=gold' \ - CXXFLAGS='-pipe -flto=auto -fuse-ld=gold' \ - LDFLAGS='-flto=auto' \ + system "env #{CREW_ENV_OPTIONS} ./configure --enable-fhs \ #{CREW_OPTIONS.sub(/--program-suffix.*/, '')} \ --sysconfdir=#{CREW_PREFIX}/etc \ @@ -105,9 +94,6 @@ class Smbclient < Package FileUtils.mkdir_p 'staging' system 'make V=1 DESTDIR=staging install' FileUtils.cp 'source3/script/smbtar', "staging/#{CREW_PREFIX}/bin/" - @python_deps.each do |item| - system "pip uninstall --yes #{item}" - end end def self.install diff --git a/packages/speedometer.rb b/packages/speedometer.rb index 0c5e66f34..03936032a 100644 --- a/packages/speedometer.rb +++ b/packages/speedometer.rb @@ -22,9 +22,9 @@ class Speedometer < Package x86_64: 'a926e76ca2d5de7773b2e2d5423892677c020f0b1328abe9ff84fe81d2801a97', }) - depends_on 'psutil' - depends_on 'six' - depends_on 'nuitka' => :build + depends_on 'py3_psutil' + depends_on 'py3_six' + depends_on 'py3_nuitka' => :build def self.patch system "sed -i 's:#!/usr/bin/python3:#!#{CREW_PREFIX}/bin/python3:' bin/speedometer" diff --git a/packages/speedtest.rb b/packages/speedtest.rb deleted file mode 100644 index de0c3110c..000000000 --- a/packages/speedtest.rb +++ /dev/null @@ -1,30 +0,0 @@ -require 'package' - -class Speedtest < Package - description 'Command line interface for testing internet bandwidth using speedtest.net' - homepage 'https://github.com/sivel/speedtest-cli' - version '2.0.2' - license 'LGPL-3' - compatibility 'all' - source_url 'https://github.com/sivel/speedtest-cli/archive/v2.0.2.tar.gz' - source_sha256 '5e22f2dcce1c9020f33faf559b22727483f022008a2912b85d573e578374b6a0' - - binary_url ({ - aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/speedtest/2.0.2_armv7l/speedtest-2.0.2-chromeos-armv7l.tar.xz', - armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/speedtest/2.0.2_armv7l/speedtest-2.0.2-chromeos-armv7l.tar.xz', - i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/speedtest/2.0.2_i686/speedtest-2.0.2-chromeos-i686.tar.xz', - x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/speedtest/2.0.2_x86_64/speedtest-2.0.2-chromeos-x86_64.tar.xz', - }) - binary_sha256 ({ - aarch64: '5e6c9be7bd7b74ad375057949f5acd2db7d1f02ff6a38621a6cf516f5f60593f', - armv7l: '5e6c9be7bd7b74ad375057949f5acd2db7d1f02ff6a38621a6cf516f5f60593f', - i686: '36b1fca2c869a34579415190fa674355dae47afe17dc505866eccec95eea7f27', - x86_64: '6245d2d291cb83d4fa4e51fbd867cd956df98209d2ad37237463e44c4c482fcc', - }) - - depends_on 'setuptools' - - def self.install - system "pip3 install --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR} -I speedtest-cli==2.0.2" - end -end diff --git a/packages/speedtest_cli.rb b/packages/speedtest_cli.rb new file mode 100644 index 000000000..f81924c8b --- /dev/null +++ b/packages/speedtest_cli.rb @@ -0,0 +1,35 @@ +require 'package' + +class Speedtest_cli < Package + description 'Command line interface for testing internet bandwidth using speedtest.net' + homepage 'https://github.com/sivel/speedtest-cli/' + @_ver = '2.1.3' + version @_ver + license 'Apache-2.0' + compatibility 'all' + source_url 'https://github.com/sivel/speedtest-cli.git' + git_hashtag "v#{@_ver}" + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/speedtest_cli/2.1.3_armv7l/speedtest_cli-2.1.3-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/speedtest_cli/2.1.3_armv7l/speedtest_cli-2.1.3-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/speedtest_cli/2.1.3_i686/speedtest_cli-2.1.3-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/speedtest_cli/2.1.3_x86_64/speedtest_cli-2.1.3-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: 'e0c2d3481a8130a64261b14ff26e3d1d6125ef04d5da09c25e0cd1b62e8b4ddf', + armv7l: 'e0c2d3481a8130a64261b14ff26e3d1d6125ef04d5da09c25e0cd1b62e8b4ddf', + i686: 'a6f8cfdb518de963d7735ba563ce65169219332e19c05b6dd0e6aee83d439fae', + x86_64: 'b4d4633bd515f1991b63ca982893d3648b1f7e5f7849ffdd0e97c73832f34a9f' + }) + + 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 diff --git a/packages/sphinx.rb b/packages/sphinx.rb index e46fbaffe..1e5d5f37d 100644 --- a/packages/sphinx.rb +++ b/packages/sphinx.rb @@ -1,34 +1,47 @@ require 'package' class Sphinx < Package - description 'Sphinx is a tool that makes it easy to create intelligent and beautiful documentation' - homepage 'http://www.sphinx-doc.org/en/master/' - version '3.2.1' + description 'Sphinx is a tool that makes it easy to create intelligent and beautiful documentation.' + homepage 'https://www.sphinx-doc.org/' + @_ver = '3.5.4' + version @_ver license 'BSD' compatibility 'all' - source_url 'https://github.com/sphinx-doc/sphinx/archive/v3.2.1.tar.gz' - source_sha256 '8816c90665b192b36c4482fb59819c276bae37ed275948fb2ab2ba873aa29d8a' + source_url 'https://github.com/sphinx-doc/sphinx.git' + git_hashtag "v#{@_ver}" - binary_url ({ - aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/sphinx/3.2.1_armv7l/sphinx-3.2.1-chromeos-armv7l.tar.xz', - armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/sphinx/3.2.1_armv7l/sphinx-3.2.1-chromeos-armv7l.tar.xz', - i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/sphinx/3.2.1_i686/sphinx-3.2.1-chromeos-i686.tar.xz', - x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/sphinx/3.2.1_x86_64/sphinx-3.2.1-chromeos-x86_64.tar.xz', + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/sphinx/3.5.4_armv7l/sphinx-3.5.4-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/sphinx/3.5.4_armv7l/sphinx-3.5.4-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/sphinx/3.5.4_x86_64/sphinx-3.5.4-chromeos-x86_64.tpxz' }) - binary_sha256 ({ - aarch64: 'b41731dc932880a677e23ae5d6d1fcb3a2b7bc0baecb6fe39c28d849789f98e9', - armv7l: 'b41731dc932880a677e23ae5d6d1fcb3a2b7bc0baecb6fe39c28d849789f98e9', - i686: 'de048c2762faff28134c1103097cdb9df02ecd2b078c256917f5b4169f5e5e15', - x86_64: '54effef8d4e749a5d88150867bc4f171d30bbe1c97d600364bd19a260129ef70', + binary_sha256({ + aarch64: 'fb9681f4dee30873ea30badb34773fd5cc8d4573138fc49964289f9c3a188171', + armv7l: 'fb9681f4dee30873ea30badb34773fd5cc8d4573138fc49964289f9c3a188171', + x86_64: 'a62fe2943fb8de064afa7613cd5cf6522b5a27b64cda434eeac79c49ce225b5b' }) - depends_on 'setuptools' + depends_on 'py3_jinja2' + depends_on 'py3_sphinxcontrib_devhelp' + depends_on 'py3_sphinxcontrib_applehelp' + depends_on 'py3_sphinxcontrib_jsmath' + depends_on 'py3_sphinxcontrib_serializinghtml' + depends_on 'py3_sphinxcontrib_qthelp' + depends_on 'py3_sphinxcontrib_htmlhelp' + depends_on 'py3_docutils' + depends_on 'py3_imagesize' + depends_on 'py3_requests' + depends_on 'py3_babel' + depends_on 'py3_alabaster' + depends_on 'py3_pygments' + depends_on 'py3_packaging' + depends_on 'py3_snowballstemmer' + + def self.build + system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}" + end def self.install - system 'git clone https://github.com/sphinx-doc/sphinx.git build' - Dir.chdir 'build' do - system "git checkout v#{version}" - system "pip install . --root #{CREW_DEST_DIR} --prefix #{CREW_PREFIX}" - end + system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}" end end diff --git a/packages/spice_gtk.rb b/packages/spice_gtk.rb index 2e240c74e..15a796b81 100644 --- a/packages/spice_gtk.rb +++ b/packages/spice_gtk.rb @@ -33,8 +33,8 @@ class Spice_gtk < Package depends_on 'gst_plugins_base' depends_on 'gst_plugins_good' depends_on 'gobject_introspection' => :build - depends_on 'pyparsing' => :build - depends_on 'pygments' => :build + depends_on 'py3_pygments' => :build + depends_on 'py3_pygments' => :build depends_on 'spice_protocol' => :build depends_on 'usbutils' => :build depends_on 'vala' => :build diff --git a/packages/sshuttle.rb b/packages/sshuttle.rb index 6e37d880f..95bb7eb73 100644 --- a/packages/sshuttle.rb +++ b/packages/sshuttle.rb @@ -2,27 +2,35 @@ require 'package' class Sshuttle < Package description 'Full-featured VPN over an SSH tunnel' - homepage 'https://github.com/sshuttle/sshuttle' - version '0.78.3' + homepage 'https://github.com/sshuttle/sshuttle/' + @_ver = '1.0.5' + version @_ver license 'LGPL-2.1+' compatibility 'all' - source_url 'https://github.com/sshuttle/sshuttle/archive/v0.78.3.tar.gz' - source_sha256 '62c18b4d89e654687247a334e0ebaec675d38dfbedc6863d8d65044d37241b0f' + source_url 'https://github.com/sshuttle/sshuttle.git' + git_hashtag "v#{@_ver}" - binary_url ({ - aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/sshuttle/0.78.3_armv7l/sshuttle-0.78.3-chromeos-armv7l.tar.xz', - armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/sshuttle/0.78.3_armv7l/sshuttle-0.78.3-chromeos-armv7l.tar.xz', - i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/sshuttle/0.78.3_i686/sshuttle-0.78.3-chromeos-i686.tar.xz', - x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/sshuttle/0.78.3_x86_64/sshuttle-0.78.3-chromeos-x86_64.tar.xz', + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/sshuttle/1.0.5_armv7l/sshuttle-1.0.5-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/sshuttle/1.0.5_armv7l/sshuttle-1.0.5-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/sshuttle/1.0.5_i686/sshuttle-1.0.5-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/sshuttle/1.0.5_x86_64/sshuttle-1.0.5-chromeos-x86_64.tpxz' }) - binary_sha256 ({ - aarch64: 'fad069cad984ae9a16cfe2109aa5e4f1b4af1435a9fd99075fe363d65b201348', - armv7l: 'fad069cad984ae9a16cfe2109aa5e4f1b4af1435a9fd99075fe363d65b201348', - i686: '5ffe9107c4521deeda7a3923badad164b022bdaa9dcfa2b42b6a03577c1bfb26', - x86_64: '190a0ae5caaf93289b624a7dacbbeb22bcba4c4987bedf5d04e5e7d65323f4fa', + binary_sha256({ + aarch64: 'f92a3bd7c8cc9d75d5579aa4a4f2bcfe6f7761783432ee0348cca63564029134', + armv7l: 'f92a3bd7c8cc9d75d5579aa4a4f2bcfe6f7761783432ee0348cca63564029134', + i686: 'f9bb6e927dc48be4d11b8c5bd224f803d9a03ff06a3050990c322fae20307462', + x86_64: '6453c1b70cc001fce9e695870d0c783c0fdfe9cbf1c69abffcc1772e1363b22f' }) + depends_on 'py3_psutil' + depends_on 'py3_setuptools' => :build + + def self.build + system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}" + end + def self.install - system "pip3 install sshuttle --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR}" + system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}" end end diff --git a/packages/stack.rb b/packages/stack.rb index 1ecc2fe85..02daff2d6 100644 --- a/packages/stack.rb +++ b/packages/stack.rb @@ -2,22 +2,30 @@ require 'package' class Stack < Package description 'The Haskell Tool Stack - Stack is a cross-platform program for developing Haskell projects. It is aimed at Haskellers both new and experienced.' - homepage 'https://docs.haskellstack.org/en/stable/README/' + homepage 'https://docs.haskellstack.org/' @_ver = '2.5.1' version @_ver license 'BSD' - compatibility 'x86_64' - + compatibility 'all' source_url "https://github.com/commercialhaskell/stack/releases/download/v#{@_ver}/stack-#{@_ver}-linux-x86_64.tar.gz" source_sha256 'c83b6c93d6541c0bce2175085a04062020f4160a86116e20f3b343b562f2d1e8' + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/stack/2.5.1_armv7l/stack-2.5.1-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/stack/2.5.1_armv7l/stack-2.5.1-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/stack/2.5.1_x86_64/stack-2.5.1-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '132f347c6b7f956938c8e4190e2828738e77422389247845d9437cb8fe821279', + armv7l: '132f347c6b7f956938c8e4190e2828738e77422389247845d9437cb8fe821279', + x86_64: '6b6c4ad3fbcaf3c1df90ff04820ee20c4ba90265a51e197aae3d4904cb3f9bf9' + }) + def self.install - FileUtils.mkdir_p CREW_DEST_HOME - FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/.stack" + FileUtils.mkdir_p "#{CREW_DEST_HOME}/.stack" system "install -Dm755 stack #{CREW_DEST_PREFIX}/bin/stack" - system "echo 'local-bin-path: #{CREW_PREFIX}/bin' > #{CREW_DEST_PREFIX}/.stack/config.yaml" - system "echo 'local-programs-path: #{CREW_PREFIX}/share/stack' >> #{CREW_DEST_PREFIX}/.stack/config.yaml" - FileUtils.ln_s "#{CREW_PREFIX}/.stack", "#{CREW_DEST_HOME}/.stack" + system "echo 'local-bin-path: #{CREW_PREFIX}/bin' > #{CREW_DEST_HOME}/.stack/config.yaml" + system "echo 'local-programs-path: #{CREW_PREFIX}/share/stack' >> #{CREW_DEST_HOME}/.stack/config.yaml" FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/etc/bash.d/" @env = <<~EOF @@ -29,9 +37,9 @@ class Stack < Package def self.remove puts - puts "To completely uninstall stack, execute the following:".lightblue + puts 'To completely uninstall stack, execute the following:'.lightblue puts "rm -rf #{CREW_PREFIX}/share/stack".lightblue - puts "rm -rf ~/.stack".lightblue + puts 'rm -rf ~/.stack'.lightblue puts end end diff --git a/packages/textract.rb b/packages/textract.rb index 5a9bc1d55..474649c37 100644 --- a/packages/textract.rb +++ b/packages/textract.rb @@ -1,32 +1,44 @@ require 'package' class Textract < Package - description 'Extract text from any document.' - homepage 'http://textract.readthedocs.io/en/stable/' - version '1.6.1' + description 'Textract provides text extracting tools for many formats.' + homepage 'http://textract.readthedocs.io/' + @_ver = '1.6.3' + version @_ver license 'MIT' compatibility 'all' - source_url 'https://github.com/deanmalmgren/textract/archive/v1.6.1.tar.gz' - source_sha256 '9e5e2132db126646031134f7a84efbf10f631a3d0fb56bc8881f67998890dfac' + source_url 'https://github.com/deanmalmgren/textract.git' + git_hashtag "v#{@_ver}" - binary_url ({ - aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/textract/1.6.1_armv7l/textract-1.6.1-chromeos-armv7l.tar.xz', - armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/textract/1.6.1_armv7l/textract-1.6.1-chromeos-armv7l.tar.xz', - i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/textract/1.6.1_i686/textract-1.6.1-chromeos-i686.tar.xz', - x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/textract/1.6.1_x86_64/textract-1.6.1-chromeos-x86_64.tar.xz', + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/textract/1.6.3_armv7l/textract-1.6.3-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/textract/1.6.3_armv7l/textract-1.6.3-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/textract/1.6.3_x86_64/textract-1.6.3-chromeos-x86_64.tpxz' }) - binary_sha256 ({ - aarch64: '77b0b5be2d908bf3e82e57e23c657edc4e556b87dc3d8790aba158e5509b87c7', - armv7l: '77b0b5be2d908bf3e82e57e23c657edc4e556b87dc3d8790aba158e5509b87c7', - i686: 'f5e52a3dcb931ad25d4847b47f41c50f9eee454d24169603c13f5cb800df59ca', - x86_64: '13e5933fe8082e152cdf80c661f85f9a425e2a303ace296cf82e8d302da39551', + binary_sha256({ + aarch64: '2acbe613d6da563b6d2448901a0aeae370e098cae979329d347cf2fc83b03d15', + armv7l: '2acbe613d6da563b6d2448901a0aeae370e098cae979329d347cf2fc83b03d15', + x86_64: '14e5dc95823db12a0f4cb9f355db91066f6a4314049a78d3fc82fa671aeb8f69' }) - depends_on 'setuptools' - depends_on 'pulseaudio' - depends_on 'swig' + depends_on 'py3_pdfminer_six' + depends_on 'py3_ebooklib' + depends_on 'py3_pptx' + depends_on 'py3_extract_msg' + depends_on 'py3_xlrd' + depends_on 'py3_docx2txt' + depends_on 'py3_argcomplete' + depends_on 'py3_speechrecognition' + depends_on 'py3_chardet' + depends_on 'py3_beautifulsoup4' + 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 "pip3 install textract --root #{CREW_DEST_DIR} --prefix #{CREW_PREFIX}" + system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}" end end diff --git a/packages/thefuck.rb b/packages/thefuck.rb index f0a9d2378..f46f8244e 100644 --- a/packages/thefuck.rb +++ b/packages/thefuck.rb @@ -1,19 +1,39 @@ require 'package' class Thefuck < Package - description 'Magnificent app which corrects your previous console command.' - homepage 'https://github.com/nvbn/thefuck' - version '3.26' + description 'Thef*ck is a magnificent app which corrects your previous console command.' + homepage 'https://github.com/nvbn/thefuck/' + @_ver = '3.30' + version @_ver license 'MIT' compatibility 'all' - source_url 'https://raw.githubusercontent.com/nvbn/thefuck/3.26/README.md' - source_sha256 '105e10e37c4c1430fe6bc3a48c9508254048721825ae14856d713de61c95bc66' + source_url 'https://github.com/nvbn/thefuck.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/thefuck/3.30_armv7l/thefuck-3.30-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/thefuck/3.30_armv7l/thefuck-3.30-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/thefuck/3.30_i686/thefuck-3.30-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/thefuck/3.30_x86_64/thefuck-3.30-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '69d4a4d1eafae79a1cac4e9f94b753f068bbf5cebc8a36ec5a8cea1d20b1eac2', + armv7l: '69d4a4d1eafae79a1cac4e9f94b753f068bbf5cebc8a36ec5a8cea1d20b1eac2', + i686: 'cd65fb828c278084da5723cfadce71ee345ca01f087fb0faa1e2637c1d0329ce', + x86_64: '80140c5fdbc5a5aa1629bb8b8272c0ef4e006e270e1eaf843530a7bdad9cb337' + }) + + depends_on 'py3_six' + depends_on 'py3_colorama' + depends_on 'py3_psutil' + depends_on 'py3_pyte' + depends_on 'py3_decorator' + + def self.build + system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}" + end def self.install - system "pip3 install thefuck --root #{CREW_DEST_DIR} --prefix #{CREW_PREFIX} --no-warn-script-location" - end - - def self.postinstall - system 'fuck && fuck' + system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}" end end diff --git a/packages/tox.rb b/packages/tox.rb deleted file mode 100644 index d95de5a7a..000000000 --- a/packages/tox.rb +++ /dev/null @@ -1,38 +0,0 @@ -require 'package' - -class Tox < Package - description 'tox aims to automate and standardize testing in Python.' - homepage 'https://tox.readthedocs.io/en/latest/' - version '3.4.0' - license 'MIT' - compatibility 'all' - source_url 'https://github.com/tox-dev/tox/archive/3.4.0.tar.gz' - source_sha256 '01171065c1628b5549c370a160979a04fef1de32aa9e39203aaa998057c03d11' - - binary_url ({ - aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/tox/3.4.0_armv7l/tox-3.4.0-chromeos-armv7l.tar.xz', - armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/tox/3.4.0_armv7l/tox-3.4.0-chromeos-armv7l.tar.xz', - i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/tox/3.4.0_i686/tox-3.4.0-chromeos-i686.tar.xz', - x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/tox/3.4.0_x86_64/tox-3.4.0-chromeos-x86_64.tar.xz', - }) - binary_sha256 ({ - aarch64: '39e24875f9ba6375d2bbc2d5318ad6b220209e38c2105d8fde3de7dc3f84ff1c', - armv7l: '39e24875f9ba6375d2bbc2d5318ad6b220209e38c2105d8fde3de7dc3f84ff1c', - i686: '2ff92015a93f1b8764d8b718fc74a8876090dd3ef3c847a90d400271cbfa2a47', - x86_64: '42f63319cae5fe4d78c217a5d3326b735b42503cd5a431198aafcece31dbc60f', - }) - - def self.install - system 'git clone https://github.com/tox-dev/tox.git' - Dir.chdir 'tox' do - system 'git checkout 3.4.0' - system "pip install . --root #{CREW_DEST_DIR} --prefix #{CREW_PREFIX}" - end - end - - def self.postinstall - puts - puts "To generate a tox.ini configuration file automatically, run 'tox-quickstart' and answer a few simple questions.".lightblue - puts - end -end diff --git a/packages/umockdev.rb b/packages/umockdev.rb index 1d9346955..e96aaeab2 100644 --- a/packages/umockdev.rb +++ b/packages/umockdev.rb @@ -25,7 +25,7 @@ class Umockdev < Package depends_on 'glib' depends_on 'libgudev' depends_on 'vala' => :build - depends_on 'six' => :build + depends_on 'py3_six' => :build def self.build system "./autogen.sh" diff --git a/packages/urlwatch.rb b/packages/urlwatch.rb index 9c0cd1258..92f434072 100644 --- a/packages/urlwatch.rb +++ b/packages/urlwatch.rb @@ -3,28 +3,38 @@ require 'package' class Urlwatch < Package description 'A tool for monitoring webpages for updates' homepage 'https://thp.io/2008/urlwatch/' - version '2.23' + @_ver = '2.23' + version "#{@_ver}-1" license 'BSD' compatibility 'all' - source_url 'https://github.com/thp/urlwatch/archive/2.23.tar.gz' - source_sha256 'b61997ec6229b2cb22b7121d0b666da91e524e212d126f55cd939d230daa5887' + source_url 'https://github.com/thp/urlwatch.git' + git_hashtag @_ver binary_url({ - aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/urlwatch/2.23_armv7l/urlwatch-2.23-chromeos-armv7l.tar.xz', - armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/urlwatch/2.23_armv7l/urlwatch-2.23-chromeos-armv7l.tar.xz', - i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/urlwatch/2.23_i686/urlwatch-2.23-chromeos-i686.tar.xz', - x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/urlwatch/2.23_x86_64/urlwatch-2.23-chromeos-x86_64.tar.xz' + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/urlwatch/2.23-1_armv7l/urlwatch-2.23-1-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/urlwatch/2.23-1_armv7l/urlwatch-2.23-1-chromeos-armv7l.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/urlwatch/2.23-1_x86_64/urlwatch-2.23-1-chromeos-x86_64.tpxz' }) binary_sha256({ - aarch64: '1f17b72ee478889438aa358a966b649523793f1c5c97fd19b4eaddaa5f75f7ed', - armv7l: '1f17b72ee478889438aa358a966b649523793f1c5c97fd19b4eaddaa5f75f7ed', - i686: '66a0c448752ed7a144e6e73967fb600d5f2784aab59b49279650a156d4cb8b92', - x86_64: '9d2629ab5d1172e48eb97bd074c5156a6fafe75d1f11a698a85a6cc84a87934c' + aarch64: 'f023114e10a107a326a2e813a937d404544c6e80c52720c70ecf556ecc63df54', + armv7l: 'f023114e10a107a326a2e813a937d404544c6e80c52720c70ecf556ecc63df54', + x86_64: 'a97f63ace9100a68c71a6c1cada31a65ed47d695367fe6cfff433141f8dffd17' }) + depends_on 'py3_lxml' + depends_on 'py3_cssselect' + depends_on 'py3_minidb' + depends_on 'py3_pyyaml' + depends_on 'py3_requests' + depends_on 'py3_appdirs' + depends_on 'py3_keyring' + depends_on 'py3_setuptools' => :build + + def self.build + system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}" + end + def self.install - system "CRYPTOGRAPHY_DONT_BUILD_RUST=1 pip3 install \ - --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR} -r requirements.txt" - system "python3 setup.py install --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR}" + system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}" end end diff --git a/packages/uwsgi.rb b/packages/uwsgi.rb index 1f8eadda1..f254b93fc 100644 --- a/packages/uwsgi.rb +++ b/packages/uwsgi.rb @@ -2,7 +2,7 @@ require 'package' class Uwsgi < Package description 'uWSGI application server container' - homepage 'https://uwsgi-docs.readthedocs.io/en/latest/' + homepage 'https://uwsgi-docs.readthedocs.io/' version '2.0.17' license 'GPL-2' compatibility 'all' diff --git a/packages/virtualenv.rb b/packages/virtualenv.rb deleted file mode 100644 index 7c5422258..000000000 --- a/packages/virtualenv.rb +++ /dev/null @@ -1,28 +0,0 @@ -require 'package' - -class Virtualenv < Package - description 'Virtual Python Environment builder' - homepage 'http://virtualenv.pypa.io/' - version '16.0.0' - license 'MIT' - compatibility 'all' - source_url 'https://github.com/pypa/virtualenv/archive/16.0.0.tar.gz' - source_sha256 '5a597f845cf785d46c3ae39d6cb18ef0b6af4ca366da40682364f78f7fe00d22' - - binary_url ({ - aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/virtualenv/16.0.0_armv7l/virtualenv-16.0.0-chromeos-armv7l.tar.xz', - armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/virtualenv/16.0.0_armv7l/virtualenv-16.0.0-chromeos-armv7l.tar.xz', - i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/virtualenv/16.0.0_i686/virtualenv-16.0.0-chromeos-i686.tar.xz', - x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/virtualenv/16.0.0_x86_64/virtualenv-16.0.0-chromeos-x86_64.tar.xz', - }) - binary_sha256 ({ - aarch64: 'e9399ce601f4676f9d7803e4f8198db69503b0f1103e4224f3154d162801543e', - armv7l: 'e9399ce601f4676f9d7803e4f8198db69503b0f1103e4224f3154d162801543e', - i686: '74d7b88a32424d818b5c9ef4d8dfbdf7e3db7b422f84ed440e7c13f6ab1517a9', - x86_64: 'bd8b5a48aadf9457287f95b5c99f33f0263fb3fbb026b1509affe46ed21faa9d', - }) - - def self.install - system "python3 setup.py install --root #{CREW_DEST_DIR} --prefix #{CREW_PREFIX}" - end -end diff --git a/packages/yamllint.rb b/packages/yamllint.rb deleted file mode 100644 index 75c098641..000000000 --- a/packages/yamllint.rb +++ /dev/null @@ -1,32 +0,0 @@ -require 'package' - -class Yamllint < Package - description 'A linter for YAML files.' - homepage 'https://github.com/adrienverge/yamllint' - version '1.11.1' - license 'GPL-3' - compatibility 'all' - source_url 'https://github.com/adrienverge/yamllint/archive/v1.11.1.tar.gz' - source_sha256 '56221b7c0a50b1619e491eb157624a5d1b160c1a4f019d64f117268f42fe4ca4' - - binary_url ({ - aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/yamllint/1.11.1_armv7l/yamllint-1.11.1-chromeos-armv7l.tar.xz', - armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/yamllint/1.11.1_armv7l/yamllint-1.11.1-chromeos-armv7l.tar.xz', - i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/yamllint/1.11.1_i686/yamllint-1.11.1-chromeos-i686.tar.xz', - x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/yamllint/1.11.1_x86_64/yamllint-1.11.1-chromeos-x86_64.tar.xz', - }) - binary_sha256 ({ - aarch64: '9798d172ec31c7b2c6b739dfd1177084c80aeb9ad15d129e3a84caed558bde54', - armv7l: '9798d172ec31c7b2c6b739dfd1177084c80aeb9ad15d129e3a84caed558bde54', - i686: '5cf8682e924268a750cd34433bb2a99698d8c31460c25495be924210617ba40f', - x86_64: 'fa88bcfa61c580b18e421518bd1f2078dcd2f8fc050e6c564643fdf46c074191', - }) - - def self.build - system 'python3 setup.py sdist' - end - - def self.install - system "pip3 install dist/yamllint-*.tar.gz --root #{CREW_DEST_DIR} --prefix #{CREW_PREFIX}" - end -end diff --git a/packages/yelp_tools.rb b/packages/yelp_tools.rb index dc68961ed..d899e9ccb 100644 --- a/packages/yelp_tools.rb +++ b/packages/yelp_tools.rb @@ -24,16 +24,16 @@ class Yelp_tools < Package depends_on 'yelp_xsl' depends_on 'libxslt' - depends_on 'lxml' + depends_on 'py3_lxml' def self.build - system "meson #{CREW_MESON_OPTIONS} \ + system "meson #{CREW_MESON_LTO_OPTIONS} \ 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 diff --git a/packages/youtube_dl.rb b/packages/youtube_dl.rb new file mode 100644 index 000000000..0a64eae62 --- /dev/null +++ b/packages/youtube_dl.rb @@ -0,0 +1,33 @@ +require 'package' + +class Youtube_dl < Package + description 'Command-line program to download videos from YouTube.com and other video sites' + homepage 'https://youtube-dl.org/' + @_ver = '2021.04.26' + version @_ver + license 'public-domain' + compatibility 'all' + source_url 'https://github.com/ytdl-org/youtube-dl.git' + git_hashtag @_ver + + binary_url({ + aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/youtube_dl/2021.04.26_armv7l/youtube_dl-2021.04.26-chromeos-armv7l.tpxz', + armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/youtube_dl/2021.04.26_armv7l/youtube_dl-2021.04.26-chromeos-armv7l.tpxz', + i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/youtube_dl/2021.04.26_i686/youtube_dl-2021.04.26-chromeos-i686.tpxz', + x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/youtube_dl/2021.04.26_x86_64/youtube_dl-2021.04.26-chromeos-x86_64.tpxz' + }) + binary_sha256({ + aarch64: '2f7b63cb9ddd138426d7e4a9e4407d3f5a55cc7658aa1cfd7bc7ce6b5406aae7', + armv7l: '2f7b63cb9ddd138426d7e4a9e4407d3f5a55cc7658aa1cfd7bc7ce6b5406aae7', + i686: '07207b9eec911b3bdd65d448bd6550c47f8fe57869130a93bff67fa5dcc7fcc9', + x86_64: 'f19905979e9a338c7e1d352dca6e83f6e119d853d67d6ca469db2156c59d9536' + }) + + 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 diff --git a/packages/youtubedl.rb b/packages/youtubedl.rb index 4393162d0..de32eaccb 100644 --- a/packages/youtubedl.rb +++ b/packages/youtubedl.rb @@ -1,28 +1,14 @@ require 'package' class Youtubedl < Package - description 'Command-line program to download videos from YouTube.com and other video sites' + description 'Legacy compatibility package for youtube_dl' homepage 'https://youtube-dl.org/' - version '2021.02.10' + @_ver = '2021.04.26' + version @_ver license 'public-domain' compatibility 'all' - source_url 'https://github.com/ytdl-org/youtube-dl/releases/download/2021.02.10/youtube-dl-2021.02.10.tar.gz' - source_sha256 'd607adf66b7047865733f7d05af9478118ee4dd974ef9f971563e11de7f29122' - binary_url ({ - aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/youtubedl/2021.02.10_armv7l/youtubedl-2021.02.10-chromeos-armv7l.tar.xz', - armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/youtubedl/2021.02.10_armv7l/youtubedl-2021.02.10-chromeos-armv7l.tar.xz', - i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/youtubedl/2021.02.10_i686/youtubedl-2021.02.10-chromeos-i686.tar.xz', - x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/youtubedl/2021.02.10_x86_64/youtubedl-2021.02.10-chromeos-x86_64.tar.xz', - }) - binary_sha256 ({ - aarch64: '595afef841f6baf7d61cbea4956804e010c1f34c15a631534fb069d113794301', - armv7l: '595afef841f6baf7d61cbea4956804e010c1f34c15a631534fb069d113794301', - i686: '7f5d197be7122f5a63e9cd4ed4f3450b1c61ff256b7b190cd4f059f3dbd5fab6', - x86_64: 'f03d9b99696b5a93be0a1f14271e90ed8ee1029b3d104e7b1d4be3af1b9a044d', - }) + is_fake - def self.install - system "pip install --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR} -I youtube-dl==#{version} --no-warn-script-location" - end + depends_on 'youtube_dl' end