-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New package: python3-pyliblo3-0.16.2
- Loading branch information
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
From 6f0c8a73fd25fd05f528f79ac204a25657cebab7 Mon Sep 17 00:00:00 2001 | ||
From: Cristian Le <[email protected]> | ||
Date: Wed, 4 Sep 2024 13:42:53 +0200 | ||
Subject: [PATCH 1/2] type-erase lo_blob_dataptr input | ||
|
||
--- | ||
pyliblo3/_liblo.pyx | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/pyliblo3/_liblo.pyx b/pyliblo3/_liblo.pyx | ||
index 536cbf9..4fa70df 100644 | ||
--- a/pyliblo3/_liblo.pyx | ||
+++ b/pyliblo3/_liblo.pyx | ||
@@ -271,7 +271,7 @@ cdef int _msg_callback(const_char *path, const_char *types, lo_arg **argv, | ||
elif t == 'm': v = (argv[i].m[0], argv[i].m[1], argv[i].m[2], argv[i].m[3]) | ||
elif t == 't': v = _timetag_to_double(argv[i].t) | ||
elif t == 'b': | ||
- v = bytes(<unsigned char*>lo_blob_dataptr(argv[i])) | ||
+ v = bytes(<unsigned char*>lo_blob_dataptr(<lo_blob>argv[i])) | ||
else: | ||
v = None # unhandled data type |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Template file for 'python3-pyliblo3' | ||
pkgname=python3-pyliblo3 | ||
version=0.16.2 | ||
revision=1 | ||
_commit_hash=91d17815b911ccc2c1d1408412e7885c32f2d460 | ||
build_style=python3-module | ||
hostmakedepends="python3-setuptools python3-Cython" | ||
makedepends="python3-devel liblo-devel" | ||
depends="python3" | ||
short_desc="Python bindings for the liblo OSC library, a fork of pyliblo" | ||
maintainer="Rutpiv <[email protected]>" | ||
license="LGPL-2.1-or-later" | ||
homepage="https://github.com/gesellkammer/pyliblo3" | ||
distfiles="https://github.com/gesellkammer/pyliblo3/archive/${_commit_hash}.tar.gz" | ||
checksum=a17ef90dfc01cc298dadecbe7a2cedc4cadfaf78bc704260eb818099cb63366b | ||
|
||
post_extract() { | ||
rm pyliblo3/_liblo.c | ||
} |