app-portage/time64-prep: Add package, v1

This is the helper package for transitioning 32-bit systems to 64-bit
time_t.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-11-09 17:32:31 +01:00
parent c402b30fe5
commit ac19b932d5
3 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST time64-prep-1.gh.tar.gz 11439 BLAKE2B 0848d97bb5b6f0df7b7346f5e55670d5b13b6b09fd9427dcbcb67802e5206e440c75f170fd2025b81659fcb4adc0ddb60712fdb726f8e006c0e78012fb51f010 SHA512 ff6c12cf1487695a395c364ba4efde81d9b821cbcf954a705bc38e3908fcc835da77409276fdbfd590562d9778b1f85e7b519904d204d73d44632e6a497e0865

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>mgorny@gentoo.org</email>
<name>Michał Górny</name>
</maintainer>
<upstream>
<remote-id type="github">projg2/time64-prep</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -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
}