aboutsummaryrefslogtreecommitdiff
path: root/tests/upstream.scm
blob: e43195696098e6764875e35400a3903d1de8aca4 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (test-upstream)
  #:use-module (guix upstream)
  #:use-module (guix tests)
  #:use-module (srfi srfi-64))


(test-begin "upstream")

;; FIXME: Temporarily skipping this test; see <https://bugs.gnu.org/34229>.
(test-skip 1)

(test-equal "coalesce-sources same version"
  (list (upstream-source
         (package "foo") (version "1")
         (urls '("ftp://example.org/foo-1.tar.xz"
                 "ftp://example.org/foo-1.tar.gz"))
         (signature-urls '("ftp://example.org/foo-1.tar.xz.sig"
                           "ftp://example.org/foo-1.tar.gz.sig"))))

  (coalesce-sources (list (upstream-source
                           (package "foo") (version "1")
                           (urls '("ftp://example.org/foo-1.tar.gz"))
                           (signature-urls
                            '("ftp://example.org/foo-1.tar.gz.sig")))
                          (upstream-source
                           (package "foo") (version "1")
                           (urls '("ftp://example.org/foo-1.tar.xz"))
                           (signature-urls
                            '("ftp://example.org/foo-1.tar.xz.sig"))))))

(test-end)
b698'>gnu: Use HTTPS for almost all gnu.org HOME-PAGEs....All HTTP gnu.org (and supported subdomain) HOME-PAGEs changed to HTTPS. Tobias Geerinckx-Rice 2017-03-15Merge branch 'master' into core-updatesMarius Bakke 2017-03-13gnu: guile-cairo: Honor the Guile effective version....* gnu/packages/gtk.scm (guile-cairo)[arguments]: Add #:modules. Get the effective version of Guile and use that in installation directory names. Ludovic Courtès 2017-03-13gnu: guile-cairo: Use 'modify-phases'....* gnu/packages/gtk.scm (guile-cairo)[arguments]: Use 'modify-phases'. Ludovic Courtès 2017-03-08gnu: gtk+: Build GTK+ with its own xorg-server package....This will allow us to update xorg-server directly on the master branch. * gnu/packages/xorg.scm (xorg-server-1.19.2): New variable. * gnu/packages/gtk.scm (gtk+) [native-inputs]: Use xorg-server-1.19.2 instead of xorg-server. [arguments]: Add xorg-server-1.19.2 to #:disallowed-references. Leo Famulari 2017-02-27gnu: harfbuzz: Update to 1.4.3....* gnu/packages/gtk.scm (harfbuzz): Update to 1.4.3. Marius Bakke 2017-02-21Merge branch 'staging' into core-updates...Conflicts: gnu/local.mk: Missing mention of gdk-pixbuf-list-dir.patch in the commit log really confused me here... It's from 8c6b077bfae (staging). gnu/packages/xorg.scm: xkeyboard-config updated both places. Marius Bakke 2017-01-28gnu: gtksourceview-2: Adjust inputs....Fixes <https://debbugs.gnu.org/25537>. * gnu/packages/gtk.scm (gtksourceview-2): Move 'shared-mime-info' and 'xorg-server' to 'native-inputs'. Move 'gtk+-2' to 'propagated-inputs'. 宋文武 2017-01-16gnu: gdk-pixbuf: Make it reproducible....Fixes <http://bugs.gnu.org/25414>. * gnu/packages/gtk.scm (gdk-pixbuf)[source](patches): New field. Danny Milosavljevic 2017-01-16gnu: girara: Update to 0.2.7....* gnu/packages/gtk.scm (girara): Update to 0.2.7. Marius Bakke 2017-01-14gnu: mate-themes: Update source hash....This is a followup to commit 44350d23da826731adc187b478e00b2601ab78dc. * gnu/packages/mate.scm (mate-themes)[source]: Update hash. * gnu/packages/gtk.scm (gtk+): Add reminder comment. Mark H Weaver 2017-01-11gnu: gtkmm@2: Update to 2.24.5....* gnu/packages/gtk.scm (gtkmm-2): Update to 2.24.5. Mark H Weaver 2017-01-11gnu: gtkmm: Update to 3.22.0....* gnu/packages/gtk.scm (gtkmm): Update to 3.22.0. Mark H Weaver 2017-01-11gnu: gtk+: Update to 3.22.6....* gnu/packages/gtk.scm (gtk+): Update to 3.22.6. Mark H Weaver 2017-01-11gnu: at-spi2-atk: Update to 2.22.0....* gnu/packages/gtk.scm (at-spi2-atk): Update to 2.22.0. Mark H Weaver 2017-01-11gnu: at-spi2-core: Update to 2.22.0....* gnu/packages/gtk.scm (at-spi2-core): Update to 2.22.0. Mark H Weaver 2017-01-11gnu: atk: Update to 2.22.0....* gnu/packages/gtk.scm (atk): Update to 2.22.0. Mark H Weaver 2017-01-11gnu: gtksourceview: Update to 3.22.2....* gnu/packages/gtk.scm (gtksourceview): Update to 3.22.2. Mark H Weaver 2017-01-11gnu: pango: Update to 1.40.3....* gnu/packages/gtk.scm (pango): Update to 1.40.3. Mark H Weaver 2017-01-11gnu: harfbuzz: Update to 1.4.1....* gnu/packages/gtk.scm (harfbuzz): Update to 1.4.1. Mark H Weaver 2017-01-11gnu: gdk-pixbuf: Eliminate graft....* gnu/packages/gtk.scm (gdk-pixbuf): Update to 2.36.3. [replacement]: Remove field. (gdk-pixbuf/fixed): Remove variable. (package/inherit): Remove macro. (gdk-pixbuf+svg): Remove use of 'package/inherit'. Mark H Weaver 2017-01-11gnu: cairomm: Update to 1.12.2....* gnu/packages/gtk.scm (cairomm): Update to 1.12.2. [source]: Download from cairographics.org. [home-page]: Use https. Efraim Flashner 2017-01-11gnu: cairo: Update to 1.14.8....* gnu/packages/gtk.scm (cairo): Update to 1.14.8. [source]: Use https. [home-page]: Use https. Efraim Flashner 2017-01-11gnu: harfbuzz: Update to 1.3.4....* gnu/packages/gtk.scm (harfbuzz): Update to 1.3.4. Efraim Flashner 2017-01-08gnu: gdk-pixbuf: Update replacement to 2.36.3....* gnu/packages/gtk.scm (gdk-pixbuf/fixed): Update to 2.36.3. Mark H Weaver 2017-01-08gnu: gdk-pixbuf: Replace with 2.36.2....* gnu/packages/gtk.scm (gdk-pixbuf)[replacement]: New field. (gdk-pixbuf/fixed): New variable. (package/inherit): New macro. (gdk-pixbuf+svg): Use 'package/inherit'. Mark H Weaver 2016-12-04Merge branch 'master' into stagingMarius Bakke 2016-12-04gnu: Add ganv-devel....* gnu/packages/gtk.scm (ganv-devel): New variable. Ricardo Wurmus 2016-11-30gnu: cairo: Eliminate graft....* gnu/packages/gtk.scm (cairo)[replacement]: Remove field. [source]: Add patch from 'cairo/fixed'. (cairo-xcb)[source]: Inherit from cairo. [replacement]: Remove field. (cairo/fixed): Remove variable. * gnu/packages/pdf.scm (poppler)[inputs]: Remove cairo replacement. Marius Bakke 2016-11-30Merge branch 'master' into stagingMarius Bakke