summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRudy Matela2023-07-07 13:57:36 +0200
committerRudy Matela2023-07-07 13:57:36 +0200
commit040e8a63a6b12d4bd4a3d4c51f2918c6c20cab6d (patch)
treec6c6819d723991620a9020a34deb2bdb06603855
parent4908dc5abdbf4a31ce7ca05930d476a0cb95ffae (diff)
downloadaur-040e8a63a6b12d4bd4a3d4c51f2918c6c20cab6d.tar.gz
python-slicer v0.0.7-2: pytorch optdepends
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD5
2 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9be1c42718d9..b0ec1e57198f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,7 @@
-# Generated by mksrcinfo v8
-# Fri Jul 7 10:41:17 UTC 2023
pkgbase = python-slicer
pkgdesc = Wraps tensor-like objects and provides a uniform slicing interface via __getitem__
pkgver = 0.0.7
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/interpretml/slicer
arch = any
license = BSD
@@ -14,8 +12,8 @@ pkgbase = python-slicer
depends = python-pandas
depends = python-pytest
depends = python-scipy
+ optdepends = python-pytorch
source = https://github.com/interpretml/slicer/archive/v0.0.7/slicer-0.0.7.tar.gz
sha256sums = 66e698dbe779d5597771c53809aa5e3a1eeb94f4386105e1bb8f3eeab3b3d339
pkgname = python-slicer
-
diff --git a/PKGBUILD b/PKGBUILD
index cfb40e5fb849..1be780df15d7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=python-slicer
pkgver=0.0.7
-pkgrel=1
+pkgrel=2
pkgdesc='Wraps tensor-like objects and provides a uniform slicing interface via __getitem__'
arch=(any)
url='https://github.com/interpretml/slicer'
@@ -19,6 +19,9 @@ makedepends=(
python-setuptools
python-wheel
)
+optdepends=(
+ python-pytorch
+)
_archive="${pkgname#python-}-$pkgver"
source=("${url}/archive/v${pkgver}/${_archive}.tar.gz")
sha256sums=('66e698dbe779d5597771c53809aa5e3a1eeb94f4386105e1bb8f3eeab3b3d339')