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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DC52F139694 for ; Thu, 9 Feb 2017 14:03:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 13767E0CB2; Thu, 9 Feb 2017 14:03:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D3456E0CB2 for ; Thu, 9 Feb 2017 14:03:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6F83C340DC7 for ; Thu, 9 Feb 2017 14:03:46 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0EC983E75 for ; Thu, 9 Feb 2017 14:03:45 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1486648999.0c03290690e3de9cb2ad4c093abb9765ada1cf4d.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/bmake/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/bmake/Manifest sys-devel/bmake/bmake-20170201.ebuild X-VCS-Directories: sys-devel/bmake/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 0c03290690e3de9cb2ad4c093abb9765ada1cf4d X-VCS-Branch: master Date: Thu, 9 Feb 2017 14:03:45 +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-Archives-Salt: ecdd493b-e4b9-4e44-a030-ab3133000512 X-Archives-Hash: 6863ba7d452fc2df5ccd36ffaaf9ad56 commit: 0c03290690e3de9cb2ad4c093abb9765ada1cf4d Author: Alexis Ballier gentoo org> AuthorDate: Thu Feb 9 14:03:19 2017 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Thu Feb 9 14:03:19 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c032906 sys-devel/bmake: Bump to 20170201 Package-Manager: Portage-2.3.3, Repoman-2.3.1 sys-devel/bmake/Manifest | 1 + sys-devel/bmake/bmake-20170201.ebuild | 51 +++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/sys-devel/bmake/Manifest b/sys-devel/bmake/Manifest index 957a06bf9c..28014cbef1 100644 --- a/sys-devel/bmake/Manifest +++ b/sys-devel/bmake/Manifest @@ -1,4 +1,5 @@ DIST bmake-20160926.tar.gz 544748 SHA256 5859a7c988936f605120ad3ad127a7c116269d92dd45b559f143f3ee7addba11 SHA512 38c9f928d9178404b9cb32c78cc2317e0947e0a23631e8c416f7ec35523c3e75ab324651204ebdc1928653927f8aa990a5aa75ce48d35184f7392195402ad2a7 WHIRLPOOL 194f40525f99cb2fa2738526fb2300bd2a80f25bc74a073837b42287abeebb9369e7d0121c940675ea160df192eab2f9a7909fd20e5b8628a4ca2fd3a6638dde DIST bmake-20161126.tar.gz 545726 SHA256 1efd12863dc91971ca6d497eea0671cdd36815111403a9123a070869563fbf14 SHA512 1bae26cb9339f6da5bf66d26de81f864fb2b58653cd1e39030fb7c0f426dab115235f1babf24c85501457b08dcaf581b6778071edba552113611d336e5aa47ab WHIRLPOOL 96fd71323c66457933d4c5281db1360279f2978006f3d2c240b70e7aa66589117c27f5dc3c5bcffd6d1b4f7f884d61e425c520f0c5662069ff919d8320809e0c DIST bmake-20161212.tar.gz 546196 SHA256 4579f320c2e97ee544edbc540796dc7f21ebb5ad91195ed36e29cf87c45c0816 SHA512 2510322d0d91fd6b1d9d449ea793f438eae603638df7534f57083fc9d631f8ff3019322576fdb2c6deeaa9b798b6df9b1db3d6de19e8ce14210d2f8882d4cb4d WHIRLPOOL 07647aa9be377643a497a2313ba559ee779540e84f75ecdfd3c728f2f1625b70f1cefc8a46a8e7e576dd69425fdcdc2c4da1dbbde88489586f4fd40cd15dfd2d +DIST bmake-20170201.tar.gz 548625 SHA256 fa0b70af31101b78e7c2557f16455bd6d383f53edb03ebec66b9c715530d2373 SHA512 bf45d4b9f894ee7399de181022b0a46db6fc1327346ab56134173eb0f5277dd9a252ecdcb34173f145ed4eea7018f8b7ef11ad9d8ef6b9ffb534fbb3b2c23b01 WHIRLPOOL 1cd58230ea4079abbfc2489867525d55e467c5083dc5497b2af3291e51f6b9811f5b06e7eb8717da4c1ddedc00e47245502be117557f5fa0082b9ccda13fc4ed DIST mk-20151111.tar.gz 88106 SHA256 beebba89da0ba068c904599d3358e6f08c35418b13300fac787c11774a525bc1 SHA512 48fc6c845f2aef3b9be6fdb1db8a62448857ba7cbffc5417f45a7a2d5e59940356a245b9f484aa05e4c585e0a4c2e2eb7577c7d9e942cc673eb561f6c6e257d4 WHIRLPOOL 68838257558b43bc503841cf23f09cfc926e1152f847fcecc803574070eb9c0ceb5fc75c0f78f52559d1dfd7283a4b001c76b62e44158850c0c019a67d69b3aa diff --git a/sys-devel/bmake/bmake-20170201.ebuild b/sys-devel/bmake/bmake-20170201.ebuild new file mode 100644 index 0000000000..7633050411 --- /dev/null +++ b/sys-devel/bmake/bmake-20170201.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils + +MK_VER=20151111 +DESCRIPTION="NetBSD's portable make" +HOMEPAGE="http://www.crufty.net/help/sjg/bmake.html" +SRC_URI="http://void.crufty.net/ftp/pub/sjg/${P}.tar.gz + http://void.crufty.net/ftp/pub/sjg/mk-${MK_VER}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +S="${WORKDIR}/${PN}" + +src_configure() { + econf \ + --with-mksrc=../mk \ + --with-default-sys-path="${EPREFIX}"/usr/share/mk/${PN} \ + --with-machine_arch=${ARCH} +} + +src_compile() { + sh make-bootstrap.sh || die "bootstrap failed" +} + +src_test() { + cd unit-tests || die + LC_ALL=C env -u A ${S}/bmake -r -m . > test.out 2>&1 \ + || die "tests compilation failed" + sed -i \ + -e "s:${S}/::g" \ + -e "s:bmake\\[.\\]:make:g" \ + -e "s:unit-tests/::g" \ + test.out || die "Fixing values failed" + diff -u test.exp test.out + [[ $(diff -u test.exp test.out |wc -l) -gt 0 ]] && die "tests differ" +} + +src_install() { + dobin "${PN}" + doman "${PN}.1" + FORCE_BSD_MK=1 SYS_MK_DIR=. \ + sh ../mk/install-mk -v -m 644 "${ED}"/usr/share/mk/${PN} \ + || die "failed to install mk files" +}