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 8E8B513835B for ; Sun, 1 Nov 2020 23:41:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DBCACE0870; Sun, 1 Nov 2020 23:41:17 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C7EC8E0870 for ; Sun, 1 Nov 2020 23:41:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5CFDC33BECE for ; Sun, 1 Nov 2020 23:41:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7C0BD42B for ; Sun, 1 Nov 2020 23:41:13 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1604274068.d161cc3a0b4584625574e6fc275193a97ce2fc4a.whissi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/f3/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-block/f3/Manifest sys-block/f3/f3-8.0.ebuild X-VCS-Directories: sys-block/f3/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: d161cc3a0b4584625574e6fc275193a97ce2fc4a X-VCS-Branch: master Date: Sun, 1 Nov 2020 23:41:13 +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: 63da4e87-e827-4465-9e0e-74b696f740c5 X-Archives-Hash: 196fe8f34d625f12a6ffc860a18b1759 commit: d161cc3a0b4584625574e6fc275193a97ce2fc4a Author: Thomas Deutschmann gentoo org> AuthorDate: Sun Nov 1 23:38:20 2020 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Sun Nov 1 23:41:08 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d161cc3a sys-block/f3: bump to v8.0 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann gentoo.org> sys-block/f3/Manifest | 1 + sys-block/f3/f3-8.0.ebuild | 66 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/sys-block/f3/Manifest b/sys-block/f3/Manifest index 456beb10b9b..638b4b478da 100644 --- a/sys-block/f3/Manifest +++ b/sys-block/f3/Manifest @@ -1 +1,2 @@ DIST f3-7.2.tar.gz 68471 BLAKE2B fa2e98ee0bdbad117c44bcc866d8ee5ef1572469d0b3cc48734de0fdb47653946774cc85429157f00d2a977662f593885074822bf1e069aa84ceafafa64726bf SHA512 4e41fca8b02dbd6bfaae01237a47573916aefe47f5aafc864618d708568e32ec122390c03af24d89caaf03de692fa374e87747b07a8546eaf8cafd57887a61ac +DIST f3-8.0.tar.gz 71493 BLAKE2B e5c580971b001be0041b7cda2815d3e075b9590dde20f3afc722dc0126b10dfd13f85e4d2c7994210b4bc4746fed2ef400582293cbdf9d3271ca62ba379b4df0 SHA512 4c929eb3ad56ffefff7ae3266148e2000e14f01553c1960ddbe77a164df18dda6f32980140b7568e32a3165f9362e4f43c990a946a62b15b06720d6f8b87f924 diff --git a/sys-block/f3/f3-8.0.ebuild b/sys-block/f3/f3-8.0.ebuild new file mode 100644 index 00000000000..353b4009e3c --- /dev/null +++ b/sys-block/f3/f3-8.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Utilities to detect broken or counterfeit flash storage" +HOMEPAGE="http://oss.digirati.com.br/f3/ https://github.com/AltraMayor/f3" + +PATCHES=( +) + +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="https://github.com/AltraMayor/${PN}.git" + + PATCHES=() + + inherit git-r3 +else + SRC_URI="https://github.com/AltraMayor/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" + +IUSE="extra" + +DEPEND="extra? ( + sys-block/parted + virtual/udev + )" + +RDEPEND="" + +DOCS=( changelog README.rst ) + +src_prepare() { + default + + sed -i \ + -e 's:-ggdb::' \ + -e 's:^PREFIX =:PREFIX ?=:' \ + Makefile || die + + tc-export CC +} + +src_compile() { + default + + if use extra; then + emake V=1 extra + fi +} + +src_install() { + emake PREFIX="${ED}/usr" install + + if use extra; then + emake PREFIX="${ED}/usr" install-extra + fi + + einstalldocs +}