]> git.donarmstrong.com Git - neurodebian.git/commitdiff
Rearange package page to place NITRC stats.
authorMichael Hanke <michael.hanke@gmail.com>
Tue, 27 Apr 2010 15:16:45 +0000 (11:16 -0400)
committerMichael Hanke <michael.hanke@gmail.com>
Tue, 27 Apr 2010 15:16:45 +0000 (11:16 -0400)
neurodebian/templates/pkg.rst

index b70f8826c6abe8dcd51b2f3d8574abfbcdd7e000..0738ee213a516ce0b6285bd0a17174a177f5eec0 100644 (file)
@@ -47,37 +47,31 @@ Citable reference:
   developement in the future.
 {% endif -%}
 
-{% if db.blends or db.main.debian_popcon or db.main.ubuntu_popcon or
+{% if db.nitrc or db.main.debian_popcon or db.main.ubuntu_popcon or
       db.main.recommends or db.main.suggests -%}
 Package Details
 ===============
-{% if db.blends %}
-`Debian Pure Blends <http://wiki.debian.org/DebianPureBlends>`_ Status
-----------------------------------------------------------------------
-Associated blends:
 
-{% for blend, name, url in db.blends.tasks %}
-* `{{ name }} ({{ blend }}) <{{ url }}>`_
-{% endfor %}
-{% if db.blends.remark %}
-.. note::
-{{ db.blends.remark | indent(width=2, indentfirst=true) }}
-{% endif -%}
-{% endif -%}
-
-{% if db.main.debian_popcon or db.main.ubuntu_popcon %}
-Popularity statistics [#]_
---------------------------
+{% if db.nitrc or db.main.debian_popcon or db.main.ubuntu_popcon %}
+Package popularity
+------------------
 {% if db.main.debian_popcon -%}
-- Debian: {{ db.main.debian_popcon.insts }} (`more info <http://qa.debian.org/popcon.php?package={{ db.main.sv.split()[0] }}>`_)
+- Debian [1]_: {{ db.main.debian_popcon.insts }} (`more info <http://qa.debian.org/popcon.php?package={{ db.main.sv.split()[0] }}>`_)
 {% endif -%}
 {% if db.main.ubuntu_popcon -%}
-- Ubuntu: {{ db.main.ubuntu_popcon.insts }}
+- Ubuntu [1]_: {{ db.main.ubuntu_popcon.insts }}
+{% endif %}
+{% if db.nitrc and db.nitrc.downloads -%}
+- NITRC [2]_: {{ db.nitrc.downloads }}
 {% endif %}
 
-.. [#] Due to the nature of this data, the reported number can only be
+.. [1] Due to the nature of this data, the reported number can only be
        considered a conservative estimate of the lower bound of the true
        number of installations.
+
+.. [2] This is the total number of downloads from NITRC for this software,
+       comprising all releases for all platforms -- typically not Debian
+       packages.
 {% endif -%}
 {% endif -%}
 
@@ -160,6 +154,10 @@ Please see the corresponding
 `intent-to-package bug report <http://bugs.debian.org/{{ db.main.debian_itp }}>`_
 for more information about its current status.
 {% endif %}
+{% if db.blends and db.blends.remark %}
+.. note::
+{{ db.blends.remark | indent(width=2, indentfirst=true) }}
+{% endif -%}
 {% endfor %}