mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
* Pip updates Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add wheel upload capability to crew. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * reupload i686 binary of py3_twine Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add :in_install. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Mention uri in uri download failed message. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Have gem maintenance use cleanup instead of pristine. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add binaries for py3_importlib_metadata Signed-off-by: Satadru Pramanik <satadru@gmail.com> * update scripts... Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Suggested changes. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * dogfooding build_updated_packages script to make more updates... Signed-off-by: Satadru Pramanik <satadru@gmail.com> * More changes to use CREW_GITLAB_PKG_REPO. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Suggested changes and tools updates. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Added a :prerelease property to buildsystems/pip because properties from package.rb are not seen by buildsystems/pip.rb Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add more binaries Signed-off-by: Satadru Pramanik <satadru@gmail.com> * update i686 hash Signed-off-by: Satadru Pramanik <satadru@gmail.com> * update last hash Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com>
23 lines
833 B
Ruby
23 lines
833 B
Ruby
require 'json'
|
|
|
|
# Add >LOCAL< lib to LOAD_PATH
|
|
$LOAD_PATH.unshift '../lib'
|
|
|
|
require_relative '../lib/const'
|
|
require_relative '../lib/package'
|
|
require_relative '../lib/package_utils'
|
|
|
|
output = []
|
|
|
|
Dir.glob('../packages/*.rb').each do |filename|
|
|
# docbook_xml runs code on loading that does not work when chromebrew is not installed.
|
|
# It shouldn't be doing that, but work around it for now.
|
|
next if filename.include?('docbook')
|
|
pkg = Package.load_package(filename)
|
|
# Skip fake or prerelease packages.
|
|
next if pkg.is_fake? || pkg.prerelease?
|
|
output << { name: File.basename(filename, '.rb'), description: pkg.description, homepage: pkg.homepage, version: PackageUtils.get_clean_version(+pkg.version), license: pkg.license, compatibility: pkg.compatibility }
|
|
end
|
|
|
|
File.write('repology.json', JSON.pretty_generate(output))
|