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 C5CE7138334 for ; Mon, 6 Aug 2018 08:35:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6D1DDE082F; Mon, 6 Aug 2018 08:35:23 +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 24878E082F for ; Mon, 6 Aug 2018 08:35:22 +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 D69F3335C58 for ; Mon, 6 Aug 2018 08:35:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DC339360 for ; Mon, 6 Aug 2018 08:35:18 +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: <1533544513.1e29df3d4a1a7cf8d3c295e7e0125c1a43363579.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libbytesize/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libbytesize/Manifest dev-libs/libbytesize/libbytesize-1.4.ebuild X-VCS-Directories: dev-libs/libbytesize/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 1e29df3d4a1a7cf8d3c295e7e0125c1a43363579 X-VCS-Branch: master Date: Mon, 6 Aug 2018 08:35:18 +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: 387b40a3-0528-4da4-9f0e-2af6fba295a0 X-Archives-Hash: 37e0a97b62e0d9adea3290466c3ad60d commit: 1e29df3d4a1a7cf8d3c295e7e0125c1a43363579 Author: Lars Wendler gentoo org> AuthorDate: Mon Aug 6 08:31:47 2018 +0000 Commit: Lars Wendler gentoo org> CommitDate: Mon Aug 6 08:35:13 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e29df3d dev-libs/libbytesize: Bump to version 1.4 Package-Manager: Portage-2.3.44, Repoman-2.3.10 dev-libs/libbytesize/Manifest | 1 + dev-libs/libbytesize/libbytesize-1.4.ebuild | 66 +++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/dev-libs/libbytesize/Manifest b/dev-libs/libbytesize/Manifest index 37a98d6f41a..30e7b27221b 100644 --- a/dev-libs/libbytesize/Manifest +++ b/dev-libs/libbytesize/Manifest @@ -1,2 +1,3 @@ DIST libbytesize-1.2.tar.gz 70598 BLAKE2B e136b1274703da7b3596e7583cea1ac773c1594af09c626f4dbb481dfcc23a3186b03ebdc54bba67d0a063c5d6587f6b7f8b610828c461cfd114eea1388dd193 SHA512 a8151e7440d0ec43d10239ddf08a9924827cdf08f20a16dff6177b444c1022fab905a0567384531e7610d854998111adb77f9a6a98e2d9648c02521f84ea2bf2 DIST libbytesize-1.3.tar.gz 71648 BLAKE2B 40794a38af8ee1fcc03ef8000b20123c0e02e208f329a75e7da3a18b224e4a8456ce5982d72e4eefa2ff9d9dcd90b98142037dd37be6bc31f25e2ff347010829 SHA512 a50f5d4ea07a295909e09168518f8fc25da8dcd52859beca9c9c3b8c8c180b025c774c730d449ffbd4c7fd5aba07b5d071b6d9ad36f9d9ebc96bb06699aa08f3 +DIST libbytesize-1.4.tar.gz 80943 BLAKE2B d4c6c34d81be01bf7db2c37b0660886d99eff3c0a87024f5fbc12cc3606dc01e772b81dfbcacbf76c62213120253a9e7bda90adbc749b6d4c3e31e1ed3ae7702 SHA512 5dd13cf52a1674be776220ee1863f42261a47dc53af1ce4a31460d6d02ce87e19c5a52260f700928af98f1d9d7a96de7c11d8f384907b3187ef2effc10cbb593 diff --git a/dev-libs/libbytesize/libbytesize-1.4.ebuild b/dev-libs/libbytesize/libbytesize-1.4.ebuild new file mode 100644 index 00000000000..6f16155dfc4 --- /dev/null +++ b/dev-libs/libbytesize/libbytesize-1.4.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} ) + +inherit autotools python-r1 + +DESCRIPTION="Tiny library providing a C \"class\" for working with arbitrary big sizes in bytes" +HOMEPAGE="https://github.com/storaged-project/libbytesize" +SRC_URI="https://github.com/storaged-project/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc test" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + dev-libs/gmp:0= + dev-libs/mpfr:= + >=dev-libs/libpcre-8.32 +" + +DEPEND=" + ${RDEPEND} + sys-devel/gettext + doc? ( dev-util/gtk-doc ) + test? ( + dev-python/pocketlint + dev-python/polib + ) +" + +RESTRICT="test" + +pkg_setup() { + python_setup +} + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + --without-python3 + $(use_with doc gtk-doc) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + emake install DESTDIR="${D}" + + python_install() { + emake -C src/python install DESTDIR="${D}" + python_optimize + } + python_foreach_impl python_install + + find "${ED}" -name "*.la*" -delete || die +}