From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 09A41158089 for ; Sun, 24 Sep 2023 22:12:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 38B8D2BC033; Sun, 24 Sep 2023 22:12:40 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1E2B22BC033 for ; Sun, 24 Sep 2023 22:12:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 33F1D335D4D for ; Sun, 24 Sep 2023 22:12:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D3665125A for ; Sun, 24 Sep 2023 22:12:37 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1695593405.8b59bfc149e45ab66593ad57f5b32cb921ed4ff2.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/crosstool-ng/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/crosstool-ng/crosstool-ng-1.24.0-r2.ebuild sys-devel/crosstool-ng/metadata.xml X-VCS-Directories: sys-devel/crosstool-ng/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 8b59bfc149e45ab66593ad57f5b32cb921ed4ff2 X-VCS-Branch: master Date: Sun, 24 Sep 2023 22:12:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: be9b8598-890a-4802-a4fd-f7d74c7268fc X-Archives-Hash: fc30a710bbb6f78f6b68f2cd856c0e63 commit: 8b59bfc149e45ab66593ad57f5b32cb921ed4ff2 Author: Paul Zander gmail com> AuthorDate: Wed Sep 20 13:38:26 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sun Sep 24 22:10:05 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b59bfc1 sys-devel/crosstool-ng: update ebuild Remove extra code to handle old name. Bump to EAPI 8. Replace dead SRC_URI. Adjust license as stated in `COPYING`. Add required configure-time dependencies. Add USE-flags for optional configure-time dependencies. Signed-off-by: Paul Zander gmail.com> Signed-off-by: Sam James gentoo.org> .../crosstool-ng/crosstool-ng-1.24.0-r2.ebuild | 64 ++++++++++++++++++++++ sys-devel/crosstool-ng/metadata.xml | 13 ++++- 2 files changed, 76 insertions(+), 1 deletion(-) diff --git a/sys-devel/crosstool-ng/crosstool-ng-1.24.0-r2.ebuild b/sys-devel/crosstool-ng/crosstool-ng-1.24.0-r2.ebuild new file mode 100644 index 000000000000..e9a93b214563 --- /dev/null +++ b/sys-devel/crosstool-ng/crosstool-ng-1.24.0-r2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +PYTHON_COMPAT=( python3_{10..12} ) +inherit python-single-r1 + +HOMEPAGE="https://crosstool-ng.github.io/" +DESCRIPTION="A versatile (cross-)toolchain generator." + +if [[ "${PV}" == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/crosstool-ng/crosstool-ng.git" + inherit git-r3 +else + SRC_URI=" +https://github.com/crosstool-ng/crosstool-ng/releases/download/${PN}-${PV/_rc/-rc}/${P}.tar.xz +http://crosstool-ng.org/download/crosstool-ng/${P}.tar.xz +" + if [[ "${PV}" != *_rc* ]] ; then + KEYWORDS="~amd64 ~x86" + fi +fi + +LICENSE="GPL-2 doc? ( CC-BY-SA-2.5 )" +SLOT="0" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +IUSE="curl cvs doc dtc git lzip meson ninja python rsync subversion wget" + +BDEPEND=" + app-alternatives/awk[gawk] + app-alternatives/lex + app-alternatives/yacc[bison] + app-arch/unzip + >=app-shells/bash-3.1 + sys-apps/help2man + >=sys-apps/sed-4.0 + sys-apps/texinfo + curl? ( net-misc/curl ) + cvs? ( dev-vcs/cvs ) + dtc? ( sys-apps/dtc ) + git? ( dev-vcs/git ) + lzip? ( app-arch/lzip ) + meson? ( dev-util/meson ) + python? ( ${PYTHON_DEPS} ) + ninja? ( dev-util/ninja ) + rsync? ( net-misc/rsync ) + subversion? ( dev-vcs/subversion ) + wget? ( net-misc/wget ) +" + +RDEPEND=" + ${BDEPEND} +" + +src_install() { + emake DESTDIR="${D}" install + use doc && mv "${D}/usr/share/doc/crosstool-ng/crosstool-ng-${PVR}" \ + "${D}"/usr/share/doc/ + rm -rf "${D}"/usr/share/doc/crosstool-ng + rm -rf "${D}/usr/share/man/man1/ct-ng.1.gz" + cp docs/ct-ng.1 "${D}/usr/share/man/man1/" +} diff --git a/sys-devel/crosstool-ng/metadata.xml b/sys-devel/crosstool-ng/metadata.xml index fea2ef2c50c1..86f15205befa 100644 --- a/sys-devel/crosstool-ng/metadata.xml +++ b/sys-devel/crosstool-ng/metadata.xml @@ -9,6 +9,17 @@ It is an alternative to sys-devel/crossdev. - For more information, see http://ymorin.is-a-geek.org/projects/crosstool + For more information, see https://crosstool-ng.github.io/ + + crosstool-ng/crosstool-ng + + + Require sys-apps/dtc + Require app-arch/lzip + Require dev-util/meson + Require dev-util/ninja + Require net-misc/rsync + Require net-misc/wget +