Jakub Klinkovský pushed to branch main at Arch Linux / Packaging / Packages / 
python-bottleneck


Commits:
786108bd by Jakub Klinkovský at 2025-12-23T20:00:57+01:00
upgpkg: 1.6.0-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = python-bottleneck
        pkgdesc = Fast NumPy array functions written in Cython
-       pkgver = 1.4.2
+       pkgver = 1.6.0
        pkgrel = 1
        url = https://github.com/kwgoodman/bottleneck
        arch = x86_64
@@ -11,8 +11,10 @@ pkgbase = python-bottleneck
        makedepends = python-installer
        makedepends = python-wheel
        makedepends = python-versioneer
+       depends = glibc
+       depends = python
        depends = python-numpy
-       source = 
python-bottleneck-1.4.2.tar.gz::https://github.com/kwgoodman/bottleneck/archive/refs/tags/v1.4.2.tar.gz
-       sha256sums = 
8fc63a27f6f454dde25fdcdb460466cfee25b12e77ccee6ea14c20e34f02235b
+       source = 
python-bottleneck-1.6.0.tar.gz::https://github.com/kwgoodman/bottleneck/archive/refs/tags/v1.6.0.tar.gz
+       sha256sums = 
f3ebfd2342f25e04dab7fac3db4190595fa9c47a2357eff6e18ce2e74a0dcc97
 
 pkgname = python-bottleneck


=====================================
PKGBUILD
=====================================
@@ -1,27 +1,20 @@
-# Maintainer: Andrzej Giniewicz <[email protected]>
 # Maintainer: Bruno Pagani <[email protected]>
+# Contributor: Andrzej Giniewicz <[email protected]>
 # Contributor: Michael Schubert <mschu.dev at gmail>
 # Contributor: Panagiotis Mavrogiorgos (pmav99) <> (gmail)
 
 pkgname=python-bottleneck
-pkgver=1.4.2
+pkgver=1.6.0
 pkgrel=1
 pkgdesc="Fast NumPy array functions written in Cython"
 arch=(x86_64)
 url="https://github.com/kwgoodman/bottleneck";
 license=(BSD-2-Clause)
-depends=(python-numpy)
+depends=(glibc python python-numpy)
 makedepends=(python-setuptools python-build python-installer python-wheel 
python-versioneer)
 checkdepends=(python-pytest)
-#source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
 source=($pkgname-$pkgver.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz)
-sha256sums=('8fc63a27f6f454dde25fdcdb460466cfee25b12e77ccee6ea14c20e34f02235b')
-
-prepare() {
-  cd bottleneck-${pkgver}
-  # Drop build requirement on oldest-supported-numpy
-  sed -i '/oldest-supported-numpy/d' pyproject.toml
-}
+sha256sums=('f3ebfd2342f25e04dab7fac3db4190595fa9c47a2357eff6e18ce2e74a0dcc97')
 
 build() {
   cd bottleneck-${pkgver}
@@ -29,10 +22,9 @@ build() {
 }
 
 check() {
-  cd bottleneck-${pkgver}
   python -m venv --system-site-packages test-env
-  test-env/bin/python setup.py install --skip-build
-  test-env/bin/python /usr/bin/pytest -vv --color=yes --pyargs bottleneck
+  test-env/bin/python -m installer bottleneck-$pkgver/dist/*.whl
+  test-env/bin/python -m pytest -vv --color=yes --pyargs bottleneck
 }
 
 package() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-bottleneck/-/commit/786108bdfda97bcc2f5a622345be1b73b61a8fc1

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-bottleneck/-/commit/786108bdfda97bcc2f5a622345be1b73b61a8fc1
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to