{% extends "_base.html" %} {% block titlecontent %}{{pkg.name }} – {{ super() }} {% endblock titlecontent %} {% block favicon_url -%} {{ url_for('status_svg', status=pkg.status) }}?{{ cache_tag }} {%- endblock favicon_url %} {% macro related_block(name, icon, packages, nonpy=None) %}

{{ name }}

{% if packages %} {{ progress_legend(packages.values(), kind='Python 2') }} {{ pkglist_table_content(packages.values(), show_nonblocking=1) }}
{% else %}
No Python 2 packages.
{% endif %} {% if nonpy %} {{ nonpy | length }} non-Python packages: {% endif %} {% endmacro %} {% macro related_packages(runtime, buildtime, tree, nonpy={}) %} {{ related_block('Run time', 'rocket', runtime, nonpy.get('run_time')) }} {{ related_block('Build time', 'wrench', buildtime, nonpy.get('build_time')) }} {% if tree %}

Dependency Tree

{{ print_deptree(tree) }} {% endif %} {% endmacro %} {% macro rpm_leaf_badge(rpm) %} {% if rpm.almost_leaf %} {% endif %} {% endmacro %} {% macro buglink(bug) %} #{{ bug.id }} {{ bug.short_desc }} {% if bug.trackers %} (for {% for tracker in bug.trackers | sort -%} {{ tracker }} {%- if not loop.last %}, {% endif -%} {% endfor %}) {% endif %} {% endmacro %} {% block bodycontent %}

Package {{ pkg.name }}

{{ pkg.status_obj.instructions | md }}

{% if pkg['is_misnamed'] %}
{{ misnamed_badge() }} This package does not conform to Fedora's Python naming guidelines. See individual RPMs below.

{% endif %} {% if pkg.unversioned_requires %}
{{ unversioned_requires_badge(blocked=False) }} This package has Ambiguous Requires (or BuildRequires): it uses unversioned python, rather than python2 or python3, to refer to other packages. The Python version should always be given explicitly.
{% if pkg.blocked_requires %}
{{ unversioned_requires_badge(pkg.blocked_requires) }} Note that some required packages may not provide the necessary versioned Provides yet.
{% endif %}
{% endif %} {%- if 'orphan' in pkg['maintainers'] -%}
This package is orphaned. It will be removed from Fedora if no one steps up to maintain it. {% if 'last_repo_metadata_change' in pkg %}
{{ orphan_clock_badge(pkg) }} It is orphaned (at least) since . Check the orphan report for details. {% endif %}

{%- endif -%} {% if pkg.ftbfs_age %}
{{ ftbfs_badge(pkg) }} From the RPM names, it looks like this package was last built for Fedora {{ pkg.last_build_releasever }}, and it FTBFS (fails to build from source) since then.

{% endif %} {%- for grp in pkg['groups'].values() -%} {%- if 'exception' in grp and not grp['hidden'] and pkg['name'] in grp['seed_packages'] -%}
This package has a FESCo exception to stay on Python 2. See the {{ grp['name'] }} group.

{%- endif -%} {%- endfor -%}
See {{ pkg.name }} in the Fedora Pagure, or go directly to the corresponding spec file.
{% if pkg['bugs'] %}

Bugs

{% endif %} {% set pc = pkg %} {% if pc %} {% if 'note' in pc %}

Note

{{ pc.note | md }}
{% endif %} {% if pc.rpms %}

RPMs

    {% for rpm_name, rpm in pc.rpms.items() %}
  • {{ rpm_name | format_rpm_name }} {% if rpm.get('arch') == 'src' %} {% endif %} {% if rpm.get('is_misnamed') %} {% endif %} {{ rpm_leaf_badge(rpm) }}
      {% for pydep, ver in rpm.get('py_deps', {}).items() %}
    • {% if ver == 3 %} {% elif ver == 2 %} × {% else %}   {% endif %} {{ pydep }} {% if pydep == '/usr/bin/python' %} {% endif %}
    • {% endfor %}
  • {% endfor %}
{% endif %} {% if pkg.unversioned_requires %}

Ambiguous Requires

{{ unversioned_requires_badge(pkg['blocked_requires']) }} This package has ambiguous (Build)Requires for:
    {% for name, p in pkg.unversioned_requires.items() | sort %}
  • {{ pkglink(p) }}
  • {% endfor %}
{% endif %} {% if pc.get('links') %}

Links

{% endif %} {% endif %} {% if pkg['groups'] %}

Groups

{% endif %} {% if pkg['maintainers'] %}

Maintainers

{% endif %}
{% if pkg['deps'] or pkg['build_deps'] or pkg['dependents'] or pkg['build_dependents'] or pkg['non_python_requirers'] %} {% endif %}
{% endblock bodycontent %}