mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-28 14:01:29 -05:00
gnu: patchwork: Update to 2.2.2.
* gnu/packages/patchutils.scm (patchwork): Update to 2.2.2. [arguments]: Remove references to 'pwclient' which is now distributed separately.
This commit is contained in:
parent
5ec1feca99
commit
37c24c0bd0
1 changed files with 2 additions and 15 deletions
|
@ -321,7 +321,7 @@ (define-public meld
|
||||||
(define-public patchwork
|
(define-public patchwork
|
||||||
(package
|
(package
|
||||||
(name "patchwork")
|
(name "patchwork")
|
||||||
(version "2.1.5")
|
(version "2.2.2")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -330,7 +330,7 @@ (define-public patchwork
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1n4hfwlgmw6mj5kp261zfx47mgb0l7g2yzl1rf0rnm8x69lr3as6"))))
|
"1cr3lhm589zhvcgfm8gni036866k2livq1rcxbnigjxlw9p5znaf"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(;; TODO: Tests require a running database
|
`(;; TODO: Tests require a running database
|
||||||
|
@ -395,24 +395,11 @@ (define pythonpath
|
||||||
(for-each (lambda (file)
|
(for-each (lambda (file)
|
||||||
(install-file file (string-append out "/bin")))
|
(install-file file (string-append out "/bin")))
|
||||||
(list
|
(list
|
||||||
(string-append out-site-packages
|
|
||||||
"patchwork/bin/pwclient")
|
|
||||||
(string-append out-site-packages
|
(string-append out-site-packages
|
||||||
"patchwork/bin/parsemail.sh")
|
"patchwork/bin/parsemail.sh")
|
||||||
(string-append out-site-packages
|
(string-append out-site-packages
|
||||||
"patchwork/bin/parsemail-batch.sh")))
|
"patchwork/bin/parsemail-batch.sh")))
|
||||||
|
|
||||||
;; Delete the symlink to pwclient, and replace it with the
|
|
||||||
;; actual file, as this can cause issues when serving the file
|
|
||||||
;; from a webserver.
|
|
||||||
(let ((template-pwclient (string-append
|
|
||||||
out-site-packages
|
|
||||||
"patchwork/templates/patchwork/pwclient")))
|
|
||||||
(delete-file template-pwclient)
|
|
||||||
(copy-file (string-append out-site-packages
|
|
||||||
"patchwork/bin/pwclient")
|
|
||||||
template-pwclient))
|
|
||||||
|
|
||||||
;; Collect the static assets, this includes JavaScript, CSS and
|
;; Collect the static assets, this includes JavaScript, CSS and
|
||||||
;; fonts. This is a standard Django process when running a
|
;; fonts. This is a standard Django process when running a
|
||||||
;; Django application for regular use, and includes assets for
|
;; Django application for regular use, and includes assets for
|
||||||
|
|
Loading…
Reference in a new issue