Overview

Request 1185928 accepted

needed for TW and Leap 15.6

Loading...

Andreas Färber's avatar

This looks more like it belongs into devel:languages:python, any reason you're submitting it to hardware instead?

Also, this separate test flavor looks unusual. Why not just conditionalize the %check in a single package?

Why not just provide a full GitHub URL for Source0, to verify the tarball? Your service-generated tarball name looks unusual.


Markus Reckwerth's avatar
author source maintainer target maintainer

Please discuss this with mcepl. For reference of his opinion see request #1184106.


Michal Suchanek's avatar

Please do not use bcond. Either always run tests or use the flavor to decide.

Also the 'disabled' service type is deprecated, iirc 'manual' should be used instead.


Matej Cepl's avatar

Concerning the target project, I completely agree that this belongs to somewhere else than d:l:p. Just because something happens to be written in Python, doesn’t mean it is part of the Python ecosystem. The main knowledge required to maintain this script is, I guess, not the Python knowledge, but to know enough about whatever is “Bluetooth Low Energy” thingy.

As per Python comments. The thing with %if %{with test} is a common construct (together with _multibuild file) to split building and testing of a package into two independent steps and to avoid potential circular dependencies if for example testing requires more substantial dependencies than just a building and running of the package itself. I don’t know if it is relevant here.

And yes, Source: should come from URL, I agree.


Michal Suchanek's avatar

The bcond conditionals are unintelligible and should not be used unless there is some very good reason which I do not see here. The conditional is defined based on other macro so it can as well be defined as plain macro.


Matej Cepl's avatar

If it will be your package, then obviously you should decide how it should be done. We are using this construct routinely in hundreds of other python-* packages, but whatever you say.


Request History
Markus Reckwerth's avatar

marec2000 created request

needed for TW and Leap 15.6


Stefan Seyfried's avatar

seife accepted request

I'm resolving this now in favor of the package.

openSUSE Build Service is sponsored by