For testing, the tryton modules require a common set of native-input, which
basically are the propagated-inputs of `trytond`. (Some modules leave out one
or two of these, but most modules require all.) So to avoid redundant code,
use a variable for defining this common set. This reduces the maintenance
burden when more trytond modules are added.
* gnu/packages/tryton.scm (%standard-trytond-native-inputs): New variable.
(trytond-account, trytond-account-invoice, trytond-account-invoice-stock,
trytond-account-product, trytond-analytic-account, trytond-company,
trytond-country, trytond-currency, trytond-party, trytond-product,
trytond-purchase, trytond-purchase-request, trytond-stock, trytond-stock-lot,
trytond-stock-supply)[native-inputs]: Use it.
native-inouts2
Remove the `python-` prefix from all trytond module packages. The aspect that
these packages are plugins for trytond is much more relevant than that they
are written in Python.
* gnu/packages/tryton.scm (python-trytond-account,
python-trytond-account-invoice, python-trytond-account-invoice-stock,
python-trytond-account-product, python-trytond-analytic-account,
python-trytond-company, python-trytond-counpython-try,
python-trytond-currency, python-trytond-party, python-trytond-product,
python-trytond-purchase, python-trytond-purchase-request,
python-trytond-stock, python-trytond-stock-lot, python-trytond-stock-supply):
New deprecated packages.
(trytond-account, trytond-account-invoice, trytond-account-invoice-stock,
trytond-account-product, trytond-analytic-account, trytond-company,
trytond-country, trytond-currency, trytond-party, trytond-product,
trytond-purchase, trytond-purchase-request, trytond-stock, trytond-stock-lot,
trytond-stock-supply): Renamed from the respective above.
[propagated-inputs]: Adjusted and re-ordered.
As for all Python packages and applications, the inputs need to be propagated.
* gnu/packages/tryton.scm (tryton)[inputs]: Change to {propagated-inputs].
As for all Python packages and applications, the inputs need to be propagated.
* gnu/packages/tryton.scm (trytond)[inputs]: Change to {propagated-inputs].
Currently, if you start up XyGrib it will not show icons in the toolbar
buttons, translated strings in the UI nor the map in the main view. These
are all items stored in the data directory, which XyGrib can’t find.
Backport upstream PR 235 (already merged upstream) which makes it use XDG
directories correctly.
As a bonus, the PR also contains a fix to find libjpeg, so we don’t need
the substitution for that anymore.
* gnu/packages/patches/xygrib-fix-finding-data.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/geo.scm (xygrib)[source]: Use it.
[arguments]<#:configure-flags>: Pass ‘-DGNU_PACKAGE=ON’.
[arguments]<#:phases>{patch-directories}: Remove fix to find libjpeg.
Remove trailing ‘#t’.
[native-search-paths]: Add ‘XDG_DATA_DIRS’.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Such tests are fragile and does not affect functionality of the package.
* gnu/packages/python-web.scm (python-wtforms)[arguments]: In the check phase,
disable code coverage and pep8.
[native-inputs]: Remove PYTHON-COVERAGE and PYTHON-PEP8.
[source](uri): While at it, remove redundant '.tar.gz' argument to PYPI-URI.
This makes xpadneo place its udev rules in the place where udev-service-type
looks for them.
* gnu/packages/linux.scm (xpadneo): Copy udev rules to /lib instead of /etc.
Fixes <https://issues.guix.gnu.org/50264>.
Reported by Lars-Dominik Braun <lars@6xq.net>.
This fixes a regression introduced in
fa81971cba whereby 'map/accumulate-builds'
would return REST (the tail of LST) without applying PROC on it. The
effect would be that 'lower-inputs' in (guix gexp) would dismiss those
elements, leading to derivations with correct builders but only a subset
of the inputs they should have had.
* guix/store.scm (map/accumulate-builds): Add #:cutoff parameter and
remove 'accumulation-cutoff' variable. Call PROC on the elements of
REST.
* tests/store.scm ("map/accumulate-builds cutoff"): New test.
* guix/import/cabal.scm (is-id): Accept the location as an argument. Don’t
check if the identifier name is a reserved keyword unless it is the first word
on the line.
(lex-word): Adjust accordingly.
* tests/hackage ("hackage->guix-package tests flag executable"): Expect it to
pass.
Fixes: <https://issues.guix.gnu.org/25138>
Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
This fixes a somewhat cryptic error, that pops up when gtksourceview-3 has not
been installed or propagated by any other package.
* gnu/packages/patchutils.scm (meld)[#:phases]: Add ‘copy-styles’.
As with guile-build-system, the module to be build need not necessarily live
at the root of the build tree.
* guix/build/linux-module-build-system.scm (build, install): Add
source-directory argument and append it to "M" variable when invoking make.
* guix/build-system/linux-module.scm (linux-module-build): Add
source-directory argument.