Hi Todd,
Gesendet: Freitag, 27. Mai 2016 um 16:35 Uhr Von: "Todd Rme" <toddrme2178@gmail.com> An: "openSUSE Packaging Mailingliste" <opensuse-packaging@opensuse.org> Betreff: Re: [opensuse-packaging] python3 - Symbol PYTHON-NOT-FOUND
On Fri, May 27, 2016 at 2:52 AM, Axel Braun <axel.braun@gmx.de> wrote:
Am Donnerstag, 26. Mai 2016, 10:54:20 schrieb Todd Rme:
What packages have the problem? What are the Requires and BuildRequires in the spec files?
See: https://build.opensuse.org/package/show/Application:ERP:Tryton:4.0/trytond_s... As build requiement is has just python3-setuptools. For run it needs some other trytond-modules (but that should not be an issue)
You are mixing up python 2 and python 3. %py_requires and %python_sitelib come from python 2, but you are building against python 3. Also, %py_requires is no longer needed at all. You should get rid of %py_requires completely, and use %{python3_sitelib}. The same applies for all the other python or python 3 packages in the repo.
Thanks for this hint - seems I did not catch all python-sitelib strings for conversion.
Further, I suggest you follow python package file naming guidelines [1]. Specifically, the packages should be of the format "python3-{NAME}", where "{NAME}" is the name used for the package in pypi [2]. So for example it should be "python3-trytond_sale", not just "trytond_sale"
Thanks for this hint as well. I feel at this point the project naming should overrule the python naming - first of all it is a Tryton module and should follow their naming convention. Additionally, it will never show up in d.l:p, so this should not create confusion Best regards Axel -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org