forked from omniti-labs/omnios-build
-
-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3759 from citrus-it/py313
Python 3.13 bringup
- Loading branch information
Showing
126 changed files
with
8,656 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
|
||
Python module dependencies | ||
-------------------------- | ||
|
||
setuptools | ||
pip (and pip depends on setuptools! See "Bootstrap" below) | ||
|
||
pkg | ||
cryptography | ||
setuptools-rust | ||
semantic-version | ||
typing-extensions | ||
tomli | ||
six | ||
cffi | ||
pycparser | ||
asn1crypto | ||
idna | ||
jsonrpclib | ||
jsonschema | ||
attrs | ||
pyrsistent | ||
js-regex | ||
orjson | ||
pycurl | ||
rapidjson | ||
coverage | ||
pyopenssl | ||
cryptography | ||
|
||
bhyve (brand) | ||
pyyaml | ||
|
||
glib2 | ||
meson | ||
packaging | ||
|
||
|
||
Bootstrap | ||
--------- | ||
|
||
To bootstrap modules for a new python version, build 'setuptools' and 'pip' | ||
with the '-f bootstrap' flag, and install these bootstrap packages: | ||
|
||
for m in setuptools pip; do | ||
{ cd $m; ./build.sh -f bootstrap -blt; } | ||
done | ||
pfexec pkg install {pip,setuptools}-3XX-bootstrap | ||
|
||
then build again, without the bootstrap flag: | ||
|
||
for m in setuptools pip; do | ||
{ cd $m; ./build.sh -blt; } | ||
done | ||
|
||
and finally switch out the bootstrap packages for the real ones: | ||
|
||
pfexec pkg install --reject pip-3XX-bootstrap pip-3XX | ||
pfexec pkg install --reject setuptools-3XX-bootstrap setuptools-3XX | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#!/usr/bin/bash | ||
# | ||
# {{{ CDDL HEADER | ||
# | ||
# This file and its contents are supplied under the terms of the | ||
# Common Development and Distribution License ("CDDL"), version 1.0. | ||
# You may only use this file in accordance with the terms of version | ||
# 1.0 of the CDDL. | ||
# | ||
# A full copy of the text of the CDDL should have accompanied this | ||
# source. A copy of the CDDL is also available via the Internet at | ||
# http://www.illumos.org/license/CDDL. | ||
# }}} | ||
# | ||
# Copyright 2024 OmniOS Community Edition (OmniOSce) Association. | ||
|
||
. ../../../lib/build.sh | ||
|
||
PKG=library/python-3/asn1crypto-313 | ||
PROG=asn1crypto | ||
inherit_ver python312/asn1crypto | ||
SUMMARY="asn1crypto - Fast ASN.1 parser..." | ||
DESC="$SUMMARY" | ||
|
||
. $SRCDIR/../common.sh | ||
|
||
BUILD_DEPENDS_IPS+="library/python-$PYMVER/setuptools-$SPYVER" | ||
|
||
init | ||
download_source pymodules/$PROG $PROG $VER | ||
patch_source | ||
prep_build | ||
python_build | ||
make_package | ||
clean_up | ||
|
||
# Vim hints | ||
# vim:ts=4:sw=4:et:fdm=marker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# | ||
# This file and its contents are supplied under the terms of the | ||
# Common Development and Distribution License ("CDDL"), version 1.0. | ||
# You may only use this file in accordance with the terms of version | ||
# 1.0 of the CDDL. | ||
# | ||
# A full copy of the text of the CDDL should have accompanied this | ||
# source. A copy of the CDDL is also available via the Internet at | ||
# http://www.illumos.org/license/CDDL. | ||
|
||
# Copyright 2019 OmniOS Community Edition (OmniOSce) Association. | ||
|
||
license LICENSE license=MIT | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#!/usr/bin/bash | ||
# | ||
# {{{ CDDL HEADER | ||
# | ||
# This file and its contents are supplied under the terms of the | ||
# Common Development and Distribution License ("CDDL"), version 1.0. | ||
# You may only use this file in accordance with the terms of version | ||
# 1.0 of the CDDL. | ||
# | ||
# A full copy of the text of the CDDL should have accompanied this | ||
# source. A copy of the CDDL is also available via the Internet at | ||
# http://www.illumos.org/license/CDDL. | ||
# }}} | ||
# | ||
# Copyright 2024 OmniOS Community Edition (OmniOSce) Association. | ||
# | ||
. ../../../lib/build.sh | ||
|
||
PKG=library/python-3/attrs-313 | ||
PROG=attrs | ||
inherit_ver python312/attrs | ||
SUMMARY="Python attrs" | ||
DESC="Classes Without Boilerplate" | ||
|
||
. $SRCDIR/../common.sh | ||
|
||
init | ||
download_source pymodules/$PROG $PROG $VER | ||
patch_source | ||
prep_build | ||
python_build | ||
make_package | ||
clean_up | ||
|
||
# Vim hints | ||
# vim:ts=4:sw=4:et:fdm=marker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# | ||
# This file and its contents are supplied under the terms of the | ||
# Common Development and Distribution License ("CDDL"), version 1.0. | ||
# You may only use this file in accordance with the terms of version | ||
# 1.0 of the CDDL. | ||
# | ||
# A full copy of the text of the CDDL should have accompanied this | ||
# source. A copy of the CDDL is also available via the Internet at | ||
# http://www.illumos.org/license/CDDL. | ||
# | ||
|
||
# Copyright 2019 OmniOS Community Edition (OmniOSce) Association. | ||
|
||
license LICENSE license=MIT | ||
|
||
<transform file path=usr/bin \ | ||
-> edit path usr/bin usr/lib/python$(PYTHONVER)/bin> | ||
|
Oops, something went wrong.