summaryrefslogtreecommitdiff
path: root/gnu/packages/tryton.scm
AgeCommit message (Expand)Author
2021-12-18gnu: trytond: Ensure all modules are found....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. Hartmut Goebel
2021-12-18gnu: trytond: Fix import of trytond modules....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 Hartmut Goebel
2021-12-13gnu: Simplify package inputs....This commit was obtained by running: ./pre-inst-env guix style without any additional argument. Ludovic Courtès
2021-11-21gnu: trytond: Avoid top-level references to other modules....This delays references to variables defined in other modules. * gnu/packages/tryton.scm (%standard-trytond-native-inputs): Turn into a thunk. Adjust users. Ludovic Courtès
2021-11-21gnu: trytond: Build against python-werkzeug 1.0....* gnu/packages/tryton.scm (trytond)[propagated-inputs]: Replace PYTHON-WERKZEUG by PYTHON-WERKZEUG-1.0. * gnu/packages/tryton.scm (%standard-trytond-native-inputs): Likewise. Ludovic Courtès
2021-11-11gnu: gtk: Replace gdk-pixbuf+svg by librsvg....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. Maxim Cournoyer
2021-09-29gnu: trytond-stock-forecast: Fix typo in description....* gnu/packages/tryton.scm (trytond-stock-forecast)[description]: Fix ‘mecanisms’ typo. Tobias Geerinckx-Rice
2021-09-21gnu: Add trytond-web-user....* gnu/packages/tryton.scm (trytond-web-user): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-web-shortener....* gnu/packages/tryton.scm (trytond-web-shortener): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-web-shop-vue-storefront-stripe....* gnu/packages/tryton.scm (trytond-web-shop-vue-storefront-stripe): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-web-shop-vue-storefront....* gnu/packages/tryton.scm (trytond-web-shop-vue-storefront): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-web-shop....* gnu/packages/tryton.scm (trytond-web-shop): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-user-role....* gnu/packages/tryton.scm (trytond-user-role): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-timesheet-cost....* gnu/packages/tryton.scm (trytond-timesheet-cost): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-timesheet....* gnu/packages/tryton.scm (trytond-timesheet): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-stock-supply-production....* gnu/packages/tryton.scm (trytond-stock-supply-production): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-stock-supply-forecast....* gnu/packages/tryton.scm (trytond-stock-supply-forecast): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-stock-supply-day....* gnu/packages/tryton.scm (trytond-stock-supply-day): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-stock-split....* gnu/packages/tryton.scm (trytond-stock-split): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-stock-shipment-measurements....* gnu/packages/tryton.scm (trytond-stock-shipment-measurements): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-stock-shipment-cost....* gnu/packages/tryton.scm (trytond-stock-shipment-cost): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-stock-secondary-unit....* gnu/packages/tryton.scm (trytond-stock-secondary-unit): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-stock-quantity-issue....* gnu/packages/tryton.scm (trytond-stock-quantity-issue): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-stock-quantity-early-planning....* gnu/packages/tryton.scm (trytond-stock-quantity-early-planning): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-stock-product-location....* gnu/packages/tryton.scm (trytond-stock-product-location): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-stock-package-shipping-ups....* gnu/packages/tryton.scm (trytond-stock-package-shipping-ups): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-stock-package-shipping....* gnu/packages/tryton.scm (trytond-stock-package-shipping): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-stock-package....* gnu/packages/tryton.scm (trytond-stock-package): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-stock-lot-unit....* gnu/packages/tryton.scm (trytond-stock-lot-unit): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-stock-lot-sled....* gnu/packages/tryton.scm (trytond-stock-lot-sled): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-stock-location-sequence....* gnu/packages/tryton.scm (trytond-stock-location-sequence): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-stock-location-move....* gnu/packages/tryton.scm (trytond-stock-location-move): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-stock-inventory-location....* gnu/packages/tryton.scm (trytond-stock-inventory-location): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-stock-forecast....* gnu/packages/tryton.scm (trytond-stock-forecast): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-stock-consignment....* gnu/packages/tryton.scm (trytond-stock-consignment): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-stock-assign-manual....* gnu/packages/tryton.scm (trytond-stock-assign-manual): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-sale-supply-production....* gnu/packages/tryton.scm (trytond-sale-supply-production): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-sale-supply-drop-shipment....* gnu/packages/tryton.scm (trytond-sale-supply-drop-shipment): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-sale-supply....* gnu/packages/tryton.scm (trytond-sale-supply): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-sale-subscription-asset....* gnu/packages/tryton.scm (trytond-sale-subscription-asset): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-sale-subscription....* gnu/packages/tryton.scm (trytond-sale-subscription): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-sale-stock-quantity....* gnu/packages/tryton.scm (trytond-sale-stock-quantity): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-sale-shipment-tolerance....* gnu/packages/tryton.scm (trytond-sale-shipment-tolerance): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-sale-shipment-grouping....* gnu/packages/tryton.scm (trytond-sale-shipment-grouping): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-sale-shipment-cost....* gnu/packages/tryton.scm (trytond-sale-shipment-cost): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-sale-secondary-unit....* gnu/packages/tryton.scm (trytond-sale-secondary-unit): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-sale-promotion-coupon....* gnu/packages/tryton.scm (trytond-sale-promotion-coupon): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-sale-promotion....* gnu/packages/tryton.scm (trytond-sale-promotion): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-sale-product-customer....* gnu/packages/tryton.scm (trytond-sale-product-customer): New variable. Hartmut Goebel
2021-09-21gnu: Add trytond-sale-price-list....* gnu/packages/tryton.scm (trytond-sale-price-list): New variable. Hartmut Goebel