Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
python-boost-histogram


Commits:
d2ac32bd by Antonio Rojas at 2024-12-25T13:32:05+01:00
upgpkg: 1.5.0-1: Update to 1.5.0

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = python-boost-histogram
        pkgdesc = Python bindings for Boost's Histogram library.
-       pkgver = 1.4.1
-       pkgrel = 6
+       pkgver = 1.5.0
+       pkgrel = 1
        url = https://github.com/scikit-hep/boost-histogram
        arch = x86_64
        license = custom:BSD3
@@ -11,9 +11,11 @@ pkgbase = python-boost-histogram
        makedepends = python-build
        makedepends = python-installer
        makedepends = python-wheel
+       makedepends = python-scikit-build-core
        makedepends = python-setuptools-scm
+       makedepends = pybind11
        depends = python-numpy
-       source = 
python-boost-histogram::git+https://github.com/scikit-hep/boost-histogram.git#tag=v1.4.1
+       source = 
python-boost-histogram::git+https://github.com/scikit-hep/boost-histogram.git#tag=v1.5.0
        source = 
python-boost-histogram-pybind11::git+https://github.com/pybind/pybind11.git
        source = 
python-boost-histogram-histogram::git+https://github.com/boostorg/histogram.git
        source = 
python-boost-histogram-core::git+https://github.com/boostorg/core.git
@@ -22,7 +24,7 @@ pkgbase = python-boost-histogram
        source = 
python-boost-histogram-throw_exception::git+https://github.com/boostorg/throw_exception.git
        source = 
python-boost-histogram-assert::git+https://github.com/boostorg/assert.git
        source = 
python-boost-histogram-variant2::git+https://github.com/boostorg/variant2.git
-       sha256sums = 
18e70c0fc5fc3dfebdc0e04e901348a81e90575e038ccba7cca65dc8e2563b4f
+       sha256sums = 
ad8979e449d09cb68c256f35dcc7019ec19b5bc8801fae9a4ffd75287e6679d1
        sha256sums = SKIP
        sha256sums = SKIP
        sha256sums = SKIP


=====================================
PKGBUILD
=====================================
@@ -2,14 +2,14 @@
 
 _pkgname='boost-histogram'
 pkgname="python-${_pkgname}"
-pkgver='1.4.1'
-pkgrel=6
+pkgver=1.5.0
+pkgrel=1
 pkgdesc="Python bindings for Boost's Histogram library."
 arch=('x86_64')
 url='https://github.com/scikit-hep/boost-histogram'
 license=('custom:BSD3')
 depends=('python-numpy')
-makedepends=('git' 'python-build' 'python-installer' 'python-wheel' 
'python-setuptools-scm')
+makedepends=('git' 'python-build' 'python-installer' 'python-wheel' 
'python-scikit-build-core' 'python-setuptools-scm' 'pybind11')
 checkdepends=('python-pytest' 'python-pytest-benchmark')
 source=(
   
"${pkgname}::git+https://github.com/scikit-hep/boost-histogram.git#tag=v${pkgver}";
@@ -23,7 +23,7 @@ source=(
   "${pkgname}-variant2::git+https://github.com/boostorg/variant2.git";
 )
 
-sha256sums=('18e70c0fc5fc3dfebdc0e04e901348a81e90575e038ccba7cca65dc8e2563b4f'
+sha256sums=('ad8979e449d09cb68c256f35dcc7019ec19b5bc8801fae9a4ffd75287e6679d1'
             'SKIP'
             'SKIP'
             'SKIP'
@@ -38,7 +38,7 @@ prepare() {
   git submodule init
 
   git config submodule."pybind11".url "${srcdir}/${pkgname}"-pybind11
-  git config submodule."extern/boosthistogram".url 
"${srcdir}/${pkgname}"-histogram
+  git config submodule."extern/histogram".url "${srcdir}/${pkgname}"-histogram
   git config submodule."extern/core".url "${srcdir}/${pkgname}"-core
   git config submodule."extern/mp11".url "${srcdir}/${pkgname}"-mp11
   git config submodule."extern/config".url "${srcdir}/${pkgname}"-config
@@ -56,9 +56,9 @@ build() {
 
 check() {
   cd "${srcdir}/${pkgname}"
-  local python_version=$(python -c 'import sys; print("".join(map(str, 
sys.version_info[:2])))')
-  PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-${python_version}" pytest \
-    --override-ini="filterwarnings=ignore::DeprecationWarning"
+  python -m venv --system-site-packages test-env
+  test-env/bin/python -m installer dist/*.whl
+  test-env/bin/python -m pytest -v 
--override-ini="filterwarnings=ignore::DeprecationWarning"
 }
 
 package() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-boost-histogram/-/commit/d2ac32bd69f81629a48eca55f620ffe595be35dc

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


Reply via email to