Package Details: python2-automat 20.2.0-7

Git Clone URL: https://aur.archlinux.org/python2-automat.git (read-only, click to copy)
Package Base: python2-automat
Description: Self-service finite-state machines for the programmer on the go.
Upstream URL: https://github.com/glyph/automat
Licenses: MIT
Submitter: LaughingMan
Maintainer: LaughingMan
Last Packager: LaughingMan
Votes: 1
Popularity: 0.008678
First Submitted: 2021-06-30 15:23 (UTC)
Last Updated: 2021-07-02 17:05 (UTC)

Latest Comments

gnaggnoyil commented on 2021-07-02 17:51 (UTC)

@LaughingMan Thanks. Confirmed it works now.

LaughingMan commented on 2021-07-02 17:08 (UTC)

Nvm, my last comment. Yay builds should be fixed now.

LaughingMan commented on 2021-07-02 15:50 (UTC)

Hm, I can't reproduce. Works for me with makepkg -s. You have 'Programming Language :: Python :: 3.8' in your log. Does it work if you add python2 to makedepends?

gnaggnoyil commented on 2021-07-01 13:38 (UTC)

I tried building this package(using yay) and it reports the following error:

==> Starting build()...
Traceback (most recent call last):
  File "setup.py", line 58, in <module>
    'Programming Language :: Python :: 3.8',
  File "/usr/lib/python2.7/site-packages/setuptools/__init__.py", line 162, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
    _setup_distribution = dist = klass(attrs)
  File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 448, in __init__
    k: v for k, v in attrs.items()
  File "/usr/lib/python2.7/distutils/dist.py", line 287, in __init__
    self.finalize_options()
  File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 740, in finalize_options
    ep(self)
  File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 747, in _finalize_setup_keywords
    ep.load()(self, ep.name, value)
  File "/usr/lib/python2.7/site-packages/setuptools_scm/integration.py", line 26, in version_keyword
    dist.metadata.version = _get_version(config)
  File "/usr/lib/python2.7/site-packages/setuptools_scm/__init__.py", line 173, in _get_version
    parsed_version = _do_parse(config)
  File "/usr/lib/python2.7/site-packages/setuptools_scm/__init__.py", line 142, in _do_parse
    "use git+https://github.com/user/proj.git#egg=proj" % config.absolute_root
LookupError: setuptools-scm was unable to detect version for u'/home/gnaggnoyil-wsl/.cache/yay/python2-automat/src/automat-20.2.0'.

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
==> ERROR: A failure occurred in build().