gnu: khard: Update to 0.11.3.
* gnu/packages/mail.scm (khard): Update to 0.11.3. [arguments]: Build with python instead of python-2. Remove 'disable-egg-compression' phase. [propagated-inputs]: Don't use python-2 variants of propagated-inputs.
This commit is contained in:
parent
35bb2ff88a
commit
a57495e27a
1 changed files with 7 additions and 16 deletions
|
|
@ -1342,36 +1342,27 @@ maintained.")
|
||||||
(define-public khard
|
(define-public khard
|
||||||
(package
|
(package
|
||||||
(name "khard")
|
(name "khard")
|
||||||
(version "0.9.0")
|
(version "0.11.3")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri name version))
|
(uri (pypi-uri name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0y83rji4f270hbb41m4jpr0z3yzvpvbsl32mpg9d38hlydw8fk1s"))))
|
"1v66khq5w17xdbkpb00pf9xbl84dlzx4lq286fvzskb949b3y4yn"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:python ,python-2 ; only python-2 is supported.
|
`(#:phases
|
||||||
#:phases
|
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-before 'build 'disable-egg-compression
|
|
||||||
;; Do not compress the egg.
|
|
||||||
(lambda _
|
|
||||||
(let ((port (open-file "setup.cfg" "a")))
|
|
||||||
(display "\n[easy_install]\nzip_ok = 0\n"
|
|
||||||
port)
|
|
||||||
(close-port port)
|
|
||||||
#t)))
|
|
||||||
(add-after 'install 'install-doc
|
(add-after 'install 'install-doc
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
(doc (string-append out "/share/doc/khard")))
|
(doc (string-append out "/share/doc/khard")))
|
||||||
(copy-recursively "misc/khard" doc)))))))
|
(copy-recursively "misc/khard" doc)))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python2-vobject" ,python2-vobject)
|
`(("python-vobject" ,python-vobject)
|
||||||
("python2-pyyaml" ,python2-pyyaml)
|
("python-pyyaml" ,python-pyyaml)
|
||||||
("python2-atomicwrites" ,python2-atomicwrites)
|
("python-atomicwrites" ,python-atomicwrites)
|
||||||
("python2-configobj" ,python2-configobj)))
|
("python-configobj" ,python-configobj)))
|
||||||
(synopsis "Console address book using CardDAV")
|
(synopsis "Console address book using CardDAV")
|
||||||
(description "Khard is an address book for the console. It creates, reads,
|
(description "Khard is an address book for the console. It creates, reads,
|
||||||
modifies and removes CardDAV address book entries at your local machine. For
|
modifies and removes CardDAV address book entries at your local machine. For
|
||||||
|
|
|
||||||
Reference in a new issue