Hi,

I'm about to update Tryton, which has about 180 packages (think: plug-ins). For testing, these packages require a set of Python packages, which are defined in a global variable ("%standard-trytond-native-inputs", see <https://codeberg.org/guix/guix/src/commit/9debe9ecee68505866726fc0020fd6485156592c/gnu/packages/tryton.scm#L210>). Also propagated inputs are often redundant, since already defined by the main program "trytond".

Current package definitions take this into account by using "%standard-trytond-native-inputs" (see https://codeberg.org/guix/guix/src/commit/9debe9ecee68505866726fc0020fd6485156592c/gnu/packages/tryton.scm#L262-L264) and having the redundant propagated inputs removed.

Now when refreshing the package, these adjustments get removed. Currently I'm working around this using a shell script, which is not that nice.

I would like to change refresh/import to

1) Add this global variable to native-inputs, removing all native inputs defined in that global variable.

2) Remove the redundant propagated inputs.

Of course, this should only happen when importing/refreshing a package with prefix "trytond-".

Questions:

a) Where is the appropriate place to add this?

b) How to actually add manipulate the inputs as described above? Any example?

--
Regards
Hartmut Goebel

| Hartmut Goebel          | [email protected]               |
| www.crazy-compilers.com | compilers which you thought are impossible |


Reply via email to