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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EA992158089 for ; Thu, 14 Sep 2023 15:39:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 001BE2BC02A; Thu, 14 Sep 2023 15:39:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D2ED12BC02A for ; Thu, 14 Sep 2023 15:39:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AB154335CB4 for ; Thu, 14 Sep 2023 15:39:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DE2711175 for ; Thu, 14 Sep 2023 15:39:39 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1694705973.413ccec81c7f4b05bf5c848205b3b13f064e525d.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/brotlicffi/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/brotlicffi/Manifest dev-python/brotlicffi/brotlicffi-1.1.0.0.ebuild X-VCS-Directories: dev-python/brotlicffi/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 413ccec81c7f4b05bf5c848205b3b13f064e525d X-VCS-Branch: master Date: Thu, 14 Sep 2023 15:39:39 +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: 9e77d06e-da16-4b67-a6d1-58df64acb58c X-Archives-Hash: e1f4a7f8d3ed5e66978248c3464d0af4 commit: 413ccec81c7f4b05bf5c848205b3b13f064e525d Author: Michał Górny gentoo org> AuthorDate: Thu Sep 14 14:57:05 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Sep 14 15:39:33 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=413ccec8 dev-python/brotlicffi: Bump to 1.1.0.0 Signed-off-by: Michał Górny gentoo.org> dev-python/brotlicffi/Manifest | 3 ++ dev-python/brotlicffi/brotlicffi-1.1.0.0.ebuild | 66 +++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/dev-python/brotlicffi/Manifest b/dev-python/brotlicffi/Manifest index 09219d188fe0..069fea496cfe 100644 --- a/dev-python/brotlicffi/Manifest +++ b/dev-python/brotlicffi/Manifest @@ -1,2 +1,5 @@ +DIST alice29.txt 186314 BLAKE2B f60a7e91e95b65a94c2ca8be35f53e0978d39116ff4bc69ef630787e52f9ea4e8ee06bd1f96bc051c894ddda077b4a14c51ca4bceb31f8be6954f4bbb89f27aa SHA512 16d436a3be97882a21230fadd51963d11bda69a9532c048e12f1f3c8579ff69bdd8221d70f77600b85ad3c0e69d9fef172755cabe5a1476dfade5a30c8b1b03f DIST brotli-46c1a881b41bb638c76247558aa04b1591af3aa7.tar.gz 19840371 BLAKE2B b9a1c3c2e5b62bd63b392debe54bd1732ac1cb31f88500f0142108b453649d96901d9a03b6db98642cb9abaf9188c06d440f2b8bd3cf57fbbb52196a931f5079 SHA512 dc573c90491032a205f32f0ce9c93e95b06c70a3107caa9501e038a212226c37117d63709a29843367344bf7d18cf32d0c0578b11166387198e12b38b1522406 +DIST brotli-ed738e842d2fbdf2d6459e39267a633c4a9b2f5d.tar.gz 512305 BLAKE2B b646e4565386870443d006a97a13b295c2c66de448e501f809700c303bb3daf5e4f84a2dacec16c43a534879243e4cda9292072630f13d5f7ca54f2c4372e560 SHA512 f493e7f15ca2804ae8715e48bdc954680f527533e684ec3762a7d49d05890915194289ed948c8cce95644274e1dcab952dcfbc84c0108aaf79f35f20270ffe6a DIST brotlicffi-1.0.9.2.gh.tar.gz 22714 BLAKE2B 463cff7aed04718d1c77e6b3477dbbdb40cf61f0e045a7759bf1e8656e3b07e7b9f3ff5c5356069e752d750774a6ab203588a4094d27ad7ab9ae80f091c6ea3a SHA512 3d200f606c9851f0049835b53dd1f117727786505b5887e246934f41a978d375e1fa5a078e0811f130c009931e41c51575bd9d55b602ee7b6daebe9759ed15d5 +DIST brotlicffi-1.1.0.0.gh.tar.gz 22736 BLAKE2B 013eec22fcc83da838020c97c4610f80d011a47e6f2c6e35cc1fb062fc0990030349ec59597951003a15c5b4b373aeb91b3caec2a645bba2956e950727b7ae39 SHA512 5b53a2fb8a8a98720e1b9e52816954c2ac478dc31d174aca64b86b86aebb4ffa42e8811117a48ea6bde597846325326624f34178cb0bb1843670e8bdbc742c75 diff --git a/dev-python/brotlicffi/brotlicffi-1.1.0.0.ebuild b/dev-python/brotlicffi/brotlicffi-1.1.0.0.ebuild new file mode 100644 index 000000000000..876a942da11d --- /dev/null +++ b/dev-python/brotlicffi/brotlicffi-1.1.0.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +# Commit of the Brotli library bundled within brotlipy. +BROTLI_BUNDLED_COMMIT="ed738e842d2fbdf2d6459e39267a633c4a9b2f5d" + +DESCRIPTION="Python binding to the Brotli library" +HOMEPAGE=" + https://github.com/python-hyper/brotlicffi/ + https://pypi.org/project/brotlicffi/ +" +SRC_URI=" + https://github.com/python-hyper/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/google/brotli/archive/${BROTLI_BUNDLED_COMMIT}.tar.gz + -> brotli-${BROTLI_BUNDLED_COMMIT}.tar.gz + https://github.com/google/brotli/blob/ed738e842d2fbdf2d6459e39267a633c4a9b2f5d/tests/testdata/alice29.txt + ) +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + app-arch/brotli:= + $(python_gen_cond_dep ' + dev-python/cffi[${PYTHON_USEDEP}] + ' 'python*') +" +DEPEND=" + ${RDEPEND} + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # incompatible with USE_SHARED_BROTLI=1 + test/test_compatibility.py::test_brotli_version +) + +src_unpack() { + default + if use test; then + mv "brotli-${BROTLI_BUNDLED_COMMIT}"/tests "${S}"/libbrotli/ || die + # sigh, google and their stupid .gitattributes + cp "${DISTDIR}"/alice29.txt "${S}"/libbrotli/tests/testdata/ || die + fi +} + +src_configure() { + export USE_SHARED_BROTLI=1 +}