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 604CA158041 for ; Sun, 25 Feb 2024 04:07:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 851BAE29B8; Sun, 25 Feb 2024 04:07:53 +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 5D9C8E29B7 for ; Sun, 25 Feb 2024 04:07:53 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 50F9E343028 for ; Sun, 25 Feb 2024 04:07:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E983814B1 for ; Sun, 25 Feb 2024 04:07:50 +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: <1708832746.4595f266239b1dc108241c22cadef9a374ecc1a6.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/bottleneck/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/bottleneck/Manifest dev-python/bottleneck/bottleneck-1.3.8.ebuild X-VCS-Directories: dev-python/bottleneck/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 4595f266239b1dc108241c22cadef9a374ecc1a6 X-VCS-Branch: master Date: Sun, 25 Feb 2024 04:07:50 +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: 449d2a7a-6ee1-4044-a8b8-42629cb757c6 X-Archives-Hash: e135de681ed202d31aa65d6ba7bdb81d commit: 4595f266239b1dc108241c22cadef9a374ecc1a6 Author: Michał Górny gentoo org> AuthorDate: Sun Feb 25 03:45:46 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Feb 25 03:45:46 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4595f266 dev-python/bottleneck: Bump to 1.3.8 Signed-off-by: Michał Górny gentoo.org> dev-python/bottleneck/Manifest | 1 + dev-python/bottleneck/bottleneck-1.3.8.ebuild | 43 +++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-python/bottleneck/Manifest b/dev-python/bottleneck/Manifest index ec2d1c959444..c111cce36463 100644 --- a/dev-python/bottleneck/Manifest +++ b/dev-python/bottleneck/Manifest @@ -1 +1,2 @@ DIST Bottleneck-1.3.7.tar.gz 103067 BLAKE2B d260263fc05b6806203c09555157926f288c60ebb88105b9ad73191c220be0e08370d7a96cb829ec8dd9ac0c2d243aeca62eb1a871e39fe8c85ba6ab507849ac SHA512 ffeacb13e5a99db85e1580b9f2ead98239b4fd0b253a3c242a5507a026b439b9927ea49becec7e4d2d8f8e4ced15f43514c0af99379389db141ae50c4513e011 +DIST Bottleneck-1.3.8.tar.gz 103252 BLAKE2B 1e520e33eaa86b7328d469a8de2f0cacedb401f9dab3686cad40132caa23e77055b71e630fadda9305f3d416e8958e9762053e6d46afba4cf15489db77418b67 SHA512 951a927ce368643e2ccb5154c05381ce9ff17bc703c0bcd85eab547e345601ad82eb1dc85fa16d667753bf3dc9d0296025984dae463a0153944a85a085331a8e diff --git a/dev-python/bottleneck/bottleneck-1.3.8.ebuild b/dev-python/bottleneck/bottleneck-1.3.8.ebuild new file mode 100644 index 000000000000..6e3c7e7eeebb --- /dev/null +++ b/dev-python/bottleneck/bottleneck-1.3.8.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN^} +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Fast NumPy array functions written in C" +HOMEPAGE=" + https://github.com/pydata/bottleneck/ + https://pypi.org/project/Bottleneck/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" + +RDEPEND=" + >=dev-python/numpy-1.9.1[${PYTHON_USEDEP}] +" +DEPEND=" + ${RDEPEND} +" + +distutils_enable_tests pytest + +src_prepare() { + # don't overwrites user's optimization level + sed -e '/extra_compile_args=\["-O2"\]/d' -i setup.py || die + + distutils-r1_src_prepare +} + +python_test() { + rm -rf bottleneck || die + epytest --pyargs bottleneck +}