Package Details: python2-amply 0.1.4-1

Git Clone URL: https://aur.archlinux.org/python-amply.git (read-only, click to copy)
Package Base: python-amply
Description: A Python package for AMPL/GMPL datafile parsing
Upstream URL: http://github.com/willu47/amply
Licenses: EPL
Submitter: spider-mario
Maintainer: spider-mario
Last Packager: spider-mario
Votes: 1
Popularity: 0.002214
First Submitted: 2020-07-10 08:43
Last Updated: 2021-08-13 22:42

Latest Comments

lllf commented on 2021-05-06 14:50

No longer builds, perhaps python2 build can be removed?

==> Starting build()...
~/.cache/yay/python-amply/src/python-amply ~/.cache/yay/python-amply/src
running build
running build_py
creating build
creating build/lib
creating build/lib/amply
copying src/amply/__init__.py -> build/lib/amply
copying src/amply/amply.py -> build/lib/amply
~/.cache/yay/python-amply/src
~/.cache/yay/python-amply/src/python2-amply ~/.cache/yay/python-amply/src
WARNING: The pip package is not available, falling back to EasyInstall for handling setup_requires/test_requires; this is deprecated and will be removed in a future version.
/tmp/easy_install-RVenF3/setuptools_scm-6.0.1/src
<pkg_resources.WorkingSet object at 0x7fd138fdb450>
Traceback (most recent call last):
  File "setup.py", line 41, in <module>
    "License :: OSI Approved :: Eclipse Public License 1.0 (EPL-1.0)"
  File "/usr/lib/python2.7/site-packages/setuptools/__init__.py", line 161, in setup
    _install_setup_requires(attrs)
  File "/usr/lib/python2.7/site-packages/setuptools/__init__.py", line 156, in _install_setup_requires
    dist.fetch_build_eggs(dist.setup_requires)
  File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 721, in fetch_build_eggs
    replace_conflicting=True,
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 782, in resolve
    replace_conflicting=replace_conflicting
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1065, in best_match
    return self.obtain(req, installer)
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1077, in obtain
    return installer(requirement)
  File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 777, in fetch_build_egg
    return fetch_build_egg(self, req)
  File "/usr/lib/python2.7/site-packages/setuptools/installer.py", line 70, in fetch_build_egg
    return _legacy_fetch_build_egg(dist, req)
  File "/usr/lib/python2.7/site-packages/setuptools/installer.py", line 53, in _legacy_fetch_build_egg
    return cmd.easy_install(req)
  File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 685, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 711, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 896, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1164, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1150, in run_setup
    run_setup(setup_script, args)
  File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 253, in run_setup
    raise
  File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
    self.gen.throw(type, value, traceback)
  File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 195, in setup_context
    yield
  File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
    self.gen.throw(type, value, traceback)
  File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 166, in save_modules
    saved_exc.resume()
  File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 141, in resume
    six.reraise(type, exc, self._tb)
  File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 154, in save_modules
    yield saved
  File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 195, in setup_context
    yield
  File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 250, in run_setup
    _execfile(setup_script, ns)
  File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 45, in _execfile
    exec(code, globals, locals)
  File "/tmp/easy_install-RVenF3/setuptools_scm-6.0.1/setup.py", line 52, in <module>

  File "/tmp/easy_install-RVenF3/setuptools_scm-6.0.1/setup.py", line 29, in scm_config
    author_email="wusher@kth.se",
  File "/tmp/easy_install-RVenF3/setuptools_scm-6.0.1/src/setuptools_scm/__init__.py", line 8, in <module>
  File "/tmp/easy_install-RVenF3/setuptools_scm-6.0.1/src/setuptools_scm/config.py", line 6, in <module>
  File "/tmp/easy_install-RVenF3/setuptools_scm-6.0.1/src/setuptools_scm/utils.py", line 41
    print(*k)
          ^
SyntaxError: invalid syntax
==> ERROR: A failure occurred in build().
    Aborting...
Error making: python-amply

luscinius commented on 2021-02-03 01:01

Hi I think python-pip (and python2-pip) need to be added to build dependencies, otherwise the build in a chroot using aurutils fails. Thanks.