Search Criteria
Package Details: lyvi-git v2.0.0.23.g6777afe.g6777afe-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/lyvi-git.git (read-only, click to copy) |
---|---|
Package Base: | lyvi-git |
Description: | Command-line lyrics, guitar tabs, and artist information viewer |
Upstream URL: | http://ok100.github.io/lyvi/ |
Licenses: | WTFPLv2 |
Submitter: | stormdragon2976 |
Maintainer: | Poroing |
Last Packager: | Poroing |
Votes: | 5 |
Popularity: | 0.000000 |
First Submitted: | 2015-09-03 14:30 (UTC) |
Last Updated: | 2020-11-25 14:57 (UTC) |
Dependencies (8)
- python-glyr-gitAUR
- python-pillow (python-pillow-gitAUR)
- python-psutil
- python-urwid
- git (git-gitAUR, git-glAUR) (make)
- python-setuptools (make)
- python-dbus (optional) – mpris support
- python-gobject (optional) – mpris support
Latest Comments
1 2 Next › Last »
Poroing commented on 2020-12-06 14:13 (UTC) (edited on 2020-12-08 13:28 (UTC) by Poroing)
If you are encountering issues with
lyvi-git
due to aimportlib.metadata.PackageNotFoundError
, this is due to the recent update of Python on the main repository from3.8
to3.9
.lyvi
was stored in the directory the directory forpython3.8
, but, now, Python search ins the directory forpython3.9
. To solve this issue, juste rebuild and install this package. Do not forget to do the same forpython-glyr-git
.nobicycle commented on 2020-11-26 06:37 (UTC)
Merci beaucoup Poroing
Great to see lyvi still alive at https://github.com/Poroing/lyvi, which I tested successfully.
Best wishes
Poroing commented on 2020-11-25 15:05 (UTC)
I adopted this package.
@nobicycle Since the installation error was coming from the
setup.py
script using a function interns topip
, I decided that the best course of action was to fix the upstream repository rather than make some patch before the installation. As the original owner doesn't seem to be active anymore (old issue and pull requests are not answered) I decided to fork the repository and make the change myself. The PKGBUILD is now fetching the source code from my fork.I also changed the makedepends array. Since
setup.py
does not depend onpip
anymore due to my fix, I removed it from themakedepends
array. I also addedpython-setuptools
to themakedepends
array as it should have been there since the beginning.nobicycle commented on 2020-09-15 07:16 (UTC)
Is anyone willing and qualified to take this package now stormdragon2976 has disowned it? Being a little rusty on PKGBUILD I would not be best placed, but will take it if no one better steps forward.
nobicycle commented on 2020-09-05 02:59 (UTC)
In setup.py change req to requirement:
OLD: install_requires=[str(ir.req) for ir in install_reqs],
NEW: install_requires=[str(ir.requirement) for ir in install_reqs],
Then it compiled.
I was lead to this by: https://stackoverflow.com/questions/62114945/attributeerror-parsedrequirement-object-has-no-attribute-req
stormdragon2976 commented on 2020-09-04 14:30 (UTC)
@nobicycle: I have checked the requirements file, and we have all the dependancies it lists. It has failed to install here as well though. I guess they have forgotten to add something to the docs.
Do you know what would provide str(ir.req)? I did a quick search but didn't find anything useful.
nobicycle commented on 2020-09-04 13:16 (UTC)
Hi,
$ makepkg ==> Making package: lyvi-git v2.0.0.23.g6777afe.g6777afe-1 (Fri 04 Sep 2020 21:16:46 WITA) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating lyvi git repo... Fetching origin ==> Validating source files with md5sums... lyvi ... Skipped ==> Extracting sources... -> Creating working copy of lyvi git repo... Cloning into 'lyvi'... done. ==> Starting pkgver()... ==> Removing existing $pkgdir/ directory... ==> Entering fakeroot environment... ==> Starting package()... Traceback (most recent call last): File "setup.py", line 28, in <module> install_requires=[str(ir.req) for ir in install_reqs], File "setup.py", line 28, in <listcomp> install_requires=[str(ir.req) for ir in install_reqs], AttributeError: 'ParsedRequirement' object has no attribute 'req' ==> ERROR: A failure occurred in package().
stormdragon2976 commented on 2018-08-23 10:28 (UTC)
@sicariusnoctis: Thanks, added to the PKGBUILD.
yodaembedding commented on 2018-08-23 05:07 (UTC) (edited on 2018-08-23 05:09 (UTC) by yodaembedding)
If you receive the following error:
Paste the following line into the PKGBUILD above the call to
python setup.py install --root=$pkgdir
:More info: https://github.com/ok100/lyvi/issues/51
vredesbyrd commented on 2018-08-08 01:03 (UTC) (edited on 2018-08-08 01:04 (UTC) by vredesbyrd)
This now requires a change to successfully build against python3.7. It should be fixed upstream to be compatible with different python versions, but in the meantime if anyone has trouble here is what I did.
In setup.py, line 3, change 'pip.req' to 'pip._internal.req'
Than build the package with the --no-extract option, 'makepkg -e'. This could also be accomplished with a patch I suppose, but I think I will report this upstream so this workaround is not required.
1 2 Next › Last »