Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-vlc: update to 3.0.20123.
@ 2024-02-16 19:30 TinfoilSubmarine
  2024-02-29 14:56 ` [PR PATCH] [Merged]: " ahesford
  0 siblings, 1 reply; 2+ messages in thread
From: TinfoilSubmarine @ 2024-02-16 19:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2073 bytes --]

There is a new pull request by TinfoilSubmarine against master on the void-packages repository

https://github.com/TinfoilSubmarine/void-packages update/python3-vlc
https://github.com/void-linux/void-packages/pull/48774

python3-vlc: update to 3.0.20123.
<!-- Uncomment relevant sections and delete options which are not applicable -->

Needs dependency on libvlc, otherwise the package cannot function and throws errors:
```
>>> import vlc
>>> vlc.get_default_instance()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.12/site-packages/vlc.py", line 271, in get_default_instance
    _default_instance = Instance()
                        ^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/vlc.py", line 1814, in __new__
    return libvlc_new(len(args), args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/vlc.py", line 4990, in libvlc_new
    _Cfunction('libvlc_new', ((1,), (1,),), class_result(Instance),
  File "/usr/lib/python3.12/site-packages/vlc.py", line 302, in _Cfunction
    raise NameError('no function %r' % (name,))
NameError: no function 'libvlc_new'
```

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/48774.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update/python3-vlc-48774.patch --]
[-- Type: text/x-diff, Size: 1121 bytes --]

From c4324df7df4cef82cf67bb2646aebfc731f7463e Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Thu, 14 Sep 2023 09:25:40 -0400
Subject: [PATCH] python3-vlc: update to 3.0.20123.

---
 srcpkgs/python3-vlc/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-vlc/template b/srcpkgs/python3-vlc/template
index 9e655cf15f73f4..b12377fa580084 100644
--- a/srcpkgs/python3-vlc/template
+++ b/srcpkgs/python3-vlc/template
@@ -1,13 +1,13 @@
 # Template file for 'python3-vlc'
 pkgname=python3-vlc
-version=3.0.18121
-revision=2
+version=3.0.20123
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3"
+depends="python3 libvlc"
 short_desc="VLC bindings for python"
 maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
 license="LGPL-2.1-or-later"
 homepage="https://wiki.videolan.org/Python_bindings"
 distfiles="${PYPI_SITE}/p/python-vlc/python-vlc-${version}.tar.gz"
-checksum=24550314a3e6ed55fd347b009491c98b865f9dfa05a92e889d7b0a2210e7485b
+checksum=244fbb9e392a0326841fca926d6d12a2a36c546982191f493f148fa19e66b1d4

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: python3-vlc: update to 3.0.20123.
  2024-02-16 19:30 [PR PATCH] python3-vlc: update to 3.0.20123 TinfoilSubmarine
@ 2024-02-29 14:56 ` ahesford
  0 siblings, 0 replies; 2+ messages in thread
From: ahesford @ 2024-02-29 14:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1893 bytes --]

There's a merged pull request on the void-packages repository

python3-vlc: update to 3.0.20123.
https://github.com/void-linux/void-packages/pull/48774

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

Needs dependency on libvlc, otherwise the package cannot function and throws errors:
```
>>> import vlc
>>> vlc.get_default_instance()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.12/site-packages/vlc.py", line 271, in get_default_instance
    _default_instance = Instance()
                        ^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/vlc.py", line 1814, in __new__
    return libvlc_new(len(args), args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/vlc.py", line 4990, in libvlc_new
    _Cfunction('libvlc_new', ((1,), (1,),), class_result(Instance),
  File "/usr/lib/python3.12/site-packages/vlc.py", line 302, in _Cfunction
    raise NameError('no function %r' % (name,))
NameError: no function 'libvlc_new'
```

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-29 14:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-16 19:30 [PR PATCH] python3-vlc: update to 3.0.20123 TinfoilSubmarine
2024-02-29 14:56 ` [PR PATCH] [Merged]: " ahesford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).