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