]> git.donarmstrong.com Git - neurodebian.git/blob - neurodebian/templates/pkg.rst
NF: List recommened and suggested packages as 'related packages'.
[neurodebian.git] / neurodebian / templates / pkg.rst
1
2 .. _pkg_{{ pkg }}:
3
4
5 {{ title }}
6
7 {{ long_description }}
8
9 Homepage: {{ db.main.homepage }}
10
11 {% if db.main.publication %}
12 Citable reference:
13   *{{ db.main.publication.authors }}* ({{ db.main.publication.year }}).
14   {%- if db.main.publication.url %} `{{ db.main.publication.title }} <{{ db.main.publication.url }}>`_.
15   {%- else %} {{ db.main.publication.title }}.
16   {%- endif %} {{ db.main.publication.in }}.
17   {%- if db.main.publication.doi %} (`DOI <http://dx.doi.org/{{ db.main.publication.doi }}>`_)
18   {%- endif %}
19 {% endif %}
20
21 {% if db.main.registration -%}
22 .. note::
23   The software authors ask users to
24   `register <{{ db.main.registration }}>`_. Available user statistics might be 
25   helpful to acquire funding for this project and therefore foster continued
26   developement in the future.
27 {% endif -%}
28
29 {% if db.blends or db.main.debian_popcon or db.main.ubuntu_popcon or
30       db.main.recommends or db.main.suggests -%}
31 Package Details
32 ===============
33 {% if db.blends %}
34 `Debian Pure Blends <http://wiki.debian.org/DebianPureBlends>`_ Status
35 ----------------------------------------------------------------------
36 Associated blends:
37
38 {% for blend, name, url in db.blends.tasks %}
39 * `{{ name }} ({{ blend }}) <{{ url }}>`_
40 {% endfor %}
41 {% if db.blends.remark %}
42 .. note::
43 {{ db.blends.remark | indent(width=2, indentfirst=true) }}
44 {% endif -%}
45 {% endif -%}
46
47 {% if db.main.debian_popcon or db.main.ubuntu_popcon %}
48 Reported installations [#]_
49 ---------------------------
50 {% if db.main.debian_popcon -%}
51 - Debian: {{ db.main.debian_popcon.insts }} (`more info <http://qa.debian.org/popcon.php?package={{ pkg }}>`_)
52 {% endif -%}
53 {% if db.main.ubuntu_popcon -%}
54 - Ubuntu: {{ db.main.ubuntu_popcon.insts }}
55 {% endif %}
56
57 .. [#] Due to the nature of this data, the reported number can only be
58        considered a conservative estimate of the lower bound of the true
59        number of installations.
60 {% endif -%}
61 {% endif -%}
62
63 {% if db.main.recommends or db.main.suggests %}
64 Related packages
65 ----------------
66 {% if db.main.recommends %}
67 {%- for pkg in db.main.recommends.split(',') %}
68 {%- if pkg.split('|')[0].strip() in fulldb %}
69 * :ref:`pkg_{{ pkg.strip() }}`
70 {%- else %}
71 * {{ pkg }}
72 {% endif -%}{% endfor %}{% endif %}
73 {%- if db.main.suggests %}
74 {%- for pkg in db.main.suggests.split(',') %}
75 {%- if pkg.split('|')[0].strip() in fulldb %}
76 * :ref:`pkg_{{ pkg.strip() }}`
77 {%- else %}
78 * {{ pkg.strip() }}
79 {% endif -%}{% endfor %}{% endif %}
80 {% endif %}
81
82 Binary packages
83 ===============
84
85 NeuroDebian
86 -----------
87
88 {% for dist, distpkg in db|dictsort if dist[1].startswith('neurodebian') -%}
89 {% if loop.first -%}
90 The repository contains binary packages for the following distribution
91 releases and system architectures. The corresponding source packages
92 are available too.
93
94 .. note::
95   Do not download this package manually if you plan to use it
96   regularly. Instead configure your package manager to use this
97   repository by following the instructions on the
98   :ref:`front page <repository_howto>`.
99 {% endif %}
100 {{ dist[0] }} [{{ distpkg.component}}]:
101   `{{distpkg.version}} <../../debian/{{ distpkg.poolurl }}>`_ [{{ ', '.join(distpkg.architecture) }}]
102
103 {% if loop.last %}
104 .. seealso::
105
106   - Original Maintainer: {{ distpkg.maintainer }}
107
108     (if there is any chance that some problem is specific to the package
109     distributed through the NeuroDebian repository, please contact
110     pkg-exppsy-maintainers@lists.alioth.debian.org instead of the original
111     maintainer)
112 {% endif %}
113 {% else %}
114 *There are no packages in the NeuroDebian repository.*
115 {% endfor %}
116
117
118 Debian
119 ------
120
121 {% for dist, distpkg in db|dictsort if dist[1].startswith('debian') %}
122 {% if loop.first %}
123 {% endif %}
124 {{ dist[0] }} [{{ distpkg.component}}]:
125   `{{distpkg.version}} <http://packages.debian.org/search?suite={{ distpkg.release}}&keywords={{ pkg }}>`_ [{{ ', '.join(distpkg.architecture) }}]
126
127 {% if loop.last %}
128 .. seealso::
129
130   - Maintainer: {{ distpkg.maintainer }}
131   - Bug reports: `Debian bugtracking system <http://bugs.debian.org/src:{{ distpkg.source }}>`_
132 {% endif %}
133 {% else %}
134 *There are no official Debian packages available.*
135
136 {% if db.main.debian_itp %}
137 However, a Debian packaging effort has been officially announced.
138 Please see the corresponding
139 `intent-to-package bug report <http://bugs.debian.org/{{ db.main.debian_itp }}>`_
140 for more information about its current status.
141 {% endif %}
142 {% endfor %}
143
144
145 Ubuntu
146 ------
147
148 {% for dist, distpkg in db|dictsort if dist[1].startswith('ubuntu') %}
149 {% if loop.first %}
150 {% endif %}
151 {{ dist[0] }} [{{ distpkg.component }}]:
152   `{{distpkg.version}} <http://packages.ubuntu.com/search?suite={{ distpkg.release }}&keywords={{ pkg }}>`_ [{{ ', '.join(distpkg.architecture) }}]
153
154 {% if loop.last %}
155 .. seealso::
156
157   - Maintainer: {{ distpkg.maintainer }}
158   - Bug reports: `Ubuntu Launchpad <https://bugs.launchpad.net/ubuntu/+source/{{ distpkg.source }}>`_
159 {% endif %}
160 {% else %}
161 *There are no official Ubuntu packages available.*
162 {% endfor %}