Package Details: python-pulsectl-asyncio 1.2.2-1

Git Clone URL: https://aur.archlinux.org/python-pulsectl-asyncio.git (read-only, click to copy)
Package Base: python-pulsectl-asyncio
Description: Asyncio frontend for pulsectl, a Python bindings library for PulseAudio (libpulse)
Upstream URL: https://github.com/mhthies/pulsectl-asyncio
Licenses: MIT
Submitter: cmsigler
Maintainer: Lili1228
Last Packager: Lili1228
Votes: 2
Popularity: 0.023784
First Submitted: 2021-07-19 21:25 (UTC)
Last Updated: 2024-11-08 11:07 (UTC)

Latest Comments

Lili1228 commented on 2024-02-01 11:05 (UTC)

@MarsSeed don't mark packages out of date if they aren't out of date.

I don't see a reason to remove a version requirement for python-pulsectl as I'm using >=, not =. The developer specified in setup.cfg it requires Python 3.6 and pulsectl between 23.5.0 and 23.5.2. When 23.6.0 is released, this package won't build anyway without patching.

I added the missing makedepends.

chepito commented on 2023-10-27 15:16 (UTC) (edited on 2023-10-27 15:17 (UTC) by chepito)

@al1-ce ohh okay... Do you have any screenshot or logs of the error? Maybe there are some extra dependencies needed (i.e. pipewire-pulse) so pipewire can work seamlessly with this library, as it is specifically written for pulseaudio. I'll try to test it today and make another PKGBUILD compatible with it.

al1-ce commented on 2023-10-24 17:06 (UTC)

@chepito , check() breaks when using pipewire, just informing. Also if anybody gets hold of managing this package, please be aware of that.

chepito commented on 2023-10-11 17:58 (UTC) (edited on 2023-10-14 14:31 (UTC) by chepito)

Hi everyone...

This package is still working on a really old version of the package. For now, I updated locally the PKGBUILD to download the latest version displayed in their repositories. To update to the newest package, the PKGBUILD can be updated to the following one:

pkgname=python-pulsectl-asyncio
_name=${pkgname#python-}
pkgver=1.1.1
pkgrel=1
pkgdesc="Asyncio frontend for pulsectl, a Python bindings library for PulseAudio (libpulse)"
arch=('x86_64')
url="https://github.com/mhthies/pulsectl-asyncio"
license=('MIT')
depends=('python>=3.6' 'python-pulsectl>=1:23.5.2')
makedepends=(python-build python-installer python-wheel)
source=("https://github.com/mhthies/${_name}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('45592043f3a042693c4285164bf83f80ef94c22cde5e6b4a13d772f1827c0d99')

build() {
  cd "$_name-$pkgver"
  python -m build --wheel --no-isolation
}

package() {
    cd "$_name-$pkgver"
    python -m installer --destdir="$pkgdir" dist/*.whl
}

check() {
    cd "$srcdir/$_name-$pkgver"
    python -m unittest
}

cmsigler commented on 2022-08-05 21:32 (UTC)

@kriansa,

My apologies for taking so long to update this AUR pkg. Please try the new version out and report any issues :)

Clemmitt

lnqs commented on 2022-02-25 18:11 (UTC)

Thanks a lot for responding that fast :)

Everything (at least the functionality I'm using) seems to work fine for me with the updated package.

cmsigler commented on 2022-02-25 14:37 (UTC)

@lnqs,

Thank you for the heads-up! :) As is obvious, I don't use this pkg very often these days.

I'm working on testing the build in a clean chroot. Once verified I'll update the AUR pkg.

Would you please reply if you encounter Python functionality errors? I'm a little uncertain as to which pulsectl versions are supported. The version of python-pulsectl in the AUR is newer than the range listed as supported in this pkg's setup.py file....

Thank you again.

Clemmitt

lnqs commented on 2022-02-24 14:16 (UTC)

Version 0.2.0 is released, fixing compatibility with Python 3.10.

Just updating the version and source hash seems to work fine:

# Maintainer:  Clemmitt Sigler <cmsigler (dot) online (at) gmail (dot) com>

pkgname=python-pulsectl-asyncio
_srcname=pulsectl-asyncio
pkgver=0.2.0
pkgrel=1
pkgdesc="Asyncio frontend for pulsectl, a Python bindings library for PulseAudio (libpulse)"
arch=('x86_64')
url="https://github.com/mhthies/pulsectl-asyncio"
license=('MIT')
depends=('python>=3.6' 'python-pulsectl>=1:21.5.18')
makedepends=('python-setuptools')
source=("https://github.com/mhthies/pulsectl-asyncio/archive/refs/tags/v${pkgver}.tar.gz")
sha1sums=('0e33f1c47b51c7e26ef55b10fb142d58892719ab')

package() {
  cd "${srcdir}/${_srcname}-${pkgver}"
  python setup.py install --root="${pkgdir}/" --optimize=1
}

# vim:set ts=2 sw=2 ft=sh et: