diff options
author | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2022-07-07 11:28:45 +0200 |
---|---|---|
committer | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2022-07-15 21:14:22 +0200 |
commit | 2e0b7867fe89fcfb0523a85635ecc3e1f9484fcd (patch) | |
tree | 90ba11e09c55be2befbc8bb91367019520cfdfda /tests/test.drv | |
parent | af025d99f4cd9ab6643f63f587faf0ba2d65d862 (diff) | |
download | guix-2e0b7867fe89fcfb0523a85635ecc3e1f9484fcd.tar guix-2e0b7867fe89fcfb0523a85635ecc3e1f9484fcd.tar.gz |
import: pypi: Add special treatment for Tryton package names,
Trytond modules are Python packages, and treated like this in guix. Anyhow,
since they are add-ons for the “Trytond“ application, their guix package name
do not get the "python-" prefix like other Python modules, (see also
https://issues.guix.gnu.org/46057#1). This change disables adding the
"python-" prefix to the guix package name for Trytond modules when importing
and updating, thus inhibiting irritating messages like in this example:
$ guix refresh -u trytond-party
…
trytond-party: consider adding this propagated input: python-trytond-country
trytond-party: consider removing this propagated input: trytond-country
Handling this special case seems appropriate since (as of now) there are
about 165 packages for Trytond and the number is growing.
* guix/import/pypi.scm(python->package-name): Don't add "python-" prefix for
trytond packages.
Diffstat (limited to 'tests/test.drv')
0 files changed, 0 insertions, 0 deletions