]> git.donarmstrong.com Git - neurodebian.git/blob - neurodebian/templates/pkg.rst
32992a9dc8c11e11cae0ee6442ef7ce3f682ec96
[neurodebian.git] / neurodebian / templates / pkg.rst
1
2 .. _pkg_{{ pkg }}:
3
4
5 {{ title }}
6
7 {{ long_description }}
8
9 External links:
10
11 .. raw:: html
12
13   <p><a href="{{ db.main.homepage }}">
14   <img border="0" src="../_static/go-home.png" title="Go to {{ pkg }} homepage" /></a>
15   {%- if extracts_dir -%}
16     {%- if op.exists(op.join(extracts_dir, 'copyright')) -%}
17       <a href="../debian/extracts/{{ db.main.sv.split()[0] }}/copyright">
18       <img border="0" src="../_static/legal.png" title="Copyright information for this package" /></a>
19     {%- endif -%}
20     {%- if op.exists(op.join(extracts_dir, 'changelog')) -%}
21       <a href="../debian/extracts/{{ db.main.sv.split()[0] }}/changelog">
22       <img border="0" src="../_static/debian-changelog.png" title="Debian changelog of this software" /></a>
23     {%- endif -%}
24     {%- if op.exists(op.join(extracts_dir, 'README.Debian')) -%}
25       <a href="../debian/extracts/{{ db.main.sv.split()[0] }}/README.Debian">
26       <img border="0" src="../_static/info.png" title="Information on Debian-specific aspects of this software" /></a>
27     {%- endif -%}
28   {%- endif -%}
29   {%- if cfg.has_option("nitrc ids", pkg) -%}
30   <a href="http://www.nitrc.org/project?group_id={{ cfg.get("nitrc ids", pkg) }}">
31   <img border="0" src="../_static/nitrc_listed.png" title="See the entry on nitrc.org" /></a>
32   {%- endif -%}
33   {% if db.blends %}{% for blend, name, url in db.blends.tasks -%}
34   {%- if blend == 'debian-med' -%}
35   <a href="{{ url }}#{{ pkg }}">
36   <img border="0" src="../_static/debianmed.png" title="Part of Debian Med {{ name }} task" /></a>
37   {%- endif -%}
38   {%- if blend == 'debian-science' -%}
39   <a href="{{ url }}#{{ pkg }}">
40   <img border="0" src="../_static/debianscience.png" title="Part of Debian Science {{ name }} task" /></a>
41   {%- endif -%}
42   {%- endfor -%}
43   {%- endif -%}
44   </p>
45
46 {% if db.main.publication %}
47 Citable reference:
48   *{{ db.main.publication.authors }}* ({{ db.main.publication.year }}).
49   {%- if db.main.publication.url %} `{{ db.main.publication.title }} <{{ db.main.publication.url }}>`_.
50   {%- else %} {{ db.main.publication.title }}.
51   {%- endif %} {{ db.main.publication.in }}.
52   {%- if db.main.publication.doi %} (`DOI <http://dx.doi.org/{{ db.main.publication.doi }}>`_)
53   {%- endif %}
54 {% endif %}
55
56 {% if db.main.registration -%}
57 .. note::
58   The software authors ask users to
59   `register <{{ db.main.registration }}>`_. Available user statistics might be
60   helpful to acquire funding for this project and therefore foster continued
61   development in the future.
62
63 {% endif -%}
64 {% if db.blends and db.blends.remark %}
65 .. note::
66 {{ db.blends.remark | indent(width=2, indentfirst=true) }}
67
68 {% endif -%}
69
70 {% if db.nitrc or db.main.debian_popcon or db.main.ubuntu_popcon or
71       db.main.recommends or db.main.suggests -%}
72 Package Details
73 ===============
74
75 {% if db.nitrc or db.main.debian_popcon or db.main.ubuntu_popcon %}
76 Package popularity
77 ------------------
78 {% if db.main.debian_popcon -%}
79 - Debian [1]_: {{ db.main.debian_popcon.insts }} (`more info <http://qa.debian.org/popcon.php?package={{ db.main.sv.split()[0] }}>`__)
80 {% endif -%}
81 {% if db.main.ubuntu_popcon -%}
82 - Ubuntu [1]_: {{ db.main.ubuntu_popcon.insts }} (`more info <http://popcon2.net/package/{{ db.main.sv.split()[0] }}.html#graph-1>`__)
83 {% endif %}
84 {% if db.nitrc and db.nitrc.downloads -%}
85 - NITRC [2]_: {{ db.nitrc.downloads }}
86 {% endif %}
87
88 .. [1] Due to the nature of this data, the reported number can only be
89        considered a conservative estimate of the lower bound of the true
90        number of installations.
91
92 .. [2] This is the total number of downloads from NITRC for this software,
93        comprising all releases for all platforms -- typically not Debian
94        packages.
95 {% endif -%}
96 {% endif -%}
97
98 {% if db.main.recommends or db.main.suggests %}
99 Related packages
100 ----------------
101 {% if db.main.recommends %}
102 {%- for pkg in db.main.recommends.split(',') %}
103 {%- if pkg.split('|')[0].strip() in fulldb %}
104 * :ref:`pkg_{{ pkg.strip() }}`
105 {%- else %}
106 * {{ pkg }}
107 {% endif -%}{% endfor %}{% endif %}
108 {%- if db.main.suggests %}
109 {%- for pkg in db.main.suggests.split(',') %}
110 {%- if pkg.split('|')[0].strip() in fulldb %}
111 * :ref:`pkg_{{ pkg.strip() }}`
112 {%- else %}
113 * {{ pkg.strip() }}
114 {% endif -%}{% endfor %}{% endif %}
115 {% endif %}
116
117 Binary packages
118 ===============
119
120 NeuroDebian
121 -----------
122
123 {% for dist, distpkg in db|dictsort if dist[1].startswith('neurodebian') -%}
124 {% if loop.first -%}
125 The repository contains binary packages for the following distribution
126 releases and system architectures. The corresponding source packages
127 are available too.
128
129 .. note::
130
131   Do not download this package manually if you plan to use it
132   regularly. Instead configure your package manager to use this
133   repository by following the instructions on the :ref:`front page
134   <repository_howto>`.
135 {% endif %}
136 {{ dist[0] }} [{{ distpkg.component}}]:
137   `{{distpkg.version}} <../../debian/{{ distpkg.poolurl }}>`__ [{{ ', '.join(distpkg.architecture) }}]
138
139 {% if loop.last %}
140 .. seealso::
141
142 {% if "neuro.debian.net" in distpkg.maintainer %}
143   - Maintainer: {{ distpkg.maintainer }}
144   - Bug reports: neurodebian-users_
145 {% else %}
146   - Original Maintainer: {{ distpkg.maintainer }}
147
148     (if there is any chance that some problem is specific to the package
149     distributed through the NeuroDebian repository, please email
150     neurodebian-users_ instead of the original
151     maintainer)
152 {% endif %}
153 {% endif %}
154 {% else %}
155 *There are no packages in the NeuroDebian repository.*
156 {% endfor %}
157
158
159 Debian
160 ------
161
162 {% for dist, distpkg in db|dictsort if dist[1].startswith('debian') %}
163 {% if loop.first %}
164 {% endif %}
165 {{ dist[0] }} [{{ distpkg.component}}]:
166   `{{distpkg.version}} <http://packages.debian.org/search?suite={{ distpkg.release}}&keywords={{ pkg }}>`__ [{{ ', '.join(distpkg.architecture) }}]
167
168 {% if loop.last %}
169 .. seealso::
170
171   - Maintainer: {{ distpkg.maintainer }}
172   - Bug reports: `Debian bugtracking system <http://bugs.debian.org/src:{{ distpkg.source }}>`__
173 {% endif %}
174 {% else %}
175 *There are no official Debian packages available.*
176
177 {% if db.main.debian_itp %}
178 However, a Debian packaging effort has been officially announced.
179 Please see the corresponding
180 `intent-to-package bug report <http://bugs.debian.org/{{ db.main.debian_itp }}>`__
181 for more information about its current status.
182 {% endif %}
183 {% endfor %}
184
185
186 Ubuntu
187 ------
188
189 {% for dist, distpkg in db|dictsort if dist[1].startswith('ubuntu') %}
190 {% if loop.first %}
191 {% endif %}
192 {{ dist[0] }} [{{ distpkg.component }}]:
193   `{{distpkg.version}} <http://packages.ubuntu.com/search?suite={{ distpkg.release }}&keywords={{ pkg }}>`__ [{{ ', '.join(distpkg.architecture) }}]
194
195 {% if loop.last %}
196 .. seealso::
197
198   - Maintainer: {{ distpkg.maintainer }}
199   - Bug reports: `Ubuntu Launchpad <https://bugs.launchpad.net/ubuntu/+source/{{ distpkg.source }}>`__
200 {% endif %}
201 {% else %}
202 *There are no official Ubuntu packages available.*
203 {% endfor %}
204
205 {% if db.main.other_pkg and not "neuro.debian" in db.main.other_pkg -%}
206
207 Other Debian/Ubuntu Packages
208 ----------------------------
209
210 - {{ db.main.other_pkg }}
211
212 {% endif %}
213
214
215 .. include:: ../link_names.txt