mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-09 05:56:58 +02:00
Merge pull request #1979 from JeWe37/python-sysext
sysext: Add python sysext
This commit is contained in:
commit
5f151a08bc
@ -259,6 +259,9 @@ dev-python/cython
|
|||||||
dev-python/distro
|
dev-python/distro
|
||||||
dev-python/docutils
|
dev-python/docutils
|
||||||
dev-python/editables
|
dev-python/editables
|
||||||
|
dev-python/ensurepip-pip
|
||||||
|
dev-python/ensurepip-setuptools
|
||||||
|
dev-python/ensurepip-wheels
|
||||||
dev-python/fasteners
|
dev-python/fasteners
|
||||||
dev-python/flit-core
|
dev-python/flit-core
|
||||||
dev-python/gentoo-common
|
dev-python/gentoo-common
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
EXTRA_SYSEXTS=(
|
EXTRA_SYSEXTS=(
|
||||||
zfs:sys-fs/zfs
|
zfs:sys-fs/zfs
|
||||||
podman:app-containers/podman,net-misc/passt
|
podman:app-containers/podman,net-misc/passt
|
||||||
|
python:dev-lang/python,dev-python/pip
|
||||||
)
|
)
|
||||||
|
@ -128,7 +128,6 @@ EMERGE_DEFAULT_OPTS=${emerge_opts@Q}
|
|||||||
|
|
||||||
USE="
|
USE="
|
||||||
-desktop
|
-desktop
|
||||||
-ensurepip
|
|
||||||
-installkernel
|
-installkernel
|
||||||
-llvm
|
-llvm
|
||||||
-nls
|
-nls
|
||||||
|
10
build_library/sysext_mangle_flatcar-python
Executable file
10
build_library/sysext_mangle_flatcar-python
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
rootfs="${1}"
|
||||||
|
|
||||||
|
pushd "${rootfs}"
|
||||||
|
|
||||||
|
rm -rf ./usr/{lib/debug,share,include,lib64/pkgconfig}
|
||||||
|
|
||||||
|
popd
|
1
changelog/changes/2024-05-04-python.md
Normal file
1
changelog/changes/2024-05-04-python.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
- Provided a Python Flatcar extension as optional systemd-sysext image with the release. Write 'python' to `/etc/flatcar/enabled-sysext.conf` through Ignition and the sysext will be installed during provisioning ([scripts#1979](https://github.com/flatcar/scripts/pull/1979))
|
@ -36,6 +36,8 @@ RDEPEND="
|
|||||||
coreos-base/flatcar-eks
|
coreos-base/flatcar-eks
|
||||||
net-misc/chrony
|
net-misc/chrony
|
||||||
sys-fs/zfs
|
sys-fs/zfs
|
||||||
app-containers/podman
|
app-containers/podman
|
||||||
net-misc/passt
|
net-misc/passt
|
||||||
|
dev-lang/python
|
||||||
|
dev-python/pip
|
||||||
"
|
"
|
||||||
|
@ -17,8 +17,5 @@ sys-libs/ncurses cxx
|
|||||||
# which is defined in portage-stable.
|
# which is defined in portage-stable.
|
||||||
app-editors/nano unicode
|
app-editors/nano unicode
|
||||||
|
|
||||||
# We don't use pip.
|
|
||||||
dev-lang/python ensurepip
|
|
||||||
|
|
||||||
# Pulls dev-python/sphinx, which in turn pulls a lot of other python stuff.
|
# Pulls dev-python/sphinx, which in turn pulls a lot of other python stuff.
|
||||||
sys-fs/btrfs-progs man
|
sys-fs/btrfs-progs man
|
||||||
|
1
sdk_container/src/third_party/portage-stable/dev-python/ensurepip-pip/Manifest
vendored
Normal file
1
sdk_container/src/third_party/portage-stable/dev-python/ensurepip-pip/Manifest
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
DIST pip-24.0-py3-none-any.whl 2110226 BLAKE2B 6a0c8c9796cd574ef1d709de40a8530a15e50158143e332b79e5ad3edceda6ce93c5ef4df49b169062598618dcc6967c2115ac2c10b05abf345318204f1eeffc SHA512 5d7462a584105bccaa9cf376f5a8c5827ead099c813c8af7392d478a4398f373d9e8cac7bbad2db51b335411ab966b21e119b1b1234c9a7ab70c6ddfc9306da6
|
24
sdk_container/src/third_party/portage-stable/dev-python/ensurepip-pip/ensurepip-pip-24.0.ebuild
vendored
Normal file
24
sdk_container/src/third_party/portage-stable/dev-python/ensurepip-pip/ensurepip-pip-24.0.ebuild
vendored
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
# Copyright 2022-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit pypi
|
||||||
|
|
||||||
|
DESCRIPTION="Shared pip wheel for ensurepip Python module"
|
||||||
|
HOMEPAGE="https://pypi.org/project/pip/"
|
||||||
|
SRC_URI="$(pypi_wheel_url "${PN#ensurepip-}")"
|
||||||
|
S=${DISTDIR}
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MIT MPL-2.0 PSF-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
!<dev-python/ensurepip-wheels-100
|
||||||
|
"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto /usr/lib/python/ensurepip
|
||||||
|
doins "${A}"
|
||||||
|
}
|
11
sdk_container/src/third_party/portage-stable/dev-python/ensurepip-pip/metadata.xml
vendored
Normal file
11
sdk_container/src/third_party/portage-stable/dev-python/ensurepip-pip/metadata.xml
vendored
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>python@gentoo.org</email>
|
||||||
|
</maintainer>
|
||||||
|
<stabilize-allarches/>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="pypi">pip</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
3
sdk_container/src/third_party/portage-stable/dev-python/ensurepip-setuptools/Manifest
vendored
Normal file
3
sdk_container/src/third_party/portage-stable/dev-python/ensurepip-setuptools/Manifest
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
DIST setuptools-69.0.3-py3-none-any.whl 819530 BLAKE2B 6ecef64755181255d935e234f77db3a4a9ce6426621d5d95196f55820a6bd62ff6bd3efcbf2e66221501b0c7c5296a35f80d275c59a8075392a0e802ee6713f1 SHA512 20c68e4f279a133f33ac85885b2c7e05b68c8c2faf15c9bb251229a6668c5c6b54c4065c54a0b711dae36d7fd161d3dc34218c579e739a2b2c573b85ccc79820
|
||||||
|
DIST setuptools-69.2.0-py3-none-any.whl 821485 BLAKE2B 7b5fdc519f57327e323c15c12650d7c820909664d5f45e18f0c3203ced4c68b3f42598481158b3ae899f16ba56b702724f5b362757369ccc5d61a6cdeae64129 SHA512 fa6b2927b16c00a30b135373be399cfec7ab1b0e9b410de6502172d50ba2a191214a4a4adb443d362198d43e86a662565155ea4c8d37f3305e9f7d1aef724b25
|
||||||
|
DIST setuptools-69.5.1-py3-none-any.whl 894566 BLAKE2B a9d24f51240fd528f87642e8765a4a72ae9e03e936acec3e26edd1c5b40127f00dee53db2dd171404778c2e2910d095b5de49e0af3d2f7a67d8edd52d16a0a45 SHA512 d212edd21ab99f50c2daf6080c68a3cc0eeed566f10e91f857e7eeb86513f33e9cde25b975db1030110c3b1714cfbfd4d3c9e2937b4a5ff2bb8971e605ecee85
|
@ -0,0 +1,24 @@
|
|||||||
|
# Copyright 2022-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit pypi
|
||||||
|
|
||||||
|
DESCRIPTION="Shared setuptools wheel for ensurepip Python module"
|
||||||
|
HOMEPAGE="https://pypi.org/project/setuptools/"
|
||||||
|
SRC_URI="$(pypi_wheel_url "${PN#ensurepip-}")"
|
||||||
|
S=${DISTDIR}
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
!<dev-python/ensurepip-wheels-100
|
||||||
|
"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto /usr/lib/python/ensurepip
|
||||||
|
doins "${A}"
|
||||||
|
}
|
@ -0,0 +1,24 @@
|
|||||||
|
# Copyright 2022-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit pypi
|
||||||
|
|
||||||
|
DESCRIPTION="Shared setuptools wheel for ensurepip Python module"
|
||||||
|
HOMEPAGE="https://pypi.org/project/setuptools/"
|
||||||
|
SRC_URI="$(pypi_wheel_url "${PN#ensurepip-}")"
|
||||||
|
S=${DISTDIR}
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
!<dev-python/ensurepip-wheels-100
|
||||||
|
"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto /usr/lib/python/ensurepip
|
||||||
|
doins "${A}"
|
||||||
|
}
|
@ -0,0 +1,24 @@
|
|||||||
|
# Copyright 2022-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit pypi
|
||||||
|
|
||||||
|
DESCRIPTION="Shared setuptools wheel for ensurepip Python module"
|
||||||
|
HOMEPAGE="https://pypi.org/project/setuptools/"
|
||||||
|
SRC_URI="$(pypi_wheel_url "${PN#ensurepip-}")"
|
||||||
|
S=${DISTDIR}
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
!<dev-python/ensurepip-wheels-100
|
||||||
|
"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto /usr/lib/python/ensurepip
|
||||||
|
doins "${A}"
|
||||||
|
}
|
11
sdk_container/src/third_party/portage-stable/dev-python/ensurepip-setuptools/metadata.xml
vendored
Normal file
11
sdk_container/src/third_party/portage-stable/dev-python/ensurepip-setuptools/metadata.xml
vendored
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>python@gentoo.org</email>
|
||||||
|
</maintainer>
|
||||||
|
<stabilize-allarches/>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="pypi">setuptools</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,16 @@
|
|||||||
|
# Copyright 2022-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DESCRIPTION="Shared wheels for ensurepip Python module"
|
||||||
|
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
|
||||||
|
|
||||||
|
LICENSE="metapackage"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/ensurepip-pip
|
||||||
|
dev-python/ensurepip-setuptools
|
||||||
|
"
|
8
sdk_container/src/third_party/portage-stable/dev-python/ensurepip-wheels/metadata.xml
vendored
Normal file
8
sdk_container/src/third_party/portage-stable/dev-python/ensurepip-wheels/metadata.xml
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>python@gentoo.org</email>
|
||||||
|
</maintainer>
|
||||||
|
<stabilize-allarches/>
|
||||||
|
</pkgmetadata>
|
Loading…
Reference in New Issue
Block a user