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