From d117dce29795dfc5a9824d31a128decaa37f73d2 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 25 Feb 2024 05:40:31 +0000 Subject: gentoo auto-resync : 25:02:2024 - 05:40:31 --- dev-python/bottleneck/Manifest | 2 ++ dev-python/bottleneck/bottleneck-1.3.8.ebuild | 43 +++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 dev-python/bottleneck/bottleneck-1.3.8.ebuild (limited to 'dev-python/bottleneck') diff --git a/dev-python/bottleneck/Manifest b/dev-python/bottleneck/Manifest index 58a8efc5c653..1ab007270a83 100644 --- a/dev-python/bottleneck/Manifest +++ b/dev-python/bottleneck/Manifest @@ -1,3 +1,5 @@ DIST Bottleneck-1.3.7.tar.gz 103067 BLAKE2B d260263fc05b6806203c09555157926f288c60ebb88105b9ad73191c220be0e08370d7a96cb829ec8dd9ac0c2d243aeca62eb1a871e39fe8c85ba6ab507849ac SHA512 ffeacb13e5a99db85e1580b9f2ead98239b4fd0b253a3c242a5507a026b439b9927ea49becec7e4d2d8f8e4ced15f43514c0af99379389db141ae50c4513e011 +DIST Bottleneck-1.3.8.tar.gz 103252 BLAKE2B 1e520e33eaa86b7328d469a8de2f0cacedb401f9dab3686cad40132caa23e77055b71e630fadda9305f3d416e8958e9762053e6d46afba4cf15489db77418b67 SHA512 951a927ce368643e2ccb5154c05381ce9ff17bc703c0bcd85eab547e345601ad82eb1dc85fa16d667753bf3dc9d0296025984dae463a0153944a85a085331a8e EBUILD bottleneck-1.3.7.ebuild 906 BLAKE2B 6cfbd51aa3e5b82f5082f636b8edf13d432d5a4533a7d08d4a1e6008b0b753157f2353011003d19c125e23bf1362968320dc4537446d6e70ab416c237234ff73 SHA512 9dbf90172dca4c3f1168fedc1565ca8d39090756ab0c42270f819da5216c3302559ae2b6863dc6c03c956989a6cc43ac5dac2ac5120dbb3a353232867fae2031 +EBUILD bottleneck-1.3.8.ebuild 912 BLAKE2B ec1eeac4647ea8f6c0db3db7d9b96140053f0b25b3db7a8b7d05dc64fea58a1dc6959bbbc25d02ffebfaea8e3c311b9892ccd70d2ed7db7488fb9a7a16d5a83f SHA512 233c73464d0527e9b80fdd9d1594080b900247570d9557b401c694c69f2c3ed98e85aac9eed52a1a2b39e3f2e0dde657ea6e3f0808e65dc6fc7b5bd5ef1d6054 MISC metadata.xml 519 BLAKE2B 5e5e712122fb0bbc898942cbae15c7cf623aa8462257f063f65a06bc9caae6662c373963f0945f99c5fffe01270e2792e8e5d01af93b49a04f5c3c22cd3a30f7 SHA512 55d2c03dedaa48c8f802d1e4d1d7db4e829fe7357b501c3b2955d28da501eae00675b2775ab36d1131cf2ef0a3d037183bde8df4c85e986d81510df4e234b0ae 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 +} -- cgit v1.2.3