summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorAdriano Peluso <catonano@gmail.com>2018-01-22 19:25:10 +0100
committerDanny Milosavljevic <dannym@scratchpost.org>2018-01-22 19:52:36 +0100
commitc8b1defe18a622d862a98ca7bbf3b908cd53d0be (patch)
tree5e6a95f8122abf4fbdd94e1fb0f892b09fec1617 /gnu/packages
parent3da86c52e59040523f2df1d8a57ac96ff3493aed (diff)
downloadpatches-c8b1defe18a622d862a98ca7bbf3b908cd53d0be.tar
patches-c8b1defe18a622d862a98ca7bbf3b908cd53d0be.tar.gz
gnu: Add python-trytond-party.
* gnu/packages/tryton.scm (define-module): Add (gnu packages finance). (python-trytond-party): New variable. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/tryton.scm38
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm
index 65331bf2f7..4fe6124855 100644
--- a/gnu/packages/tryton.scm
+++ b/gnu/packages/tryton.scm
@@ -21,6 +21,7 @@
#:use-module (gnu packages)
#:use-module (gnu packages check)
#:use-module (gnu packages databases)
+ #:use-module (gnu packages finance)
#:use-module (gnu packages gtk)
#:use-module (gnu packages python)
#:use-module (gnu packages python-web)
@@ -127,6 +128,43 @@ and security.")
(description "This package provides a Tryton module with countries.")
(license license:gpl3+)))
+(define-public python-trytond-party
+ (package
+ (name "python-trytond-party")
+ (version "4.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "trytond_party" version))
+ (sha256
+ (base32
+ "0fbf4kxywiglcdsx9ppjg7nxw87915mb6bpn1jn652gk949rdww5"))))
+ (build-system python-build-system)
+ ;; XXX The tests seem to require Proteus. But Proteus tests seem to
+ ;; require trytond-party.
+ (arguments
+ '(#:tests? #f))
+ (propagated-inputs
+ `(("python-trytond" ,python-trytond)
+ ("python-trytond-country" ,python-trytond-country)
+ ("python-stdnum" ,python-stdnum)
+ ("python-sql" ,python-sql)
+ ("python-wrapt" ,python-wrapt)
+ ("python-werkzeug" ,python-werkzeug)
+ ("python-polib" ,python-polib)
+ ("python-dateutil" ,python-dateutil)
+ ("python-genshi" ,python-genshi)
+ ("python-relatorio" ,python-relatorio)
+ ("python-magic" ,python-magic)
+ ("python-phonenumbers" ,python-phonenumbers)))
+ (home-page "http://www.tryton.org/")
+ (synopsis
+ "Tryton module for parties and addresses")
+ (description
+ "This package provides a Tryton module for (counter)parties and
+addresses.")
+ (license license:gpl3+)))
+
(define-public python-proteus
(package
(name "python-proteus")