From ddd33649d7beee53470fb432decfab20ca94bc70 Mon Sep 17 00:00:00 2001 From: Crucible Date: Fri, 16 Oct 2026 07:33:12 -0500 Subject: Publish srcux candidate 0000000713-20261016-072911 --- .../files/foundry-0.6.0-profile-whitespace.patch | 56 ++++ app-admin/foundry/foundry-0.6.0-r4.ebuild | 79 +++++ app-arch/libarchive/libarchive-3.8.10.ebuild | 2 +- app-text/ps2eps/metadata.xml | 3 + dev-java/openjdk-bin/Manifest | 28 +- dev-java/openjdk-bin/openjdk-bin-28_alpha16.ebuild | 175 ----------- dev-java/openjdk-bin/openjdk-bin-28_alpha20.ebuild | 175 +++++++++++ dev-java/openjdk/Manifest | 2 +- dev-java/openjdk/openjdk-28_alpha15.ebuild | 332 --------------------- dev-java/openjdk/openjdk-28_alpha20.ebuild | 332 +++++++++++++++++++++ dev-python/blessed/Manifest | 1 + dev-python/blessed/blessed-1.51.0.ebuild | 57 ++++ dev-python/fonttools/Manifest | 1 + dev-python/fonttools/fonttools-4.67.0.ebuild | 72 +++++ dev-python/pypdf/Manifest | 2 + dev-python/pypdf/pypdf-6.21.0.ebuild | 62 ++++ dev-python/python-discovery/Manifest | 2 + .../python-discovery/python-discovery-1.6.3.ebuild | 55 ++++ dev-python/tomlkit/Manifest | 2 +- dev-python/tomlkit/tomlkit-0.15.0.ebuild | 48 --- dev-python/tomlkit/tomlkit-0.15.2.ebuild | 55 ++++ dev-python/tox/Manifest | 2 + dev-python/tox/tox-4.66.0.ebuild | 84 ++++++ dev-python/wxpython/Manifest | 1 - dev-python/wxpython/wxpython-4.2.3-r2.ebuild | 141 --------- dev-python/zope-hookable/Manifest | 3 +- dev-python/zope-hookable/zope-hookable-8.2.ebuild | 35 --- dev-python/zope-hookable/zope-hookable-8.4.ebuild | 36 +++ dev-python/zope-i18nmessageid/Manifest | 3 +- .../zope-i18nmessageid-8.2.ebuild | 34 --- .../zope-i18nmessageid-8.4.ebuild | 35 +++ dev-util/bpf-linker/bpf-linker-0.9.15-r1.ebuild | 11 +- net-analyzer/kapacitor/Manifest | 1 - net-analyzer/kapacitor/files/kapacitor.confd | 12 - net-analyzer/kapacitor/files/kapacitor.rc | 35 --- net-analyzer/kapacitor/kapacitor-1.5.5.ebuild | 47 --- net-analyzer/kapacitor/metadata.xml | 9 - .../mitmproxy-linux/mitmproxy-linux-0.12.11.ebuild | 2 +- net-proxy/mitmproxy-rs/mitmproxy-rs-0.12.11.ebuild | 2 +- profiles/default/linux/eapi | 1 + profiles/default/linux/package.mask | 29 ++ profiles/default/linux/package.use.force | 6 + profiles/default/linux/package.use.mask | 75 +++++ profiles/default/linux/use.mask | 15 + profiles/package.mask/00-gentoo | 5 - .../1.0/linux-gnu/abi/no-multilib/make.defaults | 9 - .../abi/no-multilib/package.mask/01-gentoo | 110 ------- .../linux-gnu/abi/no-multilib/package.use.force | 6 - .../abi/no-multilib/package.use.mask/01-gentoo | 17 -- .../srcux/1.0/linux-gnu/abi/no-multilib/parent | 2 + .../linux-gnu/abi/no-multilib/use.mask/01-gentoo | 16 - .../linux-gnu/abi/no-multilib/use.mask/multilib | 1 - .../package.unmask/baldeagleos-workarounds | 7 - .../srcux/1.0/linux-gnu/package.use.mask/01-gentoo | 47 --- profiles/srcux/1.0/linux-gnu/parent | 3 + profiles/srcux/1.0/linux-gnu/use.mask/01-gentoo | 15 - 56 files changed, 1269 insertions(+), 1129 deletions(-) create mode 100644 app-admin/foundry/files/foundry-0.6.0-profile-whitespace.patch create mode 100644 app-admin/foundry/foundry-0.6.0-r4.ebuild delete mode 100644 dev-java/openjdk-bin/openjdk-bin-28_alpha16.ebuild create mode 100644 dev-java/openjdk-bin/openjdk-bin-28_alpha20.ebuild delete mode 100644 dev-java/openjdk/openjdk-28_alpha15.ebuild create mode 100644 dev-java/openjdk/openjdk-28_alpha20.ebuild create mode 100644 dev-python/blessed/blessed-1.51.0.ebuild create mode 100644 dev-python/fonttools/fonttools-4.67.0.ebuild create mode 100644 dev-python/pypdf/pypdf-6.21.0.ebuild create mode 100644 dev-python/python-discovery/python-discovery-1.6.3.ebuild delete mode 100644 dev-python/tomlkit/tomlkit-0.15.0.ebuild create mode 100644 dev-python/tomlkit/tomlkit-0.15.2.ebuild create mode 100644 dev-python/tox/tox-4.66.0.ebuild delete mode 100644 dev-python/wxpython/wxpython-4.2.3-r2.ebuild delete mode 100644 dev-python/zope-hookable/zope-hookable-8.2.ebuild create mode 100644 dev-python/zope-hookable/zope-hookable-8.4.ebuild delete mode 100644 dev-python/zope-i18nmessageid/zope-i18nmessageid-8.2.ebuild create mode 100644 dev-python/zope-i18nmessageid/zope-i18nmessageid-8.4.ebuild delete mode 100644 net-analyzer/kapacitor/Manifest delete mode 100644 net-analyzer/kapacitor/files/kapacitor.confd delete mode 100644 net-analyzer/kapacitor/files/kapacitor.rc delete mode 100644 net-analyzer/kapacitor/kapacitor-1.5.5.ebuild delete mode 100644 net-analyzer/kapacitor/metadata.xml create mode 100644 profiles/default/linux/eapi create mode 100644 profiles/default/linux/package.mask create mode 100644 profiles/default/linux/package.use.force create mode 100644 profiles/default/linux/package.use.mask create mode 100644 profiles/default/linux/use.mask delete mode 100644 profiles/srcux/1.0/linux-gnu/abi/no-multilib/make.defaults delete mode 100644 profiles/srcux/1.0/linux-gnu/abi/no-multilib/package.mask/01-gentoo delete mode 100644 profiles/srcux/1.0/linux-gnu/abi/no-multilib/package.use.force delete mode 100644 profiles/srcux/1.0/linux-gnu/abi/no-multilib/package.use.mask/01-gentoo create mode 100644 profiles/srcux/1.0/linux-gnu/abi/no-multilib/parent delete mode 100644 profiles/srcux/1.0/linux-gnu/abi/no-multilib/use.mask/01-gentoo delete mode 100644 profiles/srcux/1.0/linux-gnu/abi/no-multilib/use.mask/multilib delete mode 100644 profiles/srcux/1.0/linux-gnu/package.unmask/baldeagleos-workarounds delete mode 100644 profiles/srcux/1.0/linux-gnu/package.use.mask/01-gentoo delete mode 100644 profiles/srcux/1.0/linux-gnu/use.mask/01-gentoo diff --git a/app-admin/foundry/files/foundry-0.6.0-profile-whitespace.patch b/app-admin/foundry/files/foundry-0.6.0-profile-whitespace.patch new file mode 100644 index 000000000000..e206438b49ca --- /dev/null +++ b/app-admin/foundry/files/foundry-0.6.0-profile-whitespace.patch @@ -0,0 +1,56 @@ +diff --git a/src/foundry/data/merge/purge-libressl.py b/src/foundry/data/merge/purge-libressl.py +--- a/src/foundry/data/merge/purge-libressl.py ++++ b/src/foundry/data/merge/purge-libressl.py +@@ -208,11 +208,13 @@ + except UnicodeDecodeError: + return + ++ # Only lines that mention LibreSSL change; every other line is kept byte for byte ++ # (profiles copied from Gentoo must stay identical to Gentoo's). + lines: list[str] = [] +- for line in text.splitlines(): ++ for line in text.split("\n"): + stripped = line.strip() + if "libressl" not in line and "curl_ssl_libressl" not in line and "LibreSSL" not in line: +- lines.append(line.rstrip()) ++ lines.append(line) + continue + if stripped in {"libressl", "curl_ssl_libressl"}: + continue +@@ -225,7 +227,7 @@ + line = re.sub(r'[ \t]+"$', '"', line) + lines.append(line) + +- new_text = "\n".join(lines) + ("\n" if text.endswith("\n") else "") ++ new_text = "\n".join(lines) + if new_text != text: + path.write_text(new_text) + +diff --git a/src/osforge/data/merge/purge-libressl.py b/src/osforge/data/merge/purge-libressl.py +--- a/src/osforge/data/merge/purge-libressl.py ++++ b/src/osforge/data/merge/purge-libressl.py +@@ -208,11 +208,13 @@ + except UnicodeDecodeError: + return + ++ # Only lines that mention LibreSSL change; every other line is kept byte for byte ++ # (profiles copied from Gentoo must stay identical to Gentoo's). + lines: list[str] = [] +- for line in text.splitlines(): ++ for line in text.split("\n"): + stripped = line.strip() + if "libressl" not in line and "curl_ssl_libressl" not in line and "LibreSSL" not in line: +- lines.append(line.rstrip()) ++ lines.append(line) + continue + if stripped in {"libressl", "curl_ssl_libressl"}: + continue +@@ -225,7 +227,7 @@ + line = re.sub(r'[ \t]+"$', '"', line) + lines.append(line) + +- new_text = "\n".join(lines) + ("\n" if text.endswith("\n") else "") ++ new_text = "\n".join(lines) + if new_text != text: + path.write_text(new_text) + diff --git a/app-admin/foundry/foundry-0.6.0-r4.ebuild b/app-admin/foundry/foundry-0.6.0-r4.ebuild new file mode 100644 index 000000000000..272ef0a0b8a2 --- /dev/null +++ b/app-admin/foundry/foundry-0.6.0-r4.ebuild @@ -0,0 +1,79 @@ +# Copyright 2026 Srcux Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) +inherit distutils-r1 + +DESCRIPTION="Foundry system builder and shared Crucible runtime" +HOMEPAGE="https://srcux.com/" +SRC_URI="https://www.srcux.com/distfiles/${P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="usb-writer images boot-tests" + +RDEPEND=" + ${PYTHON_DEPS} + acct-group/foundry + acct-group/osforge + !_XPAK -PPC64_XPAK="25_p36" # big-endian bootstrap tarball - -# Usage: bootstrap_uri [extracond] -# Example: $(bootstrap_uri ppc64 17.0.1_p12 big-endian) -# Output: ppc64? ( big-endian? ( https://...17.0.1_p12-ppc64.tar.xz ) ) -bootstrap_uri() { - local baseuri="https://distfiles.gentoo.org/pub/dev/arthurzam@gentoo.org/dev-java/${PN}/${PN}-bootstrap" - local suff="tar.xz" - local kw="${1:?${FUNCNAME[0]}: keyword not specified}" - local ver="${2:?${FUNCNAME[0]}: version not specified}" - local cond="${3-}" - [[ ${cond} == elibc_musl* ]] && local musl=yes - - # here be dragons - echo "${kw}? ( ${cond:+${cond}? (} ${baseuri}-${ver}-${kw}${musl:+-musl}.${suff} ${cond:+) })" -} - -# don't change versioning scheme -# to find correct _p number, look at -# https://github.com/openjdk/jdk${SLOT}u/tags -# you will see, for example, jdk-17.0.4.1-ga and jdk-17.0.4.1+1, both point -# to exact same commit sha. we should always use the full version. -# -ga tag is just for humans to easily identify General Availability release tag. -# MY_PV="${PV%_p*}-ga" - -# Upstream starts new major versions usually in https://github.com/openjdk/jdk. -# In ebuilds for those early versions, use '_alpha' in the version string. -# Exapmle: openjdk-26_alpha10.ebuild -# Later, upstream creates the versioned repository like e.g. -# https://github.com/openjdk/jdk25u. -# In ebuilds for those later versions, use '_beta' in the version string. -# Example: openjdk-25_beta35.ebuild -if [[ "${PV%_alpha*}" != "${PV}" ]]; then # version string contains "_alpha" - MY_PV="${PV/_alpha/+}" - JDK_REPO="jdk" - MY_VERSION_STRING="${PV%_alpha*}" - MY_VERSION_BUILD="${PV#*_alpha}" -elif [[ "${PV%_beta*}" != "${PV}" ]]; then # version string contains "_beta" - MY_PV="${PV/_beta/+}" - JDK_REPO="jdk$(ver_cut 1)u" - MY_VERSION_STRING="${PV%_beta*}" - MY_VERSION_BUILD="${PV#*_beta}" -else - MY_PV="${PV%_p*}-ga" - JDK_REPO="jdk$(ver_cut 1)u" - MY_VERSION_STRING="${PV%_p*}" - MY_VERSION_BUILD="${PV#*_p}" -fi - -DESCRIPTION="Open source implementation of the Java programming language" -HOMEPAGE="https://openjdk.org" -SRC_URI=" - https://github.com/${PN}/${JDK_REPO}/archive/jdk-${MY_PV}.tar.gz - -> ${P}.tar.gz - !system-bootstrap? ( - $(bootstrap_uri ppc64 ${PPC64_XPAK} big-endian) - ) -" -S="${WORKDIR}/${JDK_REPO}-jdk-${MY_PV//+/-}" - -LICENSE="GPL-2-with-classpath-exception" -SLOT="$(ver_cut 1)" -# KEYWORDS="" # Not an LTS candidate - -IUSE="alsa big-endian cups debug doc examples headless-awt +jbootstrap selinux source static-libs +system-bootstrap systemtap" - -REQUIRED_USE=" - !system-bootstrap? ( jbootstrap ) - !system-bootstrap? ( ppc64 ) -" - -COMMON_DEPEND=" - media-libs/freetype:2= - media-libs/giflib:0/7 - media-libs/harfbuzz:= - media-libs/libpng:0= - media-libs/lcms:2= - virtual/zlib:= - !headless-awt? ( - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXi - x11-libs/libXrandr - x11-libs/libXrender - x11-libs/libXt - x11-libs/libXtst - ) - media-libs/libjpeg-turbo:0= - systemtap? ( dev-debug/systemtap ) -" - -# Many libs are required to build, but not to run, make is possible to remove -# by listing conditionally in RDEPEND unconditionally in DEPEND -RDEPEND=" - ${COMMON_DEPEND} - >=sys-apps/baselayout-java-0.1.0-r1 - alsa? ( media-libs/alsa-lib ) - cups? ( net-print/cups ) - selinux? ( sec-policy/selinux-java ) -" - -DEPEND=" - ${COMMON_DEPEND} - app-arch/zip - media-libs/alsa-lib - net-print/cups - !headless-awt? ( x11-base/xorg-proto ) - system-bootstrap? ( - || ( - dev-java/openjdk:27 - dev-java/openjdk-bin:${SLOT} - dev-java/openjdk:${SLOT} - ) - ) -" - -# The space required to build varies wildly depending on USE flags, -# ranging from 2GB to 16GB. This function is certainly not exact but -# should be close enough to be useful. -openjdk_check_requirements() { - local M - M=2048 - M=$(( $(usex jbootstrap 2 1) * $M )) - M=$(( $(usex debug 3 1) * $M )) - M=$(( $(usex doc 320 0) + $(usex source 128 0) + 192 + $M )) - - CHECKREQS_DISK_BUILD=${M}M check-reqs_pkg_${EBUILD_PHASE} -} - -pkg_pretend() { - openjdk_check_requirements - if [[ ${MERGE_TYPE} != binary ]]; then - has ccache ${FEATURES} && die "FEATURES=ccache doesn't work with ${PN}, bug #677876" - fi -} - -pkg_setup() { - openjdk_check_requirements - java-vm-2_pkg_setup - - [[ ${MERGE_TYPE} == "binary" ]] && return - - JAVA_PKG_WANT_BUILD_VM="openjdk-27 openjdk-${SLOT} openjdk-bin-${SLOT}" - JAVA_PKG_WANT_SOURCE="${SLOT}" - JAVA_PKG_WANT_TARGET="${SLOT}" -} - -src_prepare() { - default - chmod +x configure || die -} - -src_configure() { - local myconf=() - - if has_version dev-java/openjdk:${SLOT}; then - export JDK_HOME=${BROOT}/usr/$(get_libdir)/openjdk-${SLOT} - elif has_version dev-java/openjdk:27; then - export JDK_HOME=${BROOT}/usr/$(get_libdir)/openjdk-27 - elif use !system-bootstrap ; then - local xpakvar="${ARCH^^}_XPAK" - export JDK_HOME="${WORKDIR}/openjdk-bootstrap-${!xpakvar}" - else - JDK_HOME=$(best_version -b dev-java/openjdk-bin:${SLOT}) - [[ -n ${JDK_HOME} ]] || die "Build VM not found!" - JDK_HOME=${JDK_HOME#*/} - JDK_HOME=${BROOT}/opt/${JDK_HOME%-r*} - export JDK_HOME - fi - - # bug 906987; append-cppflags doesnt work - use elibc_musl && append-flags -D_LARGEFILE64_SOURCE - - # Strip some flags users may set, but should not. #818502 - filter-flags -fexceptions - - # Strip lto related flags, we rely on --with-jvm-features=link-time-opt - # See bug #833097 and bug #833098. - # - # .. but because of -Werror=odr (bug #916735), we disable it - # entirely for now. - #tc-is-lto && myconf+=( --with-jvm-features=link-time-opt ) - filter-lto - filter-flags -fdevirtualize-at-ltrans - - if use static-libs ; then - lto-guarantee-fat - fi - - # Enabling full docs appears to break doc building. If not - # explicitly disabled, the flag will get auto-enabled if pandoc and - # graphviz are detected. pandoc has loads of dependencies anyway. - - myconf+=( - --disable-ccache - --disable-precompiled-headers - --disable-warnings-as-errors - --enable-full-docs=no - --with-boot-jdk="${JDK_HOME}" - --with-extra-cflags="${CFLAGS}" - --with-extra-cxxflags="${CXXFLAGS}" - --with-extra-ldflags="${LDFLAGS}" - --with-freetype="${XPAK_BOOTSTRAP:-system}" - --with-giflib="${XPAK_BOOTSTRAP:-system}" - --with-harfbuzz="${XPAK_BOOTSTRAP:-system}" - --with-lcms="${XPAK_BOOTSTRAP:-system}" - --with-libjpeg="${XPAK_BOOTSTRAP:-system}" - --with-libpng="${XPAK_BOOTSTRAP:-system}" - --with-stdc++lib=dynamic - --with-native-debug-symbols=$(usex debug internal none) - --with-vendor-name="Gentoo" - --with-vendor-url="https://gentoo.org" - --with-vendor-bug-url="https://bugs.gentoo.org" - --with-vendor-vm-bug-url="https://bugs.openjdk.java.net" - --with-vendor-version-string="${PVR}" - --with-version-pre="" - --with-version-string="${MY_VERSION_STRING}" - --with-version-build="${MY_VERSION_BUILD}" - --with-zlib="${XPAK_BOOTSTRAP:-system}" - --enable-jvm-feature-dtrace=$(usex systemtap yes no) - --enable-headless-only=$(usex headless-awt yes no) - $(tc-is-clang && echo "--with-toolchain-type=clang") - ) - - use riscv && myconf+=( --with-boot-jdk-jvmargs="-Djdk.lang.Process.launchMechanism=vfork" ) - - # Workaround for bug #938302 - if use systemtap && has_version "dev-debug/systemtap[-dtrace-symlink(+)]" ; then - myconf+=( DTRACE="${BROOT}"/usr/bin/stap-dtrace ) - fi - - if use !system-bootstrap ; then - addpredict /dev/random - addpredict /proc/self/coredump_filter - fi - - ( - unset _JAVA_OPTIONS JAVA JAVA_TOOL_OPTIONS JAVAC XARGS - CFLAGS= CXXFLAGS= LDFLAGS= \ - CONFIG_SITE=/dev/null \ - econf "${myconf[@]}" - ) -} - -src_compile() { - # Too brittle - gets confused by e.g. -Oline - export MAKEOPTS="-j$(makeopts_jobs) -l$(makeopts_loadavg)" - unset GNUMAKEFLAGS MAKEFLAGS - - local myemakeargs=( - JOBS=$(makeopts_jobs) - LOG=debug - CFLAGS_WARNINGS_ARE_ERRORS= # No -Werror - # Respect user -O, bug #969169 - OPTIMIZATION= - JVM_OPTIMIZATION= - NICE= # Use PORTAGE_NICENESS, don't adjust further down - $(usex doc docs '') - $(usex jbootstrap bootcycle-images product-images) - $(usev static-libs static-libs-image) - ) - emake "${myemakeargs[@]}" -j1 -} - -src_install() { - local dest="/usr/$(get_libdir)/${PN}-${SLOT}" - local ddest="${ED}/${dest#/}" - - # https://bugs.gentoo.org/922741 - docompress "${dest}/man" - - cd "${S}"/build/*-release/images/jdk || die - - # Create files used as storage for system preferences. - mkdir .systemPrefs || die - touch .systemPrefs/.system.lock || die - touch .systemPrefs/.systemRootModFile || die - - # Oracle and IcedTea have libjsoundalsa.so depending on - # libasound.so.2 but OpenJDK only has libjsound.so. Weird. - if ! use alsa ; then - rm -v lib/libjsound.* || die - fi - - if ! use examples ; then - rm -vr demo/ || die - fi - - if ! use source ; then - rm -v lib/src.zip || die - fi - - rm -v lib/security/cacerts || die - - dodir "${dest}" - cp -pPR * "${ddest}" || die - - dosym -r /etc/ssl/certs/java/cacerts "${dest}"/lib/security/cacerts - - # must be done before running itself - java-vm_set-pax-markings "${ddest}" - - einfo "Creating the Class Data Sharing archives and disabling usage tracking" - "${ddest}/bin/java" -server -Xshare:dump -Djdk.disableLastUsageTracking || die - - java-vm_install-env "${FILESDIR}"/${PN}.env.sh - java-vm_revdep-mask - java-vm_sandbox-predict /dev/random /proc/self/coredump_filter - - if use doc ; then - docinto html - dodoc -r "${S}"/build/*-release/images/docs/* - fi - - if use static-libs ; then - cd "${S}"/build/*-release/images/static-libs || die - cp -pPR * "${ddest}" || die - strip-lto-bytecode "${ddest}" || die - fi -} - -pkg_postinst() { - java-vm-2_pkg_postinst -} diff --git a/dev-java/openjdk/openjdk-28_alpha20.ebuild b/dev-java/openjdk/openjdk-28_alpha20.ebuild new file mode 100644 index 000000000000..05d1ee1ab663 --- /dev/null +++ b/dev-java/openjdk/openjdk-28_alpha20.ebuild @@ -0,0 +1,332 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit check-reqs dot-a flag-o-matic java-pkg-2 java-vm-2 multiprocessing toolchain-funcs + +# variable name format: _XPAK +PPC64_XPAK="25_p36" # big-endian bootstrap tarball + +# Usage: bootstrap_uri [extracond] +# Example: $(bootstrap_uri ppc64 17.0.1_p12 big-endian) +# Output: ppc64? ( big-endian? ( https://...17.0.1_p12-ppc64.tar.xz ) ) +bootstrap_uri() { + local baseuri="https://distfiles.gentoo.org/pub/dev/arthurzam@gentoo.org/dev-java/${PN}/${PN}-bootstrap" + local suff="tar.xz" + local kw="${1:?${FUNCNAME[0]}: keyword not specified}" + local ver="${2:?${FUNCNAME[0]}: version not specified}" + local cond="${3-}" + [[ ${cond} == elibc_musl* ]] && local musl=yes + + # here be dragons + echo "${kw}? ( ${cond:+${cond}? (} ${baseuri}-${ver}-${kw}${musl:+-musl}.${suff} ${cond:+) })" +} + +# don't change versioning scheme +# to find correct _p number, look at +# https://github.com/openjdk/jdk${SLOT}u/tags +# you will see, for example, jdk-17.0.4.1-ga and jdk-17.0.4.1+1, both point +# to exact same commit sha. we should always use the full version. +# -ga tag is just for humans to easily identify General Availability release tag. +# MY_PV="${PV%_p*}-ga" + +# Upstream starts new major versions usually in https://github.com/openjdk/jdk. +# In ebuilds for those early versions, use '_alpha' in the version string. +# Exapmle: openjdk-26_alpha10.ebuild +# Later, upstream creates the versioned repository like e.g. +# https://github.com/openjdk/jdk25u. +# In ebuilds for those later versions, use '_beta' in the version string. +# Example: openjdk-25_beta35.ebuild +if [[ "${PV%_alpha*}" != "${PV}" ]]; then # version string contains "_alpha" + MY_PV="${PV/_alpha/+}" + JDK_REPO="jdk" + MY_VERSION_STRING="${PV%_alpha*}" + MY_VERSION_BUILD="${PV#*_alpha}" +elif [[ "${PV%_beta*}" != "${PV}" ]]; then # version string contains "_beta" + MY_PV="${PV/_beta/+}" + JDK_REPO="jdk$(ver_cut 1)u" + MY_VERSION_STRING="${PV%_beta*}" + MY_VERSION_BUILD="${PV#*_beta}" +else + MY_PV="${PV%_p*}-ga" + JDK_REPO="jdk$(ver_cut 1)u" + MY_VERSION_STRING="${PV%_p*}" + MY_VERSION_BUILD="${PV#*_p}" +fi + +DESCRIPTION="Open source implementation of the Java programming language" +HOMEPAGE="https://openjdk.org" +SRC_URI=" + https://github.com/${PN}/${JDK_REPO}/archive/jdk-${MY_PV}.tar.gz + -> ${P}.tar.gz + !system-bootstrap? ( + $(bootstrap_uri ppc64 ${PPC64_XPAK} big-endian) + ) +" +S="${WORKDIR}/${JDK_REPO}-jdk-${MY_PV//+/-}" + +LICENSE="GPL-2-with-classpath-exception" +SLOT="$(ver_cut 1)" +# KEYWORDS="" # Not an LTS candidate + +IUSE="alsa big-endian cups debug doc examples headless-awt +jbootstrap selinux source static-libs +system-bootstrap systemtap" + +REQUIRED_USE=" + !system-bootstrap? ( jbootstrap ) + !system-bootstrap? ( ppc64 ) +" + +COMMON_DEPEND=" + media-libs/freetype:2= + media-libs/giflib:0/7 + media-libs/harfbuzz:= + media-libs/libpng:0= + media-libs/lcms:2= + virtual/zlib:= + !headless-awt? ( + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXt + x11-libs/libXtst + ) + media-libs/libjpeg-turbo:0= + systemtap? ( dev-debug/systemtap ) +" + +# Many libs are required to build, but not to run, make is possible to remove +# by listing conditionally in RDEPEND unconditionally in DEPEND +RDEPEND=" + ${COMMON_DEPEND} + >=sys-apps/baselayout-java-0.1.0-r1 + alsa? ( media-libs/alsa-lib ) + cups? ( net-print/cups ) + selinux? ( sec-policy/selinux-java ) +" + +DEPEND=" + ${COMMON_DEPEND} + app-arch/zip + media-libs/alsa-lib + net-print/cups + !headless-awt? ( x11-base/xorg-proto ) + system-bootstrap? ( + || ( + dev-java/openjdk:27 + dev-java/openjdk-bin:${SLOT} + dev-java/openjdk:${SLOT} + ) + ) +" + +# The space required to build varies wildly depending on USE flags, +# ranging from 2GB to 16GB. This function is certainly not exact but +# should be close enough to be useful. +openjdk_check_requirements() { + local M + M=2048 + M=$(( $(usex jbootstrap 2 1) * $M )) + M=$(( $(usex debug 3 1) * $M )) + M=$(( $(usex doc 320 0) + $(usex source 128 0) + 192 + $M )) + + CHECKREQS_DISK_BUILD=${M}M check-reqs_pkg_${EBUILD_PHASE} +} + +pkg_pretend() { + openjdk_check_requirements + if [[ ${MERGE_TYPE} != binary ]]; then + has ccache ${FEATURES} && die "FEATURES=ccache doesn't work with ${PN}, bug #677876" + fi +} + +pkg_setup() { + openjdk_check_requirements + java-vm-2_pkg_setup + + [[ ${MERGE_TYPE} == "binary" ]] && return + + JAVA_PKG_WANT_BUILD_VM="openjdk-27 openjdk-${SLOT} openjdk-bin-${SLOT}" + JAVA_PKG_WANT_SOURCE="${SLOT}" + JAVA_PKG_WANT_TARGET="${SLOT}" +} + +src_prepare() { + default + chmod +x configure || die +} + +src_configure() { + local myconf=() + + if has_version dev-java/openjdk:${SLOT}; then + export JDK_HOME=${BROOT}/usr/$(get_libdir)/openjdk-${SLOT} + elif has_version dev-java/openjdk:27; then + export JDK_HOME=${BROOT}/usr/$(get_libdir)/openjdk-27 + elif use !system-bootstrap ; then + local xpakvar="${ARCH^^}_XPAK" + export JDK_HOME="${WORKDIR}/openjdk-bootstrap-${!xpakvar}" + else + JDK_HOME=$(best_version -b dev-java/openjdk-bin:${SLOT}) + [[ -n ${JDK_HOME} ]] || die "Build VM not found!" + JDK_HOME=${JDK_HOME#*/} + JDK_HOME=${BROOT}/opt/${JDK_HOME%-r*} + export JDK_HOME + fi + + # bug 906987; append-cppflags doesnt work + use elibc_musl && append-flags -D_LARGEFILE64_SOURCE + + # Strip some flags users may set, but should not. #818502 + filter-flags -fexceptions + + # Strip lto related flags, we rely on --with-jvm-features=link-time-opt + # See bug #833097 and bug #833098. + # + # .. but because of -Werror=odr (bug #916735), we disable it + # entirely for now. + #tc-is-lto && myconf+=( --with-jvm-features=link-time-opt ) + filter-lto + filter-flags -fdevirtualize-at-ltrans + + if use static-libs ; then + lto-guarantee-fat + fi + + # Enabling full docs appears to break doc building. If not + # explicitly disabled, the flag will get auto-enabled if pandoc and + # graphviz are detected. pandoc has loads of dependencies anyway. + + myconf+=( + --disable-ccache + --disable-precompiled-headers + --disable-warnings-as-errors + --enable-full-docs=no + --with-boot-jdk="${JDK_HOME}" + --with-extra-cflags="${CFLAGS}" + --with-extra-cxxflags="${CXXFLAGS}" + --with-extra-ldflags="${LDFLAGS}" + --with-freetype="${XPAK_BOOTSTRAP:-system}" + --with-giflib="${XPAK_BOOTSTRAP:-system}" + --with-harfbuzz="${XPAK_BOOTSTRAP:-system}" + --with-lcms="${XPAK_BOOTSTRAP:-system}" + --with-libjpeg="${XPAK_BOOTSTRAP:-system}" + --with-libpng="${XPAK_BOOTSTRAP:-system}" + --with-stdc++lib=dynamic + --with-native-debug-symbols=$(usex debug internal none) + --with-vendor-name="Gentoo" + --with-vendor-url="https://gentoo.org" + --with-vendor-bug-url="https://bugs.gentoo.org" + --with-vendor-vm-bug-url="https://bugs.openjdk.java.net" + --with-vendor-version-string="${PVR}" + --with-version-pre="" + --with-version-string="${MY_VERSION_STRING}" + --with-version-build="${MY_VERSION_BUILD}" + --with-zlib="${XPAK_BOOTSTRAP:-system}" + --enable-jvm-feature-dtrace=$(usex systemtap yes no) + --enable-headless-only=$(usex headless-awt yes no) + $(tc-is-clang && echo "--with-toolchain-type=clang") + ) + + use riscv && myconf+=( --with-boot-jdk-jvmargs="-Djdk.lang.Process.launchMechanism=vfork" ) + + # Workaround for bug #938302 + if use systemtap && has_version "dev-debug/systemtap[-dtrace-symlink(+)]" ; then + myconf+=( DTRACE="${BROOT}"/usr/bin/stap-dtrace ) + fi + + if use !system-bootstrap ; then + addpredict /dev/random + addpredict /proc/self/coredump_filter + fi + + ( + unset _JAVA_OPTIONS JAVA JAVA_TOOL_OPTIONS JAVAC XARGS + CFLAGS= CXXFLAGS= LDFLAGS= \ + CONFIG_SITE=/dev/null \ + econf "${myconf[@]}" + ) +} + +src_compile() { + # Too brittle - gets confused by e.g. -Oline + export MAKEOPTS="-j$(makeopts_jobs) -l$(makeopts_loadavg)" + unset GNUMAKEFLAGS MAKEFLAGS + + local myemakeargs=( + JOBS=$(makeopts_jobs) + LOG=debug + CFLAGS_WARNINGS_ARE_ERRORS= # No -Werror + # Respect user -O, bug #969169 + OPTIMIZATION= + JVM_OPTIMIZATION= + NICE= # Use PORTAGE_NICENESS, don't adjust further down + $(usex doc docs '') + $(usex jbootstrap bootcycle-images product-images) + $(usev static-libs static-libs-image) + ) + emake "${myemakeargs[@]}" -j1 +} + +src_install() { + local dest="/usr/$(get_libdir)/${PN}-${SLOT}" + local ddest="${ED}/${dest#/}" + + # https://bugs.gentoo.org/922741 + docompress "${dest}/man" + + cd "${S}"/build/*-release/images/jdk || die + + # Create files used as storage for system preferences. + mkdir .systemPrefs || die + touch .systemPrefs/.system.lock || die + touch .systemPrefs/.systemRootModFile || die + + # Oracle and IcedTea have libjsoundalsa.so depending on + # libasound.so.2 but OpenJDK only has libjsound.so. Weird. + if ! use alsa ; then + rm -v lib/libjsound.* || die + fi + + if ! use examples ; then + rm -vr demo/ || die + fi + + if ! use source ; then + rm -v lib/src.zip || die + fi + + rm -v lib/security/cacerts || die + + dodir "${dest}" + cp -pPR * "${ddest}" || die + + dosym -r /etc/ssl/certs/java/cacerts "${dest}"/lib/security/cacerts + + # must be done before running itself + java-vm_set-pax-markings "${ddest}" + + einfo "Creating the Class Data Sharing archives and disabling usage tracking" + "${ddest}/bin/java" -server -Xshare:dump -Djdk.disableLastUsageTracking || die + + java-vm_install-env "${FILESDIR}"/${PN}.env.sh + java-vm_revdep-mask + java-vm_sandbox-predict /dev/random /proc/self/coredump_filter + + if use doc ; then + docinto html + dodoc -r "${S}"/build/*-release/images/docs/* + fi + + if use static-libs ; then + cd "${S}"/build/*-release/images/static-libs || die + cp -pPR * "${ddest}" || die + strip-lto-bytecode "${ddest}" || die + fi +} + +pkg_postinst() { + java-vm-2_pkg_postinst +} diff --git a/dev-python/blessed/Manifest b/dev-python/blessed/Manifest index a93fa8c19131..332a73d19518 100644 --- a/dev-python/blessed/Manifest +++ b/dev-python/blessed/Manifest @@ -1,2 +1,3 @@ DIST blessed-1.49.0.tar.gz 14055928 BLAKE2B ddc5793230d896f6851999c1f519178a026b38002e1149eae03d4ccabdcb56612e536f312d557896725cb88e8cd94bf16a743248d54351b5e324aa2e16a0915e SHA512 6a74f7b5ac374eb34f0d6558aec506e197dc9df809f4460f1d10ac5febf84e7f07afef62dc7423901a9cf3463a2872c87669c8e939d8bcc69213c64d093f00ce DIST blessed-1.50.0.tar.gz 14062021 BLAKE2B a16609378d7b73de78ae07970119fa64a77c5dbe775d7edf62894b7cbbfbc9989fc0630b38398c8139a50ffcb40e579c3b9039dd7249b60ad526b9cb9e0065f2 SHA512 dc8d6805d04d8681b190c30481899e261aafa973129ce825c392142ea8b1e3dec476c7a9fe442d14cf9a712fe872dc0e14099047b787b5dc2349c586d6ca0e3c +DIST blessed-1.51.0.tar.gz 14069432 BLAKE2B d7ade8e3e040f1e218139659d4dc843f8e1f67f9d79a342ca4c7dff9e6a653521ebc7851a32364f3db9f93164f817aaebf99f9ee471719b28ccaa4f6c8c995a6 SHA512 f4e1cfd9d88c5fc6aadb86b56c03b302832770c01a2d456cf016f3115e0d09377e21cae95b02cadc132635318cfd9ec340cb8ace74c57ea4be40d937a987d56c diff --git a/dev-python/blessed/blessed-1.51.0.ebuild b/dev-python/blessed/blessed-1.51.0.ebuild new file mode 100644 index 000000000000..2d966eb57b93 --- /dev/null +++ b/dev-python/blessed/blessed-1.51.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit-core +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Library for making terminal apps using colors, keyboard input and positioning" +HOMEPAGE=" + https://github.com/jquast/blessed/ + https://pypi.org/project/blessed/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/jinxed-2.1[${PYTHON_USEDEP}] + >=dev-python/wcwidth-0.8.3[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs dev-python/sphinx-rtd-theme + +EPYTEST_PLUGINS=() +# tests are flaky with xdist +distutils_enable_tests pytest + +# README.rst is a symlink to docs/ +DOCS=() + +python_prepare_all() { + # Skip those extensions as they don't have a Gentoo package + # Remove calls to scripts that generate rst files because they + # are not present in the tarball + sed -e '/sphinxcontrib.manpage/d' -e '/sphinx_paramlinks/d' \ + -e '/^for script in/,/runpy.run_path/d' \ + -i docs/conf.py || die + distutils-r1_python_prepare_all +} + +python_test() { + local EPYTEST_DESELECT=( + # fragile to timing + tests/test_sixel.py::test_sixel_height_and_width_fallback_to_xtwinops + tests/test_sixel.py::test_fast_path_with_caches_populated + ) + + # COLORTERM must not be truecolor + # See https://github.com/jquast/blessed/issues/162 + local -x COLORTERM= + # Ignore coverage options + epytest --override-ini="addopts=" +} diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest index 987c754daceb..8cf7701be851 100644 --- a/dev-python/fonttools/Manifest +++ b/dev-python/fonttools/Manifest @@ -2,3 +2,4 @@ DIST fonttools-4.64.0.gh.tar.gz 4106541 BLAKE2B 5bdddac2b811e47567948a48bef0de7c DIST fonttools-4.65.0.gh.tar.gz 4113728 BLAKE2B a8315b819ae12417b6757956d237fa9fffb4a2e75dc893c00be0dafe529880e161070f9496594b3414a0ef0932fe84092d1910ca2f292acc6cf9f1ba07506347 SHA512 b6066e438e5237ff18e9b44343d3533ccd4468ac4e685b066a1f5da035161c082468c025ff79832eec534e29a8bbac7cc558301b13abdb763c61f91d0ceecafa DIST fonttools-4.66.0.gh.tar.gz 4129212 BLAKE2B d35d913e0dda168b623cff44a7fa430b5d5922e5ffdca3c0b14f7882780c26412b0e001dd2d277e806f5202fac1deb05bda12291343de45a5ac92482beb8e1db SHA512 01db954f6f895d941dbae3cbf900683e737ec8b4f46fc2b7158cdf9fab2fb350b9121724088521b5d790d2e5ec0e70939ae1757d1612c87616ecbfec2b9ae0b9 DIST fonttools-4.66.1.gh.tar.gz 4131087 BLAKE2B dd76251baec8d84b91dda84aa3abde77a58a09a3ab105f4cfe17eacfd54774ea2e4fb654aba616b5b2b355da4cfc5e5ee43d1f276a38e6daee950aef502df86d SHA512 3a9eceeb3ca630c3e8565e9a097e140c8552bd641e8db4ba4ddd4298a0df43283844d8b655d92922d3caf33d8deff25f08d558362b62184e450148a2cfc9d2ee +DIST fonttools-4.67.0.gh.tar.gz 4184076 BLAKE2B a7453ceb3709b344b32b70dd415e5bfab2d55fbf775e9f21f9228519b49b51dec640b48d6ddb12c8355928462ebf378b3ac20ac097a3099781d83c5187c59cfa SHA512 98f8b15033e6df01a2e4f85645bf70670fecadd544889d13392dd5af2b35c7f3b229f41b555120fa1f4ebfabcd63720d663ae684fc27185f3c6d805e731ade3d diff --git a/dev-python/fonttools/fonttools-4.67.0.ebuild b/dev-python/fonttools/fonttools-4.67.0.ebuild new file mode 100644 index 000000000000..ba3df1e78639 --- /dev/null +++ b/dev-python/fonttools/fonttools-4.67.0.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 virtualx + +DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts" +HOMEPAGE=" + https://github.com/fonttools/fonttools/ + https://pypi.org/project/fonttools/ +" +SRC_URI=" + https://github.com/fonttools/fonttools/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="+native-extensions" + +BDEPEND=" + native-extensions? ( + dev-python/cython[${PYTHON_USEDEP}] + ) + test? ( + dev-python/brotlicffi[${PYTHON_USEDEP}] + dev-python/munkres[${PYTHON_USEDEP}] + app-arch/zopfli + ) +" + +EPYTEST_PLUGINS=( pytest-rerunfailures ) +# woff2 tests are extremely flaky +EPYTEST_RERUNS=20 +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # length mismatches; possibly zlib-ng? + Tests/ttLib/woff2_test.py::WOFF2ReaderTTFTest::test_table_tags + Tests/ttLib/woff2_test.py::WOFF2WriterTest::test_calcTotalSize_no_flavorData + Tests/ttLib/woff2_test.py::WOFF2WriterTest::test_calcTotalSize_with_metaData + Tests/ttLib/woff2_test.py::WOFF2WriterTest::test_calcTotalSize_with_metaData_and_privData + Tests/ttLib/woff2_test.py::WOFF2WriterTest::test_calcTotalSize_with_privData + Tests/ttLib/woff2_test.py::WOFF2WriterTest::test_checksums + Tests/ttLib/woff2_test.py::WOFF2WriterTest::test_head_transform_flag + Tests/ttLib/woff2_test.py::WOFF2WriterTest::test_hmtx_trasform + Tests/ttLib/woff2_test.py::WOFF2WriterTest::test_no_transforms +) + +python_compile() { + local -x FONTTOOLS_WITH_CYTHON=$(usex native-extensions) + distutils-r1_python_compile +} + +src_test() { + # virtualx used when matplotlib is installed causing plot module tests to run + virtx distutils-r1_src_test +} + +python_test() { + # nonfatal for virtx + nonfatal epytest Tests fontTools || + die -n "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 84adcf220140..d47fd8086cc0 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -8,4 +8,6 @@ DIST pypdf-6.20.0.tar.gz 7072602 BLAKE2B 077fda66d0c13c430e86964aff1f42ee08d8998 DIST pypdf-6.20.0.tar.gz.provenance 9621 BLAKE2B 41ad2e67c10eb3761f6b76641f7a5a5382564b5c359b80376addbf97f0ed5302aadd4ed53ad6fe68c37a9093920b4855a29614150a04dcfa1ab403f2190424d8 SHA512 fcba515f2c5f0572caec8083ac31d405d54b0fbe63a73595785d1ee324e791efb2b70ea289bd3c32eb4856392d2c22b8c0f30e12e34eba246a3993fa40e9578a DIST pypdf-6.20.1.tar.gz 7075352 BLAKE2B 37cdad5ac64fcd04d20de5f92e8ebbfc0812247469948d4c2f6d5f903e2fee3973cce57beb7d56e023d98706d15a06033e407b6e72894711358c7d15eff9b8b0 SHA512 0522345a0501cba23bac9f8170a712a86d77308ddba31c86313add40e74847e5a568ab1d464af5a9db0ed39f68ca5011d9b6b35f25c5c4b0c0b652308431317a DIST pypdf-6.20.1.tar.gz.provenance 9621 BLAKE2B e8dfa965f337d79c88de17dbeec0e6d4c00ae93d900dfd8520fff99a0eb86ed3b5d975c91d82d7283558334ae829913a4dbfc77ca25197b14c9be2db9678f51e SHA512 f6edea4c84e085d4a4b62c2550fd1efa277c58ae650b3c6c94a16ec6b82e3da67500ab47ab44f22a3d6653b7af09da08ef842232dc1a5325c089d264eb837059 +DIST pypdf-6.21.0.tar.gz 7088285 BLAKE2B d88a8775a88855a3d3c68ad428d2e3cc71287e25ad2f0403dd275109cf6b3c6ecfecf7e3f91e0c5593ee5ba05efdb0a6466b978c6a28a32dd11f592a5c723c80 SHA512 0529c071d661c117fb294748e0a8cc838543c41f91772c7fc752365ae46744be3257a822bcbd159a90128a1a515bcce6010a7661eb2a9dca9bfeaecc6154c19b +DIST pypdf-6.21.0.tar.gz.provenance 9668 BLAKE2B ae490f77ca9169550fb48cdbd1b159e0f5bcef6a09a9e838f0d1bfb741dc41fc0fdc96a871f5d287cb4658894ac9014bffc28a1956013350422485b2da1dfeb8 SHA512 619a8e31272eae7b659cf7374a2409db6a287c8b6c7241d51b526f6cf1826f3d4f9f955a117b2eee8d04b1fea8e98d5e83ca61947923a92964a23ce1b84fd6fa DIST pypdf-sample-files-818dc013ad1f537198e9fcfae8a6b0dffe25ffa3.gh.tar.gz 11850954 BLAKE2B fbd0af91de44f2d224b3266727f0dfc462efb4d23176f4ebff147cbfa37337d891859c468b545d0c00796048584e6b621dc622d667e3d45c0b89b92f29ca3030 SHA512 bc601bfaf17f31c6358f594eaf879479e97028d7f5e5825c309a5d1eb843bfea5080c9e151287a0d915ecbc3f4d4755e326ac8fa1ceeb696c76b9f5ecc0d7e9f diff --git a/dev-python/pypdf/pypdf-6.21.0.ebuild b/dev-python/pypdf/pypdf-6.21.0.ebuild new file mode 100644 index 000000000000..4dc16068247d --- /dev/null +++ b/dev-python/pypdf/pypdf-6.21.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit-core +PYPI_VERIFY_REPO=https://github.com/py-pdf/pypdf +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +SAMPLE_COMMIT=818dc013ad1f537198e9fcfae8a6b0dffe25ffa3 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI+=" + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" + +BDEPEND=" + test? ( + >=dev-python/cryptography-3.1[${PYTHON_USEDEP}] + dev-python/fonttools[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,zlib,${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + media-libs/jbig2dec[png] + ) +" + +EPYTEST_PLUGINS=( pytest-timeout ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # probably requires extra deps + tests/test_appearance_stream.py::test_appearance_stream_rtl + # speed test, uses tons of memory + tests/test_filters.py::test_flatedecode__decode_png_prediction__speed + # apparently we get half the limit somehow? + tests/generic/test_data_structures.py::test_dictionary_object__read_from_stream__missing_length__limit + tests/generic/test_data_structures.py::test_dictionary_object__read_from_stream__read_unsized__limit +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}" "${S}"/sample-files || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +} diff --git a/dev-python/python-discovery/Manifest b/dev-python/python-discovery/Manifest index b2c44894605f..f4c0d169129b 100644 --- a/dev-python/python-discovery/Manifest +++ b/dev-python/python-discovery/Manifest @@ -4,3 +4,5 @@ DIST python_discovery-1.6.1.tar.gz 84338 BLAKE2B 817e18c8706a1d582c928b65b7252c0 DIST python_discovery-1.6.1.tar.gz.provenance 9713 BLAKE2B 07cd6ce6319c44ed3f41fb53a481bb142a6c6c3c095d0254eb3933227e2ecb1baad428c1b6d011c0581fa4ab97d1465219044741002dfc2a25ff24363381f9e4 SHA512 6b177195e35a8bfb438c98f3f048f5d0179003b247033dc099ae2673c68d32f30e16d2eb3e5a3252c199c5365e015e906e73b242f49c1eaf9b67abb44a12ef69 DIST python_discovery-1.6.2.tar.gz 86921 BLAKE2B e5e79967f4781e17c18277b00e550314032be295aa4508841cdcfd978ba2a04a883da3627ac5c813145304e3a1f0e961a73995bd7e526e4ea6ed3366c520f3fa SHA512 b3843ff26640a0dda4c1b0ac4b8732776357b7fcdc7e7cddbb63d082c0e65aa69025f6dfbd06738483c1a4444e16fabc7abdffbe863f76401f61c1eeb1574d64 DIST python_discovery-1.6.2.tar.gz.provenance 9679 BLAKE2B 6da1fc38df4ed46f9101b1fb8182e2bde68f04d3c9192f87a667dba3ed05500ec0525003ea7140acb467e14860357ae046acc5a0380df79b8a8cb561667a52e3 SHA512 e0abc195f761676ee3b497fddd4ee0569620372a1d4322c43b2f34c9c534522582c60b052746e1ea6ff6c28a8bde0a8077e03533dac9edd3e1e9059a0608c309 +DIST python_discovery-1.6.3.tar.gz 88998 BLAKE2B 12417fd68545ad417856aec7797fca2534f3451295ffbd612a9fe422d74c804d4c9a627ea84f12aca22bf0a931ebee8d04309f70619f03236d0a76725de8761f SHA512 4f92b73674a972831cc1ccf30ce081731667087dc278070ce1679e8bffb28819be52f3aa63835a08cd6595fec394affdc220fe6e3da12b9f1a8426e3e8e73004 +DIST python_discovery-1.6.3.tar.gz.provenance 10055 BLAKE2B 51bb3f963c04bbce5fb80bdb946a95aa374fe7dc763441a79a7aac7b713a4367c9e94dd84b2b3f153d191a9c77b34de7febf581d7f019f799eb47be8ce3fc1d5 SHA512 fcc4bc79a7a7c3ac08bb90e8a119f954184aa5cef6655c0d9c5bfebe6fccc688897c14501a99e5b6735ecb4963ccc14eb03091a167cd6f9c12f6d7e8952458e5 diff --git a/dev-python/python-discovery/python-discovery-1.6.3.ebuild b/dev-python/python-discovery/python-discovery-1.6.3.ebuild new file mode 100644 index 000000000000..fddf512947d9 --- /dev/null +++ b/dev-python/python-discovery/python-discovery-1.6.3.ebuild @@ -0,0 +1,55 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/tox-dev/python-discovery +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python interpreter discovery" +HOMEPAGE=" + https://github.com/tox-dev/python-discovery/ + https://pypi.org/project/python-discovery/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/filelock-3.16.1[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/setuptools-75.1[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-mock ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # TODO: package vermin? + tests/test_py_info_collect.py + ) + local EPYTEST_DESELECT=() + + case ${EPYTHON} in + python3.*t) + EPYTEST_DESELECT+=( + # TODO + tests/test_py_info_extra.py::test_satisfies_path_not_abs_basename_match + tests/test_iter_interpreters.py::test_iter_interpreters_dedups_symlinks + tests/test_iter_interpreters.py::test_iter_interpreters_no_key_includes_running_interpreter + ) + ;; + esac + + epytest +} diff --git a/dev-python/tomlkit/Manifest b/dev-python/tomlkit/Manifest index 6e6087e62d64..657527ca90ea 100644 --- a/dev-python/tomlkit/Manifest +++ b/dev-python/tomlkit/Manifest @@ -1,2 +1,2 @@ -DIST tomlkit-0.15.0.tar.gz 161875 BLAKE2B b3a6086665fd7ba5edc29c910ff762c2bf516a5604ba7efedfff9b886a5122d2dc9bb5c7aa9832f40fa3e98be32ce85d4d92ef2a15f7cc6193ce491286e859b8 SHA512 dfb7dbb44243f13e01c0b66aa9e0a49edba8c4d8cf720bc81b2faa30877599f465ba38e9235a0b4323100c4efd82d78659b25cf15b345ce5fc5376c3695b73e4 DIST tomlkit-0.15.1.tar.gz 180129 BLAKE2B 4d1b00b7ef2a69ad412f16caac2f06febb3fbbc3f73d231f63b55612b66754b96565920cd01383251def682f4f93c4f393f620890d64d210c4c6edeefb503b06 SHA512 f47fec4f550167e5d95d19fe6d6bf1ee4f1587f852d12dd17c2d5b83410b510f891ee1235e70c8825ce4c1ac5b35126d4136f7dc02a07809c2642173be55bef1 +DIST tomlkit-0.15.2.tar.gz 190522 BLAKE2B 04fd9fc3a185b9cb68de4db7fdc2362683fa6fec798cdb483dbbad4a32b9bfc69834d75045442e9b738ce0d166cc70fd8374ce74a96f3681a8c85e834453ed6a SHA512 9b566b30d7e5c21bbfd6b2b0002b2bf668628401f6596f0df73747efc170e93fb9e0b2e9304cedcc28bd7a8776e09ab9fc5c9425fb55b68773db39251277cd52 diff --git a/dev-python/tomlkit/tomlkit-0.15.0.ebuild b/dev-python/tomlkit/tomlkit-0.15.0.ebuild deleted file mode 100644 index 3eb5b042a6e4..000000000000 --- a/dev-python/tomlkit/tomlkit-0.15.0.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Style preserving TOML library" -HOMEPAGE=" - https://github.com/python-poetry/tomlkit/ - https://pypi.org/project/tomlkit/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" - -BDEPEND=" - test? ( - dev-python/pyyaml[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest - -src_configure() { - grep -q 'build-backend = "poetry' pyproject.toml || - die "Upstream changed build-backend, recheck" - # write a custom pyproject.toml to ease setuptools bootstrap - cat > pyproject.toml <<-EOF || die - [build-system] - requires = ["flit_core >=3.2,<4"] - build-backend = "flit_core.buildapi" - - [project] - name = "tomlkit" - version = "${PV}" - description = "Style preserving TOML library" - EOF - - # some brilliant idea about forcing 1970 dates in sdist - # which are older than what zip can handle... - find -exec touch {} + || die -} diff --git a/dev-python/tomlkit/tomlkit-0.15.2.ebuild b/dev-python/tomlkit/tomlkit-0.15.2.ebuild new file mode 100644 index 000000000000..084518d0ce55 --- /dev/null +++ b/dev-python/tomlkit/tomlkit-0.15.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit-core +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Style preserving TOML library" +HOMEPAGE=" + https://github.com/python-poetry/tomlkit/ + https://pypi.org/project/tomlkit/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_configure() { + grep -q 'build-backend = "poetry' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease setuptools bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "tomlkit" + version = "${PV}" + description = "Style preserving TOML library" + EOF + + # some brilliant idea about forcing 1970 dates in sdist + # which are older than what zip can handle... + find -exec touch {} + || die +} + +python_test() { + local EPYTEST_DESELECT=() + + if [[ ${EPYTHON} == pypy* ]]; then + EPYTEST_DESELECT+=( + # https://github.com/python-poetry/tomlkit/issues/619 + tests/test_items.py::test_times_behave_like_times + ) + fi + + epytest +} diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index 56d4d108cde1..89a2c15d25db 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -28,3 +28,5 @@ DIST tox-4.65.5.tar.gz 343779 BLAKE2B 1a18c2c8e92c706d58794dda4f1b658aa0a1e2b29f DIST tox-4.65.5.tar.gz.provenance 9326 BLAKE2B b82af0b9ffccf77af8a1153f53e03baaad102a725ec608bace4da08d3804b443e50d0e447b951e15aaef00890ee2b870e7ba158b7d8a66379853d49043f9469b SHA512 4bc521a31fac6c0a4800b4a60efa23926393ef871e2b9c42388e5ec73aa9edbd03d9873268c6dd622d6990115e8d06ab00e734918dd8f0ea06b49a47dd29dab3 DIST tox-4.65.6.tar.gz 344248 BLAKE2B 51035fbc0901e2e6cec013afa6ab6568624a3b6173262583914af709a795dc3b7b5729b484a25fe1660c417014dbe5c25edd59b25f67c6c590be6e89feb8fc82 SHA512 4c2150cb7d37cfc312cb8e3fa5e3cd5323915d4f01a671e7a1129116fc8a01eaefffca3ada0caacba6531f00ae4a5d1c9331c56cb8984135fa08ee9c6ab53fa6 DIST tox-4.65.6.tar.gz.provenance 9624 BLAKE2B f55d088386544d9b0e7e9770d0f511dc202c12af35d2366ba16c482dd462617b839bb99e04cd1c0ad18b1b6c95a0dbcf0df8bab284e0c52b6f25f660d974a486 SHA512 8f80e86241104d8f0b36d6d79495343785e957dd27671c90a6004494ba424810af350f7a04b1be8ae5c9a4be63595ac96d8e9c7c6dd10d769e25fdf121e6c4ad +DIST tox-4.66.0.tar.gz 344679 BLAKE2B 4d7a437caf1c90c2fe7b02ef919557787aa99fbda0719d5c3ed2e93c491003fba585fb8d17a0211e35d9bc3d7bccd026f698e70bcd08701ed61c5c6b701ecc05 SHA512 d5b42f3e21f488d4417d674b06aba8be5060d46a077c156d3cd0e9102602c61222ded2516988e9f927dd3bc9175df32f26cc34077576d6ebffed4094184acdb8 +DIST tox-4.66.0.tar.gz.provenance 9244 BLAKE2B c2cfbcd12de6f9312887e675784e7e2879d23b669acbdd4b984dd359e60077e49a9d5880ab904583eb53a3d8a7cab510b4ff5e908dfd3c9e7955f63b1d5842e3 SHA512 40a99a6a6798b587d1c665fb7857c5867be2fcebfe00c5a3e8c41fc05eeedcc956ea0ed6e4b156dbe7fd4ac15552121ce62b5e4c2080d00938e03da018ca11ad diff --git a/dev-python/tox/tox-4.66.0.ebuild b/dev-python/tox/tox-4.66.0.ebuild new file mode 100644 index 000000000000..9d80c8ee22b8 --- /dev/null +++ b/dev-python/tox/tox-4.66.0.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/tox-dev/tox +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="virtualenv-based automation of test activities" +HOMEPAGE=" + https://tox.readthedocs.io/ + https://github.com/tox-dev/tox/ + https://pypi.org/project/tox/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~riscv ~s390 ~x86" + +RDEPEND=" + dev-python/cachetools[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/filelock[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/pluggy[${PYTHON_USEDEP}] + dev-python/pyproject-api[${PYTHON_USEDEP}] + dev-python/python-discovery[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.15[${PYTHON_USEDEP}] + ' 3.12) +" +BDEPEND=" + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/argcomplete[${PYTHON_USEDEP}] + dev-python/build[${PYTHON_USEDEP}] + dev-python/distlib[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/re-assert[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{mock,rerunfailures,timeout,xdist} time-machine ) +EPYTEST_RERUNS=3 +# upstream timeouts are quite short +: ${EPYTEST_TIMEOUT:=180} +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # upstream lower bounds are meaningless + sed -i -e 's:>=[0-9.]*::' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + # devpi_process is not packaged, and has lots of dependencies + cat > "${T}"/devpi_process.py <<-EOF || die + def IndexServer(*args, **kwargs): raise NotImplementedError() + EOF + + local -x PYTHONPATH=${T}:${PYTHONPATH} + local EPYTEST_DESELECT=( + # Internet + tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_build_wheel_external + tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_run_installpkg_targz + tests/tox_env/python/virtual_env/package/test_package_pyproject.py::test_pyproject_installpkg_pep517_envs + # require tombi + tests/session/cmd/test_schema.py::test_schema_tombi_lint + ) + local EPYTEST_IGNORE=( + # requires devpi* + tests/test_provision.py + ) + + epytest -o addopts= +} diff --git a/dev-python/wxpython/Manifest b/dev-python/wxpython/Manifest index 135fc72988a3..9dacb7978568 100644 --- a/dev-python/wxpython/Manifest +++ b/dev-python/wxpython/Manifest @@ -1,3 +1,2 @@ -DIST wxPython-4.2.3.tar.gz 58861286 BLAKE2B 2c674227ff109564be1431f2a86a212250ffac809fed4ca8934f7473c93616603e252098511e443ffdf460ab546b5eb17b3f29ab275fb8b5433041a4d47e48cb SHA512 c7b9f0758b9d77dbeab436e8069c024796b6f252af5043615e14083b3f62fb44386c5f325a118f9e2d99c15eeb7687bb1cc1a13a00263114689b32e2126364a7 DIST wxpython-4.2.5.tar.gz 58732217 BLAKE2B 767238e3279c92c3a15fdcd8752ccab47325ca5e3fb3750f47e8d7a13882024dfc84470dfefb885c7aff121a385feb205db211a4c66d850230953e6ddbfd7e47 SHA512 a094faab4f901e46c6a771168160b0e3fec336e937507fedab97a0645df55671af046e673344a37d3d6997fadcb83c5490a673c2475c200841ef9eb12bc19763 DIST wxpython-4.2.5.tar.gz.provenance 9350 BLAKE2B 98ce7cd4cad7ac0a0c937d91ef2b680b60cb35f94a079d6f042acd2b80dfd875aa02eddbba40c9414dd97c925b5b5fe7d09b8a66f7baa99f43b7eaa5ed03ac11 SHA512 1cf3d1f4b9b2c7c29d4126c81cf657d5777568630b49828304cf659c37e0a6c252cd7644fcb0990dbff88cb8f62193c8940b125ed6626f52ce1e9b1a3575a388 diff --git a/dev-python/wxpython/wxpython-4.2.3-r2.ebuild b/dev-python/wxpython/wxpython-4.2.3-r2.ebuild deleted file mode 100644 index 53d9c5c76988..000000000000 --- a/dev-python/wxpython/wxpython-4.2.3-r2.ebuild +++ /dev/null @@ -1,141 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..13} ) -PYPI_NO_NORMALIZE=1 -PYPI_PN="wxPython" -WX_GTK_VER="3.2-gtk3" - -inherit distutils-r1 multilib multiprocessing virtualx wxwidgets pypi - -DESCRIPTION="A blending of the wxWindows C++ class library with Python" -HOMEPAGE=" - https://www.wxpython.org/ - https://github.com/wxWidgets/Phoenix/ - https://pypi.org/project/wxPython/ -" - -LICENSE="wxWinLL-3" -SLOT="4.0" -KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86" -IUSE="test webkit" -RESTRICT="!test? ( test )" - -# wxPython doesn't seem to be able to optionally disable features. webkit is -# optionally patched out because it's so huge, but other elements are not, -# which makes us have to require all features from wxGTK -DEPEND=" - >=x11-libs/wxGTK-3.2.7:${WX_GTK_VER}=[gstreamer,libnotify,opengl,sdl,tiff,webkit?,X] - media-libs/libpng:= - media-libs/tiff:= - media-libs/libjpeg-turbo:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - app-text/doxygen - dev-python/cython[${PYTHON_USEDEP}] - >=dev-python/sip-6.11.1-r1[${PYTHON_USEDEP}] - test? ( - ${VIRTUALX_DEPEND} - dev-python/appdirs[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pytest-forked[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}/${PN}-4.2.0-flags.patch" - "${FILESDIR}/${PN}-4.2.1-x86-time.patch" - "${FILESDIR}/${PN}-4.2.2-setuppy.patch" -) - -python_prepare_all() { - if ! use webkit; then - eapply "${FILESDIR}/${PN}-4.2.0-no-webkit.patch" - fi - - local build_options="build_py --use_syswx --no_magic --jobs=$(makeopts_jobs) --verbose --release" - - DISTUTILS_ARGS=( - --verbose - build - --buildpy-options="${build_options}" - ) - - distutils-r1_python_prepare_all - - # sigh - sed -i -e '/from buildtools/i\ -sys.path.insert(0, ".")' setup.py || die - - # sigh, used only when fetching things implicitly which we definitely - # don't want; https://bugs.gentoo.org/955593 - sed -i -e '/requests/d' build.py || die -} - -src_configure() { - setup-wxwidgets -} - -python_compile() { - # Patch will fail if copy of refreshed sip file is not restored - # if using multiple Python implementations - DOXYGEN="$(type -P doxygen)" ${PYTHON} build.py dox etg sip --nodoc || die - cp "${S}/sip/cpp/sip_corewxAppTraits.cpp" "${S}" || die - - eapply "${FILESDIR}/${PN}-4.2.2-no-stacktrace.patch" || die - - distutils-r1_python_compile - - # This package's built system relies on copying extensions back - # to source directory for setuptools to pick them up. This is - # hopeless. - find -name "*$(get_modname)" -delete || die - - cp "${S}/sip_corewxAppTraits.cpp" "${S}/sip/cpp/" || die -} - -python_test() { - local EPYTEST_DESELECT=( - # virtx probably - unittests/test_display.py::display_Tests::test_display - unittests/test_frame.py::frame_Tests::test_frameRestore - unittests/test_mousemanager.py::mousemanager_Tests::test_mousemanager1 - unittests/test_uiaction.py::uiaction_KeyboardTests::test_uiactionKeyboardChar - unittests/test_uiaction.py::uiaction_KeyboardTests::test_uiactionKeyboardKeyDownUp - unittests/test_uiaction.py::uiaction_MouseTests - - # assertion (TODO) - unittests/test_aboutdlg.py::aboutdlg_Tests::test_aboutdlgGeneric - unittests/test_lib_agw_piectrl.py::lib_agw_piectrl_Tests::test_lib_agw_piectrlCtor - - # seems to rely on state from a previous test (sigh) - unittests/test_lib_agw_persist_persistencemanager.py::lib_agw_persist_persistencemanager_Tests::test_persistencemanagerRestore - - # requires Spanish localization - unittests/test_intl.py::intl_Tests::test_intlGetString - - # TODO - unittests/test_tipwin.py::tipwin_Tests::test_tipwinCtor - unittests/test_lib_pubsub_provider.py::lib_pubsub_Except::test1 - unittests/test_windowid.py::IdManagerTest::test_newIdRef03 - ) - local EPYTEST_IGNORE=() - if ! use webkit; then - EPYTEST_IGNORE+=( unittests/test_webview.py ) - fi - - rm -rf wx || die - # We use pytest-forked as opensuse does to avoid tests corrupting each - # other. - virtx epytest --forked unittests -} diff --git a/dev-python/zope-hookable/Manifest b/dev-python/zope-hookable/Manifest index ccd5d9e14db3..1bacf34c5e6c 100644 --- a/dev-python/zope-hookable/Manifest +++ b/dev-python/zope-hookable/Manifest @@ -1,3 +1,4 @@ -DIST zope_hookable-8.2.tar.gz 19275 BLAKE2B 28693fefa56080ff4d081c15bd71f39fb61ebf3da17508dd934502a3c173114e3a687d61835708df35463153f783e1981adfc66e8fae83a7a7800d4df6ee8d58 SHA512 90eb4d2fb389de52f613a2dab83156d183b914d3be4253de67367693d1cec06d9c84e272acbc7742ca637c4a01401125c2864f2941b6549b4230fc0928d4cf0e DIST zope_hookable-8.3.tar.gz 20679 BLAKE2B 7e7d05c27988bf8f6a0490c8bb852d7ba4835cfd94c202bb39bb73b0509b74bf8370bd0357b84b3a1d08a15025e749c438680eb12e4138ed3fcb8e4807b506c3 SHA512 6867a42b6be7628b5de60f5f6d88a65fe17972c59d18925352d199c6bd606ae81bed5fcdac29d950341bde2429125da88ad79bd501df429dd2cad45cb287e26c DIST zope_hookable-8.3.tar.gz.provenance 9977 BLAKE2B fd19c54d9501c6ee3a55e81e26c4ff314ef82852b5ea5bdeb1311bbdbf5baef5d1db29ed217a2c5337764efbcc40a501b5efdbcf3bccdfa4655077c8ae084e09 SHA512 8d7a6cc5a41c67d4e9a6c977a84e82e9db63c27bc223ae64d2b4ea43f3ed55d623a9fecf07d2b3bf676e7878df903d310495ad93c0535ba3175ce1b1657e3cb2 +DIST zope_hookable-8.4.tar.gz 20982 BLAKE2B 26cb736945df96aa44d35ccffd6f69792db3894198bb74bd9f02e64cacca4c7156bd5cd2d1d307818c4160981e77056caefec1e749e7dddb42b564425cafc750 SHA512 02fdcd72cce146023c4f5fb97e20daa039e12a4cd95a6597124df11b46b19064471fa625423d650bf16f0dcbe690c82fa48756000f0a2f4b0ee6eafc079055ac +DIST zope_hookable-8.4.tar.gz.provenance 10186 BLAKE2B e98e3ede33a1740c37302a6f179604d9d4be214014125eb1b76e0fe76561b52bb89888b94ae3710d6f741b6997930988277d8d1abb86e1dd113cdf90031632d0 SHA512 50b64dceac163234fba733088e0184dd1fca7c6e1de4530d86abbd7e002d44e3104c786dae1a5a1c9560ddb9e5358a3c250c05b5d5c55893e5539883687dfff9 diff --git a/dev-python/zope-hookable/zope-hookable-8.2.ebuild b/dev-python/zope-hookable/zope-hookable-8.2.ebuild deleted file mode 100644 index c586571202b1..000000000000 --- a/dev-python/zope-hookable/zope-hookable-8.2.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 2022-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Efficient creation of 'hookable' objects" -HOMEPAGE=" - https://pypi.org/project/zope.hookable/ - https://github.com/zopefoundation/zope.hookable/ -" - -LICENSE="ZPL" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - test? ( - dev-python/zope-testing[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -python_test() { - eunittest -s "${BUILD_DIR}/install$(python_get_sitedir)/zope" -} diff --git a/dev-python/zope-hookable/zope-hookable-8.4.ebuild b/dev-python/zope-hookable/zope-hookable-8.4.ebuild new file mode 100644 index 000000000000..630d37e51b62 --- /dev/null +++ b/dev-python/zope-hookable/zope-hookable-8.4.ebuild @@ -0,0 +1,36 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=${PN/-/.} +PYPI_VERIFY_REPO=https://github.com/zopefoundation/zope.hookable +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Efficient creation of 'hookable' objects" +HOMEPAGE=" + https://pypi.org/project/zope.hookable/ + https://github.com/zopefoundation/zope.hookable/ +" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + dev-python/zope-testing[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +python_test() { + eunittest -s "${BUILD_DIR}/install$(python_get_sitedir)/zope" +} diff --git a/dev-python/zope-i18nmessageid/Manifest b/dev-python/zope-i18nmessageid/Manifest index d81c4288fc68..0c1132ab46c3 100644 --- a/dev-python/zope-i18nmessageid/Manifest +++ b/dev-python/zope-i18nmessageid/Manifest @@ -1,3 +1,4 @@ -DIST zope_i18nmessageid-8.2.tar.gz 24716 BLAKE2B 73751a2c466ea8331a47f6ce13920cf4fa47585c6962a66c20c721428c4955d3610151891e909447beec023195bc9edef613bb77bb2ec6b5933063204d1e568b SHA512 59c625f45f0b1819af27a29a455fd1a960e1ca3e7a62ddcd5e4b06f76e5398213ee4d4f5c5b30b2c03ce910dddf7f9cf18cd6a4ecd48a23978bfad574ac22037 DIST zope_i18nmessageid-8.3.tar.gz 26850 BLAKE2B 22f70c69eae137f6899e803011c2c0c6e5158b6b0e7547a2011e1d3bab642f85c3e66a9861ae1058dea94d99c57bf45e6573696b5d9727f5726529c58aed4256 SHA512 854471d79ef4856106da1fb3d30281ae74ef0c1c11f0a7c4bb2e2234e6ea384534b4a32da69cc2c006e9ca7c3b421eb19d57c8833e9dab51ce4aa34e11b26d39 DIST zope_i18nmessageid-8.3.tar.gz.provenance 10141 BLAKE2B 8f22499b92f741595e4619ed2325c7f5776b4254208a74b28328c95bfd3a5531c5559ccc7f79f0282f3dc001334cc879dfdda91f95dcb2c47a2bdeb3f343861c SHA512 88785e1b963ce47a7fa0fa93962c1548eb4226c977350f2045390d839bd8befafe21728d847a7a1e159603f123e3d2c3cdf0f47e9136e0c29c66f6b700ce7a63 +DIST zope_i18nmessageid-8.4.tar.gz 27186 BLAKE2B cc9a039b79931b19072ad2f4d9eb6e6e9179b1cdb9c7949bf999d0e4cfbc0e5e27a5f8f19926cb2f2c48b5dc6f1ec1b4cd793a7100af0154f8cf6bbdf4d95ee5 SHA512 5dfeabf8fbc8a20bb5007325aa7b5581558293ced81d066d32361a97a0f577db9d475eb5c0d58aaf2ed985ea74687195b87277fcf04c911b421a1dfabd32fbc8 +DIST zope_i18nmessageid-8.4.tar.gz.provenance 9806 BLAKE2B 243a7f9afb927d073e934fc19e13fce3f6c21c864983cce402ad2bda43548a38bbaaa56f525016570027dafa45b4dc62018ff3cd7b733b075c59541089749cf4 SHA512 8533fada36be1d3a7d3e3567a27324971b1482bb055677e772844c4efb84e2cec7ae48e7ccc2e3f8b391790ca3ccb98d49249402b77a7353eb0ed4f151eddade diff --git a/dev-python/zope-i18nmessageid/zope-i18nmessageid-8.2.ebuild b/dev-python/zope-i18nmessageid/zope-i18nmessageid-8.2.ebuild deleted file mode 100644 index 745381f3c70f..000000000000 --- a/dev-python/zope-i18nmessageid/zope-i18nmessageid-8.2.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Zope support for i18nmessageid (tagging source of i18n strings)" -HOMEPAGE=" - https://pypi.org/project/zope.i18nmessageid/ - https://github.com/zopefoundation/zope.i18nmessageid/ -" - -LICENSE="ZPL" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" - -distutils_enable_tests unittest - -src_prepare() { - distutils-r1_src_prepare - - # force failure if extension build fails - sed -i -e "s/cmdclass={.*},//" setup.py || die -} - -python_test() { - eunittest -s "${BUILD_DIR}/install$(python_get_sitedir)/zope" -} diff --git a/dev-python/zope-i18nmessageid/zope-i18nmessageid-8.4.ebuild b/dev-python/zope-i18nmessageid/zope-i18nmessageid-8.4.ebuild new file mode 100644 index 000000000000..17283f8de555 --- /dev/null +++ b/dev-python/zope-i18nmessageid/zope-i18nmessageid-8.4.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=${PN/-/.} +PYPI_VERIFY_REPO=https://github.com/zopefoundation/zope.i18nmessageid +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Zope support for i18nmessageid (tagging source of i18n strings)" +HOMEPAGE=" + https://pypi.org/project/zope.i18nmessageid/ + https://github.com/zopefoundation/zope.i18nmessageid/ +" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +distutils_enable_tests unittest + +src_prepare() { + distutils-r1_src_prepare + + # force failure if extension build fails + sed -i -e "s/cmdclass={.*},//" setup.py || die +} + +python_test() { + eunittest -s "${BUILD_DIR}/install$(python_get_sitedir)/zope" +} diff --git a/dev-util/bpf-linker/bpf-linker-0.9.15-r1.ebuild b/dev-util/bpf-linker/bpf-linker-0.9.15-r1.ebuild index 19ee38c80952..af66642ba6ed 100644 --- a/dev-util/bpf-linker/bpf-linker-0.9.15-r1.ebuild +++ b/dev-util/bpf-linker/bpf-linker-0.9.15-r1.ebuild @@ -1,9 +1,11 @@ -# Copyright 2025 Gentoo Authors +# Copyright 2025-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -RUST_MIN_VER=1.90.0 +# Must match LLVM used by rustc +RUST_MIN_VER=1.91.0 +RUST_MAX_VER=1.94.1 CRATES=" " @@ -11,8 +13,7 @@ declare -A GIT_CRATES=( [compiletest_rs]='https://github.com/Manishearth/compiletest-rs;0c1418d5cd5177ee9d863a5c2f300c0973cfc4f1;compiletest-rs-%commit%' ) -# LLVM 19 fails on assertions -LLVM_COMPAT=( {20..21} ) +LLVM_COMPAT=( 21 ) RUST_REQ_USE="llvm_targets_BPF(+),rust_sysroots_bpf(-)" inherit cargo llvm-r2 toolchain-funcs @@ -33,7 +34,7 @@ LICENSE+=" || ( Apache-2.0 Boost-1.0 ) " SLOT="0" -KEYWORDS="~amd64 ~arm64" +KEYWORDS="amd64 ~arm64" IUSE="test" RESTRICT="!test? ( test )" diff --git a/net-analyzer/kapacitor/Manifest b/net-analyzer/kapacitor/Manifest deleted file mode 100644 index e84886f6f4f4..000000000000 --- a/net-analyzer/kapacitor/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST kapacitor-1.5.5.tar.gz 5708426 BLAKE2B 432d24f3bbe0f42e36b881e0c709cebd96dd3674ddf752f6a25cfb333108c903073b887e12d630d6c9e33a77b1256ea090cfe216cd9eb30b9bee53c48b7ab154 SHA512 34a2577a9c6f069ab8f747b9bd2f80f941bbedcccd740c24ec9f308804ec259e78cf14c924fcee3315b6f9f7f59adb9c50aedf06587898b8a0fb54f721d79212 diff --git a/net-analyzer/kapacitor/files/kapacitor.confd b/net-analyzer/kapacitor/files/kapacitor.confd deleted file mode 100644 index d58906ae3e7a..000000000000 --- a/net-analyzer/kapacitor/files/kapacitor.confd +++ /dev/null @@ -1,12 +0,0 @@ -#The convention in this file is to show the default setting commented -#out. -#To change the setting, uncomment it then change the value. - -#This is the kapacitor error log: -#error_log="/var/log/kapacitor/kapacitor.log" - -#This is the kapacitor output log: -#output_log="/dev/null" - -# Extra options to pass to kapacitord: -#kapacitor_opts="" diff --git a/net-analyzer/kapacitor/files/kapacitor.rc b/net-analyzer/kapacitor/files/kapacitor.rc deleted file mode 100644 index b89d0b1cbf92..000000000000 --- a/net-analyzer/kapacitor/files/kapacitor.rc +++ /dev/null @@ -1,35 +0,0 @@ -#!/sbin/openrc-run - -config=/etc/kapacitor/kapacitor.conf -pidfile=/var/run/kapacitord.pid -command=/usr/bin/kapacitord -command_args="-config ${config} ${kapacitor_opts}" -command_background=yes -make_pidfile=yes -command_user="kapacitor:kapacitor" - -# Logging -error_log="${error_log:-/var/log/kapacitor/kapacitor.err}" -output_log="${output_log:-/dev/null}" - -# Max open files -rc_ulimit="-n 65536" - -depend() { - after net -} - -start_pre() { - # Check if config file exist - if [ ! -r ${config} ]; then - eerror "config file ${config} doesn't exist" - return 1 - fi - if [ ! -f "$error_log" ]; then - mkdir -p "$(dirname $error_log)" - fi - if [ ! -f "$output_log" ]; then - mkdir -p "$(dirname $output_log)" - fi - return 0 -} diff --git a/net-analyzer/kapacitor/kapacitor-1.5.5.ebuild b/net-analyzer/kapacitor/kapacitor-1.5.5.ebuild deleted file mode 100644 index b30d15009984..000000000000 --- a/net-analyzer/kapacitor/kapacitor-1.5.5.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit golang-build golang-vcs-snapshot systemd -EGO_PN=github.com/influxdata/kapacitor - -DESCRIPTION="Monitoring, processing and alerting on time series data" -HOMEPAGE="https://www.influxdata.com" -SRC_URI="https://github.com/influxdata/kapacitor/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -COMMON_DEPEND="acct-group/kapacitor - acct-user/kapacitor" - DEPEND="${COMMON_DEPEND}" - RDEPEND="${COMMON_DEPEND}" - -src_compile() { - pushd "src/${EGO_PN}" > /dev/null || die - set -- env GOPATH="${S}" go build -v -work -x ./... - echo "$@" - "$@" || die "compile failed" - popd > /dev/null -} - -src_install() { - pushd "src/${EGO_PN}" > /dev/null || die - set -- env GOPATH="${S}" go install -v -work -x ./... - echo "$@" - "$@" || die - dobin "${S}"/bin/kapacitor{,d} - insinto /etc/kapacitor -doins etc/kapacitor/kapacitor.conf -keepdir /etc/kapacitor/load - insinto /etc/logrotate.d - doins etc/logrotate.d/kapacitor - systemd_dounit scripts/kapacitor.service - keepdir /var/log/kapacitor - fowners kapacitor:kapacitor /var/log/kapacitor - newconfd "${FILESDIR}"/kapacitor.confd kapacitor - newinitd "${FILESDIR}"/kapacitor.rc kapacitor - popd > /dev/null || die -} diff --git a/net-analyzer/kapacitor/metadata.xml b/net-analyzer/kapacitor/metadata.xml deleted file mode 100644 index 2e322c517d3c..000000000000 --- a/net-analyzer/kapacitor/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - williamh@gentoo.org - William Hubbs - - srcux - diff --git a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.11.ebuild b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.11.ebuild index d4adf0866534..fea5225fcf3d 100644 --- a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.11.ebuild +++ b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.11.ebuild @@ -76,7 +76,7 @@ LICENSE+=" LGPL-3+ MIT Unicode-3.0 WTFPL-2 ZLIB " SLOT="0" -KEYWORDS="~amd64 ~arm64" +KEYWORDS="amd64 ~arm64" BDEPEND=" dev-util/bpf-linker diff --git a/net-proxy/mitmproxy-rs/mitmproxy-rs-0.12.11.ebuild b/net-proxy/mitmproxy-rs/mitmproxy-rs-0.12.11.ebuild index 4247bb8603d5..fc036fe1327d 100644 --- a/net-proxy/mitmproxy-rs/mitmproxy-rs-0.12.11.ebuild +++ b/net-proxy/mitmproxy-rs/mitmproxy-rs-0.12.11.ebuild @@ -30,7 +30,7 @@ LICENSE+=" LGPL-3+ MIT Unicode-3.0 WTFPL-2 ZLIB " SLOT="0" -KEYWORDS="~amd64 ~arm64" +KEYWORDS="amd64 ~arm64" RDEPEND=" ~net-proxy/mitmproxy-linux-${PV}[${PYTHON_USEDEP}] diff --git a/profiles/default/linux/eapi b/profiles/default/linux/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/default/linux/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/default/linux/package.mask b/profiles/default/linux/package.mask new file mode 100644 index 000000000000..ebca6f1973e3 --- /dev/null +++ b/profiles/default/linux/package.mask @@ -0,0 +1,29 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Sam James (2025-11-05) +# A libatomic drop-in replacement, which conflicts with sys-devel/gcc, +# therefore meant only for profiles which can work without GCC being +# present even as a fallback. +llvm-runtimes/libatomic-stub + +# Michal Rostecki (2025-02-10) +# A libgcc_s drop-in replacement, which conflicts with sys-devel/gcc, +# therefore meant only for profiles which can work without GCC being +# present even as a fallback. +llvm-runtimes/libgcc + +# Sam James (2025-01-10) +# These packages are only relevant on musl systems. +sys-libs/argp-standalone +sys-libs/error-standalone +sys-libs/fts-standalone +sys-libs/obstack-standalone +sys-libs/queue-standalone +sys-libs/rpmatch-standalone + +# Sam James (2023-06-06) +# Only available on Linux. +-dev-libs/libaio +-sys-libs/libcap-ng +-sys-libs/libseccomp diff --git a/profiles/default/linux/package.use.force b/profiles/default/linux/package.use.force new file mode 100644 index 000000000000..155c529b4d30 --- /dev/null +++ b/profiles/default/linux/package.use.force @@ -0,0 +1,6 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Matt Turner (2024-12-11) +# Forced on to avoid potential breakage. +virtual/opengl X diff --git a/profiles/default/linux/package.use.mask b/profiles/default/linux/package.use.mask new file mode 100644 index 000000000000..8d689c51c576 --- /dev/null +++ b/profiles/default/linux/package.use.mask @@ -0,0 +1,75 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Sam James (2026-09-23) +# Only supported on Linux. +dev-libs/elfutils -stackprof + +# Ben Kohler (2025-11-11) +# The depended on packages will need to be keyworded for various arches +# to which I don't have access. +dev-db/mariadb aws-km + +# Patrick Lauer (2025-09-19) +# Dependency currently in ::guru +games-board/lc0 onnx + +# Conrad Kostecki (2025-09-06) +# Currently does not build in headless mode. +# See: https://github.com/OpenRCT2/OpenRCT2/issues/25119 +>=games-simulation/openrct2-0.4.26 dedicated + +# idealseal (2025-07-08) +# Only supported on x86-64. +dev-util/sccache dist-server + +# Matt Turner (2025-04-23) +# Requires osmesa, which was removed in mesa-25.1 +app-emulation/aranym osmesa +app-emulation/crossover-bin osmesa + +# Sam James (2023-06-06) +# Needs linux-only dev-libs/libaio. +app-emulation/qemu -aio + +# Peter Levine (2019-10-01) +# Native inotify support is preferred on linux. +# bug #697476 +net-fs/samba fam + +# Patrick McLean (2019-09-17) +# Masked due to upstream build failures (bug #693018) +# One example: https://tracker.ceph.com/issues/41523 +>=sys-cluster/ceph-14.2 dpdk + +# Diego Elio Pettenò (2012-08-27) +# The libpci access is only used for linux. +net-analyzer/net-snmp -pci + +# Richard Yao (2012-08-22) +# USE=kernel-builtin is dangerous. Only those that know what they are doing +# should use it until documentation improves. +sys-fs/zfs kernel-builtin + +# Diego Elio Pettenò (2012-08-20) +# The prevent-removal USE flag is only implemented for Linux. +sys-auth/pam_mktemp -prevent-removal + +# Samuli Suominen (2012-01-10) +# Masked in base/package.use.mask as Linux -only feature +app-arch/libarchive -e2fsprogs + +# Diego E. Pettenò (2011-03-27) +# +# Unmask pdnsd's Linux-specific USE flags. +net-dns/pdnsd -urandom + +# Diego E. Pettenò (2009-08-20) +# Mask oss USE flag for PulseAudio; it's present for compatibility +# with FreeBSD and other operating systems that have no better +# interfaces, but people would probably abuse it with Linux as well. +media-sound/pulseaudio-daemon oss diff --git a/profiles/default/linux/use.mask b/profiles/default/linux/use.mask new file mode 100644 index 000000000000..a6cffc3e27a4 --- /dev/null +++ b/profiles/default/linux/use.mask @@ -0,0 +1,15 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# This file masks out USE flags that are simply NOT allowed in the default +# profile for any architecture. This works, for example, if a non-default +# profile (such as the selinux profiles) have a USE flag associated with +# them. + +# Samuli Suominen (2013-04-19) +# Linux specific module loading/unloading support +-kmod + +# Diego Elio Pettenò (2012-08-27) +# netlink is a Linux-specific interface +-netlink diff --git a/profiles/package.mask/00-gentoo b/profiles/package.mask/00-gentoo index a85d702b4541..da84f601988d 100644 --- a/profiles/package.mask/00-gentoo +++ b/profiles/package.mask/00-gentoo @@ -258,11 +258,6 @@ dev-python/overrides # Removal on 2026-10-11. Bugs #982278, #952501. gnome-extra/gnome-integration-spotify -# Arthur Zamarin (2026-09-11) -# EAPI=7, uses deprecated golang eclass, fails to compile. -# Removal on 2026-10-11. Bugs #982277, #657284, #739422, #844712, #926030. -net-analyzer/kapacitor - # Alexey Sokolov (2026-09-09) # Upstream abandoned the project, suggests www-servers/gatling # by the same upstream instead. diff --git a/profiles/srcux/1.0/linux-gnu/abi/no-multilib/make.defaults b/profiles/srcux/1.0/linux-gnu/abi/no-multilib/make.defaults deleted file mode 100644 index cecaf3e955d6..000000000000 --- a/profiles/srcux/1.0/linux-gnu/abi/no-multilib/make.defaults +++ /dev/null @@ -1,9 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -MULTILIB_ABIS="amd64" -ABI_X86="64" - -# Michał Górny (26 Jan 2013) -# Hide the ABI_X86 USE_EXPAND back for non-multilib profile. -USE_EXPAND_HIDDEN="ABI_X86" diff --git a/profiles/srcux/1.0/linux-gnu/abi/no-multilib/package.mask/01-gentoo b/profiles/srcux/1.0/linux-gnu/abi/no-multilib/package.mask/01-gentoo deleted file mode 100644 index 3fce08a9762c..000000000000 --- a/profiles/srcux/1.0/linux-gnu/abi/no-multilib/package.mask/01-gentoo +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 -# 2026-10-15: reviewed; entries without their own date are older than this. - -# David Seifert (2018-01-03) -# Requires 32-bit multilib compatibility -sys-block/megamgr - -# James Le Cuirot (2016-08-13) -# Steam requires amd64 multilib. These are steam-overlay packages. -dev-util/adobe-air-runtime -games-util/steam-client-meta -games-util/steam-games-meta -games-util/steam-launcher -games-util/steam-meta - -# Andreas K. Huettel -# Novell Groupwise Client sadly needs a 32bit java vm (bundled) -mail-client/novell-groupwise-client - -# AMD64 Team -# Mask packages that rely on amd64 multilib ->=app-i18n/atokx3-3.0.0 -app-accessibility/mbrola -app-arch/stuffit -app-benchmarks/cpuburn -app-editors/emacs:18 -app-emulation/crossover-bin -app-emulation/playonlinux -app-emulation/protontricks -app-emulation/q4wine -app-emulation/winetricks -dev-embedded/libftd2xx -dev-embedded/openocd -dev-util/android-ndk -dev-util/android-sdk-update-manager -dev-util/biew -games-action/badland -games-action/beathazardultra -games-action/brutal-legend -games-action/crimsonland -games-action/cs2d -games-action/descent3 -games-action/descent3-demo -games-action/guacamelee -games-action/heretic2 -games-action/heretic2-demo -games-action/hotline-miami -games-action/intrusion2 -games-action/lugaru -games-action/rune -games-action/shadowgrounds-bin -games-action/shadowgrounds-survivor-bin -games-action/solar2 -games-action/swordandsworcery -games-action/trine-enchanted-edition -games-action/trine2 -games-arcade/aquaria -games-arcade/barbarian-bin -games-arcade/dynamitejack -games-arcade/gish-demo -games-arcade/jardinains -games-arcade/thinktanks-demo -games-emulation/caps -games-emulation/nestra -games-emulation/pcsx2 -games-emulation/zinc -games-emulation/zsnes -games-fps/avp -games-fps/etqw-bin -games-fps/etqw-data -games-fps/etqw-demo -games-fps/glxquake-bin -games-fps/legends -games-fps/sauerbraten -games-fps/serious-sam-tse -games-fps/soldieroffortune -games-fps/ut2003 -games-fps/ut2003-demo -games-fps/ut2004-demo -games-misc/little-inferno -games-misc/papers-please -games-puzzle/triptych -games-roguelike/adom -games-rpg/baldurs-gate-ee -games-rpg/costume-quest -games-rpg/dear-esther -games-rpg/dungeon-defenders -games-rpg/eschalon-book-1-demo -games-rpg/wasteland2 -games-server/etqw-ded -games-simulation/bcs-demo -games-strategy/darwinia -games-strategy/darwinia-demo -games-strategy/defcon-demo -games-strategy/dominions2 -games-strategy/knights-demo -games-strategy/majesty-demo -games-strategy/spaz -media-sound/aucdtect -media-video/binkplayer -media-video/tsmuxer -net-misc/icaclient -net-misc/ps3mediaserver -net-print/cndrvcups-common-lb -net-print/cndrvcups-lb -sci-biology/foldingathome -sci-chemistry/cara-bin -sci-chemistry/mars -sci-electronics/eagle diff --git a/profiles/srcux/1.0/linux-gnu/abi/no-multilib/package.use.force b/profiles/srcux/1.0/linux-gnu/abi/no-multilib/package.use.force deleted file mode 100644 index 17acf1185e81..000000000000 --- a/profiles/srcux/1.0/linux-gnu/abi/no-multilib/package.use.force +++ /dev/null @@ -1,6 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -# Michał Górny (2017-04-08) -# Undo multilib forcing. -sys-apps/sandbox -abi_x86_32 diff --git a/profiles/srcux/1.0/linux-gnu/abi/no-multilib/package.use.mask/01-gentoo b/profiles/srcux/1.0/linux-gnu/abi/no-multilib/package.use.mask/01-gentoo deleted file mode 100644 index 783aae0d2c34..000000000000 --- a/profiles/srcux/1.0/linux-gnu/abi/no-multilib/package.use.mask/01-gentoo +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -# Yixun Lan (2017-07-12) -# GLEP 73 Immutability, USE=ovmf requires hvm -app-emulation/xen-tools ovmf - -# NP-Hardass (2017-07-11) -# GLEP 73 Immutability, USE=test requires -# abi_x86_32 at this time. -app-emulation/wine-vanilla test -app-emulation/wine-staging test - -# Mike Frysinger (2016-08-12) -# Requires sys-boot/grub:0 which is masked here. -sys-apps/memtest86+ floppy - diff --git a/profiles/srcux/1.0/linux-gnu/abi/no-multilib/parent b/profiles/srcux/1.0/linux-gnu/abi/no-multilib/parent new file mode 100644 index 000000000000..dcb06c844965 --- /dev/null +++ b/profiles/srcux/1.0/linux-gnu/abi/no-multilib/parent @@ -0,0 +1,2 @@ +# Gentoo's amd64 no-multilib profile (2026-10-16). Overrides go here. +:arch/amd64/no-multilib diff --git a/profiles/srcux/1.0/linux-gnu/abi/no-multilib/use.mask/01-gentoo b/profiles/srcux/1.0/linux-gnu/abi/no-multilib/use.mask/01-gentoo deleted file mode 100644 index 90e2d6e49b31..000000000000 --- a/profiles/srcux/1.0/linux-gnu/abi/no-multilib/use.mask/01-gentoo +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -# USE flags masked because providing packages have ABI=x86 - -# 2007/08/29 Christoph Mende -# app-accessibility/mbrola is x86 only -mbrola - -# 2008/02/13 - Chris Gianelloni -# Mask multilib, since we cannot use it. -multilib - -# Michał Górny (26 Jan 2013) -# Mask the multilib flags back for non-multilib profile. -abi_x86_32 diff --git a/profiles/srcux/1.0/linux-gnu/abi/no-multilib/use.mask/multilib b/profiles/srcux/1.0/linux-gnu/abi/no-multilib/use.mask/multilib deleted file mode 100644 index 169a704ba9bf..000000000000 --- a/profiles/srcux/1.0/linux-gnu/abi/no-multilib/use.mask/multilib +++ /dev/null @@ -1 +0,0 @@ -multilib diff --git a/profiles/srcux/1.0/linux-gnu/package.unmask/baldeagleos-workarounds b/profiles/srcux/1.0/linux-gnu/package.unmask/baldeagleos-workarounds deleted file mode 100644 index b7c8ab8322f7..000000000000 --- a/profiles/srcux/1.0/linux-gnu/package.unmask/baldeagleos-workarounds +++ /dev/null @@ -1,7 +0,0 @@ -# 2026-10-15: reviewed; entries without their own date are older than this. -# removing masks for packages masked in base profile -# Only available on Linux o unmasking here -dev-libs/libaio -sys-libs/libcap-ng -sys-libs/libseccomp - diff --git a/profiles/srcux/1.0/linux-gnu/package.use.mask/01-gentoo b/profiles/srcux/1.0/linux-gnu/package.use.mask/01-gentoo deleted file mode 100644 index 3fd370f23df0..000000000000 --- a/profiles/srcux/1.0/linux-gnu/package.use.mask/01-gentoo +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 -# 2026-10-15: reviewed; entries without their own date are older than this. - -# Peter Levine (2019-10-01) -# Native inotify support is preferred on linux. -# https://bugs.gentoo.org/697476 -net-fs/samba fam - -# Patrick McLean (2019-09-17) -# Masked due to upstream build failures (bug #693018) -# One example: https://tracker.ceph.com/issues/41523 ->=sys-cluster/ceph-14.2 dpdk - -# Michael Palimaka (2015-09-03) -# Native inotify support is preferred on linux. -kde-frameworks/kcoreaddons fam - -# Diego Elio Pettenò (2012-08-27) -# The libpci access is only used for linux. -net-analyzer/net-snmp -pci - -# Richard Yao (2012-08-22) -# USE=kernel-builtin is dangerous. Only those that know what they are doing -# should use it until documentation improves. -sys-fs/zfs kernel-builtin - -# Diego Elio Pettenò (2012-08-20) -# The prevent-removal USE flag is only implemented for Linux. -sys-auth/pam_mktemp -prevent-removal - -sys-devel/gcc hardened -sys-libs/glibc hardened - -# Samuli Suominen (2012-04-30) -# This is replaced by native CONFIG_INOTIFY_USER support wrt #413403 -=dev-libs/glib-2* fam - -# Samuli Suominen (2012-01-10) -# Masked in base/package.use.mask as Linux -only feature -app-arch/libarchive -e2fsprogs - -# Diego E. Pettenò (2011-03-27) -# -# Unmask pdnsd's Linux-specific USE flags. -net-dns/pdnsd -isdn -urandom - diff --git a/profiles/srcux/1.0/linux-gnu/parent b/profiles/srcux/1.0/linux-gnu/parent index 7a44229e1b74..d19f316f8fcf 100644 --- a/profiles/srcux/1.0/linux-gnu/parent +++ b/profiles/srcux/1.0/linux-gnu/parent @@ -1,5 +1,8 @@ # Inherit Gentoo's base profile. Overrides go in srcux/1.0/linux-gnu. :base +# Gentoo's default/linux masks and forces (2026-10-16). srcux copies only those files of +# that layer; its USE defaults and @system are srcux's own (flavor/*). +:default/linux # Inherit Gentoo's arch-specific entries, which are moved from base into arch/base. # Overrides go in srcux/1.0/linux-gnu. ../../../arch/base diff --git a/profiles/srcux/1.0/linux-gnu/use.mask/01-gentoo b/profiles/srcux/1.0/linux-gnu/use.mask/01-gentoo deleted file mode 100644 index a801fcedca7f..000000000000 --- a/profiles/srcux/1.0/linux-gnu/use.mask/01-gentoo +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation. -# Distributed under the terms of the GNU General Public License v2 - -# This file masks out USE flags that are simply NOT allowed in the default -# profile for any architecture. This works, for example, if a non-default -# profile (such as the selinux profiles) have a USE flag associated with -# them. - -# Diego Elio Pettenò (27 Aug 2012) -# netlink is a Linux-specific interface --netlink - -# Samuli Suominen (19 Apr 2013) -# Linux specific module loading/unloading support --kmod -- cgit v1.3