if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.
This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.
Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
ok landry@
Pafy is a Python library to download YouTube content and retrieve metadata.
Features:
* Retrieve metadata such as viewcount, duration, rating, author, thumbnail
and keywords
* Download video or audio at requested resolution/bitrate/format/filesize
* Command line tool (ytdl) for downloading directly from the command line
* Retrieve the URL to stream the video in a player such as vlc or mplayer
* Works with age-restricted videos and non-embeddable videos
* Small, standalone, single importable module file (pafy.py)
* Select highest quality stream for download or streaming
* Video only (no audio) download option (m4v or webm)
* Audio only (no video) download option (ogg or m4a)
* Retrieve playlists and playlist metadata