diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
commit | 4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch) | |
tree | 356496503d52354aa6d9f2d36126302fed5f3a73 /dev-python/bottleneck | |
parent | fcc5224904648a8e6eb528d7603154160a20022f (diff) |
gentoo resync : 20.03.2022
Diffstat (limited to 'dev-python/bottleneck')
-rw-r--r-- | dev-python/bottleneck/Manifest | 7 | ||||
-rw-r--r-- | dev-python/bottleneck/bottleneck-1.3.2-r1.ebuild | 4 | ||||
-rw-r--r-- | dev-python/bottleneck/bottleneck-1.3.4.ebuild | 40 | ||||
-rw-r--r-- | dev-python/bottleneck/files/bottleneck-1.3.4-install-test-data.patch | 16 | ||||
-rw-r--r-- | dev-python/bottleneck/metadata.xml | 5 |
5 files changed, 68 insertions, 4 deletions
diff --git a/dev-python/bottleneck/Manifest b/dev-python/bottleneck/Manifest index 1835aa1c942b..497e78b6db77 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.2.tar.gz 102565 BLAKE2B 4d903bd8ff918a54cdee5b6c6815e8d404c6d3cd1a73e02f81888aab077970a113fcd24acef9da8a35138aa808c211883bf9bd952f83f17df4f94a6172fbe140 SHA512 9b6f812a625c9bb39501e8834ce41ae34ce57038d3ec9528aa8aa80910663c4e3b420d535f0ec8fa9e506faecabaf0151950afcebdc919479ed04787f26dc3ee -EBUILD bottleneck-1.3.2-r1.ebuild 669 BLAKE2B 66035b454938cee1930b1c9ed060e8d27efa1ef4e06290fe99fe27c2c1f5aa8492a713d0496eea22d6f80f1f2b07e57e30b67c94b62302189c556365ba413481 SHA512 f709fbcecb3a906146430b162425b5de2f42bb098fb88a4516e385d6e39a0d8af952fe8372281768472c887d60c1910be1a04f59c7436295d6d03489bb13783f -MISC metadata.xml 353 BLAKE2B cd0e1e695bbe0af12823801cd508e8a6ce2e9f0ea0bdbf3efc1869cf401a85e0a03c000f7d115429024ce638b141e85c61452095cc5dedd524e5db2b7537cbcb SHA512 41ed9ce12cd3865ecee23487e3214ee3c0d4d4d551707b5da2cd438492b1432adb701157bc6e30dbae84b92290438a54a1cc0b5fe9791132362730fb6de2d141 +DIST bottleneck-1.3.4.gh.tar.gz 118739 BLAKE2B af4b32bf296f11538b12f364592553d407668762e1e2d94c814bf262bc9ef88f1338cd388ff1c02065f8266988fe6cad5f8461aed2a144a9bfaf98f8ae46eeae SHA512 0cb3837139f947a7da026bddc8ff6e8025ee0aac6aedf4046383eb8385789d1816158ae20438b15a28c7f0b6552c3570c18abdbb6ef265fa9f497edebae1d808 +EBUILD bottleneck-1.3.2-r1.ebuild 676 BLAKE2B 3000cec562a567fbe3160b35a1a13e8f89c6bcde975eff487cd17959251837b7f449b4d396e724facbc23d7ac99cb518c9a095b78fcc2768116d29ac06e04212 SHA512 7c686a142e18b030f422304c3467532a6d9400d8af5f74e5907da0cbaf2a6cb20278cc050d6cafba6b5f2e7bd9a3b728f7592e32d081a9c1a32cd987329a0db9 +EBUILD bottleneck-1.3.4.ebuild 880 BLAKE2B c8d7e2a4b5fa048ce00def53c862117ebbd1526c4554d5ce1004ec49ad83aebdd648826527312fbdd46a46ce71a0c9d6f4ae431b51fb12d08039fcead5a8892a SHA512 f3bdf9debcb4ca47735773c2e803c1f90262a6eb3e5c721fab4744d2dbf9d9fe518db60808a81373e9f1a56f2ad107e6088a385f3bf6fa370a3128eab0e743d5 +MISC metadata.xml 519 BLAKE2B 5e5e712122fb0bbc898942cbae15c7cf623aa8462257f063f65a06bc9caae6662c373963f0945f99c5fffe01270e2792e8e5d01af93b49a04f5c3c22cd3a30f7 SHA512 55d2c03dedaa48c8f802d1e4d1d7db4e829fe7357b501c3b2955d28da501eae00675b2775ab36d1131cf2ef0a3d037183bde8df4c85e986d81510df4e234b0ae diff --git a/dev-python/bottleneck/bottleneck-1.3.2-r1.ebuild b/dev-python/bottleneck/bottleneck-1.3.2-r1.ebuild index 17698378620b..9acd4ca07def 100644 --- a/dev-python/bottleneck/bottleneck-1.3.2-r1.ebuild +++ b/dev-python/bottleneck/bottleneck-1.3.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,7 +13,7 @@ SRC_URI="https://github.com/kwgoodman/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz LICENSE="BSD" SLOT="0" -KEYWORDS="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}]" DEPEND="${RDEPEND}" 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..3bafb223587f --- /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..10} ) + +inherit distutils-r1 + +DESCRIPTION="Fast NumPy array functions written in C" +HOMEPAGE="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}" +BDEPEND=" + dev-python/versioneer[${PYTHON_USEDEP}] +" + +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/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"]}, diff --git a/dev-python/bottleneck/metadata.xml b/dev-python/bottleneck/metadata.xml index 94e1198a1c8c..05406f51b7b2 100644 --- a/dev-python/bottleneck/metadata.xml +++ b/dev-python/bottleneck/metadata.xml @@ -5,7 +5,12 @@ <email>sci-mathematics@gentoo.org</email> <name>Gentoo Mathematics Project</name> </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> <upstream> + <remote-id type="github">pydata/bottleneck</remote-id> <remote-id type="pypi">Bottleneck</remote-id> </upstream> </pkgmetadata> |