Package Details: python-jproperties 2.1.1-1

Git Clone URL: (read-only, click to copy)
Package Base: python-jproperties
Description: Java Property file parser and writer for Python
Upstream URL:
Keywords: java properties python
Licenses: BSD, python
Submitter: Mininux
Maintainer: Mininux
Last Packager: Mininux
Votes: 1
Popularity: 0.000009
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 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/", line 75, in fetch_build_egg
  File "/usr/lib/python3.9/", 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/", line 5, in <module>
  File "/usr/lib/python3.9/site-packages/setuptools/", line 152, in setup
  File "/usr/lib/python3.9/site-packages/setuptools/", line 147, in _install_setup_requires
  File "/usr/lib/python3.9/site-packages/setuptools/", line 785, in fetch_build_eggs
    resolved_dists = pkg_resources.working_set.resolve(
  File "/usr/lib/python3.9/site-packages/pkg_resources/", line 766, in resolve
    dist = best[req.key] = env.best_match(
  File "/usr/lib/python3.9/site-packages/pkg_resources/", line 1051, in best_match
    return self.obtain(req, installer)
  File "/usr/lib/python3.9/site-packages/pkg_resources/", line 1063, in obtain
    return installer(requirement)
  File "/usr/lib/python3.9/site-packages/setuptools/", line 844, in fetch_build_egg
    return fetch_build_egg(self, req)
  File "/usr/lib/python3.9/site-packages/setuptools/", 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().

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...)