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 17C18138335 for ; Mon, 14 Oct 2019 14:23:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1EDEDE0923; Mon, 14 Oct 2019 14:23:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 E8B92E0923 for ; Mon, 14 Oct 2019 14:23:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 514D834BD05 for ; Mon, 14 Oct 2019 14:23:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BAA2283F for ; Mon, 14 Oct 2019 14:23:46 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1571063015.259d2c63cb50e2cd36d6f15129c131be6af59267.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libatasmart/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libatasmart/Manifest dev-libs/libatasmart/libatasmart-0.19_p5.ebuild X-VCS-Directories: dev-libs/libatasmart/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 259d2c63cb50e2cd36d6f15129c131be6af59267 X-VCS-Branch: master Date: Mon, 14 Oct 2019 14:23:46 +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: 642fa9d2-bb7a-415c-85a7-dc7e26ee5e66 X-Archives-Hash: abfa41947169974916e7db8d03f19514 commit: 259d2c63cb50e2cd36d6f15129c131be6af59267 Author: Lars Wendler gentoo org> AuthorDate: Mon Oct 14 14:22:29 2019 +0000 Commit: Lars Wendler gentoo org> CommitDate: Mon Oct 14 14:23:35 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=259d2c63 dev-libs/libatasmart: Bump to version 0.19_p5 New upstream (Debian?) Bug: https://bugs.gentoo.org/697702 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Lars Wendler gentoo.org> dev-libs/libatasmart/Manifest | 2 ++ dev-libs/libatasmart/libatasmart-0.19_p5.ebuild | 44 +++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-libs/libatasmart/Manifest b/dev-libs/libatasmart/Manifest index 4d371de4ba6..74a2b4dea5b 100644 --- a/dev-libs/libatasmart/Manifest +++ b/dev-libs/libatasmart/Manifest @@ -1,2 +1,4 @@ DIST libatasmart-0.19.tar.xz 251204 BLAKE2B 7e2a9823c27eee5a41f93464b28236239891349639162c5fdc114c241a70fb39a3046c3de16ce402787cd86e13609fff0578bd26f7a2c994fefe3c9756d45968 SHA512 ec9edb019c477873b01289ba365ad0ed0946505d651c1f6f83a63ef61b3976a5db6439c8a0c74d9a55325db9a3a587ad6f655f8d1af9387b0d08356eccabdb62 DIST libatasmart_0.19-2.debian.tar.gz 6511 BLAKE2B d283dd1db988b95436a99cf804790b6c9b22d48b41d561a6fd2b9aff0948241ab5e775c5c35691692103acd5e73ad2e46278b9d37f886cd48c91cc69353a1564 SHA512 78e86b0c1d2a56dddc8d9ac97ee325871e319ad2226f1fbd5a048d792cd05e5d8162d282c1f767086da5329cd1ee67b37fbb5a2fd3c950f84e9efab11abcf754 +DIST libatasmart_0.19-5.debian.tar.xz 6452 BLAKE2B 09bde3d5d79062d4df82e5582e932b6b566a91607086ddd805925d1966cdee4cb4ba43863f4b7d26a98588479b117841050f762d23c6719448635bf1e681b315 SHA512 434b6ef3ea377485ce745e147da8bb72851b2eeabe6f418379511650f0161f15a9ee21f4f0b5f9beb218b99eb417c1aeafdea4640995efbaf45024f40ce71802 +DIST libatasmart_0.19.orig.tar.xz 251204 BLAKE2B 7e2a9823c27eee5a41f93464b28236239891349639162c5fdc114c241a70fb39a3046c3de16ce402787cd86e13609fff0578bd26f7a2c994fefe3c9756d45968 SHA512 ec9edb019c477873b01289ba365ad0ed0946505d651c1f6f83a63ef61b3976a5db6439c8a0c74d9a55325db9a3a587ad6f655f8d1af9387b0d08356eccabdb62 diff --git a/dev-libs/libatasmart/libatasmart-0.19_p5.ebuild b/dev-libs/libatasmart/libatasmart-0.19_p5.ebuild new file mode 100644 index 00000000000..14cb1e0f3a0 --- /dev/null +++ b/dev-libs/libatasmart/libatasmart-0.19_p5.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A small and lightweight parser library for ATA S.M.A.R.T. hard disks" +HOMEPAGE="https://salsa.debian.org/utopia-team/libatasmart" +SRC_URI="mirror://debian/pool/main/liba/${PN}/${PN}_${PV/_p*}.orig.tar.xz + mirror://debian/pool/main/liba/${PN}/${PN}_${PV/_p/-}.debian.tar.xz" + +LICENSE="LGPL-2.1" +SLOT="0/4" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" +IUSE="static-libs" + +RDEPEND="virtual/libudev:=" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig +" + +S="${WORKDIR}/${P/_p*}" + +src_prepare() { + # https://bugs.gentoo.org/470874 + local d="${WORKDIR}/debian/patches" + sed -i -e '/#/d' \ + -e "s|^|${d}/|" "${d}"/series || die + eapply $(<"${d}"/series) + eapply_user +} + +src_configure() { + local myeconfargs=( + --docdir="${EPREFIX}"/usr/share/doc/${PF} + $(use_enable static-libs static) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${ED}" -type f -name "*.la" -delete || die +}