Overview

Request 674540 accepted

- Switch to GitHub source tarball
- Activate tests
- Remove unnecessary build dependency python-devel and python-setuptools
- Use %license


Tomáš Chvátal's avatar

+BuildRequires: %{pythons}

I suppose you just need setuptools and python-base which is pulled by this, you would reduce requirement for the X stack prior the builds.


John Vandenberg's avatar
author target maintainer

It uses distutils, not setuptools


Tomáš Chvátal's avatar

You just need %{python_module base} then, yet for proper egg.info stuff setuptools would work too and generate it correctly.


John Vandenberg's avatar
author target maintainer

So you want me to patch the setup.py to use setuptools instead of distutils? What benefit does the setuptools generated stuff have over distutils?


Tomáš Chvátal's avatar

No no, if you have setuptools present on the system they overshadow distutils so even if you write import distutils it should actually use setuptools.

My only problem is that you now depend on full python and you should not do so.


John Vandenberg's avatar
author target maintainer

Im not familiar with the auto-overshadowning of distutils. Is that part of python or something special opensuse is doing? Anyways, will fix the buildrequires


Tomáš Chvátal's avatar

It is not openSUSE doing this, I've just noticed that if you have setuptools on system or not results in different egg.info generated even if the base pkg is distutils only.


Todd R's avatar

The changelog says "Remove unnecessary build dependency python-devel and python-setuptools", but it still has setuptools as a build dependency.

Request History
John Vandenberg's avatar

jayvdb created request

- Switch to GitHub source tarball
- Activate tests
- Remove unnecessary build dependency python-devel and python-setuptools
- Use %license


Tomáš Chvátal's avatar

scarabeus_iv accepted request

openSUSE Build Service is sponsored by