Cleanup and python 3.13

This commit is contained in:
Mario Fetka
2025-05-05 10:23:40 +02:00
parent 7c1ee4ca45
commit b56141d74d
121 changed files with 9006 additions and 479 deletions

View File

@@ -0,0 +1,4 @@
DIST gentoo-headers-2.6.39-1.tar.xz 3216 BLAKE2B 2322a891bc578fd1731623e7ffd65a2f67b8138a73f9dce621666e0704029b7f2186ed3f7823404bee37aae6350809a1aa154601a3fbcdfc8edd28cb8c862c65 SHA512 0e657373f3cf53f9fb35ab31ecbe717823f0706ea9b9f1c4e2734bc9b40a5a0b68e57cf8e3105919dd916ffdb1654d0868358ebcadb031373932abc582a5dc0f
DIST gentoo-headers-base-2.6.39.tar.xz 4689080 BLAKE2B 80ba769c6117c6d44a6eae93d07cf673e89a73c4d5debcd383b2f76732c398f0ea0a6512a05b38b641d291b36b46870c356f75555409bb035d72bc061fc7738b SHA512 dd47c74897d9b750dc167ccfccd96e8bce4e41cc886ef6a65ee5e3a3d5181c7f258334e53a7b7979c4f2c8a2f88aa18d96a5a10f26b9e4b76f911214b1cdc96d
EBUILD linux-headers-2.6.39.ebuild 1431 BLAKE2B 9c1d9de3e86a8a2f0501a22627318add1ef8687c321a53c7cd9c7963725343524b7429a8a0c8f34e03bcaaed4e2f127a569e2024b746cc0b555530a73896fcab SHA512 64c1db915446492d3eaafeeacbe67c4fc281a22e45649b02e02f059bb8fca66aa3cd80cd251c09f189c175d526dfa3084c85940523e87c90a106c0bbd356f1f6
MISC metadata.xml 345 BLAKE2B a7d97a94b8b2b72cbd9c7cc730bd66c6e174a2c0bb8bfcff7c279a87000a4435afbb048ca2d9424b391a0b0f992d0afd5efb20c0504062de3dfd49968fec0e74 SHA512 e7a62638f5ba1072ae773781c890f708d90001c4d517e2ecce8fbb791914f2e6769e5a0db63ade82f7d644c1ec3e9b19aae773c496d9059879a4192b7f26ccae

View File

@@ -0,0 +1,53 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
ETYPE="headers"
H_SUPPORTEDARCH="alpha amd64 arc arm arm64 avr32 bfin cris frv hexagon hppa ia64 m32r m68k metag microblaze mips mn10300 openrisc ppc ppc64 s390 score sh sparc tile x86 xtensa"
inherit kernel-2 toolchain-funcs
detect_version
PATCH_VER="1"
SRC_URI="https://dev.gentoo.org/~vapier/dist/gentoo-headers-base-2.6.39.tar.xz
https://dev.gentoo.org/~vapier/dist/gentoo-headers-2.6.39-1.tar.xz"
S="${WORKDIR}/gentoo-headers-base-${PV}"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
BDEPEND="
app-arch/xz-utils
dev-lang/perl"
[ [ -n ${PATCH_VER} ] ] && PATCHES=( "${WORKDIR}"/${PV} )
src_unpack() {
# avoid kernel-2_src_unpack
default
}
src_prepare() {
# avoid kernel-2_src_prepare
default
}
src_test() {
einfo "Possible unescaped attribute/type usage"
grep -E -r \
-e '(^| [ [:space:](])(asm|volatile|inline)[ [:space:] (]' \
-e '\<([us](8|16|32|64))\>' \
.
emake ARCH="$(tc-arch-kernel)" headers_check
}
src_install() {
kernel-2_src_install
find "${ED}" \( -name '.install' -o -name '*.cmd' \) -delete || die
# delete empty directories
find "${ED}" -empty -type d -delete || die
# provided by libdrm (for now?)
rm -rf "${ED}"/$(kernel_header_destdir)/drm || die
}

View 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>toolchain@gentoo.org</email>
<name>Gentoo Toolchain Project</name>
</maintainer>
<upstream>
<remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id>
</upstream>
</pkgmetadata>