]>
git.saurik.com Git - apt.git/blob - test/integration/test-apt-get-build-dep
f7af5b782c78fda6dd775f72a1dbf1ed6871d203
4 TESTDIR
=$(readlink -f $(dirname $0))
8 configarchitecture
"i386"
10 buildsimplenativepackage
'debhelper' 'i386' '7' 'stable'
11 buildsimplenativepackage
'build-essential' 'i386' '1' 'stable'
14 cat > 2vcard_0.5
-3.dsc
<<EOF
20 Maintainer: Martin Albisetti <argentina@gmail.com>
21 Uploaders: Marcela Tiznado <mlt@debian.org>
22 Standards-Version: 3.8.0
23 Build-Depends: debhelper (>= 5.0.37)
25 b7f1ce31ec856414a3f0f1090689f91aa7456d56 9398 2vcard_0.5.orig.tar.gz
26 5f9acd07ebda6ab00fa6b4fe3198c13e94090862 2036 2vcard_0.5-3.diff.gz
28 efdc22859ac2f8f030d038dc4faa9020082ebae34212498c288968ffd45c9764 9398 2vcard_0.5.orig.tar.gz
29 82673ff3456af571094066c89bcea87b25c23c87cf1d0050b731e5222563626b 2036 2vcard_0.5-3.diff.gz
31 f73a69c170f772f3f6e75f2d11bbb792 9398 2vcard_0.5.orig.tar.gz
32 1e806d32233af87437258d86b1561f57 2036 2vcard_0.5-3.diff.gz
35 testsuccessequal
"Reading package lists...
36 Building dependency tree...
37 Note, using file '2vcard_0.5-3.dsc' to get the build dependencies
38 The following NEW packages will be installed:
39 build-essential debhelper
40 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
41 Inst build-essential (1 stable [i386])
42 Inst debhelper (7 stable [i386])
43 Conf build-essential (1 stable [i386])
44 Conf debhelper (7 stable [i386])" aptget build
-dep -s 2vcard_0.5
-3.dsc
46 cat > 2vcard_0.5
-3.dsc
<<EOF
47 -----BEGIN PGP SIGNED MESSAGE-----
55 Maintainer: Martin Albisetti <argentina@gmail.com>
56 Uploaders: Marcela Tiznado <mlt@debian.org>
57 Standards-Version: 3.8.0
58 Build-Depends: debhelper (>= 5.0.37)
60 b7f1ce31ec856414a3f0f1090689f91aa7456d56 9398 2vcard_0.5.orig.tar.gz
61 5f9acd07ebda6ab00fa6b4fe3198c13e94090862 2036 2vcard_0.5-3.diff.gz
63 efdc22859ac2f8f030d038dc4faa9020082ebae34212498c288968ffd45c9764 9398 2vcard_0.5.orig.tar.gz
64 82673ff3456af571094066c89bcea87b25c23c87cf1d0050b731e5222563626b 2036 2vcard_0.5-3.diff.gz
66 f73a69c170f772f3f6e75f2d11bbb792 9398 2vcard_0.5.orig.tar.gz
67 1e806d32233af87437258d86b1561f57 2036 2vcard_0.5-3.diff.gz
69 -----BEGIN PGP SIGNATURE-----
70 Version: GnuPG v1.4.9 (GNU/Linux)
72 iEYEARECAAYFAkijKhsACgkQsrBfRdYmq7aA2gCfaOW9riTYVQMx5ajKQVAcctlC
73 z2UAn1oXgTai6opwhVfkxrlmJ+iRxzuc
75 -----END PGP SIGNATURE-----
78 testsuccessequal
"Reading package lists...
79 Building dependency tree...
80 Note, using file '2vcard_0.5-3.dsc' to get the build dependencies
81 The following NEW packages will be installed:
82 build-essential debhelper
83 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
84 Inst build-essential (1 stable [i386])
85 Inst debhelper (7 stable [i386])
86 Conf build-essential (1 stable [i386])
87 Conf debhelper (7 stable [i386])" aptget build
-dep --simulate 2vcard_0.5
-3.dsc
91 mkdir -p foo
-1.0
/debian
92 cat > foo
-1.0
/debian
/control
<<'EOF'
96 Maintainer: Michael Vogt <mvo@ubuntu.com>
97 Build-Depends: debhelper (>= 7)
98 X-Python3-Version: >= 3.2
99 Standards-Version: 3.9.3
101 Package: apturl-common
103 Depends: ${python3:Depends},
107 python3-update-manager
108 Replaces: apturl (<< 0.3.6ubuntu2)
109 Description: install packages using the apt protocol - common data
110 AptUrl is a simple graphical application that takes an URL (which follows the
111 apt-protocol) as a command line option, parses it and carries out the
112 operations that the URL describes (that is, it asks the user if he wants the
113 indicated packages to be installed and if the answer is positive does so for
116 This package contains the common data shared between the frontends.
120 testsuccessequal
"Reading package lists...
121 Building dependency tree...
122 Note, using directory './foo-1.0' to get the build dependencies
123 The following NEW packages will be installed:
124 build-essential debhelper
125 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
126 Inst build-essential (1 stable [i386])
127 Inst debhelper (7 stable [i386])
128 Conf build-essential (1 stable [i386])
129 Conf debhelper (7 stable [i386])" aptget build
-dep --simulate .
/foo
-1.0