Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kylemanna/a56e0bdb3081153532bc0d96e89e6a8d to your computer and use it in GitHub Desktop.
Save kylemanna/a56e0bdb3081153532bc0d96e89e6a8d to your computer and use it in GitHub Desktop.
From 30cf11cb52c49d17abb7b7d22379ff9c383daaa7 Mon Sep 17 00:00:00 2001
From: Kyle Manna <kyle@kylemanna.com>
Date: Thu, 1 Sep 2022 09:46:52 -0500
Subject: [PATCH] pkgrel: v0.4.1-3 add python-numpy + OpenGL dependencies
---
.SRCINFO | 5 ++++-
PKGBUILD | 4 ++--
2 files changed, 6 insertions(+), 3 deletions(-)
mode change 100755 => 100644 PKGBUILD
diff --git a/.SRCINFO b/.SRCINFO
index 3147564..a633151 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-ouster-sdk
pkgdesc = Ouster sensor SDK
pkgver = 0.4.1
- pkgrel = 2
+ pkgrel = 3
url = https://pypi.org/project/ouster-sdk/
arch = any
license = BSD-3-Clause License
@@ -15,6 +15,9 @@ pkgbase = python-ouster-sdk
depends = python
depends = python-typing_extensions
depends = libtins
+ depends = python-numpy
+ depends = glew
+ depends = glfw-x11
source = https://files.pythonhosted.org/packages/source/o/ouster-sdk/ouster-sdk-0.4.1.tar.gz
sha256sums = 3ecf459dd327d251c7537df5728b1a2ec5d9f4c7a652e9c269db7b392a3292b0
diff --git a/PKGBUILD b/PKGBUILD
old mode 100755
new mode 100644
index b153fb0..8395c5e
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,13 @@
pkgname=python-ouster-sdk
_pkgname=${pkgname:7}
pkgver=0.4.1
-pkgrel=2
+pkgrel=3
pkgdesc="Ouster sensor SDK"
arch=(any)
url="https://pypi.org/project/ouster-sdk/"
license=('BSD-3-Clause License')
makedepends=('python-setuptools' 'python-pytest' 'pybind11' 'jsoncpp' 'cmake' 'eigen' 'python-wheel')
-depends=('python' 'python-typing_extensions' 'libtins')
+depends=('python' 'python-typing_extensions' 'libtins' 'python-numpy' 'glew' 'glfw-x11')
source=(https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz)
sha256sums=('3ecf459dd327d251c7537df5728b1a2ec5d9f4c7a652e9c269db7b392a3292b0')
--
2.37.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment