Package Details: linux-thermaltake-rgb 0.2.0-1

Git Clone URL: https://aur.archlinux.org/linux-thermaltake-rgb.git (read-only, click to copy)
Package Base: linux-thermaltake-rgb
Description: Python usb daemon and controller for thermaltake rgb watercooling devices
Upstream URL: https://github.com/chestm007/linux_thermaltake_riing
Licenses: GPL2
Submitter: chestm007
Maintainer: chestm007
Last Packager: chestm007
Votes: 2
Popularity: 0.000140
First Submitted: 2018-12-02 10:42
Last Updated: 2019-03-06 11:03

Latest Comments

rkmax commented on 2020-05-22 19:54

after install python-numpy

Traceback (most recent call last):
  File "/usr/bin/linux-thermaltake-rgb", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3253, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3236, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3265, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 584, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 901, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 787, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'GObject' distribution was not found and is required by linux-thermaltake-rgb

python-gobject is present on my system

rkmax commented on 2020-05-22 19:52

installed recently with the following problem

Traceback (most recent call last):
  File "/usr/bin/linux-thermaltake-rgb", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3253, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3236, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3265, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 584, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 901, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 787, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'numpy' distribution was not found and is required by linux-thermaltake-rgb

nicoulaj commented on 2019-02-21 14:08

Thanks, I don't think there are explicit rules about this. The Arch philosophy is to provide "vanilla" packages (as few modifications as possible), so this actually goes against my request. But this package already does this by deploying the config files to their intended locations in /etc anyway.

Maybe a cleaner solution would be that the upstream project provide a Makefile so that package() is reduced to just something like make install PREFIX=$pkgdir and packaging is straightforward for all distros.

chestm007 commented on 2019-02-20 21:33

Hey, i've addressed everything except:

the whole $pkgdir/usr/share directory could be deleted from the package since files are deployed to their proper location anyway

I'm still a little new to packaging and cant find any documentation stating the correct way of doing that - if you can point me somewhere that would be amazing!

nicoulaj commented on 2019-02-15 13:30

Thanks for packaging !

I have a few requests:

  • Can you add backup=('etc/linux_thermaltake_rgb/config.yml') ? otherwise the config will be overwritten with every update
  • A makedepends on git is needed, or it can't build in a clean chroot
  • Actually it would be even better to fetch a source tarball instead of using git to avoid a full clone of the repository, eg: source=('<https://github.com/chestm007/linux_thermaltake_riing/archive/>${pkgver}.tar.gz')
  • Last minor thing: the whole $pkgdir/usr/share directory could be deleted from the package since files are deployed to their proper location anyway