1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-09 22:50:34 +02:00
Commit Graph

205 Commits

Author SHA1 Message Date
Hartmut Goebel
fdcd0133b2 gnu: Add trytond-stock-package-shipping-dpd.
* gnu/packages/tryton.scm (trytond-stock-package-shipping-dpd): New variable.
2022-07-04 16:10:53 +02:00
Hartmut Goebel
c8f49e5c70 gnu: Add trytond-google-maps.
* gnu/packages/tryton.scm (trytond-google-maps): New variable.
2022-07-04 16:10:53 +02:00
Hartmut Goebel
d0326574f8 gnu: Add trytond-gis.
* gnu/packages/tryton.scm (trytond-gis): New variable.
2022-07-04 16:10:52 +02:00
Vagrant Cascadian
757a7978dd gnu: trytond-*: Fix grammar.
* 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.
2022-01-14 20:54:25 -08:00
Hartmut Goebel
d4ecdc3328 gnu: 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.
2021-12-18 15:13:57 +01:00
Hartmut Goebel
939e3813d0 gnu: 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
2021-12-18 15:13:56 +01:00
Ludovic Courtès
8394619bac gnu: Simplify package inputs.
This commit was obtained by running:

  ./pre-inst-env guix style

without any additional argument.
2021-12-13 17:48:25 +01:00
Ludovic Courtès
84c3aafb5a gnu: 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.
2021-11-21 23:01:15 +01:00
Ludovic Courtès
1b1e9b51f4 gnu: 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.
2021-11-21 23:01:15 +01:00
Maxim Cournoyer
feab09f72a gnu: 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.
2021-11-11 12:18:20 -05:00
Tobias Geerinckx-Rice
339b96bdc5 gnu: trytond-stock-forecast: Fix typo in description.
* gnu/packages/tryton.scm (trytond-stock-forecast)[description]:
Fix ‘mecanisms’ typo.
2021-09-29 16:56:39 +02:00
Hartmut Goebel
5966d48d1c gnu: Add trytond-web-user.
* gnu/packages/tryton.scm (trytond-web-user): New variable.
2021-09-21 21:00:35 +02:00
Hartmut Goebel
b187cba935 gnu: Add trytond-web-shortener.
* gnu/packages/tryton.scm (trytond-web-shortener): New variable.
2021-09-21 21:00:35 +02:00
Hartmut Goebel
df549fd893 gnu: Add trytond-web-shop-vue-storefront-stripe.
* gnu/packages/tryton.scm (trytond-web-shop-vue-storefront-stripe): New variable.
2021-09-21 21:00:35 +02:00
Hartmut Goebel
639004caf2 gnu: Add trytond-web-shop-vue-storefront.
* gnu/packages/tryton.scm (trytond-web-shop-vue-storefront): New variable.
2021-09-21 21:00:35 +02:00
Hartmut Goebel
dc11d82356 gnu: Add trytond-web-shop.
* gnu/packages/tryton.scm (trytond-web-shop): New variable.
2021-09-21 21:00:35 +02:00
Hartmut Goebel
3044c97b64 gnu: Add trytond-user-role.
* gnu/packages/tryton.scm (trytond-user-role): New variable.
2021-09-21 21:00:35 +02:00
Hartmut Goebel
5b287fa6f7 gnu: Add trytond-timesheet-cost.
* gnu/packages/tryton.scm (trytond-timesheet-cost): New variable.
2021-09-21 21:00:35 +02:00
Hartmut Goebel
25ed927453 gnu: Add trytond-timesheet.
* gnu/packages/tryton.scm (trytond-timesheet): New variable.
2021-09-21 21:00:35 +02:00
Hartmut Goebel
2788e17484 gnu: Add trytond-stock-supply-production.
* gnu/packages/tryton.scm (trytond-stock-supply-production): New variable.
2021-09-21 21:00:35 +02:00
Hartmut Goebel
d8a014aac9 gnu: Add trytond-stock-supply-forecast.
* gnu/packages/tryton.scm (trytond-stock-supply-forecast): New variable.
2021-09-21 21:00:35 +02:00
Hartmut Goebel
5f5d7716be gnu: Add trytond-stock-supply-day.
* gnu/packages/tryton.scm (trytond-stock-supply-day): New variable.
2021-09-21 21:00:35 +02:00
Hartmut Goebel
5016abc091 gnu: Add trytond-stock-split.
* gnu/packages/tryton.scm (trytond-stock-split): New variable.
2021-09-21 21:00:34 +02:00
Hartmut Goebel
b9538dc207 gnu: Add trytond-stock-shipment-measurements.
* gnu/packages/tryton.scm (trytond-stock-shipment-measurements): New variable.
2021-09-21 21:00:34 +02:00
Hartmut Goebel
da2be8d538 gnu: Add trytond-stock-shipment-cost.
* gnu/packages/tryton.scm (trytond-stock-shipment-cost): New variable.
2021-09-21 21:00:34 +02:00
Hartmut Goebel
079b7268bf gnu: Add trytond-stock-secondary-unit.
* gnu/packages/tryton.scm (trytond-stock-secondary-unit): New variable.
2021-09-21 21:00:34 +02:00
Hartmut Goebel
67b37a2052 gnu: Add trytond-stock-quantity-issue.
* gnu/packages/tryton.scm (trytond-stock-quantity-issue): New variable.
2021-09-21 21:00:34 +02:00
Hartmut Goebel
6497924b97 gnu: Add trytond-stock-quantity-early-planning.
* gnu/packages/tryton.scm (trytond-stock-quantity-early-planning): New variable.
2021-09-21 21:00:34 +02:00
Hartmut Goebel
f5c8be2533 gnu: Add trytond-stock-product-location.
* gnu/packages/tryton.scm (trytond-stock-product-location): New variable.
2021-09-21 21:00:34 +02:00
Hartmut Goebel
2beca97d01 gnu: Add trytond-stock-package-shipping-ups.
* gnu/packages/tryton.scm (trytond-stock-package-shipping-ups): New variable.
2021-09-21 21:00:34 +02:00
Hartmut Goebel
e3f7f59dd5 gnu: Add trytond-stock-package-shipping.
* gnu/packages/tryton.scm (trytond-stock-package-shipping): New variable.
2021-09-21 21:00:34 +02:00
Hartmut Goebel
ef294b8b5f gnu: Add trytond-stock-package.
* gnu/packages/tryton.scm (trytond-stock-package): New variable.
2021-09-21 21:00:34 +02:00
Hartmut Goebel
32b67eef82 gnu: Add trytond-stock-lot-unit.
* gnu/packages/tryton.scm (trytond-stock-lot-unit): New variable.
2021-09-21 21:00:34 +02:00
Hartmut Goebel
ebfc61d1da gnu: Add trytond-stock-lot-sled.
* gnu/packages/tryton.scm (trytond-stock-lot-sled): New variable.
2021-09-21 21:00:34 +02:00
Hartmut Goebel
4d6c24f5d1 gnu: Add trytond-stock-location-sequence.
* gnu/packages/tryton.scm (trytond-stock-location-sequence): New variable.
2021-09-21 21:00:34 +02:00
Hartmut Goebel
d04fbb0d3e gnu: Add trytond-stock-location-move.
* gnu/packages/tryton.scm (trytond-stock-location-move): New variable.
2021-09-21 21:00:33 +02:00
Hartmut Goebel
ec5ea1917a gnu: Add trytond-stock-inventory-location.
* gnu/packages/tryton.scm (trytond-stock-inventory-location): New variable.
2021-09-21 21:00:33 +02:00
Hartmut Goebel
354afe4734 gnu: Add trytond-stock-forecast.
* gnu/packages/tryton.scm (trytond-stock-forecast): New variable.
2021-09-21 21:00:33 +02:00
Hartmut Goebel
d25221af4e gnu: Add trytond-stock-consignment.
* gnu/packages/tryton.scm (trytond-stock-consignment): New variable.
2021-09-21 21:00:33 +02:00
Hartmut Goebel
5d191a04f4 gnu: Add trytond-stock-assign-manual.
* gnu/packages/tryton.scm (trytond-stock-assign-manual): New variable.
2021-09-21 21:00:33 +02:00
Hartmut Goebel
6aa1127f88 gnu: Add trytond-sale-supply-production.
* gnu/packages/tryton.scm (trytond-sale-supply-production): New variable.
2021-09-21 21:00:33 +02:00
Hartmut Goebel
00a8129803 gnu: Add trytond-sale-supply-drop-shipment.
* gnu/packages/tryton.scm (trytond-sale-supply-drop-shipment): New variable.
2021-09-21 21:00:33 +02:00
Hartmut Goebel
e18b43ae38 gnu: Add trytond-sale-supply.
* gnu/packages/tryton.scm (trytond-sale-supply): New variable.
2021-09-21 21:00:33 +02:00
Hartmut Goebel
aefbc05c37 gnu: Add trytond-sale-subscription-asset.
* gnu/packages/tryton.scm (trytond-sale-subscription-asset): New variable.
2021-09-21 21:00:33 +02:00
Hartmut Goebel
77a3fb1d76 gnu: Add trytond-sale-subscription.
* gnu/packages/tryton.scm (trytond-sale-subscription): New variable.
2021-09-21 21:00:33 +02:00
Hartmut Goebel
c7797fd49e gnu: Add trytond-sale-stock-quantity.
* gnu/packages/tryton.scm (trytond-sale-stock-quantity): New variable.
2021-09-21 21:00:33 +02:00
Hartmut Goebel
c030a075c8 gnu: Add trytond-sale-shipment-tolerance.
* gnu/packages/tryton.scm (trytond-sale-shipment-tolerance): New variable.
2021-09-21 21:00:33 +02:00
Hartmut Goebel
a4c79bebe8 gnu: Add trytond-sale-shipment-grouping.
* gnu/packages/tryton.scm (trytond-sale-shipment-grouping): New variable.
2021-09-21 21:00:33 +02:00
Hartmut Goebel
a094dcc1a3 gnu: Add trytond-sale-shipment-cost.
* gnu/packages/tryton.scm (trytond-sale-shipment-cost): New variable.
2021-09-21 21:00:32 +02:00
Hartmut Goebel
791d36a8f7 gnu: Add trytond-sale-secondary-unit.
* gnu/packages/tryton.scm (trytond-sale-secondary-unit): New variable.
2021-09-21 21:00:32 +02:00