Package Details: lyvi-git v2.0.0.20.g7cc7a3f.g7cc7a3f-3

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: None
Last Packager: stormdragon2976
Votes: 4
Popularity: 0.000000
First Submitted: 2015-09-03 14:30
Last Updated: 2018-08-23 10:24

Dependencies (8)

Required by (0)

Sources (1)

Latest Comments

nobicycle commented on 2020-09-15 07:16

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

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

@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

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

@sicariusnoctis: Thanks, added to the PKGBUILD.

yodaembedding commented on 2018-08-23 05:07

If you receive the following error:

Traceback (most recent call last):
  File "setup.py", line 3, in <module>
    from pip.req import parse_requirements
ModuleNotFoundError: No module named 'pip.req'

Paste the following line into the PKGBUILD above the call to python setup.py install --root=$pkgdir:

sed -i 's/from pip.req/from pip._internal.req/' setup.py

More info: https://github.com/ok100/lyvi/issues/51

vredesbyrd commented on 2018-08-08 01:03

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.

stormdragon2976 commented on 2015-09-08 20:15

@sekret: Thanks for the heads up. Added python-pillow as a dependancy.

sekret commented on 2015-09-08 19:30

To me it looks like lyvi definitely needs python-pillow, because it crashes otherwise saying it needs pillow! ;)