Age | Commit message (Collapse) | Author |
|
* gnu/packages/tryton.scm (trytond-stock-package-shipping-dpd): New variable.
|
|
* gnu/packages/tryton.scm (trytond-google-maps): New variable.
|
|
* gnu/packages/tryton.scm (trytond-gis): New variable.
|
|
* gnu/packages/tryton.scm (trytond-account-deposit)[description]: Fix grammar.
(trytond-account-deposit)[description]: Likewise.
(trytond-account-es)[description]: Likewise.
(trytond-account-invoice-defer)[description]: Likewise.
(trytond-account-invoice-line-standalone)[description]: Likewise.
(trytond-account-payment-clearing)[description]: Likewise.
(trytond-account-payment-sepa)[description]: Likewise.
(trytond-account-statement)[description]: Likewise.
(trytond-account-stock-landed-cost)[description]: Likewise.
(trytond-account-tax-cash)[description]: Likewise.
(trytond-analytic-invoice)[description]: Likewise.
(trytond-analytic-purchase)[description]: Likewise.
(trytond-analytic-sale)[description]: Likewise.
(trytond-commission)[description]: Likewise.
(trytond-commission-waiting)[description]: Likewise.
(trytond-company-work-time)[description]: Likewise.
(trytond-customs)[description]: Likewise.
(trytond-ldap-authentication)[description]: Likewise.
(trytond-notification-email)[description]: Likewise.
(trytond-party-relationship)[description]: Likewise.
(trytond-production-outsourcing)[description]: Likewise.
(trytond-production-split)[description]: Likewise.
(trytond-production-work)[description]: Likewise.
(trytond-production-work-timesheet)[description]: Likewise.
(trytond-sale-extra)[description]: Likewise.
(trytond-sale-promotion)[description]: Likewise.
(trytond-stock-consignment)[description]: Likewise.
(trytond-stock-location-move)[description]: Likewise.
(trytond-stock-lot-unit)[description]: Likewise.
(trytond-stock-package)[description]: Likewise.
(trytond-stock-split)[description]: Likewise.
(trytond-stock-supply-day)[description]: Likewise.
(trytond-timesheet)[description]: Likewise.
|
|
If the python package matching trytond is not installed alongside to trytond,
PYTHONPATH is not set (or pointing to a wrong version) and trytond (and the
trytond tools) would not find the trytond modules.
This change introduces a new native-search-path GUIX_TRYTOND_MODULES_PATH.
Trytond gets patched to honor this environment variable.
Thanks to Maxim Cournoyer, whose code for guix-pythonpath-search-path
was the template for guix-trytonpath-search-path.
* gnu/packages/patches/trytond-add-guix_trytond_path.patch: New file.
* gnu/local.mk: (dist_patch_DATA): Add it.
* gnu/packages/tryton.scm (trytond): Use it.
[native-search-paths]: New element.
(guix-trytonpath-search-path): New function.
|
|
For adding modules, trytond uses entry-points, anyhow relying on the
modules being named "trytond.modules.xxx" and being placed in the same
filesystem path as "trytond.modules".
The package "trytond.modules" is not a namespace module, anyhow trytond
modules must be sub-modules of "trytond.modules". This works well if all
packages are installed into the same filesystem path "…/trytond/modules":
The Python importer will find all sub_modules at this place.
Anyhow, in Guix, modules don't share the same filesystem path and the
Python importer will not find them.
Solution is to add all trytond module's locations to
"trytond.modules._path__". This will make "trytond.module" behave much
like a namespace module and the importer pick up the module.
* gnu/packages/patches/trytond-add-egg-modules-to-path.patch: New file.
* gnu/packages/tryton.scm (trytond): Use it.
* gnu/local.mk (dist_patch_DATA): Add it
|
|
This commit was obtained by running:
./pre-inst-env guix style
without any additional argument.
|
|
This delays references to variables defined in other modules.
* gnu/packages/tryton.scm (%standard-trytond-native-inputs): Turn into a
thunk. Adjust users.
|
|
* gnu/packages/tryton.scm (trytond)[propagated-inputs]: Replace
PYTHON-WERKZEUG by PYTHON-WERKZEUG-1.0.
* gnu/packages/tryton.scm (%standard-trytond-native-inputs): Likewise.
|
|
With the addition of a profile hook for computing the gdk-pixbuf loaders cache
file, there is no longer a need for gdk-pixbuf+svg, and librsvg can propagate
gdk-pixbuf without fear, so replace the former for the latter.
The replacement was automated with the following command:
$ git grep -l ',gdk-pixbuf+svg)' \
| xargs sed 's/(".*" ,gdk-pixbuf+svg)/("librsvg" ,librsvg)/' -i
* gnu/packages/gtk.scm (gdk-pixbuf+svg): Delete package.
(gtk+-2)[propagated-inputs]: Replace gdk-pixbuf+svg with librsvg.
(gtk+)[propagated-inputs]: Likewise.
* gnu/packages/gnome.scm (gdk-pixbuf+svg): Add deprecated package.
|
|
* gnu/packages/tryton.scm (trytond-stock-forecast)[description]:
Fix ‘mecanisms’ typo.
|
|
* gnu/packages/tryton.scm (trytond-web-user): New variable.
|
|
* gnu/packages/tryton.scm (trytond-web-shortener): New variable.
|
|
* gnu/packages/tryton.scm (trytond-web-shop-vue-storefront-stripe): New variable.
|
|
* gnu/packages/tryton.scm (trytond-web-shop-vue-storefront): New variable.
|
|
* gnu/packages/tryton.scm (trytond-web-shop): New variable.
|
|
* gnu/packages/tryton.scm (trytond-user-role): New variable.
|
|
* gnu/packages/tryton.scm (trytond-timesheet-cost): New variable.
|
|
* gnu/packages/tryton.scm (trytond-timesheet): New variable.
|
|
* gnu/packages/tryton.scm (trytond-stock-supply-production): New variable.
|
|
* gnu/packages/tryton.scm (trytond-stock-supply-forecast): New variable.
|
|
* gnu/packages/tryton.scm (trytond-stock-supply-day): New variable.
|
|
* gnu/packages/tryton.scm (trytond-stock-split): New variable.
|
|
* gnu/packages/tryton.scm (trytond-stock-shipment-measurements): New variable.
|
|
* gnu/packages/tryton.scm (trytond-stock-shipment-cost): New variable.
|
|
* gnu/packages/tryton.scm (trytond-stock-secondary-unit): New variable.
|
|
* gnu/packages/tryton.scm (trytond-stock-quantity-issue): New variable.
|
|
* gnu/packages/tryton.scm (trytond-stock-quantity-early-planning): New variable.
|
|
* gnu/packages/tryton.scm (trytond-stock-product-location): New variable.
|
|
* gnu/packages/tryton.scm (trytond-stock-package-shipping-ups): New variable.
|
|
* gnu/packages/tryton.scm (trytond-stock-package-shipping): New variable.
|
|
* gnu/packages/tryton.scm (trytond-stock-package): New variable.
|
|
* gnu/packages/tryton.scm (trytond-stock-lot-unit): New variable.
|
|
* gnu/packages/tryton.scm (trytond-stock-lot-sled): New variable.
|
|
* gnu/packages/tryton.scm (trytond-stock-location-sequence): New variable.
|
|
* gnu/packages/tryton.scm (trytond-stock-location-move): New variable.
|
|
* gnu/packages/tryton.scm (trytond-stock-inventory-location): New variable.
|
|
* gnu/packages/tryton.scm (trytond-stock-forecast): New variable.
|
|
* gnu/packages/tryton.scm (trytond-stock-consignment): New variable.
|
|
* gnu/packages/tryton.scm (trytond-stock-assign-manual): New variable.
|
|
* gnu/packages/tryton.scm (trytond-sale-supply-production): New variable.
|
|
* gnu/packages/tryton.scm (trytond-sale-supply-drop-shipment): New variable.
|
|
* gnu/packages/tryton.scm (trytond-sale-supply): New variable.
|
|
* gnu/packages/tryton.scm (trytond-sale-subscription-asset): New variable.
|
|
* gnu/packages/tryton.scm (trytond-sale-subscription): New variable.
|
|
* gnu/packages/tryton.scm (trytond-sale-stock-quantity): New variable.
|
|
* gnu/packages/tryton.scm (trytond-sale-shipment-tolerance): New variable.
|
|
* gnu/packages/tryton.scm (trytond-sale-shipment-grouping): New variable.
|
|
* gnu/packages/tryton.scm (trytond-sale-shipment-cost): New variable.
|
|
* gnu/packages/tryton.scm (trytond-sale-secondary-unit): New variable.
|