2012-07-25 16:52:10 +02:00
|
|
|
{% load djeuscan_helpers %}
|
|
|
|
{% load url from future %}
|
|
|
|
|
|
|
|
<dl>
|
|
|
|
{% if package.description %}
|
|
|
|
<dt>Description</dt>
|
|
|
|
<dd>{{ package.description }}</dd>
|
|
|
|
{% endif %}
|
|
|
|
{% if package.homepage %}
|
|
|
|
<dt>Homepage</dt>
|
|
|
|
<dd>
|
|
|
|
{% for homepage in package.homepages %}
|
|
|
|
<a href="{{ homepage }}">{{ homepage }}</a><br />
|
|
|
|
{% endfor %}
|
|
|
|
</dd>
|
|
|
|
{% endif %}
|
|
|
|
{% if package.herds.all %}
|
|
|
|
<dt>Herds</dt>
|
|
|
|
<dd>
|
|
|
|
{% for herd in package.herds.all %}
|
2012-09-22 15:45:07 +02:00
|
|
|
<p>
|
|
|
|
<a href="{% url "herd" herd.herd %}">
|
|
|
|
{{ herd.herd }}
|
|
|
|
</a>
|
|
|
|
<{{ herd.email }}>
|
|
|
|
</p>
|
2012-07-25 16:52:10 +02:00
|
|
|
{% endfor %}
|
|
|
|
</dd>
|
|
|
|
{% endif %}
|
|
|
|
{% if package.maintainers.all %}
|
|
|
|
<dt>Maintainers</dt>
|
|
|
|
<dd>
|
|
|
|
{% for maintainer in package.maintainers.all %}
|
2012-09-22 15:45:07 +02:00
|
|
|
<p>
|
|
|
|
{% if maintainer.name != maintainer.email %}
|
2012-10-29 12:47:32 +01:00
|
|
|
<a href="{% url "maintainer" maintainer.email %}">
|
2012-09-22 15:45:07 +02:00
|
|
|
{{ maintainer.name }}
|
|
|
|
</a>
|
|
|
|
<{{ maintainer.email }}>
|
|
|
|
{% else %}
|
2012-10-29 12:47:32 +01:00
|
|
|
<a href="{% url "maintainer" maintainer.email %}">
|
2012-09-22 15:45:07 +02:00
|
|
|
{{ maintainer.email }}
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
</p>
|
2012-07-25 16:52:10 +02:00
|
|
|
{% endfor %}
|
|
|
|
</dd>
|
|
|
|
{% endif %}
|
|
|
|
{% if packaged %}
|
|
|
|
<dt>Packaged Versions</dt>
|
|
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
{% for version in packaged %}
|
2012-08-15 15:32:16 +02:00
|
|
|
<li id="version-{{ version.version }}-{{version.revision }}:{{ version.slot }}-{{ version.overlay }}">
|
2012-07-25 16:52:10 +02:00
|
|
|
{% if version.overlay == "gentoo" %}
|
|
|
|
<img src="{{ STATIC_URL }}img/gentoo-icon.png" alt="gentoo" title="In Gentoo" />
|
|
|
|
{% else %}
|
|
|
|
<img src="{{ STATIC_URL }}img/overlay-icon.png" alt="overlays" title="In Overlays" />
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if version.vtype and not version.vtype|is_stable %}
|
|
|
|
<img src="{{ STATIC_URL }}img/unstable-icon.png" alt="unstable" title="{{ version.vtype }}" />
|
|
|
|
{% endif %}
|
|
|
|
|
2012-11-08 15:21:02 +01:00
|
|
|
{% if version.ebuild_path %}
|
|
|
|
<a href="{% url "package_version_ebuild" package.category package.name version.tag %}">
|
|
|
|
{{ version.version }}-{{ version.revision }} :{{ version.slot }} [{{ version.overlay }}]
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
{% if version.metadata_path %}
|
|
|
|
<a href="{% url "package_version_metadata" package.category package.name version.tag %}">
|
|
|
|
<img src="{{ STATIC_URL }}img/metadata.png" alt="Metadata" />
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
2012-07-25 16:52:10 +02:00
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
{% endif %}
|
|
|
|
{% if upstream %}
|
|
|
|
<dt>Upstream versions</dt>
|
|
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
{% for version in upstream %}
|
2012-11-08 15:19:45 +01:00
|
|
|
<li id="version-{{ version.tag }}">
|
2012-07-25 16:52:10 +02:00
|
|
|
<img src="{{ STATIC_URL }}img/upstream-icon.png" alt="upstream" title="Upstream" />
|
|
|
|
|
|
|
|
{% if version.vtype and not version.vtype|is_stable %}
|
|
|
|
<img src="{{ STATIC_URL }}img/unstable-icon.png" alt="unstable" title="{{ version.vtype }}" />
|
|
|
|
{% endif %}
|
|
|
|
|
2012-11-08 15:46:16 +01:00
|
|
|
{{ version.version }} -
|
|
|
|
{% for url in version.urls_list %}
|
|
|
|
<a href="{{ url }}">{{ url }}</a>
|
|
|
|
{% endfor %}
|
2012-08-15 15:32:16 +02:00
|
|
|
{% if confidence < 100 %}({{ version.confidence }}%){% endif %}
|
2012-07-25 16:52:10 +02:00
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
{% endif %}
|
2012-08-14 11:45:52 +02:00
|
|
|
{% include "euscan/_package_vlogs.html" %}
|
2012-07-25 16:52:10 +02:00
|
|
|
{% if log %}
|
|
|
|
<dt>euscan log</dt>
|
|
|
|
<dd>
|
2012-08-15 15:32:16 +02:00
|
|
|
<p>Date: {{ log.datetime }}</p>
|
2012-07-25 16:52:10 +02:00
|
|
|
<pre class="log">{{ msg|ansi_to_html|safe }}</pre>
|
|
|
|
</dd>
|
|
|
|
{% endif %}
|
|
|
|
</dl>
|