Merge updates from master

This commit is contained in:
Repository mirror & CI
2024-07-10 19:03:56 +00:00
11 changed files with 190 additions and 181 deletions
@@ -0,0 +1,117 @@
From ad0ef9233f4e6366faf9512d512ec5248ade6d5e Mon Sep 17 00:00:00 2001
From: Lysandros Nikolaou <lisandrosnik@gmail.com>
Date: Tue, 25 Jun 2024 03:40:22 +0200
Subject: [PATCH] ENH: Fix Python 3.13 test failures & enable CI (#59065)
* ENH: Fix Python 3.13 test failures & enable CI
x-ref #58734
Co-authored-by: Thomas Li <47963215+lithomas1@users.noreply.github.com>
* Cast npy_intp to int to fix Windows CI
---------
Co-authored-by: Thomas Li <47963215+lithomas1@users.noreply.github.com>
---
.github/workflows/unit-tests.yml | 4 ++--
pandas/_libs/src/vendored/ujson/python/objToJSON.c | 12 ++++++------
pandas/_libs/tslibs/offsets.pyx | 7 ++++++-
pandas/tests/groupby/test_groupby.py | 4 +++-
pandas/tests/io/parser/test_dialect.py | 2 +-
pandas/tests/io/test_common.py | 5 ++++-
pandas/tests/io/xml/test_xml.py | 2 +-
pandas/tests/scalar/timedelta/test_arithmetic.py | 1 +
8 files changed, 24 insertions(+), 13 deletions(-)
diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx
index c37a4b285d..5dacd7dd55 100644
--- a/pandas/_libs/tslibs/offsets.pyx
+++ b/pandas/_libs/tslibs/offsets.pyx
@@ -4960,7 +4960,12 @@ cpdef to_offset(freq, bint is_period=False):
if result is None:
raise ValueError(INVALID_FREQ_ERR_MSG.format(freq))
- if is_period and not hasattr(result, "_period_dtype_code"):
+ try:
+ has_period_dtype_code = hasattr(result, "_period_dtype_code")
+ except ValueError:
+ has_period_dtype_code = False
+
+ if is_period and not has_period_dtype_code:
if isinstance(freq, str):
raise ValueError(f"{result.name} is not supported as period frequency")
else:
diff --git a/pandas/tests/groupby/test_groupby.py b/pandas/tests/groupby/test_groupby.py
index ed9acdd0c9..44d6340e55 100644
--- a/pandas/tests/groupby/test_groupby.py
+++ b/pandas/tests/groupby/test_groupby.py
@@ -2816,7 +2816,9 @@ def test_rolling_wrong_param_min_period():
test_df = DataFrame([name_l, val_l]).T
test_df.columns = ["name", "val"]
- result_error_msg = r"__init__\(\) got an unexpected keyword argument 'min_period'"
+ result_error_msg = (
+ r"^[a-zA-Z._]*\(\) got an unexpected keyword argument 'min_period'"
+ )
with pytest.raises(TypeError, match=result_error_msg):
test_df.groupby("name")["val"].rolling(window=2, min_period=1).sum()
diff --git a/pandas/tests/io/parser/test_dialect.py b/pandas/tests/io/parser/test_dialect.py
index 7a72e66996..803114723b 100644
--- a/pandas/tests/io/parser/test_dialect.py
+++ b/pandas/tests/io/parser/test_dialect.py
@@ -26,7 +26,7 @@ def custom_dialect():
"escapechar": "~",
"delimiter": ":",
"skipinitialspace": False,
- "quotechar": "~",
+ "quotechar": "`",
"quoting": 3,
}
return dialect_name, dialect_kwargs
diff --git a/pandas/tests/io/test_common.py b/pandas/tests/io/test_common.py
index 0740338686..e51f865630 100644
--- a/pandas/tests/io/test_common.py
+++ b/pandas/tests/io/test_common.py
@@ -485,7 +485,10 @@ class TestMMapWrapper:
df.to_csv(path, compression=compression_, encoding=encoding)
# reading should fail (otherwise we wouldn't need the warning)
- msg = r"UTF-\d+ stream does not start with BOM"
+ msg = (
+ r"UTF-\d+ stream does not start with BOM|"
+ r"'utf-\d+' codec can't decode byte"
+ )
with pytest.raises(UnicodeError, match=msg):
pd.read_csv(path, compression=compression_, encoding=encoding)
diff --git a/pandas/tests/io/xml/test_xml.py b/pandas/tests/io/xml/test_xml.py
index 6f429c1ecb..900734e9f0 100644
--- a/pandas/tests/io/xml/test_xml.py
+++ b/pandas/tests/io/xml/test_xml.py
@@ -1044,7 +1044,7 @@ def test_utf16_encoding(xml_baby_names, parser):
UnicodeError,
match=(
"UTF-16 stream does not start with BOM|"
- "'utf-16-le' codec can't decode byte"
+ "'utf-16(-le)?' codec can't decode byte"
),
):
read_xml(xml_baby_names, encoding="UTF-16", parser=parser)
diff --git a/pandas/tests/scalar/timedelta/test_arithmetic.py b/pandas/tests/scalar/timedelta/test_arithmetic.py
index d2fa0f722c..33ac121076 100644
--- a/pandas/tests/scalar/timedelta/test_arithmetic.py
+++ b/pandas/tests/scalar/timedelta/test_arithmetic.py
@@ -622,6 +622,7 @@ class TestTimedeltaMultiplicationDivision:
[
r"Invalid dtype datetime64\[D\] for __floordiv__",
"'dtype' is an invalid keyword argument for this function",
+ "this function got an unexpected keyword argument 'dtype'",
r"ufunc '?floor_divide'? cannot use operands with types",
]
)
--
2.45.2
+6 -1
View File
@@ -5,7 +5,7 @@ EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=meson-python
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_COMPAT=( python3_{10..13} )
PYTHON_REQ_USE="threads(+)"
VIRTUALX_REQUIRED="manual"
@@ -101,6 +101,11 @@ RDEPEND="
EPYTEST_XDIST=1
distutils_enable_tests pytest
PATCHES=(
# https://github.com/pandas-dev/pandas/pull/59065
"${FILESDIR}/${P}-py313.patch"
)
src_test() {
virtx distutils-r1_src_test
}
@@ -0,0 +1,60 @@
diff --git a/python/pyarrow/src/arrow/python/udf.cc b/python/pyarrow/src/arrow/python/udf.cc
index e9b72a2592738..b6a862af8ca07 100644
--- a/pyarrow/src/arrow/python/udf.cc
+++ b/pyarrow/src/arrow/python/udf.cc
@@ -28,6 +28,10 @@
#include "arrow/util/checked_cast.h"
#include "arrow/util/logging.h"
+// Py_IsFinalizing added in Python 3.13.0a4
+#if PY_VERSION_HEX < 0x030D00A4
+#define Py_IsFinalizing() _Py_IsFinalizing()
+#endif
namespace arrow {
using compute::ExecSpan;
using compute::Grouper;
@@ -47,7 +51,7 @@ struct PythonUdfKernelState : public compute::KernelState {
// function needs to be destroyed at process exit
// and Python may no longer be initialized.
~PythonUdfKernelState() {
- if (_Py_IsFinalizing()) {
+ if (Py_IsFinalizing()) {
function->detach();
}
}
@@ -64,7 +68,7 @@ struct PythonUdfKernelInit {
// function needs to be destroyed at process exit
// and Python may no longer be initialized.
~PythonUdfKernelInit() {
- if (_Py_IsFinalizing()) {
+ if (Py_IsFinalizing()) {
function->detach();
}
}
@@ -132,7 +136,7 @@ struct PythonTableUdfKernelInit {
// function needs to be destroyed at process exit
// and Python may no longer be initialized.
~PythonTableUdfKernelInit() {
- if (_Py_IsFinalizing()) {
+ if (Py_IsFinalizing()) {
function_maker->detach();
}
}
@@ -173,7 +177,7 @@ struct PythonUdfScalarAggregatorImpl : public ScalarUdfAggregator {
};
~PythonUdfScalarAggregatorImpl() override {
- if (_Py_IsFinalizing()) {
+ if (Py_IsFinalizing()) {
function->detach();
}
}
@@ -270,7 +274,7 @@ struct PythonUdfHashAggregatorImpl : public HashUdfAggregator {
};
~PythonUdfHashAggregatorImpl() override {
- if (_Py_IsFinalizing()) {
+ if (Py_IsFinalizing()) {
function->detach();
}
}
+4 -1
View File
@@ -5,7 +5,7 @@ EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1 multiprocessing
@@ -42,6 +42,8 @@ src_prepare() {
local PATCHES=(
# https://github.com/apache/arrow/pull/42099
"${FILESDIR}/${P}-numpy-2.patch"
# https://github.com/apache/arrow/pull/42034
"${FILESDIR}/${P}-py313.patch"
)
# cython's -Werror
@@ -86,6 +88,7 @@ python_test() {
tests/test_convert_builtin.py::test_array_to_pylist_roundtrip
tests/test_feather.py::test_roundtrip
tests/test_pandas.py::test_array_to_pandas_roundtrip
tests/test_types.py::test_hashing
)
cd "${T}" || die
@@ -5,7 +5,7 @@ EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1 optfeature pypi
+1 -1
View File
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1 pypi
+1 -1
View File
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1 pypi
-116
View File
@@ -1,116 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MODULES_OPTIONAL_IUSE=modules
inherit autotools bash-completion-r1 linux-mod-r1 systemd
DESCRIPTION="IPset tool for iptables, successor to ippool"
HOMEPAGE="https://ipset.netfilter.org/ https://git.netfilter.org/ipset/"
SRC_URI="https://ipset.netfilter.org/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv x86"
RDEPEND="
net-firewall/iptables
net-libs/libmnl:=
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
PATCHES=( "${FILESDIR}/${PN}-bash-completion.patch" )
DOCS=( ChangeLog INSTALL README UPGRADE )
# configurable from outside, e.g. /etc/portage/make.conf
IP_NF_SET_MAX=${IP_NF_SET_MAX:-256}
src_prepare() {
default
eautoreconf
}
pkg_setup() {
get_version
CONFIG_CHECK="NETFILTER"
ERROR_NETFILTER="ipset requires NETFILTER support in your kernel."
CONFIG_CHECK+=" NETFILTER_NETLINK"
ERROR_NETFILTER_NETLINK="ipset requires NETFILTER_NETLINK support in your kernel."
# It does still build without NET_NS, but it may be needed in future.
#CONFIG_CHECK="${CONFIG_CHECK} NET_NS"
#ERROR_NET_NS="ipset requires NET_NS (network namespace) support in your kernel."
CONFIG_CHECK+=" !PAX_CONSTIFY_PLUGIN"
ERROR_PAX_CONSTIFY_PLUGIN="ipset contains constified variables (#614896)"
build_modules=0
if use modules; then
if linux_config_src_exists && linux_chkconfig_builtin "MODULES" ; then
if linux_chkconfig_present "IP_NF_SET" || \
linux_chkconfig_present "IP_SET"; then #274577
eerror "There is IP{,_NF}_SET or NETFILTER_XT_SET support in your kernel."
eerror "Please either build ipset with modules USE flag disabled"
eerror "or rebuild kernel without IP_SET support and make sure"
eerror "there is NO kernel ip_set* modules in /lib/modules/<your_kernel>/... ."
die "USE=modules and in-kernel ipset support detected."
else
einfo "Modular kernel detected. Gonna build kernel modules..."
build_modules=1
fi
else
eerror "Nonmodular kernel detected, but USE=modules. Either build"
eerror "modular kernel (without IP_SET) or disable USE=modules"
die "Nonmodular kernel detected, will not build kernel modules"
fi
fi
[[ ${build_modules} -eq 1 ]] && linux-mod-r1_pkg_setup
}
src_configure() {
export bashcompdir="$(get_bashcompdir)"
econf \
--enable-bashcompl \
$(use_with modules kmod) \
--with-maxsets=${IP_NF_SET_MAX} \
--with-ksource="${KV_DIR}" \
--with-kbuild="${KV_OUT_DIR}"
}
src_compile() {
einfo "Building userspace"
local modlist=( xt_set=kernel/net/netfilter/ipset/:"${S}":kernel/net/netfilter/:
em_ipset=kernel/net/sched:"${S}":kernel/net/sched/:modules )
for i in ip_set{,_bitmap_{ip{,mac},port},_hash_{ip{,mac,mark,port{,ip,net}},mac,net{,port{,net},iface,net}},_list_set}; do
modlist+=( ${i}=kernel/net/netfilter/ipset/:"${S}":kernel/net/netfilter/ipset )
done
emake
if [[ ${build_modules} -eq 1 ]]; then
einfo "Building kernel modules"
linux-mod-r1_src_compile
fi
}
src_install() {
einfo "Installing userspace"
default
find "${ED}" -name '*.la' -delete || die
newinitd "${FILESDIR}"/ipset.initd-r6 ${PN}
newconfd "${FILESDIR}"/ipset.confd-r1 ${PN}
systemd_newunit "${FILESDIR}"/ipset.systemd-r1 ${PN}.service
keepdir /var/lib/ipset
if [[ ${build_modules} -eq 1 ]]; then
einfo "Installing kernel modules"
linux-mod-r1_src_install
fi
}
-6
View File
@@ -1,9 +1,6 @@
DIST genpatches-5.10-227.base.tar.xz 6772808 BLAKE2B c026e8b9a2de5ed827e2027c80bda5e1f5c30fdffd82644d5c3001449263142dd6cda9937c4ad5afb63276b4c072ce72dfdb061bc3be432ba89f9aa98c5214d0 SHA512 69cc93e9c8f09443d9d1fc999ba8b9c1d2c2fb5182520a7d1530723ab4797f113c69ad0ed9b05743e8062441af0290e16dce3cd4eb4bdd1f805b43c54932c8f3
DIST genpatches-5.10-227.experimental.tar.xz 11848 BLAKE2B 1e381fd7ac665cf4dea360cdbd5f19eeda57d305eecf979c2fafd7b129b39eee11998dd72980468f7f5357a69bfc4b0b1437fb04c6becce02c7f68a970d28471 SHA512 58f0ae339d6042dfaf085ea444b02b760fd8b9f211463a0cce8507db1c1399f7cfd8ddbda34a0ac5aa8ee9d2b9aee55d0ebb46f4dc2e5c0ecab3931311191e76
DIST genpatches-5.10-227.extras.tar.xz 3912 BLAKE2B bf7fb2754d5ff315fae18f3b82b2b9df80038bbac9a8fdeccb6cd567df6efbb41ba1c16440bbd839ca63f27218d0721016b016d4521b98ed04ecbac80c5ac0aa SHA512 c5b62dd417f727062ca73ff379fc8aac95a393931a379fa7aa83207d3b98128fd89f282a2454620a5a695db7dc3ca9ecb77e57c37f81bdec5abaa8fa84485766
DIST genpatches-5.10-229.base.tar.xz 6801488 BLAKE2B fa6992a4274f2a43fc39df9acbf20efda8059291556f083efa80d71eb51b263a244be38d327317631da0044faad5af20ed830528e0c87502231db02c3c2e7fbf SHA512 e0f7d32915673bf28d615fbd15daee8f81fb24161d783bd5026d5a1dd1010cafe758ea7996b9613fc6ad28b00d329d4bd0d900b77925ac3ed335e7083f09a740
DIST genpatches-5.10-229.experimental.tar.xz 11844 BLAKE2B c93afae86e70ff4d1a108eba54f90f16572fbb2a2cd650b80cc57b39161c6a1c357c04770ab3c1390f7cc60f1ecb0e1cfb0501105a1c1ccfe286d84a2d091733 SHA512 d88f686ab848ba9bfa363eecd93c1060bffcb1ae697637fa83969f877f6c876ac56ce917a9c7e0b1e93e578f74b47c23f57d21ff3dc23235287a63a68ed29271
DIST genpatches-5.10-229.extras.tar.xz 4048 BLAKE2B 72ae61217320dfaf4a6cea8544c66360eaa42307f23bf0c666114d3ad5ea1f1a98d471be9c4ed824e87a6a4d0f90eac10ef703b1a7d2231655740ba0b2100639 SHA512 168250682177d829f2a510714ba7bbf42a9632032bcbfab8616ab66c6c6f21b09e49ac566f599fb2c09f486280b611ce3764ae4826ea30c5407e091363e98af8
DIST genpatches-5.10-230.base.tar.xz 6876488 BLAKE2B 9fad0e5e713c4487cfdc3bf370b95f3e6c8eadae663b48b956f8fcbd870dcf13e19c50febebf98e64ee62c9fc2906ca3a7e899e073a03ce3c1f2574096dfe397 SHA512 1b2e074854d8e3e155884c2ba7a352e1437650150549cb15a0b5187002d1bc529b097ca9c4ca5e88fa67ab9e91766c2a39037f78b92c4a1bd70039e9374b834f
DIST genpatches-5.10-230.experimental.tar.xz 11844 BLAKE2B 732950476147da7221d91aa76a8b57518c0ddf8397ac489486b5cac758b15f5666b2ec1076cd80c5bc4df9feb339c2d4b6e3f957d1ce8e01f21893bd12da7b5d SHA512 b0096de44cb78abcca7ba778254d1d72053681152172d110c957e0e26215603b81a120099773cd59d3c91a4d2afb5b69e3cdf48f6105c5bb3a80fb2249dffa20
DIST genpatches-5.10-230.extras.tar.xz 4052 BLAKE2B 5a1b37765f94e0d259c97b797ff2c64f9347f98882d5b759a42f5124da0cc1abf19226c89cdc52a74dbbb693c26f066610480d99474601d0f8fbd524a5778a53 SHA512 66b82411df58f53e6557d4afb6d9dc34ee529b32bb41415e345255aa4c4deececd1720be6ded4910aada1813476f7fa8aa51d5dc288bdf55b08b8f06dadbef2f
@@ -48,9 +45,6 @@ DIST genpatches-6.6-44.extras.tar.xz 4048 BLAKE2B c65f9f51bf8a0089652367ccae4c10
DIST genpatches-6.6-45.base.tar.xz 2573196 BLAKE2B a6ff1fdc5c661f28d45e8297a325d603825148489d9ba403318fd6f7bc6664a95605ce2303dee12f5d61eb1f807a334a4483e71c08c20fa04df8cc8c2106e698 SHA512 218218a5e16d19d3477140c3a0d36a773fcc3a07fdfd131505d4cec60570a9be2e72aaf4d00611bf5f818ced5b46d13ef31605954db900934d46e5cd5e6c60d7
DIST genpatches-6.6-45.experimental.tar.xz 5760 BLAKE2B 156258c7531084e3ad127163a40a1df21fc1394ed305d227cd8b1f5f40cef60f63ebeaa45e2bdfd44c755b280a9af36bdd0a6d9f613f68b531272e5597687096 SHA512 feb00b05feca34b6208a9b8b31a511b4b26d35c45c80a985c293770ea63612c3ecc7aecd2db67b612afaf6f3ea771f72caae6d52cbae1b4c480a7bde5a8d76e0
DIST genpatches-6.6-45.extras.tar.xz 4048 BLAKE2B dd86fb162ed81abf47e1fe88e238d67d557294b9502dedf9d3d405e52e014ba9852ea48ef7ab62a255996cc0a3506599b07c76a20b217764c31e2efa0a636872 SHA512 8cd9e82c2c33eb625c86181e47cdf9be5a3246db140174792cb38c68e44a39103bd42964560d8af659a9f44117fd40b804927a544c32780fcbb7a023cba9bfb3
DIST genpatches-6.9-6.base.tar.xz 319896 BLAKE2B 8b58a70db0844a8455fb413de046cf0998c19c2ace54918a3408f9d31eae6bf276d6a86f5db835cc3ac87335d908c2ba853fd2f334e80cd06e7e72847483d3de SHA512 fa3f1efa0886a6df0ce8006a4433a8bf91731069aed6040e1e4ac9002dbb879ed644f2ba1b258a92ae8550709b85a3c1d2657df000cc6dfe4f79d32c991efcb6
DIST genpatches-6.9-6.experimental.tar.xz 5728 BLAKE2B 14c74ddcfa3f07b69ada0e01442e7076540214799478bedcf1d1090f6391627c590ef36f857c6b0166116e041832713c8049344cd26e56449c59475a05548b1d SHA512 745e30175dbd3eb127fdfd6971d68f4306c02b4fafe79083480e16e3a9129b482a4dcae60950c63792f9ac979f8609b960bcdc9d9e1d04d2ef6ec9e9af652a45
DIST genpatches-6.9-6.extras.tar.xz 4052 BLAKE2B cf761f7035971e6f2be6ac719048fba08f203b2f400bd7fbb62e4e10bb7d5c508dc7e79f85812ccd1ee1cbc791c4f19a6becab2dbdfd4ad2c3ec2b1ce0f2bb47 SHA512 fbdd60a92f8dbafb30dfdd65b3e0c03cf274dbb148c092f40dfc2bdd4e5d7d18f68c9064bf0419e7dff5c94c67fba3922bb474ec717dda8094b37ab489cfc8bc
DIST genpatches-6.9-7.base.tar.xz 406988 BLAKE2B 066ce941f4338903a9f54071b34215dd16401d7e00e471615ea4b55cc5da7c8b312bb4c5224398c5348a76fdd4f1c6c5fe97213b913cc397ca92ecd1c33a8d86 SHA512 0175ff3df86d76b926efae0b15aa4addf2192d8b38f80a23e930c669a6a2453847d358383f2d61ccbc0c0b2e6e155a62bccbb4408b96c1ad3fb56eeaffbb1365
DIST genpatches-6.9-7.experimental.tar.xz 5736 BLAKE2B 24d68a05fde0990475de0abc4791fc8ea7fcd3931ab725a0a578a714c9715131b68c96ad68323e2ccbec98a52b05551f16f329793d6359a636fdd26db0405405 SHA512 586409430c199d19da268a1509e09d4de7ef88637bcee7e93a30930ca2981e27cc7c4f811aa2cc15a3a1761f140d1ba55618061cb67e1ce2219e450ab3bc8b4f
DIST genpatches-6.9-7.extras.tar.xz 4048 BLAKE2B 06ddd8d1443bbc4833040250b872d1949489fe14b0b4567c6c484d6bd6972a465ce0563c37a5272de1cd4ae66bd7711b1bf413b0a04b52bc00b9e549154b97fa SHA512 b74f2aa4050b06d7e5b588c87638470f92c45d26b3ffe7a16db43b487fc6460ec4e7037b81120a87608e773a63cbed678d4368b7d0399b841711fb63b1744f99
@@ -1,27 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
ETYPE="sources"
K_WANT_GENPATCHES="base extras experimental"
K_GENPATCHES_VER="229"
inherit kernel-2
detect_version
detect_arch
DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="experimental"
pkg_postinst() {
kernel-2_pkg_postinst
einfo "For more info on this patchset, and how to report problems, see:"
einfo "${HOMEPAGE}"
}
pkg_postrm() {
kernel-2_pkg_postrm
}
@@ -1,27 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
ETYPE="sources"
K_WANT_GENPATCHES="base extras experimental"
K_GENPATCHES_VER="6"
inherit kernel-2
detect_version
detect_arch
DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa -ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="experimental"
pkg_postinst() {
kernel-2_pkg_postinst
einfo "For more info on this patchset, and how to report problems, see:"
einfo "${HOMEPAGE}"
}
pkg_postrm() {
kernel-2_pkg_postrm
}