summaryrefslogtreecommitdiff
path: root/dev-python/bottleneck
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-08-03 13:50:40 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-08-03 13:50:40 +0100
commita2c1a301b2ea85c230b30ef69ff667f230a1bf88 (patch)
tree72b20e59998ee19c32c86634c05e02790faaf20f /dev-python/bottleneck
parent24d75f43d3d4caf76f2448bb277e89a3b3ae0d99 (diff)
gentoo auto-resync : 03:08:2022 - 13:50:40
Diffstat (limited to 'dev-python/bottleneck')
-rw-r--r--dev-python/bottleneck/Manifest5
-rw-r--r--dev-python/bottleneck/bottleneck-1.3.4.ebuild40
-rw-r--r--dev-python/bottleneck/bottleneck-1.3.5.ebuild2
-rw-r--r--dev-python/bottleneck/files/bottleneck-1.3.4-install-test-data.patch16
4 files changed, 61 insertions, 2 deletions
diff --git a/dev-python/bottleneck/Manifest b/dev-python/bottleneck/Manifest
index e7415ffe3f06..277ebe98f7f9 100644
--- a/dev-python/bottleneck/Manifest
+++ b/dev-python/bottleneck/Manifest
@@ -1,3 +1,6 @@
+AUX bottleneck-1.3.4-install-test-data.patch 512 BLAKE2B 850df917f8b10b2c513c083863786072624c3e75c3dc81520f7325a3fe0b91d15b72fcf670b4fa047a56714ebcf7f101acd9b696c46cd0844105582cddd3ff7f SHA512 d1f27e5be6043b92372b1110b7705b3ca4fb01c4d62b9aefa9f5fe05b4d7cff9f8aef11d463785b55651b91b1c748851e1b571d801fc22d74c6d6e2ff52e9a09
+DIST bottleneck-1.3.4.gh.tar.gz 118739 BLAKE2B af4b32bf296f11538b12f364592553d407668762e1e2d94c814bf262bc9ef88f1338cd388ff1c02065f8266988fe6cad5f8461aed2a144a9bfaf98f8ae46eeae SHA512 0cb3837139f947a7da026bddc8ff6e8025ee0aac6aedf4046383eb8385789d1816158ae20438b15a28c7f0b6552c3570c18abdbb6ef265fa9f497edebae1d808
DIST bottleneck-1.3.5.gh.tar.gz 118989 BLAKE2B 5b9338a77cb3f0253348f45e641dca9fce11b50fb632e697272203870dd604730c08f1adc94ebf9c6c21f551e3f06b5492bcb036d6f40eaec8853d08ca298873 SHA512 9a0f224337fd9d5c741a1e469197be26923eaffb143eddfe0969128ddc233c799da6a5f2ba4ef22f6267cf93e7f748c140fbb16f57149ad327c47fe87ffc3346
-EBUILD bottleneck-1.3.5.ebuild 760 BLAKE2B a8b3242ccefd8ee88403581d830074475a685d59f82183a4a914353d7e26e48252c4f00d6b65069bccff0b6482c93f8a2cbe984fc4730b359dc9f1d59a9a694a SHA512 e1a58eb7d53b5256444e62cc7bb045874c06ccf89f508927d21f438e9e1535a32124f9754dd43ec15b534755b24421f99f2b32547c5621da5e3a75f9c234bf06
+EBUILD bottleneck-1.3.4.ebuild 863 BLAKE2B 3dbc46bbfde6c6633b7c76f7ca68ebab0d53def686fba15929b0b56a4b2b01d49b5375149582d5789ec3399093e2e8ff95d8a9ebf27ae8de8c5b043294018012 SHA512 2df59b21d20e23f0e8fe3a5603a54a126903cdb0d247ac0f9d8ca78f095805b8c4ecc0061e80dffe98766a59ac8f09964d3c79fde6158eef3dac984b8860a216
+EBUILD bottleneck-1.3.5.ebuild 766 BLAKE2B cb6679d17d3701a314388684599fe0017382e0c690254636f3d38e3ed07748ac0a1f12b5eb48b247deca2df74fce2c21424c10164185a30a8792292d1d18f1a1 SHA512 b96e714cef0eb07792f12eb10e50b517bb5c22b2e9fce6daaa9235e687bbdf04f89767fe5258f63354cb74808334c0358e9f7d371cc758f661712297e715ba38
MISC metadata.xml 519 BLAKE2B 5e5e712122fb0bbc898942cbae15c7cf623aa8462257f063f65a06bc9caae6662c373963f0945f99c5fffe01270e2792e8e5d01af93b49a04f5c3c22cd3a30f7 SHA512 55d2c03dedaa48c8f802d1e4d1d7db4e829fe7357b501c3b2955d28da501eae00675b2775ab36d1131cf2ef0a3d037183bde8df4c85e986d81510df4e234b0ae
diff --git a/dev-python/bottleneck/bottleneck-1.3.4.ebuild b/dev-python/bottleneck/bottleneck-1.3.4.ebuild
new file mode 100644
index 000000000000..c53291d5bbf6
--- /dev/null
+++ b/dev-python/bottleneck/bottleneck-1.3.4.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Fast NumPy array functions written in C"
+HOMEPAGE="
+ https://github.com/pydata/bottleneck/
+ https://pypi.org/project/Bottleneck/
+"
+SRC_URI="
+ https://github.com/pydata/bottleneck/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="
+ >=dev-python/numpy-1.9.1[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+
+distutils_enable_tests pytest
+
+PATCHES=(
+ # https://github.com/pydata/bottleneck/pull/403
+ "${FILESDIR}"/${P}-install-test-data.patch
+)
+
+python_test() {
+ cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
+ epytest
+}
diff --git a/dev-python/bottleneck/bottleneck-1.3.5.ebuild b/dev-python/bottleneck/bottleneck-1.3.5.ebuild
index d1a52a75700d..818caeedd3bf 100644
--- a/dev-python/bottleneck/bottleneck-1.3.5.ebuild
+++ b/dev-python/bottleneck/bottleneck-1.3.5.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
RDEPEND="
>=dev-python/numpy-1.9.1[${PYTHON_USEDEP}]
diff --git a/dev-python/bottleneck/files/bottleneck-1.3.4-install-test-data.patch b/dev-python/bottleneck/files/bottleneck-1.3.4-install-test-data.patch
new file mode 100644
index 000000000000..b1ac3edbcdf5
--- /dev/null
+++ b/dev-python/bottleneck/files/bottleneck-1.3.4-install-test-data.patch
@@ -0,0 +1,16 @@
+diff --git a/setup.py b/setup.py
+index db629bd..b0c10cd 100644
+--- a/setup.py
++++ b/setup.py
+@@ -185,7 +185,10 @@ metadata = dict(
+ platforms="OS Independent",
+ version=versioneer.get_version(),
+ packages=find_packages(),
+- package_data={"bottleneck": ["LICENSE"]},
++ package_data={
++ "bottleneck": ["LICENSE"],
++ "bottleneck.tests": ["data/*/*"],
++ },
+ requires=["numpy"],
+ install_requires=["numpy"],
+ extras_require={"doc": ["numpydoc", "sphinx", "gitpython"]},