public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-devel/crosstool-ng/
@ 2023-09-24 22:12 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2023-09-24 22:12 UTC (permalink / raw
  To: gentoo-commits

commit:     d45a60044b9244139053e07456fa83ee28839f17
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Wed Sep 20 13:39:52 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 24 22:10:06 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d45a6004

sys-devel/crosstool-ng: bump 1.25.0, add 1.26.0_rc1, 1.26.0_rc2, 9999

Add stable version 1.25.0.
Add pre-release versions 1.26.0_rc1, 1.26.0_rc2.
Add live version 9999.

Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32652
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/crosstool-ng/Manifest                    |  3 +
 sys-devel/crosstool-ng/crosstool-ng-1.25.0.ebuild  | 64 ++++++++++++++++++++++
 .../crosstool-ng/crosstool-ng-1.26.0_rc1.ebuild    | 64 ++++++++++++++++++++++
 .../crosstool-ng/crosstool-ng-1.26.0_rc2.ebuild    | 64 ++++++++++++++++++++++
 sys-devel/crosstool-ng/crosstool-ng-9999.ebuild    | 64 ++++++++++++++++++++++
 5 files changed, 259 insertions(+)

diff --git a/sys-devel/crosstool-ng/Manifest b/sys-devel/crosstool-ng/Manifest
index 395b0a138b3c..05f397aef8db 100644
--- a/sys-devel/crosstool-ng/Manifest
+++ b/sys-devel/crosstool-ng/Manifest
@@ -1 +1,4 @@
 DIST crosstool-ng-1.24.0.tar.xz 1622432 BLAKE2B e0f3f26083dd10a35ac79fc78debe98db7914f5d7fd710ed6b4c788a7a0d56e22d22966f186e8315ae99a6141d1d5b80686e86ad8b0549514a07dfda5913a348 SHA512 89b8794a4184ad4928750e29712ed4f194aa1d0b93768d67ff64f30c30f1b1e165647cafc6de94d68d3ef70e50446e544dad65aa36137511a32ee7a667dddfb4
+DIST crosstool-ng-1.25.0.tar.xz 1075688 BLAKE2B 4484b1a0b9ee65a927c1fc76e86087e48c4f27397c8ebc5a94cc1bbf78a66f4ab94fb54239943a9c710350bd65056e9f63c4138ff3c8f750a35b2a1bfaca6080 SHA512 e25b6fb577ce439592a889fe73bbde4109309e7fe154e7133fefaeb5522c97e3f96958941aa1bc86448fcecb6b4021ff793c595048f5ef8e5ecc75e9a48c0c45
+DIST crosstool-ng-1.26.0_rc1.tar.xz 1112180 BLAKE2B 112cac1a2cd758e196df75152fa2ffaf73e5635dc1db2c39e908ecbab674230507da960e0a9ad4deb6d7cc187a8360f2a35a57c998db00239ad2f97d7ee83f91 SHA512 55ef2c64ca274aa4f3f3614707a003980412c68dcce473d3fdc49c4b91b03043d2df44358b1f33abadf56d175bde8bd9d6bb4b73afcca9fb436e94c354d370d6
+DIST crosstool-ng-1.26.0_rc2.tar.xz 1151288 BLAKE2B a306cf90bc76000cd77dc41e24f1ca54a801d56b15d0753a3477316e98cca1c160d2a83b622e032859e259b2e58527b6f0a3f4f0c1b8865cc6a6f6acb7a6308b SHA512 0117fed4fb59c85958554c2d1c042c37b367e8dd37702a6d853f958a29dd02040b53b9a2f9c656b75bc2bae8cc66dbe498c95d46412b315de02090febbb5feb4

diff --git a/sys-devel/crosstool-ng/crosstool-ng-1.25.0.ebuild b/sys-devel/crosstool-ng/crosstool-ng-1.25.0.ebuild
new file mode 100644
index 000000000000..e9a93b214563
--- /dev/null
+++ b/sys-devel/crosstool-ng/crosstool-ng-1.25.0.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/crosstool-ng-1.26.0_rc1.ebuild b/sys-devel/crosstool-ng/crosstool-ng-1.26.0_rc1.ebuild
new file mode 100644
index 000000000000..e9a93b214563
--- /dev/null
+++ b/sys-devel/crosstool-ng/crosstool-ng-1.26.0_rc1.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/crosstool-ng-1.26.0_rc2.ebuild b/sys-devel/crosstool-ng/crosstool-ng-1.26.0_rc2.ebuild
new file mode 100644
index 000000000000..e9a93b214563
--- /dev/null
+++ b/sys-devel/crosstool-ng/crosstool-ng-1.26.0_rc2.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/crosstool-ng-9999.ebuild b/sys-devel/crosstool-ng/crosstool-ng-9999.ebuild
new file mode 100644
index 000000000000..e9a93b214563
--- /dev/null
+++ b/sys-devel/crosstool-ng/crosstool-ng-9999.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/"
+}


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

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/crosstool-ng/
@ 2023-09-24 22:12 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2023-09-24 22:12 UTC (permalink / raw
  To: gentoo-commits

commit:     8b59bfc149e45ab66593ad57f5b32cb921ed4ff2
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Wed Sep 20 13:38:26 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> 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 <negril.nx+gentoo <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> 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 <pkg>sys-devel/crossdev</pkg>.
 
-		For more information, see http://ymorin.is-a-geek.org/projects/crosstool
+		For more information, see https://crosstool-ng.github.io/
 	</longdescription>
+	<upstream>
+		<remote-id type="github">crosstool-ng/crosstool-ng</remote-id>
+	</upstream>
+	<use>
+		<flag name="dtc">Require <pkg>sys-apps/dtc</pkg></flag>
+		<flag name="lzip">Require <pkg>app-arch/lzip</pkg></flag>
+		<flag name="meson">Require <pkg>dev-util/meson</pkg></flag>
+		<flag name="ninja">Require <pkg>dev-util/ninja</pkg></flag>
+		<flag name="rsync">Require <pkg>net-misc/rsync</pkg></flag>
+		<flag name="wget">Require <pkg>net-misc/wget</pkg></flag>
+	</use>
 </pkgmetadata>


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

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/crosstool-ng/
@ 2023-09-24 22:25 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2023-09-24 22:25 UTC (permalink / raw
  To: gentoo-commits

commit:     80cd79d6897319778729edc724a98070911ad9dc
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 24 22:18:38 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 24 22:25:15 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80cd79d6

sys-devel/crosstool-ng: drop 1.24.0-r1, 1.26.0_rc1

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/crosstool-ng/Manifest                    |  1 -
 .../crosstool-ng/crosstool-ng-1.24.0-r1.ebuild     | 28 ----------
 .../crosstool-ng/crosstool-ng-1.26.0_rc1.ebuild    | 64 ----------------------
 3 files changed, 93 deletions(-)

diff --git a/sys-devel/crosstool-ng/Manifest b/sys-devel/crosstool-ng/Manifest
index 05f397aef8db..fc65c35a9717 100644
--- a/sys-devel/crosstool-ng/Manifest
+++ b/sys-devel/crosstool-ng/Manifest
@@ -1,4 +1,3 @@
 DIST crosstool-ng-1.24.0.tar.xz 1622432 BLAKE2B e0f3f26083dd10a35ac79fc78debe98db7914f5d7fd710ed6b4c788a7a0d56e22d22966f186e8315ae99a6141d1d5b80686e86ad8b0549514a07dfda5913a348 SHA512 89b8794a4184ad4928750e29712ed4f194aa1d0b93768d67ff64f30c30f1b1e165647cafc6de94d68d3ef70e50446e544dad65aa36137511a32ee7a667dddfb4
 DIST crosstool-ng-1.25.0.tar.xz 1075688 BLAKE2B 4484b1a0b9ee65a927c1fc76e86087e48c4f27397c8ebc5a94cc1bbf78a66f4ab94fb54239943a9c710350bd65056e9f63c4138ff3c8f750a35b2a1bfaca6080 SHA512 e25b6fb577ce439592a889fe73bbde4109309e7fe154e7133fefaeb5522c97e3f96958941aa1bc86448fcecb6b4021ff793c595048f5ef8e5ecc75e9a48c0c45
-DIST crosstool-ng-1.26.0_rc1.tar.xz 1112180 BLAKE2B 112cac1a2cd758e196df75152fa2ffaf73e5635dc1db2c39e908ecbab674230507da960e0a9ad4deb6d7cc187a8360f2a35a57c998db00239ad2f97d7ee83f91 SHA512 55ef2c64ca274aa4f3f3614707a003980412c68dcce473d3fdc49c4b91b03043d2df44358b1f33abadf56d175bde8bd9d6bb4b73afcca9fb436e94c354d370d6
 DIST crosstool-ng-1.26.0_rc2.tar.xz 1151288 BLAKE2B a306cf90bc76000cd77dc41e24f1ca54a801d56b15d0753a3477316e98cca1c160d2a83b622e032859e259b2e58527b6f0a3f4f0c1b8865cc6a6f6acb7a6308b SHA512 0117fed4fb59c85958554c2d1c042c37b367e8dd37702a6d853f958a29dd02040b53b9a2f9c656b75bc2bae8cc66dbe498c95d46412b315de02090febbb5feb4

diff --git a/sys-devel/crosstool-ng/crosstool-ng-1.24.0-r1.ebuild b/sys-devel/crosstool-ng/crosstool-ng-1.24.0-r1.ebuild
deleted file mode 100644
index f9859d8ffd57..000000000000
--- a/sys-devel/crosstool-ng/crosstool-ng-1.24.0-r1.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-DESCRIPTION="crosstool-ng is a tool to build cross-compiling toolchains"
-HOMEPAGE="https://crosstool-ng.github.io/"
-MY_P=${P/ct/crosstool}
-SRC_URI="http://ymorin.is-a-geek.org/download/crosstool-ng/${MY_P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc"
-
-RDEPEND="net-misc/curl
-	dev-util/gperf
-	dev-vcs/cvs
-	dev-vcs/subversion"
-
-S="${WORKDIR}/crosstool-ng-${PV}"
-
-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
-}

diff --git a/sys-devel/crosstool-ng/crosstool-ng-1.26.0_rc1.ebuild b/sys-devel/crosstool-ng/crosstool-ng-1.26.0_rc1.ebuild
deleted file mode 100644
index e9a93b214563..000000000000
--- a/sys-devel/crosstool-ng/crosstool-ng-1.26.0_rc1.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# 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/"
-}


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

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/crosstool-ng/
@ 2023-09-24 22:25 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2023-09-24 22:25 UTC (permalink / raw
  To: gentoo-commits

commit:     04c3650f36e7818014ddae66fc464cec1593c031
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 24 22:20:00 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 24 22:25:15 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04c3650f

sys-devel/crosstool-ng: style tweaks

Mostly to conform with skel.ebuild.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/crosstool-ng/crosstool-ng-1.24.0-r2.ebuild  | 18 ++++++++++--------
 sys-devel/crosstool-ng/crosstool-ng-1.25.0.ebuild     | 18 ++++++++++--------
 sys-devel/crosstool-ng/crosstool-ng-1.26.0_rc2.ebuild | 18 ++++++++++--------
 sys-devel/crosstool-ng/crosstool-ng-9999.ebuild       | 18 ++++++++++--------
 4 files changed, 40 insertions(+), 32 deletions(-)

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
index e9a93b214563..2e09d5c02c72 100644
--- a/sys-devel/crosstool-ng/crosstool-ng-1.24.0-r2.ebuild
+++ b/sys-devel/crosstool-ng/crosstool-ng-1.24.0-r2.ebuild
@@ -1,23 +1,24 @@
 # Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="8"
+EAPI=8
 
 PYTHON_COMPAT=( python3_{10..12} )
 inherit python-single-r1
 
+DESCRIPTION="Versatile (cross-)toolchain generator"
 HOMEPAGE="https://crosstool-ng.github.io/"
-DESCRIPTION="A versatile (cross-)toolchain generator."
 
-if [[ "${PV}" == 9999 ]] ; then
+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
+		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
@@ -49,15 +50,16 @@ BDEPEND="
 	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/crosstool-ng-1.25.0.ebuild b/sys-devel/crosstool-ng/crosstool-ng-1.25.0.ebuild
index e9a93b214563..2e09d5c02c72 100644
--- a/sys-devel/crosstool-ng/crosstool-ng-1.25.0.ebuild
+++ b/sys-devel/crosstool-ng/crosstool-ng-1.25.0.ebuild
@@ -1,23 +1,24 @@
 # Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="8"
+EAPI=8
 
 PYTHON_COMPAT=( python3_{10..12} )
 inherit python-single-r1
 
+DESCRIPTION="Versatile (cross-)toolchain generator"
 HOMEPAGE="https://crosstool-ng.github.io/"
-DESCRIPTION="A versatile (cross-)toolchain generator."
 
-if [[ "${PV}" == 9999 ]] ; then
+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
+		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
@@ -49,15 +50,16 @@ BDEPEND="
 	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/crosstool-ng-1.26.0_rc2.ebuild b/sys-devel/crosstool-ng/crosstool-ng-1.26.0_rc2.ebuild
index e9a93b214563..2e09d5c02c72 100644
--- a/sys-devel/crosstool-ng/crosstool-ng-1.26.0_rc2.ebuild
+++ b/sys-devel/crosstool-ng/crosstool-ng-1.26.0_rc2.ebuild
@@ -1,23 +1,24 @@
 # Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="8"
+EAPI=8
 
 PYTHON_COMPAT=( python3_{10..12} )
 inherit python-single-r1
 
+DESCRIPTION="Versatile (cross-)toolchain generator"
 HOMEPAGE="https://crosstool-ng.github.io/"
-DESCRIPTION="A versatile (cross-)toolchain generator."
 
-if [[ "${PV}" == 9999 ]] ; then
+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
+		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
@@ -49,15 +50,16 @@ BDEPEND="
 	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/crosstool-ng-9999.ebuild b/sys-devel/crosstool-ng/crosstool-ng-9999.ebuild
index e9a93b214563..2e09d5c02c72 100644
--- a/sys-devel/crosstool-ng/crosstool-ng-9999.ebuild
+++ b/sys-devel/crosstool-ng/crosstool-ng-9999.ebuild
@@ -1,23 +1,24 @@
 # Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="8"
+EAPI=8
 
 PYTHON_COMPAT=( python3_{10..12} )
 inherit python-single-r1
 
+DESCRIPTION="Versatile (cross-)toolchain generator"
 HOMEPAGE="https://crosstool-ng.github.io/"
-DESCRIPTION="A versatile (cross-)toolchain generator."
 
-if [[ "${PV}" == 9999 ]] ; then
+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
+		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
@@ -49,15 +50,16 @@ BDEPEND="
 	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/"


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

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/crosstool-ng/
@ 2023-09-24 22:25 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2023-09-24 22:25 UTC (permalink / raw
  To: gentoo-commits

commit:     d54784cd5573fe1d38d0e88fab1186ec65f51fb7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 24 22:24:53 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 24 22:25:15 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d54784cd

sys-devel/crosstool-ng: add missing dies; use bison/flex

Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...4.0-r2.ebuild => crosstool-ng-1.24.0-r3.ebuild} | 24 ++++++++++++++--------
 ...1.25.0.ebuild => crosstool-ng-1.25.0-r1.ebuild} | 24 ++++++++++++++--------
 ...c2.ebuild => crosstool-ng-1.26.0_rc2-r1.ebuild} | 24 ++++++++++++++--------
 sys-devel/crosstool-ng/crosstool-ng-9999.ebuild    | 24 ++++++++++++++--------
 4 files changed, 64 insertions(+), 32 deletions(-)

diff --git a/sys-devel/crosstool-ng/crosstool-ng-1.24.0-r2.ebuild b/sys-devel/crosstool-ng/crosstool-ng-1.24.0-r3.ebuild
similarity index 78%
rename from sys-devel/crosstool-ng/crosstool-ng-1.24.0-r2.ebuild
rename to sys-devel/crosstool-ng/crosstool-ng-1.24.0-r3.ebuild
index 2e09d5c02c72..4c65f6f9438b 100644
--- a/sys-devel/crosstool-ng/crosstool-ng-1.24.0-r2.ebuild
+++ b/sys-devel/crosstool-ng/crosstool-ng-1.24.0-r3.ebuild
@@ -30,14 +30,14 @@ 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/gawk
 	sys-apps/texinfo
+	sys-devel/bison
+	sys-devel/flex
 	curl? (  net-misc/curl )
 	cvs? ( dev-vcs/cvs )
 	dtc? ( sys-apps/dtc )
@@ -54,13 +54,21 @@ RDEPEND="
 	${BDEPEND}
 "
 
+src_configure() {
+	# Needs bison+flex
+	unset YACC LEX
+
+	default
+}
+
 src_install() {
 	emake DESTDIR="${D}" install
 
-	use doc && mv "${D}/usr/share/doc/crosstool-ng/crosstool-ng-${PVR}" \
-		"${D}"/usr/share/doc/
+	if use doc ; then
+		mv "${ED}"/usr/share/doc/crosstool-ng/crosstool-ng-${PVR} "${ED}"/usr/share/doc/ || die
+	fi
 
-	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/"
+	rm -rf "${ED}"/usr/share/doc/crosstool-ng || die
+	rm -rf "${ED}"/usr/share/man/man1/ct-ng.1.gz || die
+	doman docs/ct-ng.1
 }

diff --git a/sys-devel/crosstool-ng/crosstool-ng-1.25.0.ebuild b/sys-devel/crosstool-ng/crosstool-ng-1.25.0-r1.ebuild
similarity index 78%
rename from sys-devel/crosstool-ng/crosstool-ng-1.25.0.ebuild
rename to sys-devel/crosstool-ng/crosstool-ng-1.25.0-r1.ebuild
index 2e09d5c02c72..4c65f6f9438b 100644
--- a/sys-devel/crosstool-ng/crosstool-ng-1.25.0.ebuild
+++ b/sys-devel/crosstool-ng/crosstool-ng-1.25.0-r1.ebuild
@@ -30,14 +30,14 @@ 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/gawk
 	sys-apps/texinfo
+	sys-devel/bison
+	sys-devel/flex
 	curl? (  net-misc/curl )
 	cvs? ( dev-vcs/cvs )
 	dtc? ( sys-apps/dtc )
@@ -54,13 +54,21 @@ RDEPEND="
 	${BDEPEND}
 "
 
+src_configure() {
+	# Needs bison+flex
+	unset YACC LEX
+
+	default
+}
+
 src_install() {
 	emake DESTDIR="${D}" install
 
-	use doc && mv "${D}/usr/share/doc/crosstool-ng/crosstool-ng-${PVR}" \
-		"${D}"/usr/share/doc/
+	if use doc ; then
+		mv "${ED}"/usr/share/doc/crosstool-ng/crosstool-ng-${PVR} "${ED}"/usr/share/doc/ || die
+	fi
 
-	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/"
+	rm -rf "${ED}"/usr/share/doc/crosstool-ng || die
+	rm -rf "${ED}"/usr/share/man/man1/ct-ng.1.gz || die
+	doman docs/ct-ng.1
 }

diff --git a/sys-devel/crosstool-ng/crosstool-ng-1.26.0_rc2.ebuild b/sys-devel/crosstool-ng/crosstool-ng-1.26.0_rc2-r1.ebuild
similarity index 78%
rename from sys-devel/crosstool-ng/crosstool-ng-1.26.0_rc2.ebuild
rename to sys-devel/crosstool-ng/crosstool-ng-1.26.0_rc2-r1.ebuild
index 2e09d5c02c72..4c65f6f9438b 100644
--- a/sys-devel/crosstool-ng/crosstool-ng-1.26.0_rc2.ebuild
+++ b/sys-devel/crosstool-ng/crosstool-ng-1.26.0_rc2-r1.ebuild
@@ -30,14 +30,14 @@ 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/gawk
 	sys-apps/texinfo
+	sys-devel/bison
+	sys-devel/flex
 	curl? (  net-misc/curl )
 	cvs? ( dev-vcs/cvs )
 	dtc? ( sys-apps/dtc )
@@ -54,13 +54,21 @@ RDEPEND="
 	${BDEPEND}
 "
 
+src_configure() {
+	# Needs bison+flex
+	unset YACC LEX
+
+	default
+}
+
 src_install() {
 	emake DESTDIR="${D}" install
 
-	use doc && mv "${D}/usr/share/doc/crosstool-ng/crosstool-ng-${PVR}" \
-		"${D}"/usr/share/doc/
+	if use doc ; then
+		mv "${ED}"/usr/share/doc/crosstool-ng/crosstool-ng-${PVR} "${ED}"/usr/share/doc/ || die
+	fi
 
-	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/"
+	rm -rf "${ED}"/usr/share/doc/crosstool-ng || die
+	rm -rf "${ED}"/usr/share/man/man1/ct-ng.1.gz || die
+	doman docs/ct-ng.1
 }

diff --git a/sys-devel/crosstool-ng/crosstool-ng-9999.ebuild b/sys-devel/crosstool-ng/crosstool-ng-9999.ebuild
index 2e09d5c02c72..4c65f6f9438b 100644
--- a/sys-devel/crosstool-ng/crosstool-ng-9999.ebuild
+++ b/sys-devel/crosstool-ng/crosstool-ng-9999.ebuild
@@ -30,14 +30,14 @@ 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/gawk
 	sys-apps/texinfo
+	sys-devel/bison
+	sys-devel/flex
 	curl? (  net-misc/curl )
 	cvs? ( dev-vcs/cvs )
 	dtc? ( sys-apps/dtc )
@@ -54,13 +54,21 @@ RDEPEND="
 	${BDEPEND}
 "
 
+src_configure() {
+	# Needs bison+flex
+	unset YACC LEX
+
+	default
+}
+
 src_install() {
 	emake DESTDIR="${D}" install
 
-	use doc && mv "${D}/usr/share/doc/crosstool-ng/crosstool-ng-${PVR}" \
-		"${D}"/usr/share/doc/
+	if use doc ; then
+		mv "${ED}"/usr/share/doc/crosstool-ng/crosstool-ng-${PVR} "${ED}"/usr/share/doc/ || die
+	fi
 
-	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/"
+	rm -rf "${ED}"/usr/share/doc/crosstool-ng || die
+	rm -rf "${ED}"/usr/share/man/man1/ct-ng.1.gz || die
+	doman docs/ct-ng.1
 }


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

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/crosstool-ng/
@ 2023-09-25  0:24 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2023-09-25  0:24 UTC (permalink / raw
  To: gentoo-commits

commit:     0a03bce22677fb7b543997b1f7a3b33c2f9713d1
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 24 23:54:48 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 25 00:24:30 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a03bce2

sys-devel/crosstool-ng: add 1.26.0, drop 1.26.0_rc2-r1

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/crosstool-ng/Manifest                                         | 2 +-
 .../{crosstool-ng-1.26.0_rc2-r1.ebuild => crosstool-ng-1.26.0.ebuild}   | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/crosstool-ng/Manifest b/sys-devel/crosstool-ng/Manifest
index fc65c35a9717..f02be9aa507f 100644
--- a/sys-devel/crosstool-ng/Manifest
+++ b/sys-devel/crosstool-ng/Manifest
@@ -1,3 +1,3 @@
 DIST crosstool-ng-1.24.0.tar.xz 1622432 BLAKE2B e0f3f26083dd10a35ac79fc78debe98db7914f5d7fd710ed6b4c788a7a0d56e22d22966f186e8315ae99a6141d1d5b80686e86ad8b0549514a07dfda5913a348 SHA512 89b8794a4184ad4928750e29712ed4f194aa1d0b93768d67ff64f30c30f1b1e165647cafc6de94d68d3ef70e50446e544dad65aa36137511a32ee7a667dddfb4
 DIST crosstool-ng-1.25.0.tar.xz 1075688 BLAKE2B 4484b1a0b9ee65a927c1fc76e86087e48c4f27397c8ebc5a94cc1bbf78a66f4ab94fb54239943a9c710350bd65056e9f63c4138ff3c8f750a35b2a1bfaca6080 SHA512 e25b6fb577ce439592a889fe73bbde4109309e7fe154e7133fefaeb5522c97e3f96958941aa1bc86448fcecb6b4021ff793c595048f5ef8e5ecc75e9a48c0c45
-DIST crosstool-ng-1.26.0_rc2.tar.xz 1151288 BLAKE2B a306cf90bc76000cd77dc41e24f1ca54a801d56b15d0753a3477316e98cca1c160d2a83b622e032859e259b2e58527b6f0a3f4f0c1b8865cc6a6f6acb7a6308b SHA512 0117fed4fb59c85958554c2d1c042c37b367e8dd37702a6d853f958a29dd02040b53b9a2f9c656b75bc2bae8cc66dbe498c95d46412b315de02090febbb5feb4
+DIST crosstool-ng-1.26.0.tar.xz 1144720 BLAKE2B 68c38dca58a239bd2a7a4e0f0adfa0069d97aba632c8a8a70594a67bf1049f0576db2d20b8a6ac90b170c1a3d8245f952a949e4fd006abe1d5e54effbb8e100b SHA512 7834184ae5792fd347455f9f48fee826248dcb82d271954ed4304b1a18f63995ff8a2c3b817564dcf147ac7e16e02d779195b26d97eb57db27f1118a1837002a

diff --git a/sys-devel/crosstool-ng/crosstool-ng-1.26.0_rc2-r1.ebuild b/sys-devel/crosstool-ng/crosstool-ng-1.26.0.ebuild
similarity index 100%
rename from sys-devel/crosstool-ng/crosstool-ng-1.26.0_rc2-r1.ebuild
rename to sys-devel/crosstool-ng/crosstool-ng-1.26.0.ebuild


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

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/crosstool-ng/
@ 2023-09-25  0:24 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2023-09-25  0:24 UTC (permalink / raw
  To: gentoo-commits

commit:     d2450b3f670442c21b776e31163a2b3052a34d16
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 24 23:51:12 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 25 00:24:30 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2450b3f

sys-devel/crosstool-ng: style tweak, add comment

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/crosstool-ng/crosstool-ng-1.24.0-r3.ebuild     | 3 ++-
 sys-devel/crosstool-ng/crosstool-ng-1.25.0-r1.ebuild     | 3 ++-
 sys-devel/crosstool-ng/crosstool-ng-1.26.0_rc2-r1.ebuild | 3 ++-
 sys-devel/crosstool-ng/crosstool-ng-9999.ebuild          | 3 ++-
 4 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/sys-devel/crosstool-ng/crosstool-ng-1.24.0-r3.ebuild b/sys-devel/crosstool-ng/crosstool-ng-1.24.0-r3.ebuild
index 4c65f6f9438b..ee2ab17cd25b 100644
--- a/sys-devel/crosstool-ng/crosstool-ng-1.24.0-r3.ebuild
+++ b/sys-devel/crosstool-ng/crosstool-ng-1.24.0-r3.ebuild
@@ -29,6 +29,7 @@ SLOT="0"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 IUSE="curl cvs doc dtc git lzip meson ninja python rsync subversion wget"
 
+# TODO: Consider dropping these USE (optfeature), but configure does check for them
 BDEPEND="
 	app-arch/unzip
 	>=app-shells/bash-3.1
@@ -38,7 +39,7 @@ BDEPEND="
 	sys-apps/texinfo
 	sys-devel/bison
 	sys-devel/flex
-	curl? (  net-misc/curl )
+	curl? ( net-misc/curl )
 	cvs? ( dev-vcs/cvs )
 	dtc? ( sys-apps/dtc )
 	git? ( dev-vcs/git )

diff --git a/sys-devel/crosstool-ng/crosstool-ng-1.25.0-r1.ebuild b/sys-devel/crosstool-ng/crosstool-ng-1.25.0-r1.ebuild
index 4c65f6f9438b..ee2ab17cd25b 100644
--- a/sys-devel/crosstool-ng/crosstool-ng-1.25.0-r1.ebuild
+++ b/sys-devel/crosstool-ng/crosstool-ng-1.25.0-r1.ebuild
@@ -29,6 +29,7 @@ SLOT="0"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 IUSE="curl cvs doc dtc git lzip meson ninja python rsync subversion wget"
 
+# TODO: Consider dropping these USE (optfeature), but configure does check for them
 BDEPEND="
 	app-arch/unzip
 	>=app-shells/bash-3.1
@@ -38,7 +39,7 @@ BDEPEND="
 	sys-apps/texinfo
 	sys-devel/bison
 	sys-devel/flex
-	curl? (  net-misc/curl )
+	curl? ( net-misc/curl )
 	cvs? ( dev-vcs/cvs )
 	dtc? ( sys-apps/dtc )
 	git? ( dev-vcs/git )

diff --git a/sys-devel/crosstool-ng/crosstool-ng-1.26.0_rc2-r1.ebuild b/sys-devel/crosstool-ng/crosstool-ng-1.26.0_rc2-r1.ebuild
index 4c65f6f9438b..ee2ab17cd25b 100644
--- a/sys-devel/crosstool-ng/crosstool-ng-1.26.0_rc2-r1.ebuild
+++ b/sys-devel/crosstool-ng/crosstool-ng-1.26.0_rc2-r1.ebuild
@@ -29,6 +29,7 @@ SLOT="0"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 IUSE="curl cvs doc dtc git lzip meson ninja python rsync subversion wget"
 
+# TODO: Consider dropping these USE (optfeature), but configure does check for them
 BDEPEND="
 	app-arch/unzip
 	>=app-shells/bash-3.1
@@ -38,7 +39,7 @@ BDEPEND="
 	sys-apps/texinfo
 	sys-devel/bison
 	sys-devel/flex
-	curl? (  net-misc/curl )
+	curl? ( net-misc/curl )
 	cvs? ( dev-vcs/cvs )
 	dtc? ( sys-apps/dtc )
 	git? ( dev-vcs/git )

diff --git a/sys-devel/crosstool-ng/crosstool-ng-9999.ebuild b/sys-devel/crosstool-ng/crosstool-ng-9999.ebuild
index 4c65f6f9438b..ee2ab17cd25b 100644
--- a/sys-devel/crosstool-ng/crosstool-ng-9999.ebuild
+++ b/sys-devel/crosstool-ng/crosstool-ng-9999.ebuild
@@ -29,6 +29,7 @@ SLOT="0"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 IUSE="curl cvs doc dtc git lzip meson ninja python rsync subversion wget"
 
+# TODO: Consider dropping these USE (optfeature), but configure does check for them
 BDEPEND="
 	app-arch/unzip
 	>=app-shells/bash-3.1
@@ -38,7 +39,7 @@ BDEPEND="
 	sys-apps/texinfo
 	sys-devel/bison
 	sys-devel/flex
-	curl? (  net-misc/curl )
+	curl? ( net-misc/curl )
 	cvs? ( dev-vcs/cvs )
 	dtc? ( sys-apps/dtc )
 	git? ( dev-vcs/git )


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

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/crosstool-ng/
@ 2024-05-08 18:14 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2024-05-08 18:14 UTC (permalink / raw
  To: gentoo-commits

commit:     ae71ec1cf5ddb88edeafedd1f69fd3bafaac87d1
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed May  8 18:13:23 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May  8 18:13:59 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae71ec1c

sys-devel/crosstool-ng: drop 1.24.0-r3, 1.25.0-r1

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/crosstool-ng/Manifest                    |  2 -
 .../crosstool-ng/crosstool-ng-1.24.0-r3.ebuild     | 75 ----------------------
 .../crosstool-ng/crosstool-ng-1.25.0-r1.ebuild     | 75 ----------------------
 3 files changed, 152 deletions(-)

diff --git a/sys-devel/crosstool-ng/Manifest b/sys-devel/crosstool-ng/Manifest
index f02be9aa507f..9c5eda7a01d6 100644
--- a/sys-devel/crosstool-ng/Manifest
+++ b/sys-devel/crosstool-ng/Manifest
@@ -1,3 +1 @@
-DIST crosstool-ng-1.24.0.tar.xz 1622432 BLAKE2B e0f3f26083dd10a35ac79fc78debe98db7914f5d7fd710ed6b4c788a7a0d56e22d22966f186e8315ae99a6141d1d5b80686e86ad8b0549514a07dfda5913a348 SHA512 89b8794a4184ad4928750e29712ed4f194aa1d0b93768d67ff64f30c30f1b1e165647cafc6de94d68d3ef70e50446e544dad65aa36137511a32ee7a667dddfb4
-DIST crosstool-ng-1.25.0.tar.xz 1075688 BLAKE2B 4484b1a0b9ee65a927c1fc76e86087e48c4f27397c8ebc5a94cc1bbf78a66f4ab94fb54239943a9c710350bd65056e9f63c4138ff3c8f750a35b2a1bfaca6080 SHA512 e25b6fb577ce439592a889fe73bbde4109309e7fe154e7133fefaeb5522c97e3f96958941aa1bc86448fcecb6b4021ff793c595048f5ef8e5ecc75e9a48c0c45
 DIST crosstool-ng-1.26.0.tar.xz 1144720 BLAKE2B 68c38dca58a239bd2a7a4e0f0adfa0069d97aba632c8a8a70594a67bf1049f0576db2d20b8a6ac90b170c1a3d8245f952a949e4fd006abe1d5e54effbb8e100b SHA512 7834184ae5792fd347455f9f48fee826248dcb82d271954ed4304b1a18f63995ff8a2c3b817564dcf147ac7e16e02d779195b26d97eb57db27f1118a1837002a

diff --git a/sys-devel/crosstool-ng/crosstool-ng-1.24.0-r3.ebuild b/sys-devel/crosstool-ng/crosstool-ng-1.24.0-r3.ebuild
deleted file mode 100644
index 943dbb3f1893..000000000000
--- a/sys-devel/crosstool-ng/crosstool-ng-1.24.0-r3.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit python-single-r1
-
-DESCRIPTION="Versatile (cross-)toolchain generator"
-HOMEPAGE="https://crosstool-ng.github.io/"
-
-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"
-
-# TODO: Consider dropping these USE (optfeature), but configure does check for them
-BDEPEND="
-	app-arch/unzip
-	>=app-shells/bash-3.1
-	sys-apps/help2man
-	>=sys-apps/sed-4.0
-	sys-apps/gawk
-	sys-apps/texinfo
-	sys-devel/bison
-	sys-devel/flex
-	curl? ( net-misc/curl )
-	cvs? ( dev-vcs/cvs )
-	dtc? ( sys-apps/dtc )
-	git? ( dev-vcs/git )
-	lzip? ( app-arch/lzip )
-	meson? ( dev-build/meson )
-	python? ( ${PYTHON_DEPS} )
-	ninja? ( app-alternatives/ninja )
-	rsync? ( net-misc/rsync )
-	subversion? ( dev-vcs/subversion )
-	wget? ( net-misc/wget )
-"
-RDEPEND="
-	${BDEPEND}
-"
-
-src_configure() {
-	# Needs bison+flex
-	unset YACC LEX
-
-	default
-}
-
-src_install() {
-	emake DESTDIR="${D}" install
-
-	if use doc ; then
-		mv "${ED}"/usr/share/doc/crosstool-ng/crosstool-ng-${PVR} "${ED}"/usr/share/doc/ || die
-	fi
-
-	rm -rf "${ED}"/usr/share/doc/crosstool-ng || die
-	rm -rf "${ED}"/usr/share/man/man1/ct-ng.1.gz || die
-	doman docs/ct-ng.1
-}

diff --git a/sys-devel/crosstool-ng/crosstool-ng-1.25.0-r1.ebuild b/sys-devel/crosstool-ng/crosstool-ng-1.25.0-r1.ebuild
deleted file mode 100644
index 943dbb3f1893..000000000000
--- a/sys-devel/crosstool-ng/crosstool-ng-1.25.0-r1.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit python-single-r1
-
-DESCRIPTION="Versatile (cross-)toolchain generator"
-HOMEPAGE="https://crosstool-ng.github.io/"
-
-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"
-
-# TODO: Consider dropping these USE (optfeature), but configure does check for them
-BDEPEND="
-	app-arch/unzip
-	>=app-shells/bash-3.1
-	sys-apps/help2man
-	>=sys-apps/sed-4.0
-	sys-apps/gawk
-	sys-apps/texinfo
-	sys-devel/bison
-	sys-devel/flex
-	curl? ( net-misc/curl )
-	cvs? ( dev-vcs/cvs )
-	dtc? ( sys-apps/dtc )
-	git? ( dev-vcs/git )
-	lzip? ( app-arch/lzip )
-	meson? ( dev-build/meson )
-	python? ( ${PYTHON_DEPS} )
-	ninja? ( app-alternatives/ninja )
-	rsync? ( net-misc/rsync )
-	subversion? ( dev-vcs/subversion )
-	wget? ( net-misc/wget )
-"
-RDEPEND="
-	${BDEPEND}
-"
-
-src_configure() {
-	# Needs bison+flex
-	unset YACC LEX
-
-	default
-}
-
-src_install() {
-	emake DESTDIR="${D}" install
-
-	if use doc ; then
-		mv "${ED}"/usr/share/doc/crosstool-ng/crosstool-ng-${PVR} "${ED}"/usr/share/doc/ || die
-	fi
-
-	rm -rf "${ED}"/usr/share/doc/crosstool-ng || die
-	rm -rf "${ED}"/usr/share/man/man1/ct-ng.1.gz || die
-	doman docs/ct-ng.1
-}


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

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/crosstool-ng/
@ 2024-09-22 16:01 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2024-09-22 16:01 UTC (permalink / raw
  To: gentoo-commits

commit:     c3112bc01fbabc9e7eeb3381651a72c4353542cc
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 22 15:59:03 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 22 16:00:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3112bc0

sys-devel/crosstool-ng: depend on sys-apps/which

Needed at both build-time (see ebuild comment) and at runtime. Unfortunately
there's both a wrapper for which that they use and also some open-coded
use.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{crosstool-ng-1.26.0.ebuild => crosstool-ng-1.26.0-r1.ebuild}        | 1 +
 sys-devel/crosstool-ng/crosstool-ng-9999.ebuild                          | 1 +
 2 files changed, 2 insertions(+)

diff --git a/sys-devel/crosstool-ng/crosstool-ng-1.26.0.ebuild b/sys-devel/crosstool-ng/crosstool-ng-1.26.0-r1.ebuild
similarity index 99%
rename from sys-devel/crosstool-ng/crosstool-ng-1.26.0.ebuild
rename to sys-devel/crosstool-ng/crosstool-ng-1.26.0-r1.ebuild
index 943dbb3f1893..f0aa3dfbe151 100644
--- a/sys-devel/crosstool-ng/crosstool-ng-1.26.0.ebuild
+++ b/sys-devel/crosstool-ng/crosstool-ng-1.26.0-r1.ebuild
@@ -37,6 +37,7 @@ BDEPEND="
 	>=sys-apps/sed-4.0
 	sys-apps/gawk
 	sys-apps/texinfo
+	sys-apps/which
 	sys-devel/bison
 	sys-devel/flex
 	curl? ( net-misc/curl )

diff --git a/sys-devel/crosstool-ng/crosstool-ng-9999.ebuild b/sys-devel/crosstool-ng/crosstool-ng-9999.ebuild
index 943dbb3f1893..f0aa3dfbe151 100644
--- a/sys-devel/crosstool-ng/crosstool-ng-9999.ebuild
+++ b/sys-devel/crosstool-ng/crosstool-ng-9999.ebuild
@@ -37,6 +37,7 @@ BDEPEND="
 	>=sys-apps/sed-4.0
 	sys-apps/gawk
 	sys-apps/texinfo
+	sys-apps/which
 	sys-devel/bison
 	sys-devel/flex
 	curl? ( net-misc/curl )


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

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/crosstool-ng/
@ 2024-09-23 12:01 WANG Xuerui
  0 siblings, 0 replies; 10+ messages in thread
From: WANG Xuerui @ 2024-09-23 12:01 UTC (permalink / raw
  To: gentoo-commits

commit:     c489eff50a5d38d4631b17ba067555b7cd31803b
Author:     WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 11 07:48:23 2024 +0000
Commit:     WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Mon Sep 23 11:50:46 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c489eff5

sys-devel/crosstool-ng: fix live ebuild

Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>

 sys-devel/crosstool-ng/crosstool-ng-9999.ebuild | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/sys-devel/crosstool-ng/crosstool-ng-9999.ebuild b/sys-devel/crosstool-ng/crosstool-ng-9999.ebuild
index f0aa3dfbe151..78700c65fe2d 100644
--- a/sys-devel/crosstool-ng/crosstool-ng-9999.ebuild
+++ b/sys-devel/crosstool-ng/crosstool-ng-9999.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://crosstool-ng.github.io/"
 
 if [[ ${PV} == 9999 ]] ; then
 	EGIT_REPO_URI="https://github.com/crosstool-ng/crosstool-ng.git"
-	inherit git-r3
+	inherit autotools git-r3
 else
 	SRC_URI="
 		https://github.com/crosstool-ng/crosstool-ng/releases/download/${PN}-${PV/_rc/-rc}/${P}.tar.xz
@@ -56,6 +56,19 @@ RDEPEND="
 	${BDEPEND}
 "
 
+src_prepare() {
+	if [[ ${PV} == 9999 ]]; then
+		# Some data files must be generated before autoreconf, and the logic
+		# is non-trivial, so the upstream bootstrap script must be used.
+		# In addition, eautoreconf mis-detects the project to make use of
+		# gettext while it actually isn't, so just rely on the invocation of
+		# autoreconf for us in the bootstrap script.
+		./bootstrap || die "bootstrap failed"
+	fi
+
+	default
+}
+
 src_configure() {
 	# Needs bison+flex
 	unset YACC LEX


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

end of thread, other threads:[~2024-09-23 12:01 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-24 22:25 [gentoo-commits] repo/gentoo:master commit in: sys-devel/crosstool-ng/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2024-09-23 12:01 WANG Xuerui
2024-09-22 16:01 Sam James
2024-05-08 18:14 Sam James
2023-09-25  0:24 Sam James
2023-09-25  0:24 Sam James
2023-09-24 22:25 Sam James
2023-09-24 22:25 Sam James
2023-09-24 22:12 Sam James
2023-09-24 22:12 Sam James

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