From 28a4d9867d9517f3d04eb6b4b7489132f5f6deb7 Mon Sep 17 00:00:00 2001 From: "Satadru Pramanik, DO, MPH, MEng" Date: Tue, 10 Sep 2024 14:39:56 -0400 Subject: [PATCH] Python cleanups and updates. (#10447) Signed-off-by: Satadru Pramanik --- manifest/armv7l/p/py3_greenlet.filelist | 19 ++++++++++--------- manifest/armv7l/p/py3_pytest.filelist | 18 +++++++++--------- manifest/i686/p/py3_greenlet.filelist | 19 ++++++++++--------- manifest/i686/p/py3_pytest.filelist | 18 +++++++++--------- manifest/x86_64/p/py3_greenlet.filelist | 19 ++++++++++--------- manifest/x86_64/p/py3_pytest.filelist | 18 +++++++++--------- packages/core.rb | 4 +++- packages/py3_devedeng.rb | 2 -- packages/py3_greenlet.rb | 10 +++++----- packages/py3_pytest.rb | 10 +++++----- packages/ruby_ruby_libversion.rb | 12 ++++++++++++ packages/sqlmap.rb | 2 +- tools/core_packages.txt | 1 + tools/packages.yaml | 5 +++++ tools/update_python_pip_packages.rb | 4 ++-- tools/update_ruby_gem_packages.rb | 4 ++-- 16 files changed, 93 insertions(+), 72 deletions(-) create mode 100644 packages/ruby_ruby_libversion.rb diff --git a/manifest/armv7l/p/py3_greenlet.filelist b/manifest/armv7l/p/py3_greenlet.filelist index db39c89c9..e3646fefe 100644 --- a/manifest/armv7l/p/py3_greenlet.filelist +++ b/manifest/armv7l/p/py3_greenlet.filelist @@ -1,13 +1,13 @@ /usr/local/include/python3.12/greenlet/greenlet.h -/usr/local/lib/python3.12/site-packages/greenlet-3.0.3.dist-info/AUTHORS -/usr/local/lib/python3.12/site-packages/greenlet-3.0.3.dist-info/INSTALLER -/usr/local/lib/python3.12/site-packages/greenlet-3.0.3.dist-info/LICENSE -/usr/local/lib/python3.12/site-packages/greenlet-3.0.3.dist-info/LICENSE.PSF -/usr/local/lib/python3.12/site-packages/greenlet-3.0.3.dist-info/METADATA -/usr/local/lib/python3.12/site-packages/greenlet-3.0.3.dist-info/RECORD -/usr/local/lib/python3.12/site-packages/greenlet-3.0.3.dist-info/REQUESTED -/usr/local/lib/python3.12/site-packages/greenlet-3.0.3.dist-info/WHEEL -/usr/local/lib/python3.12/site-packages/greenlet-3.0.3.dist-info/top_level.txt +/usr/local/lib/python3.12/site-packages/greenlet-3.1.0.dist-info/AUTHORS +/usr/local/lib/python3.12/site-packages/greenlet-3.1.0.dist-info/INSTALLER +/usr/local/lib/python3.12/site-packages/greenlet-3.1.0.dist-info/LICENSE +/usr/local/lib/python3.12/site-packages/greenlet-3.1.0.dist-info/LICENSE.PSF +/usr/local/lib/python3.12/site-packages/greenlet-3.1.0.dist-info/METADATA +/usr/local/lib/python3.12/site-packages/greenlet-3.1.0.dist-info/RECORD +/usr/local/lib/python3.12/site-packages/greenlet-3.1.0.dist-info/REQUESTED +/usr/local/lib/python3.12/site-packages/greenlet-3.1.0.dist-info/WHEEL +/usr/local/lib/python3.12/site-packages/greenlet-3.1.0.dist-info/top_level.txt /usr/local/lib/python3.12/site-packages/greenlet/TBrokenGreenlet.cpp /usr/local/lib/python3.12/site-packages/greenlet/TExceptionState.cpp /usr/local/lib/python3.12/site-packages/greenlet/TGreenlet.cpp @@ -57,6 +57,7 @@ /usr/local/lib/python3.12/site-packages/greenlet/platform/switch_ppc_unix.h /usr/local/lib/python3.12/site-packages/greenlet/platform/switch_riscv_unix.h /usr/local/lib/python3.12/site-packages/greenlet/platform/switch_s390_unix.h +/usr/local/lib/python3.12/site-packages/greenlet/platform/switch_sh_gcc.h /usr/local/lib/python3.12/site-packages/greenlet/platform/switch_sparc_sun_gcc.h /usr/local/lib/python3.12/site-packages/greenlet/platform/switch_x32_unix.h /usr/local/lib/python3.12/site-packages/greenlet/platform/switch_x64_masm.asm diff --git a/manifest/armv7l/p/py3_pytest.filelist b/manifest/armv7l/p/py3_pytest.filelist index 58c5fd100..8fedbec5c 100644 --- a/manifest/armv7l/p/py3_pytest.filelist +++ b/manifest/armv7l/p/py3_pytest.filelist @@ -139,15 +139,15 @@ /usr/local/lib/python3.12/site-packages/_pytest/warning_types.py /usr/local/lib/python3.12/site-packages/_pytest/warnings.py /usr/local/lib/python3.12/site-packages/py.py -/usr/local/lib/python3.12/site-packages/pytest-8.3.2.dist-info/AUTHORS -/usr/local/lib/python3.12/site-packages/pytest-8.3.2.dist-info/INSTALLER -/usr/local/lib/python3.12/site-packages/pytest-8.3.2.dist-info/LICENSE -/usr/local/lib/python3.12/site-packages/pytest-8.3.2.dist-info/METADATA -/usr/local/lib/python3.12/site-packages/pytest-8.3.2.dist-info/RECORD -/usr/local/lib/python3.12/site-packages/pytest-8.3.2.dist-info/REQUESTED -/usr/local/lib/python3.12/site-packages/pytest-8.3.2.dist-info/WHEEL -/usr/local/lib/python3.12/site-packages/pytest-8.3.2.dist-info/entry_points.txt -/usr/local/lib/python3.12/site-packages/pytest-8.3.2.dist-info/top_level.txt +/usr/local/lib/python3.12/site-packages/pytest-8.3.3.dist-info/AUTHORS +/usr/local/lib/python3.12/site-packages/pytest-8.3.3.dist-info/INSTALLER +/usr/local/lib/python3.12/site-packages/pytest-8.3.3.dist-info/LICENSE +/usr/local/lib/python3.12/site-packages/pytest-8.3.3.dist-info/METADATA +/usr/local/lib/python3.12/site-packages/pytest-8.3.3.dist-info/RECORD +/usr/local/lib/python3.12/site-packages/pytest-8.3.3.dist-info/REQUESTED +/usr/local/lib/python3.12/site-packages/pytest-8.3.3.dist-info/WHEEL +/usr/local/lib/python3.12/site-packages/pytest-8.3.3.dist-info/entry_points.txt +/usr/local/lib/python3.12/site-packages/pytest-8.3.3.dist-info/top_level.txt /usr/local/lib/python3.12/site-packages/pytest/__init__.py /usr/local/lib/python3.12/site-packages/pytest/__main__.py /usr/local/lib/python3.12/site-packages/pytest/__pycache__/__init__.cpython-312.pyc diff --git a/manifest/i686/p/py3_greenlet.filelist b/manifest/i686/p/py3_greenlet.filelist index 151fa7c14..8d702e4d4 100644 --- a/manifest/i686/p/py3_greenlet.filelist +++ b/manifest/i686/p/py3_greenlet.filelist @@ -1,13 +1,13 @@ /usr/local/include/python3.12/greenlet/greenlet.h -/usr/local/lib/python3.12/site-packages/greenlet-3.0.3.dist-info/AUTHORS -/usr/local/lib/python3.12/site-packages/greenlet-3.0.3.dist-info/INSTALLER -/usr/local/lib/python3.12/site-packages/greenlet-3.0.3.dist-info/LICENSE -/usr/local/lib/python3.12/site-packages/greenlet-3.0.3.dist-info/LICENSE.PSF -/usr/local/lib/python3.12/site-packages/greenlet-3.0.3.dist-info/METADATA -/usr/local/lib/python3.12/site-packages/greenlet-3.0.3.dist-info/RECORD -/usr/local/lib/python3.12/site-packages/greenlet-3.0.3.dist-info/REQUESTED -/usr/local/lib/python3.12/site-packages/greenlet-3.0.3.dist-info/WHEEL -/usr/local/lib/python3.12/site-packages/greenlet-3.0.3.dist-info/top_level.txt +/usr/local/lib/python3.12/site-packages/greenlet-3.1.0.dist-info/AUTHORS +/usr/local/lib/python3.12/site-packages/greenlet-3.1.0.dist-info/INSTALLER +/usr/local/lib/python3.12/site-packages/greenlet-3.1.0.dist-info/LICENSE +/usr/local/lib/python3.12/site-packages/greenlet-3.1.0.dist-info/LICENSE.PSF +/usr/local/lib/python3.12/site-packages/greenlet-3.1.0.dist-info/METADATA +/usr/local/lib/python3.12/site-packages/greenlet-3.1.0.dist-info/RECORD +/usr/local/lib/python3.12/site-packages/greenlet-3.1.0.dist-info/REQUESTED +/usr/local/lib/python3.12/site-packages/greenlet-3.1.0.dist-info/WHEEL +/usr/local/lib/python3.12/site-packages/greenlet-3.1.0.dist-info/top_level.txt /usr/local/lib/python3.12/site-packages/greenlet/TBrokenGreenlet.cpp /usr/local/lib/python3.12/site-packages/greenlet/TExceptionState.cpp /usr/local/lib/python3.12/site-packages/greenlet/TGreenlet.cpp @@ -57,6 +57,7 @@ /usr/local/lib/python3.12/site-packages/greenlet/platform/switch_ppc_unix.h /usr/local/lib/python3.12/site-packages/greenlet/platform/switch_riscv_unix.h /usr/local/lib/python3.12/site-packages/greenlet/platform/switch_s390_unix.h +/usr/local/lib/python3.12/site-packages/greenlet/platform/switch_sh_gcc.h /usr/local/lib/python3.12/site-packages/greenlet/platform/switch_sparc_sun_gcc.h /usr/local/lib/python3.12/site-packages/greenlet/platform/switch_x32_unix.h /usr/local/lib/python3.12/site-packages/greenlet/platform/switch_x64_masm.asm diff --git a/manifest/i686/p/py3_pytest.filelist b/manifest/i686/p/py3_pytest.filelist index 58c5fd100..8fedbec5c 100644 --- a/manifest/i686/p/py3_pytest.filelist +++ b/manifest/i686/p/py3_pytest.filelist @@ -139,15 +139,15 @@ /usr/local/lib/python3.12/site-packages/_pytest/warning_types.py /usr/local/lib/python3.12/site-packages/_pytest/warnings.py /usr/local/lib/python3.12/site-packages/py.py -/usr/local/lib/python3.12/site-packages/pytest-8.3.2.dist-info/AUTHORS -/usr/local/lib/python3.12/site-packages/pytest-8.3.2.dist-info/INSTALLER -/usr/local/lib/python3.12/site-packages/pytest-8.3.2.dist-info/LICENSE -/usr/local/lib/python3.12/site-packages/pytest-8.3.2.dist-info/METADATA -/usr/local/lib/python3.12/site-packages/pytest-8.3.2.dist-info/RECORD -/usr/local/lib/python3.12/site-packages/pytest-8.3.2.dist-info/REQUESTED -/usr/local/lib/python3.12/site-packages/pytest-8.3.2.dist-info/WHEEL -/usr/local/lib/python3.12/site-packages/pytest-8.3.2.dist-info/entry_points.txt -/usr/local/lib/python3.12/site-packages/pytest-8.3.2.dist-info/top_level.txt +/usr/local/lib/python3.12/site-packages/pytest-8.3.3.dist-info/AUTHORS +/usr/local/lib/python3.12/site-packages/pytest-8.3.3.dist-info/INSTALLER +/usr/local/lib/python3.12/site-packages/pytest-8.3.3.dist-info/LICENSE +/usr/local/lib/python3.12/site-packages/pytest-8.3.3.dist-info/METADATA +/usr/local/lib/python3.12/site-packages/pytest-8.3.3.dist-info/RECORD +/usr/local/lib/python3.12/site-packages/pytest-8.3.3.dist-info/REQUESTED +/usr/local/lib/python3.12/site-packages/pytest-8.3.3.dist-info/WHEEL +/usr/local/lib/python3.12/site-packages/pytest-8.3.3.dist-info/entry_points.txt +/usr/local/lib/python3.12/site-packages/pytest-8.3.3.dist-info/top_level.txt /usr/local/lib/python3.12/site-packages/pytest/__init__.py /usr/local/lib/python3.12/site-packages/pytest/__main__.py /usr/local/lib/python3.12/site-packages/pytest/__pycache__/__init__.cpython-312.pyc diff --git a/manifest/x86_64/p/py3_greenlet.filelist b/manifest/x86_64/p/py3_greenlet.filelist index 4a9eb0b07..f8b8ac87c 100644 --- a/manifest/x86_64/p/py3_greenlet.filelist +++ b/manifest/x86_64/p/py3_greenlet.filelist @@ -1,13 +1,13 @@ /usr/local/include/python3.12/greenlet/greenlet.h -/usr/local/lib64/python3.12/site-packages/greenlet-3.0.3.dist-info/AUTHORS -/usr/local/lib64/python3.12/site-packages/greenlet-3.0.3.dist-info/INSTALLER -/usr/local/lib64/python3.12/site-packages/greenlet-3.0.3.dist-info/LICENSE -/usr/local/lib64/python3.12/site-packages/greenlet-3.0.3.dist-info/LICENSE.PSF -/usr/local/lib64/python3.12/site-packages/greenlet-3.0.3.dist-info/METADATA -/usr/local/lib64/python3.12/site-packages/greenlet-3.0.3.dist-info/RECORD -/usr/local/lib64/python3.12/site-packages/greenlet-3.0.3.dist-info/REQUESTED -/usr/local/lib64/python3.12/site-packages/greenlet-3.0.3.dist-info/WHEEL -/usr/local/lib64/python3.12/site-packages/greenlet-3.0.3.dist-info/top_level.txt +/usr/local/lib64/python3.12/site-packages/greenlet-3.1.0.dist-info/AUTHORS +/usr/local/lib64/python3.12/site-packages/greenlet-3.1.0.dist-info/INSTALLER +/usr/local/lib64/python3.12/site-packages/greenlet-3.1.0.dist-info/LICENSE +/usr/local/lib64/python3.12/site-packages/greenlet-3.1.0.dist-info/LICENSE.PSF +/usr/local/lib64/python3.12/site-packages/greenlet-3.1.0.dist-info/METADATA +/usr/local/lib64/python3.12/site-packages/greenlet-3.1.0.dist-info/RECORD +/usr/local/lib64/python3.12/site-packages/greenlet-3.1.0.dist-info/REQUESTED +/usr/local/lib64/python3.12/site-packages/greenlet-3.1.0.dist-info/WHEEL +/usr/local/lib64/python3.12/site-packages/greenlet-3.1.0.dist-info/top_level.txt /usr/local/lib64/python3.12/site-packages/greenlet/TBrokenGreenlet.cpp /usr/local/lib64/python3.12/site-packages/greenlet/TExceptionState.cpp /usr/local/lib64/python3.12/site-packages/greenlet/TGreenlet.cpp @@ -57,6 +57,7 @@ /usr/local/lib64/python3.12/site-packages/greenlet/platform/switch_ppc_unix.h /usr/local/lib64/python3.12/site-packages/greenlet/platform/switch_riscv_unix.h /usr/local/lib64/python3.12/site-packages/greenlet/platform/switch_s390_unix.h +/usr/local/lib64/python3.12/site-packages/greenlet/platform/switch_sh_gcc.h /usr/local/lib64/python3.12/site-packages/greenlet/platform/switch_sparc_sun_gcc.h /usr/local/lib64/python3.12/site-packages/greenlet/platform/switch_x32_unix.h /usr/local/lib64/python3.12/site-packages/greenlet/platform/switch_x64_masm.asm diff --git a/manifest/x86_64/p/py3_pytest.filelist b/manifest/x86_64/p/py3_pytest.filelist index 58c5fd100..8fedbec5c 100644 --- a/manifest/x86_64/p/py3_pytest.filelist +++ b/manifest/x86_64/p/py3_pytest.filelist @@ -139,15 +139,15 @@ /usr/local/lib/python3.12/site-packages/_pytest/warning_types.py /usr/local/lib/python3.12/site-packages/_pytest/warnings.py /usr/local/lib/python3.12/site-packages/py.py -/usr/local/lib/python3.12/site-packages/pytest-8.3.2.dist-info/AUTHORS -/usr/local/lib/python3.12/site-packages/pytest-8.3.2.dist-info/INSTALLER -/usr/local/lib/python3.12/site-packages/pytest-8.3.2.dist-info/LICENSE -/usr/local/lib/python3.12/site-packages/pytest-8.3.2.dist-info/METADATA -/usr/local/lib/python3.12/site-packages/pytest-8.3.2.dist-info/RECORD -/usr/local/lib/python3.12/site-packages/pytest-8.3.2.dist-info/REQUESTED -/usr/local/lib/python3.12/site-packages/pytest-8.3.2.dist-info/WHEEL -/usr/local/lib/python3.12/site-packages/pytest-8.3.2.dist-info/entry_points.txt -/usr/local/lib/python3.12/site-packages/pytest-8.3.2.dist-info/top_level.txt +/usr/local/lib/python3.12/site-packages/pytest-8.3.3.dist-info/AUTHORS +/usr/local/lib/python3.12/site-packages/pytest-8.3.3.dist-info/INSTALLER +/usr/local/lib/python3.12/site-packages/pytest-8.3.3.dist-info/LICENSE +/usr/local/lib/python3.12/site-packages/pytest-8.3.3.dist-info/METADATA +/usr/local/lib/python3.12/site-packages/pytest-8.3.3.dist-info/RECORD +/usr/local/lib/python3.12/site-packages/pytest-8.3.3.dist-info/REQUESTED +/usr/local/lib/python3.12/site-packages/pytest-8.3.3.dist-info/WHEEL +/usr/local/lib/python3.12/site-packages/pytest-8.3.3.dist-info/entry_points.txt +/usr/local/lib/python3.12/site-packages/pytest-8.3.3.dist-info/top_level.txt /usr/local/lib/python3.12/site-packages/pytest/__init__.py /usr/local/lib/python3.12/site-packages/pytest/__main__.py /usr/local/lib/python3.12/site-packages/pytest/__pycache__/__init__.cpython-312.pyc diff --git a/packages/core.rb b/packages/core.rb index b112281e6..88e9c29f4 100644 --- a/packages/core.rb +++ b/packages/core.rb @@ -3,7 +3,7 @@ require 'package' class Core < Package description 'Core Chromebrew Packages.' homepage 'https://github.com/chromebrew/chromebrew' - version '2.7' + version '2.8' license 'GPL-3+' compatibility 'all' @@ -82,6 +82,8 @@ class Core < Package depends_on 'ruby_concurrent_ruby' # For use in ruby prompts. depends_on 'ruby_highline' + # crew check -V breaks without this. + depends_on 'ruby_ruby_libversion' # This contains the debugger config files. depends_on 'ruby_pry' depends_on 'slang' diff --git a/packages/py3_devedeng.rb b/packages/py3_devedeng.rb index af8c7a709..618213dfc 100644 --- a/packages/py3_devedeng.rb +++ b/packages/py3_devedeng.rb @@ -21,8 +21,6 @@ class Py3_devedeng < Python depends_on 'py3_pygobject' depends_on 'gtk3' - no_source_build - python_install_extras do FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/bin" FileUtils.ln_s "#{CREW_PREFIX}/bin/devede_ng.py", "#{CREW_DEST_PREFIX}/bin/devede" diff --git a/packages/py3_greenlet.rb b/packages/py3_greenlet.rb index 3569bd482..dc6308d78 100644 --- a/packages/py3_greenlet.rb +++ b/packages/py3_greenlet.rb @@ -3,17 +3,17 @@ require 'buildsystems/pip' class Py3_greenlet < Pip description 'Greenlet provides lightweight in-process concurrent programming.' homepage 'https://greenlet.readthedocs.io/' - version '3.0.3-py3.12' + version '3.1.0-py3.12' license 'MIT' compatibility 'all' source_url 'SKIP' binary_compression 'tar.zst' binary_sha256({ - aarch64: '121f47fd65b5c2848a8d76e2a6e3b9eedd3984edce665982b02508da5e981433', - armv7l: '121f47fd65b5c2848a8d76e2a6e3b9eedd3984edce665982b02508da5e981433', - i686: 'f820171ae93ed40ac6ed144dec475f074fa5db0517709141a749f485be147d2f', - x86_64: '89d562600c573954e61e41536f6291916f0a4b5dd31b06fed0991bc51a16c3e4' + aarch64: 'bbbbe875271df36fb53cea0ee1d73a25b96d62b851c919e0812fe8e11adaabdc', + armv7l: 'bbbbe875271df36fb53cea0ee1d73a25b96d62b851c919e0812fe8e11adaabdc', + i686: '55128e14f3bf4692025639fd9496c35e35486cdc1fd0e1e59471c3a55c52dd75', + x86_64: '3350e5a95c18998e099bff279a8af3985d05fd7f405b270825bdb75c70d1f277' }) depends_on 'gcc_lib' # R diff --git a/packages/py3_pytest.rb b/packages/py3_pytest.rb index 0f634fe58..9a120089b 100644 --- a/packages/py3_pytest.rb +++ b/packages/py3_pytest.rb @@ -3,17 +3,17 @@ require 'buildsystems/pip' class Py3_pytest < Pip description 'Pytest is simple powerful testing with Python.' homepage 'https://pytest.org/' - version '8.3.2-py3.12' + version '8.3.3-py3.12' license 'MIT' compatibility 'all' source_url 'SKIP' binary_compression 'tar.zst' binary_sha256({ - aarch64: 'b7fa4f12353a410ead3080ceb0cb793a49db3d7a82c6773b961ddbfcdc5961b3', - armv7l: 'b7fa4f12353a410ead3080ceb0cb793a49db3d7a82c6773b961ddbfcdc5961b3', - i686: 'ca93a4515d6354566fe5d9c18e375a093d64da218deebd106c6fa8f9cde172ae', - x86_64: 'ab8baec5f7694de8cdb61f745bfddbffc49f1c48bc9832356d584a1a05ca128a' + aarch64: 'e90653cbfd8934bedb4655355de94f9df049d758049ca7001f76385ce79fb5af', + armv7l: 'e90653cbfd8934bedb4655355de94f9df049d758049ca7001f76385ce79fb5af', + i686: 'd21d1cc1dddda071b61e9ce5aa9515e44a3c39220f2c44d64b38adbbbe1b9859', + x86_64: '0b610d1b2fcb8fbb0b2cc1d048657f0e6bf51133c53926e1174ac7f5bdcf3507' }) depends_on 'py3_py' diff --git a/packages/ruby_ruby_libversion.rb b/packages/ruby_ruby_libversion.rb new file mode 100644 index 000000000..a64db0ac7 --- /dev/null +++ b/packages/ruby_ruby_libversion.rb @@ -0,0 +1,12 @@ +require 'buildsystems/ruby' + +class Ruby_ruby_libversion < RUBY + description 'Ruby bindings for libversion.' + homepage 'https://github.com/Zopolis4/ruby-libversion' + version '1.0.0-ruby-3.3' + license 'MIT' + compatibility 'all' + source_url 'SKIP' + + no_compile_needed +end diff --git a/packages/sqlmap.rb b/packages/sqlmap.rb index b0ac799bf..6cf980d60 100644 --- a/packages/sqlmap.rb +++ b/packages/sqlmap.rb @@ -3,7 +3,7 @@ require 'buildsystems/pip' class Sqlmap < Pip description 'sqlmap is an open source penetration testing tool that automates the process of detecting and exploiting SQL injection flaws and taking over of database servers.' homepage 'https://sqlmap.org/' - version '1.8.8-py3.12' + version '1.8.9-py3.12' license 'GPL-2' compatibility 'all' source_url 'SKIP' diff --git a/tools/core_packages.txt b/tools/core_packages.txt index f305adbc9..76c63710a 100644 --- a/tools/core_packages.txt +++ b/tools/core_packages.txt @@ -150,6 +150,7 @@ ruby_highline ruby_mdl ruby_pry ruby_rubocop +ruby_ruby_libversion ruby_yaml_lint samurai sed diff --git a/tools/packages.yaml b/tools/packages.yaml index 6f11a6595..6cc3fe4c8 100644 --- a/tools/packages.yaml +++ b/tools/packages.yaml @@ -7906,6 +7906,11 @@ url: https://github.com/rubocop/rubocop/releases activity: medium --- kind: url +name: ruby_ruby_libversion +url: https://github.com/Zopolis4/ruby-libversion/tags +activity: medium +--- +kind: url name: ruby_webrick url: https://github.com/ruby/webrick/releases activity: medium diff --git a/tools/update_python_pip_packages.rb b/tools/update_python_pip_packages.rb index 20abe6d51..fd12fbb69 100755 --- a/tools/update_python_pip_packages.rb +++ b/tools/update_python_pip_packages.rb @@ -1,5 +1,5 @@ #!/usr/bin/env ruby -# update_python_pip_packages version 1.0 (for Chromebrew) +# update_python_pip_packages version 1.1 (for Chromebrew) # Author: Satadru Pramanik (satmandu) satadru at gmail dot com # Usage in packages dir: ../tools/update_python_pip_packages.rb require 'parallel' @@ -9,7 +9,7 @@ py3_files = Dir['py3_*.rb'] pip_files = `grep -l "^require 'buildsystems/pip'" *.rb`.chomp.split relevant_pip_files = (py3_files + pip_files).uniq! Parallel.map(relevant_pip_files) do |package| - pip_name = package.gsub('.rb', '').gsub('py3_', '').gsub('_', '-') + pip_name = package.gsub('.rb', '').sub('py3_', '').gsub('_', '-') pip_version = `python -m pip index versions #{pip_name} 2>/dev/null | head -n 1 | awk '{print $2}'`.chomp.delete('()') puts "#{pip_name} version is #{pip_version}" if pip_version.empty? diff --git a/tools/update_ruby_gem_packages.rb b/tools/update_ruby_gem_packages.rb index cbcfb0569..6ff741841 100755 --- a/tools/update_ruby_gem_packages.rb +++ b/tools/update_ruby_gem_packages.rb @@ -1,11 +1,11 @@ #!/usr/bin/env ruby -# update_ruby_gem_packages version 1.1 (for Chromebrew) +# update_ruby_gem_packages version 1.2 (for Chromebrew) # Author: Satadru Pramanik (satmandu) satadru at gmail dot com # Usage in packages dir: ../tools/update_ruby_gem_packages.rb require 'parallel' Parallel.map(Dir['ruby_*.rb']) do |package| - gem_name = package.gsub('.rb', '').gsub('ruby_', '').gsub('_', '-') + gem_name = package.gsub('.rb', '').sub('ruby_', '').gsub('_', '-') gem_version = Gem.latest_spec_for(gem_name).version.to_s puts "Updating #{gem_name} package file #{package} to #{gem_version}" system "sed -i \"s,^\ \ version\ .*,\ \ version '#{gem_version}-ruby-#{RUBY_VERSION.slice(/(?:.*(?=\.))/)}',\" #{package}"