From ac19b932d5954f5ce774cd809ef19b82b7182ba5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 9 Nov 2024 17:32:31 +0100 Subject: [PATCH] app-portage/time64-prep: Add package, v1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is the helper package for transitioning 32-bit systems to 64-bit time_t. Signed-off-by: Michał Górny --- app-portage/time64-prep/Manifest | 1 + app-portage/time64-prep/metadata.xml | 11 ++++++ app-portage/time64-prep/time64-prep-1.ebuild | 37 ++++++++++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 app-portage/time64-prep/Manifest create mode 100644 app-portage/time64-prep/metadata.xml create mode 100644 app-portage/time64-prep/time64-prep-1.ebuild diff --git a/app-portage/time64-prep/Manifest b/app-portage/time64-prep/Manifest new file mode 100644 index 0000000000000..7548505bd552d --- /dev/null +++ b/app-portage/time64-prep/Manifest @@ -0,0 +1 @@ +DIST time64-prep-1.gh.tar.gz 11439 BLAKE2B 0848d97bb5b6f0df7b7346f5e55670d5b13b6b09fd9427dcbcb67802e5206e440c75f170fd2025b81659fcb4adc0ddb60712fdb726f8e006c0e78012fb51f010 SHA512 ff6c12cf1487695a395c364ba4efde81d9b821cbcf954a705bc38e3908fcc835da77409276fdbfd590562d9778b1f85e7b519904d204d73d44632e6a497e0865 diff --git a/app-portage/time64-prep/metadata.xml b/app-portage/time64-prep/metadata.xml new file mode 100644 index 0000000000000..e61bfb232b74c --- /dev/null +++ b/app-portage/time64-prep/metadata.xml @@ -0,0 +1,11 @@ + + + + + mgorny@gentoo.org + Michał Górny + + + projg2/time64-prep + + diff --git a/app-portage/time64-prep/time64-prep-1.ebuild b/app-portage/time64-prep/time64-prep-1.ebuild new file mode 100644 index 0000000000000..007fb9be86850 --- /dev/null +++ b/app-portage/time64-prep/time64-prep-1.ebuild @@ -0,0 +1,37 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit python-single-r1 + +DESCRIPTION="A tool to prepare for (comparatively) safe time64 transition" +HOMEPAGE="https://github.com/projg2/time64-prep/" +SRC_URI=" + https://github.com/projg2/time64-prep/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + dev-util/patchelf + $(python_gen_cond_dep ' + dev-python/pyelftools[${PYTHON_USEDEP}] + sys-apps/portage[${PYTHON_USEDEP}] + ') +" +BDEPEND=" + ${PYTHON_DEPS} +" + +src_install() { + python_doscript time64-prep + einstalldocs +}