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 0E8A0138359 for ; Thu, 27 Aug 2020 16:50:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1D532E0972; Thu, 27 Aug 2020 16:50:00 +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 F3EA7E0972 for ; Thu, 27 Aug 2020 16:49:59 +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 78824335DA6 for ; Thu, 27 Aug 2020 16:49:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 20779315 for ; Thu, 27 Aug 2020 16:49:57 +0000 (UTC) From: "Craig Andrews" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Craig Andrews" Message-ID: <1598546985.c0c1d322aae1744982fc5fa2ae6c8cc545db97f1.candrews@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/brotli/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-arch/brotli/Manifest app-arch/brotli/brotli-1.0.9.ebuild X-VCS-Directories: app-arch/brotli/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: c0c1d322aae1744982fc5fa2ae6c8cc545db97f1 X-VCS-Branch: master Date: Thu, 27 Aug 2020 16:49:57 +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: b8b08366-17b7-4c7c-8518-9cdbdc3f7c4b X-Archives-Hash: 46437eddaa377165fef95fbb6eabf165 commit: c0c1d322aae1744982fc5fa2ae6c8cc545db97f1 Author: Craig Andrews gentoo org> AuthorDate: Thu Aug 27 16:49:45 2020 +0000 Commit: Craig Andrews gentoo org> CommitDate: Thu Aug 27 16:49:45 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0c1d322 app-arch/brotli: 1.0.9 version bump Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Craig Andrews gentoo.org> app-arch/brotli/Manifest | 1 + app-arch/brotli/brotli-1.0.9.ebuild | 79 +++++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) diff --git a/app-arch/brotli/Manifest b/app-arch/brotli/Manifest index 98f703dc332..5f839800926 100644 --- a/app-arch/brotli/Manifest +++ b/app-arch/brotli/Manifest @@ -1,2 +1,3 @@ DIST brotli-1.0.6.tar.gz 23827656 BLAKE2B 8d31eb1c4119de44702f2239fba9db72f1ae81801d06e51716432ff2f8aa78259c52cbd57b8fcd005c1bc14ada81b6e47a35c5d3864bb10bb02d113e30bd321b SHA512 b9847375471de3ae815ef4bb45a29653c343fad0a891a79d5132fcdee34c85caafd82289c8b413c3ef609049f2e8c4af9f9abd1736a2408ba44544c5fefc0010 DIST brotli-1.0.7.tar.gz 23827908 BLAKE2B b9fc554cd23c8387b648638b6f9bb2d29fa87035856d03cf284662f9281984f3bf8e40109e61155ece18673f4391bc0fff704f8ab800a2041d3ce1824478d2ae SHA512 a82362aa36d2f2094bca0b2808d9de0d57291fb3a4c29d7c0ca0a37e73087ec5ac4df299c8c363e61106fccf2fe7f58b5cf76eb97729e2696058ef43b1d3930a +DIST brotli-1.0.9.tar.gz 486984 BLAKE2B 8b9939d5224396ef33b43e019250ba4bc8949903583615e8dc02c85340fc0a1e2d1632161e00b0ee7355d77f05529ac772f482e05d2089afd71a0bf71e803904 SHA512 b8e2df955e8796ac1f022eb4ebad29532cb7e3aa6a4b6aee91dbd2c7d637eee84d9a144d3e878895bb5e62800875c2c01c8f737a1261020c54feacf9f676b5f5 diff --git a/app-arch/brotli/brotli-1.0.9.ebuild b/app-arch/brotli/brotli-1.0.9.ebuild new file mode 100644 index 00000000000..89d52f2c2ec --- /dev/null +++ b/app-arch/brotli/brotli-1.0.9.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9} ) +DISTUTILS_OPTIONAL="1" +DISTUTILS_IN_SOURCE_BUILD="1" + +inherit cmake-multilib distutils-r1 + +DESCRIPTION="Generic-purpose lossless compression algorithm" +HOMEPAGE="https://github.com/google/brotli" + +SLOT="0/$(ver_cut 1)" + +RDEPEND="python? ( ${PYTHON_DEPS} )" +DEPEND="${RDEPEND}" + +IUSE="python test" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +LICENSE="MIT python? ( Apache-2.0 )" + +DOCS=( README.md CONTRIBUTING.md ) + +if [[ ${PV} == "9999" ]] ; then + SRC_URI="" + EGIT_REPO_URI="https://github.com/google/${PN}.git" + inherit git-r3 +else + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x64-solaris" + SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +fi + +RESTRICT="!test? ( test )" + +src_prepare() { + use python && distutils-r1_src_prepare + cmake-utils_src_prepare +} + +multilib_src_configure() { + local mycmakeargs=( + -DBUILD_TESTING="$(usex test)" + ) + cmake-utils_src_configure +} +src_configure() { + cmake-multilib_src_configure + use python && distutils-r1_src_configure +} + +multilib_src_compile() { + cmake-utils_src_compile +} +src_compile() { + cmake-multilib_src_compile + use python && distutils-r1_src_compile +} + +python_test() { + esetup.py test || die +} + +multilib_src_test() { + cmake-utils_src_test +} +src_test() { + cmake-multilib_src_test + use python && distutils-r1_src_test +} + +multilib_src_install() { + cmake-utils_src_install +} +multilib_src_install_all() { + use python && distutils-r1_src_install +}