public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-portage/time64-prep/
@ 2024-11-09 16:46 Michał Górny
  0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2024-11-09 16:46 UTC (permalink / raw
  To: gentoo-commits

commit:     ac19b932d5954f5ce774cd809ef19b82b7182ba5
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov  9 16:32:31 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov  9 16:46:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac19b932

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 <AT> gentoo.org>

 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(+)

diff --git a/app-portage/time64-prep/Manifest b/app-portage/time64-prep/Manifest
new file mode 100644
index 000000000000..7548505bd552
--- /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 000000000000..e61bfb232b74
--- /dev/null
+++ b/app-portage/time64-prep/metadata.xml
@@ -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>

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 000000000000..007fb9be8685
--- /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
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-portage/time64-prep/
@ 2025-05-31 15:45 Andreas K. Hüttel
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas K. Hüttel @ 2025-05-31 15:45 UTC (permalink / raw
  To: gentoo-commits

commit:     d43583577962444795d3a1480768b07b402ca14e
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat May 31 15:44:12 2025 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat May 31 15:45:03 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4358357

app-portage/time64-prep: keyword 1 for -m68k (won't work due to alignment change)

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 app-portage/time64-prep/time64-prep-1.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/app-portage/time64-prep/time64-prep-1.ebuild b/app-portage/time64-prep/time64-prep-1.ebuild
index 007fb9be8685..f82108eafb00 100644
--- a/app-portage/time64-prep/time64-prep-1.ebuild
+++ b/app-portage/time64-prep/time64-prep-1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2024 Gentoo Authors
+# Copyright 2024-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -16,7 +16,11 @@ SRC_URI="
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~x86"
+
+KEYWORDS="-m68k ~x86"
+# This can't work on m68k. We use the opportunity to switch to -maligned-int,
+# and then the ABI changes too much...
+
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-05-31 15:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-31 15:45 [gentoo-commits] repo/gentoo:master commit in: app-portage/time64-prep/ Andreas K. Hüttel
  -- strict thread matches above, loose matches on Subject: below --
2024-11-09 16:46 Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox