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 E9452158087 for ; Sun, 17 Oct 2021 07:15:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0D6A6E08F1; Sun, 17 Oct 2021 07:15:06 +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-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7E225E08F1 for ; Sun, 17 Oct 2021 07:15:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 290C0342B26 for ; Sun, 17 Oct 2021 07:15:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8801C14C for ; Sun, 17 Oct 2021 07:15:02 +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: <1634454890.e6d03ffc14e40900eee5e9edccab23d340f87a99.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/zstandard/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/zstandard/Manifest dev-python/zstandard/zstandard-0.16.0.ebuild X-VCS-Directories: dev-python/zstandard/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e6d03ffc14e40900eee5e9edccab23d340f87a99 X-VCS-Branch: master Date: Sun, 17 Oct 2021 07:15:02 +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: 08d38251-3fa4-4516-a4ac-a655bef76ff3 X-Archives-Hash: d0c006fb27d876ca546da6f6533af689 commit: e6d03ffc14e40900eee5e9edccab23d340f87a99 Author: Michał Górny gentoo org> AuthorDate: Sun Oct 17 06:36:39 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Oct 17 07:14:50 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6d03ffc dev-python/zstandard: Bump to 0.16.0 Signed-off-by: Michał Górny gentoo.org> dev-python/zstandard/Manifest | 1 + dev-python/zstandard/zstandard-0.16.0.ebuild | 42 ++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-python/zstandard/Manifest b/dev-python/zstandard/Manifest index 685b49695a8..d3375dcd5f8 100644 --- a/dev-python/zstandard/Manifest +++ b/dev-python/zstandard/Manifest @@ -1 +1,2 @@ DIST zstandard-0.15.2.tar.gz 1012864 BLAKE2B 3239a7003d8869182becbaf952b43da8923518e4b5202b115d59fc1492d26bf9703c1ea2dcf525459da023470c134c70525bd040a2d728d24861f7bc1e3a8948 SHA512 0102f3522145c80ec096e9dfac34a5bdd2a98b43b50b8c1e99bcfb0057904c551ababeeb82ced5f8b65945d42b39479cbc29472058679af1f8f91b68ae79f70f +DIST zstandard-0.16.0.tar.gz 563633 BLAKE2B 8d896dcbd8ef9f9b28825d35792d02c3c447fa82ccef067deb925394c21da8f19a7faa4fbe84700fe5a0871af6d33d218c6134829d08eed93fd5ef43c3d0058c SHA512 f528cace58c1f1ec0fbea96e1646d92b05077ab6f5919eec07dc7b4fcfadf97dc848238928276fdb4333fb2cd035509af472ee352608661c3de681bc8dbed318 diff --git a/dev-python/zstandard/zstandard-0.16.0.ebuild b/dev-python/zstandard/zstandard-0.16.0.ebuild new file mode 100644 index 00000000000..6d5db05fa39 --- /dev/null +++ b/dev-python/zstandard/zstandard-0.16.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Zstandard Bindings for Python" +HOMEPAGE="https://pypi.org/project/zstandard/ https://github.com/indygreg/python-zstandard" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +DEPEND=" + app-arch/zstd:=" +RDEPEND="${DEPEND} + $(python_gen_cond_dep '>=dev-python/cffi-1.14.0-r2:=[${PYTHON_USEDEP}]' 'python*') +" +BDEPEND=" + test? ( dev-python/hypothesis[${PYTHON_USEDEP}] )" + +distutils_enable_tests setup.py + +src_prepare() { + # the C backend is repeatedly broken, so force CFFI instead + sed -e '/PYTHON_ZSTANDARD_IMPORT_POLICY/s:default:cffi:' \ + -i zstandard/__init__.py || die + # unreliable, fails on x86 + sed -e 's:test_estimated_compression_context_size:_&:' \ + -i tests/test_data_structures.py || die + + distutils-r1_src_prepare + + DISTUTILS_ARGS=( + --no-c-backend + --system-zstd + ) +}