Package Details: konsave 2.1.1-1

Git Clone URL: https://aur.archlinux.org/konsave.git (read-only, click to copy)
Package Base: konsave
Description: Save and apply your KDE Plasma customizations with just one command!
Upstream URL: https://github.com/Prayag2/konsave
Licenses: GPL3
Submitter: zhixi
Maintainer: brody
Last Packager: brody
Votes: 5
Popularity: 0.48
First Submitted: 2021-03-06 09:32
Last Updated: 2021-10-28 08:18

Latest Comments

1 2 Next › Last »

nmiculinic commented on 2021-04-01 14:57

LookupError: setuptools-scm was unable to detect version for '/home/nmiculinic/.cache/yay/konsave/src/konsave-1.1.9'.

Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.

still having the same issue with installation

brody commented on 2021-03-21 17:44

@moonglade please refer to my comment of March 8.

Moonglade commented on 2021-03-21 17:09

It fails to build with the error: LookupError: setuptools-scm was unable to detect version for '/home/<user>/.cache/paru/clone/konsave/src/konsave-1.1.9'.

Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.

I replaced my username with <user> btw, just to clarify.

al3xis commented on 2021-03-13 18:34

Version 1.1.6 works fine ;) But I see a new version already on GitHub. Update: Thanks, got the update to 1.1.7 already!

nmiculinic commented on 2021-03-10 09:06

Cannot install konsave 1.1.5-1

==> Starting build()...
Traceback (most recent call last):
  File "/home/nmiculinic/.cache/yay/konsave/src/konsave-1.1.5/setup.py", line 9, in <module>
    setup(
  File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.9/distutils/core.py", line 108, in setup
    _setup_distribution = dist = klass(attrs)
  File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 432, in __init__
    _Distribution.__init__(self, {
  File "/usr/lib/python3.9/distutils/dist.py", line 292, in __init__
    self.finalize_options()
  File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 708, in finalize_options
    ep(self)
  File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 715, in _finalize_setup_keywords
    ep.load()(self, ep.name, value)
  File "/usr/lib/python3.9/site-packages/setuptools_scm/integration.py", line 26, in version_keyword
    dist.metadata.version = _get_version(config)
  File "/usr/lib/python3.9/site-packages/setuptools_scm/__init__.py", line 173, in _get_version
    parsed_version = _do_parse(config)
  File "/usr/lib/python3.9/site-packages/setuptools_scm/__init__.py", line 134, in _do_parse
    raise LookupError(
LookupError: setuptools-scm was unable to detect version for '/home/nmiculinic/.cache/yay/konsave/src/konsave-1.1.5'.

Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.

For example, if you're using pip, instead of https://github.com/user/proj/archive/master.zip use git+https://github.com/user/proj.git#egg=proj

prayagjain commented on 2021-03-09 14:15

Thank you for updating it!

salamander commented on 2021-03-09 09:34

thanks a lot for your help.

@zhixi: indeed, it seems my aur helper of choice (paru) is the culprit, so i will try as you suggested.

zhixi commented on 2021-03-09 03:11

Dear salamander, I tried the latest PKGBUILD 1.1.5, it works fine when download PKGBUILD and using makepkg -si, following this: https://wiki.archlinux.org/index.php/Arch_User_Repository
Seems it will throw this error when using some aur helpers such as yay

I tried yaourt, and it also works fine.

This error is relate to setuptools-scm, it will check versions in .git,while PKGBUILD will download source in github releaes so it can't find version

So I put

prepare() {
  export SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver}
}

to set the version to pkgver. I haven't find out why it doesn't work when using yay, but build it manually or use another aur helper may help.
https://wiki.archlinux.org/index.php/AUR_helpers

brody commented on 2021-03-08 21:27

I built the package in a clean chroot build environment as described in https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_clean_chroot. Furthermore I build the package in a fresh arch linux vm like https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_and_upgrading_packages

I got no problems.

salamander commented on 2021-03-08 19:11

i'd like to give this a run, but installation fails with:

LookupError: setuptools-scm was unable to detect version for '/tmp/makepkg/konsave/src/konsave-1.1.5'.

Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.

For example, if you're using pip, instead of https://github.com/user/proj/archive/master.zip use git+https://github.com/user/proj.git#egg=proj ==> FEHLER: Ein Fehler geschah in build(). Breche ab... :: Packages failed to build: konsave-1.1.5-1