Package Details: python-jproperties 2.1.1-1

Git Clone URL: https://aur.archlinux.org/python-jproperties.git (read-only, click to copy)
Package Base: python-jproperties
Description: Java Property file parser and writer for Python
Upstream URL: https://github.com/Tblue/python-jproperties
Keywords: java properties python
Licenses: BSD, python
Submitter: Mininux
Maintainer: None
Last Packager: Mininux
Votes: 2
Popularity: 0.87
First Submitted: 2019-09-07 18:47 (UTC)
Last Updated: 2021-08-23 10:20 (UTC)

Latest Comments

Mininux commented on 2021-08-23 10:21 (UTC)

It should work now, i added the missing dependencies and i had to add a patch because the setup.py wanted an old version of setuptools_scm

Patschke commented on 2021-08-23 08:29 (UTC)

This pkgbuild has not been working for me. It is missing at least an dependency to python-six, possibly more than that. Adding stuff that seemed reasonable to me to the depends/makedepends did not fix the issues for me - I was always left with the an error resulting in a build failure like that one:

/usr/bin/python: No module named pip
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/setuptools/installer.py", line 75, in fetch_build_egg
    subprocess.check_call(cmd)
  File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpjn16u7zn', '--quiet', 'pytest-runner~=2.0']' returned non-zero exit status 1.


The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/xyz/.cache/pikaur/build/python-jproperties/src/jproperties-2.1.0/setup.py", line 5, in <module>
    setup(
  File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 152, in setup
    _install_setup_requires(attrs)
  File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 147, in _install_setup_requires
    dist.fetch_build_eggs(dist.setup_requires)
  File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 785, in fetch_build_eggs
    resolved_dists = pkg_resources.working_set.resolve(
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 766, in resolve
    dist = best[req.key] = env.best_match(
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 1051, in best_match
    return self.obtain(req, installer)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 1063, in obtain
    return installer(requirement)
  File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 844, in fetch_build_egg
    return fetch_build_egg(self, req)
  File "/usr/lib/python3.9/site-packages/setuptools/installer.py", line 77, in fetch_build_egg
    raise DistutilsError(str(e)) from e
distutils.errors.DistutilsError: Command '['/usr/bin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpjn16u7zn', '--quiet', 'pytest-runner~=2.0']' returned non-zero exit status 1.
==> ERROR: A failure occurred in build().
    Aborting...

Command 'makepkg --force' failed to execute.

I guess some dependency is missing and an attempt is made to install it using pip (which fails since pip wasn't installed either). I've ended up installing python-pip (which works, but will of course possibly result in packages being installed using pip instead of pacman. Those packages will likely never be updated, which is not exactly what I want to have...)