]> git.donarmstrong.com Git - neurodebian.git/blob - neurodebian/templates/pkg.rst
Rearange package page to place NITRC stats.
[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 }}">
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 }}">
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   developement in the future.
48 {% endif -%}
49
50 {% if db.nitrc or db.main.debian_popcon or db.main.ubuntu_popcon or
51       db.main.recommends or db.main.suggests -%}
52 Package Details
53 ===============
54
55 {% if db.nitrc or db.main.debian_popcon or db.main.ubuntu_popcon %}
56 Package popularity
57 ------------------
58 {% if db.main.debian_popcon -%}
59 - Debian [1]_: {{ db.main.debian_popcon.insts }} (`more info <http://qa.debian.org/popcon.php?package={{ db.main.sv.split()[0] }}>`_)
60 {% endif -%}
61 {% if db.main.ubuntu_popcon -%}
62 - Ubuntu [1]_: {{ db.main.ubuntu_popcon.insts }}
63 {% endif %}
64 {% if db.nitrc and db.nitrc.downloads -%}
65 - NITRC [2]_: {{ db.nitrc.downloads }}
66 {% endif %}
67
68 .. [1] Due to the nature of this data, the reported number can only be
69        considered a conservative estimate of the lower bound of the true
70        number of installations.
71
72 .. [2] This is the total number of downloads from NITRC for this software,
73        comprising all releases for all platforms -- typically not Debian
74        packages.
75 {% endif -%}
76 {% endif -%}
77
78 {% if db.main.recommends or db.main.suggests %}
79 Related packages
80 ----------------
81 {% if db.main.recommends %}
82 {%- for pkg in db.main.recommends.split(',') %}
83 {%- if pkg.split('|')[0].strip() in fulldb %}
84 * :ref:`pkg_{{ pkg.strip() }}`
85 {%- else %}
86 * {{ pkg }}
87 {% endif -%}{% endfor %}{% endif %}
88 {%- if db.main.suggests %}
89 {%- for pkg in db.main.suggests.split(',') %}
90 {%- if pkg.split('|')[0].strip() in fulldb %}
91 * :ref:`pkg_{{ pkg.strip() }}`
92 {%- else %}
93 * {{ pkg.strip() }}
94 {% endif -%}{% endfor %}{% endif %}
95 {% endif %}
96
97 Binary packages
98 ===============
99
100 NeuroDebian
101 -----------
102
103 {% for dist, distpkg in db|dictsort if dist[1].startswith('neurodebian') -%}
104 {% if loop.first -%}
105 The repository contains binary packages for the following distribution
106 releases and system architectures. The corresponding source packages
107 are available too.
108
109 .. note::
110   Do not download this package manually if you plan to use it
111   regularly. Instead configure your package manager to use this
112   repository by following the instructions on the
113   :ref:`front page <repository_howto>`.
114 {% endif %}
115 {{ dist[0] }} [{{ distpkg.component}}]:
116   `{{distpkg.version}} <../../debian/{{ distpkg.poolurl }}>`_ [{{ ', '.join(distpkg.architecture) }}]
117
118 {% if loop.last %}
119 .. seealso::
120
121   - Original Maintainer: {{ distpkg.maintainer }}
122
123     (if there is any chance that some problem is specific to the package
124     distributed through the NeuroDebian repository, please contact
125     pkg-exppsy-maintainers@lists.alioth.debian.org instead of the original
126     maintainer)
127 {% endif %}
128 {% else %}
129 *There are no packages in the NeuroDebian repository.*
130 {% endfor %}
131
132
133 Debian
134 ------
135
136 {% for dist, distpkg in db|dictsort if dist[1].startswith('debian') %}
137 {% if loop.first %}
138 {% endif %}
139 {{ dist[0] }} [{{ distpkg.component}}]:
140   `{{distpkg.version}} <http://packages.debian.org/search?suite={{ distpkg.release}}&keywords={{ pkg }}>`_ [{{ ', '.join(distpkg.architecture) }}]
141
142 {% if loop.last %}
143 .. seealso::
144
145   - Maintainer: {{ distpkg.maintainer }}
146   - Bug reports: `Debian bugtracking system <http://bugs.debian.org/src:{{ distpkg.source }}>`_
147 {% endif %}
148 {% else %}
149 *There are no official Debian packages available.*
150
151 {% if db.main.debian_itp %}
152 However, a Debian packaging effort has been officially announced.
153 Please see the corresponding
154 `intent-to-package bug report <http://bugs.debian.org/{{ db.main.debian_itp }}>`_
155 for more information about its current status.
156 {% endif %}
157 {% if db.blends and db.blends.remark %}
158 .. note::
159 {{ db.blends.remark | indent(width=2, indentfirst=true) }}
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 %}