mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
Python 3.12.0 (#8728)
* Add python buildsystem * tk rebuild * Initial x86_64,i686 python 3.12 builds * update meson package * update python3 to have all compat * update packages * Add PYTHON env variable. * add arm build * update x86_64 binary * add i686 binary * update more packages * fixup * fixup * updates * fixup * updates * updates * refactor python buildsystem * refactor python buildsystem * adjust buildsystems/python * refactor buildsystems/python * refactor some core py3 packages * python package rebuilds * fix package versioning * update asciidoc * update libxml2 * update itstool and py3_libxml2 * boost => 1.83 * update gnome packages * update py3_pip * update xcb_proto * add pip buildsystem * py3_websockets using pip buildsystem * more pip updates * update cython, libnghttp2 * update py3_packaging, py3_pyparsing * rebuild libcaca * update talloc, tevent * update tdb * update lmdb * update py3_dnsmarkdown, py3_markdown * update ldb * fixup * fix cmake llvm dep * update py3_pyyaml * more llvm17 adjustments * update py3_pygments * fixup * smbclient => 4.19.0 * update py3_abimap * update py3_pytz * update py3_wcwidth py3_pyte * build py3_xlrd.rb py3_et_xmlfile.rb py3_openpyxl.rb py3_olefile.rb py3_babel.rb * py3_six * build py3_pyicu.rb py3_pytimeparse.rb py3_text_unidecode.rb py3_slugify.rb py3_isodate.rb py3_leather.rb py3_parsedatetime.rb py3_agate.rb py3_agate_excel.rb * update py3_packaging * py3_dbfread.rb py3_agate_dfb.rb py3_sqlalchemy.rb py3_agate_sql.rb * py3_alabaster.rb py3_argcomplete.rb py3_appdirs.rb py3_click.rb * add py3_soupsieve * rebuild gstreamer for libvpx, build py3_editables.rb py3_pathspec.rb py3_pluggy.rb py3_trove_classifiers.rb py3_hatchling.rb py3_hatch_vcs.rb py3_hatch_fancy_pypi_readme.rb py3_attrs.rb py3_beautifulsoup4.rb py3_dateutil.rb py3_arrow.rb * build py3_setuptools_scm.rb py3_semantic_version.rb py3_typing_extensions.rb py3_setuptools_rust.rb * rebuild qtbase * fixup packages * update cpython * make pip/python use nproc * update numpy, but remove binaries * Convert remaining python packages to pip without binaries * add new packages to packages.yaml * remove pip binaries * refactor pip * align pip update code betwen python3 and py3_pip * fixup * py3_pip needs building * adjust depends logic * refactor pip dependency * bump buildessential * bump version * cleanup * refactor pip * switch py3_build to pip * fixup depends ordering * add spacing before no_compile_needed * add missing no_compile_needed
This commit is contained in:
committed by
GitHub
parent
dfbda78fdf
commit
2d8645cd42
@@ -1,38 +1,30 @@
|
||||
require 'package'
|
||||
require 'buildsystems/python'
|
||||
|
||||
class Py3_pyicu < Package
|
||||
class Py3_pyicu < Python
|
||||
description 'PyICU is a Python extension wrapping the ICU C++ API.'
|
||||
homepage 'https://pyicu.org/'
|
||||
@_ver = '2.7.4'
|
||||
version "#{@_ver}-py3.11"
|
||||
@_ver = '2.11'
|
||||
version "#{@_ver}-py3.12"
|
||||
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.4-py3.11_armv7l/py3_pyicu-2.7.4-py3.11-chromeos-armv7l.tar.zst',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyicu/2.7.4-py3.11_armv7l/py3_pyicu-2.7.4-py3.11-chromeos-armv7l.tar.zst',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyicu/2.7.4-py3.11_i686/py3_pyicu-2.7.4-py3.11-chromeos-i686.tar.zst',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyicu/2.7.4-py3.11_x86_64/py3_pyicu-2.7.4-py3.11-chromeos-x86_64.tar.zst'
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyicu/2.11-py3.12_armv7l/py3_pyicu-2.11-py3.12-chromeos-armv7l.tar.zst',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyicu/2.11-py3.12_armv7l/py3_pyicu-2.11-py3.12-chromeos-armv7l.tar.zst',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyicu/2.11-py3.12_i686/py3_pyicu-2.11-py3.12-chromeos-i686.tar.zst',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_pyicu/2.11-py3.12_x86_64/py3_pyicu-2.11-py3.12-chromeos-x86_64.tar.zst'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '083890c5449a49253080d5d229df05a9a2fee92b18d631be62b4d994c52e5584',
|
||||
armv7l: '083890c5449a49253080d5d229df05a9a2fee92b18d631be62b4d994c52e5584',
|
||||
i686: '0678ca2c498d4d0f1b6adaf71f82f3e79ac5edb0455a37405add42e4c1a1d318',
|
||||
x86_64: 'c72cbc39569332967082b3d1e934aeb1823e494eadf8ea172d401e74b6a439c5'
|
||||
aarch64: 'd243b8816553c5445c02292bc1f54f3cc4cea42c44d8718f6ec52f1ceeacd147',
|
||||
armv7l: 'd243b8816553c5445c02292bc1f54f3cc4cea42c44d8718f6ec52f1ceeacd147',
|
||||
i686: '7823270efeb41822ba1b393f2ff01c05fcd0c2347993125cfc5afb1e76f9b978',
|
||||
x86_64: 'd9e0708f07bebe04073a36ac927243a79a9bdd2cd76aba58e5564302b34cc75e'
|
||||
})
|
||||
|
||||
depends_on 'python3' => :build
|
||||
depends_on 'gcc_lib' # R
|
||||
depends_on 'glibc' # R
|
||||
depends_on 'icu4c' # R
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user