pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
mps-youtube: Update wip/mps-youtube to 0.2.7.1
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Sun Aug 27 17:43:38 2017 +0200
Changeset: 84a3b86db46f835110d98a4c511fc233090fb650
Modified Files:
mps-youtube/Makefile
mps-youtube/PLIST
mps-youtube/distinfo
Added Files:
mps-youtube/patches/patch-setup.py
Log Message:
mps-youtube: Update wip/mps-youtube to 0.2.7.1
pkgsrc changes:
- Rework SUBST use for installing the `.desktop' file. Instead of using the
SUBST framework patch setup.py directly and add a list of non-Linux OSes that
will probably benefit of having the `.desktop' file. The list is still
probably still incomplete.
Changes:
Version 0.2.7.1
6 July 2016
Bug fixes:
----------
- Fix pickle error (@ids1024) (#503)
- Install LICENSE, README.md, and CHANGELOG as package_data (@ids1024)
- Update youtube-dl in py2exe build (@ids1024)
-------------------------------------------------------------------------------
Version 0.2.7
27 June 2016
Features:
---------
- Setting for default audio format (@nishanthkarthik) (#71 #466 #467)
- Search history with `history` command (@kraetzin) (#344 #472)
- Add syntax for repeating a track several times (@ghallak) (#437 #490)
- Reverse command (@kraetzin) (#422 #473)
- New `daurl <url>` command (@maricn) (#402)
Enhancements:
-------------
- Pass `--no-ytdl` to mpv (@ids1024) (#492)
- Do not suppress mpv output in debug mode (@ids1024)
- Print traceback in debug mode (@ids1024)
- Speed up `checkupdate` by avoiding redirects (@ids1024) (#454)
- Pass `--play-and-exit` if vlc is used as a player (@ids1024)`
Bug fixes:
----------
- Fix error with python 3.3 (@ids1024) (#414)
- Fix maxres bug (@ids1024) (#430)
- Fix playlist cache bug in info command (@ids1024) (#468)
- Fix usersearch argument error (@ids1024) (#469 #482)
- Fix progress bar with new mpv versions (@ids1024) (#470 #485)
- Fix syntax error with set command (@ids1024) (#419)
- Fix syntax error with -w, -f, -a (@ids1024) (#420)
- Fix clipboard support (@ids1024) (#461)
- Fix mpv version checking on windows (@ids1024) (#397)
- Add youtube_dl as dependency to Dockerfile (@PI-Victor) (#481)
Internal api changes:
---------------------
- The code is now split between several files (@ids1024) (#208)
- Add initial content api, for now only used for comments (@ids1024)
- Begin documenting internal apis using sphinx (@ids1024)
-------------------------------------------------------------------------------
Version 0.2.6
1 January 2016
Features:
- Add browserplay command to play video in browser (rjvani) (#355 #390)
- Make url command support multiple url, and allow loading urls from file
(paulnicolet) (#90 #391)
- Make youtube id available to download command (ids1024) (#375)
- Make pagination work properly for all lists of songs (local playlists, etc.)
and make them all support the dump command (ids1024) (#201)
- Show warning when adding duplicate track to playlist (BensonQiu) (#374 #383)
Bug fixes:
- Support playlists longer than 200 items (ids1024) (#192)
- Make dapl download complete playlist (JKatzwinkel) (#294 #325)
- Use pyperclip instead of xerox, fixing clipboard on linux (ids1024) (#311)
- Fix error message on windows when video title has & (ids1024) (#321)
- Run notifier command in background (hrnr) (#339)
- Correctly handle -v option of play (TimoDritschler) (#352)
- Make it possible to use a pager with --help (livingBEEF) (#349)
- Allow mplayer for https streams if version is new enough
(ids1024 Evidlo paddatrapper) (#315 #336 #317)
- Use mpv.com instead of mpv.exe on windows (ids1024)
Internal API changes:
- Split code into several files (still a work in progress) (ids1024) (#208)
- Use a python decorator to declare commands (ids1024)
- Create a paginatesongs() function for handling the pagination and dump
command uniformly as mentioned in features (#399) (ids1024)
- Various others
There have been various other small bug fixes and internal API changes.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=84a3b86db46f835110d98a4c511fc233090fb650
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
mps-youtube/Makefile | 13 ++----
mps-youtube/PLIST | 92 ++++++++++++++++++++++++++++++++++++++
mps-youtube/distinfo | 8 ++--
mps-youtube/patches/patch-setup.py | 19 ++++++++
4 files changed, 119 insertions(+), 13 deletions(-)
diffs:
diff --git a/mps-youtube/Makefile b/mps-youtube/Makefile
index ecae43600e..0c881323d0 100644
--- a/mps-youtube/Makefile
+++ b/mps-youtube/Makefile
@@ -1,6 +1,6 @@
# $NetBSD$
-DISTNAME= mps-youtube-0.2.5-2
+DISTNAME= mps-youtube-0.2.7.1
CATEGORIES= multimedia net python
MASTER_SITES= ${MASTER_SITE_PYPI:=m/mps-youtube/}
@@ -11,15 +11,8 @@ LICENSE= gnu-gpl-v3
DEPENDS+= ${PYPKGPREFIX}-pafy>=0.3.72:../../wip/py-pafy
-WRKSRC= ${WRKDIR}/mps-youtube-0.2.5
-
-USE_LANGUAGES= # none
-
-SUBST_CLASSES+= paths
-SUBST_STAGE.paths= pre-configure
-SUBST_SED.paths+= -e 's,linux,netbsd6,g'
-SUBST_FILES.paths+= setup.py
-SUBST_MESSAGE.paths= Fixing header search paths
+USE_LANGUAGES= # none
+PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/egg.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
diff --git a/mps-youtube/PLIST b/mps-youtube/PLIST
index 48d96a5493..9265f8a7b1 100644
--- a/mps-youtube/PLIST
+++ b/mps-youtube/PLIST
@@ -1 +1,93 @@
@comment $NetBSD$
+bin/mpsyt
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/mps_youtube/__init__.py
+${PYSITELIB}/mps_youtube/__init__.pyc
+${PYSITELIB}/mps_youtube/__init__.pyo
+${PYSITELIB}/mps_youtube/c.py
+${PYSITELIB}/mps_youtube/c.pyc
+${PYSITELIB}/mps_youtube/c.pyo
+${PYSITELIB}/mps_youtube/cache.py
+${PYSITELIB}/mps_youtube/cache.pyc
+${PYSITELIB}/mps_youtube/cache.pyo
+${PYSITELIB}/mps_youtube/commands/__init__.py
+${PYSITELIB}/mps_youtube/commands/__init__.pyc
+${PYSITELIB}/mps_youtube/commands/__init__.pyo
+${PYSITELIB}/mps_youtube/commands/album_search.py
+${PYSITELIB}/mps_youtube/commands/album_search.pyc
+${PYSITELIB}/mps_youtube/commands/album_search.pyo
+${PYSITELIB}/mps_youtube/commands/config.py
+${PYSITELIB}/mps_youtube/commands/config.pyc
+${PYSITELIB}/mps_youtube/commands/config.pyo
+${PYSITELIB}/mps_youtube/commands/download.py
+${PYSITELIB}/mps_youtube/commands/download.pyc
+${PYSITELIB}/mps_youtube/commands/download.pyo
+${PYSITELIB}/mps_youtube/commands/local_playlist.py
+${PYSITELIB}/mps_youtube/commands/local_playlist.pyc
+${PYSITELIB}/mps_youtube/commands/local_playlist.pyo
+${PYSITELIB}/mps_youtube/commands/misc.py
+${PYSITELIB}/mps_youtube/commands/misc.pyc
+${PYSITELIB}/mps_youtube/commands/misc.pyo
+${PYSITELIB}/mps_youtube/commands/play.py
+${PYSITELIB}/mps_youtube/commands/play.pyc
+${PYSITELIB}/mps_youtube/commands/play.pyo
+${PYSITELIB}/mps_youtube/commands/search.py
+${PYSITELIB}/mps_youtube/commands/search.pyc
+${PYSITELIB}/mps_youtube/commands/search.pyo
+${PYSITELIB}/mps_youtube/commands/songlist.py
+${PYSITELIB}/mps_youtube/commands/songlist.pyc
+${PYSITELIB}/mps_youtube/commands/songlist.pyo
+${PYSITELIB}/mps_youtube/config.py
+${PYSITELIB}/mps_youtube/config.pyc
+${PYSITELIB}/mps_youtube/config.pyo
+${PYSITELIB}/mps_youtube/content.py
+${PYSITELIB}/mps_youtube/content.pyc
+${PYSITELIB}/mps_youtube/content.pyo
+${PYSITELIB}/mps_youtube/g.py
+${PYSITELIB}/mps_youtube/g.pyc
+${PYSITELIB}/mps_youtube/g.pyo
+${PYSITELIB}/mps_youtube/helptext.py
+${PYSITELIB}/mps_youtube/helptext.pyc
+${PYSITELIB}/mps_youtube/helptext.pyo
+${PYSITELIB}/mps_youtube/history.py
+${PYSITELIB}/mps_youtube/history.pyc
+${PYSITELIB}/mps_youtube/history.pyo
+${PYSITELIB}/mps_youtube/init.py
+${PYSITELIB}/mps_youtube/init.pyc
+${PYSITELIB}/mps_youtube/init.pyo
+${PYSITELIB}/mps_youtube/main.py
+${PYSITELIB}/mps_youtube/main.pyc
+${PYSITELIB}/mps_youtube/main.pyo
+${PYSITELIB}/mps_youtube/mpris.py
+${PYSITELIB}/mps_youtube/mpris.pyc
+${PYSITELIB}/mps_youtube/mpris.pyo
+${PYSITELIB}/mps_youtube/paths.py
+${PYSITELIB}/mps_youtube/paths.pyc
+${PYSITELIB}/mps_youtube/paths.pyo
+${PYSITELIB}/mps_youtube/player.py
+${PYSITELIB}/mps_youtube/player.pyc
+${PYSITELIB}/mps_youtube/player.pyo
+${PYSITELIB}/mps_youtube/playlist.py
+${PYSITELIB}/mps_youtube/playlist.pyc
+${PYSITELIB}/mps_youtube/playlist.pyo
+${PYSITELIB}/mps_youtube/playlists.py
+${PYSITELIB}/mps_youtube/playlists.pyc
+${PYSITELIB}/mps_youtube/playlists.pyo
+${PYSITELIB}/mps_youtube/screen.py
+${PYSITELIB}/mps_youtube/screen.pyc
+${PYSITELIB}/mps_youtube/screen.pyo
+${PYSITELIB}/mps_youtube/streams.py
+${PYSITELIB}/mps_youtube/streams.pyc
+${PYSITELIB}/mps_youtube/streams.pyo
+${PYSITELIB}/mps_youtube/terminalsize.py
+${PYSITELIB}/mps_youtube/terminalsize.pyc
+${PYSITELIB}/mps_youtube/terminalsize.pyo
+${PYSITELIB}/mps_youtube/util.py
+${PYSITELIB}/mps_youtube/util.pyc
+${PYSITELIB}/mps_youtube/util.pyo
+share/applications/mps-youtube.desktop
diff --git a/mps-youtube/distinfo b/mps-youtube/distinfo
index 47a7ad83f2..d8ccf144de 100644
--- a/mps-youtube/distinfo
+++ b/mps-youtube/distinfo
@@ -1,5 +1,7 @@
$NetBSD: distinfo,v 1.1 2015/02/14 12:27:21 jihbed Exp $
-SHA1 (mps-youtube-0.2.5-2.tar.gz) = 9453245617efa6459b4f29a11ed55e6cf08954c8
-RMD160 (mps-youtube-0.2.5-2.tar.gz) = 686bf8c87db09d042b6bead353f593be52116b1c
-Size (mps-youtube-0.2.5-2.tar.gz) = 54835 bytes
+SHA1 (mps-youtube-0.2.7.1.tar.gz) = d49d3ae30176eddb930f2cba5494f3247204b8e2
+RMD160 (mps-youtube-0.2.7.1.tar.gz) = f1fa0996f71727f33a2da43a3066f426e112c125
+SHA512 (mps-youtube-0.2.7.1.tar.gz) = 760bd6ef6c04606e6e70e4d7f985482c5d5f1f33481a69398d20c2518ae7a1b0371501e31b6d0bcb46e702c53d8b2311e4556700c7d2ae4011006ffe9582de9b
+Size (mps-youtube-0.2.7.1.tar.gz) = 78128 bytes
+SHA1 (patch-setup.py) = 4b8be288b919fd5cd8a9fb3053312c77057e4fa5
diff --git a/mps-youtube/patches/patch-setup.py b/mps-youtube/patches/patch-setup.py
new file mode 100644
index 0000000000..be0f42f421
--- /dev/null
+++ b/mps-youtube/patches/patch-setup.py
@@ -0,0 +1,19 @@
+$NetBSD$
+
+Install `.desktop' file on other platforms that can use it.
+The list is still probably still incomplete.
+
+--- setup.py.orig 2016-07-06 20:31:17.000000000 +0000
++++ setup.py
+@@ -64,7 +64,10 @@ options = dict(
+ long_description=open("README.rst").read()
+ )
+
+-if sys.platform.startswith('linux'):
++if sys.platform.startswith('linux') or \
++ sys.platform.startswith('freebsd') or \
++ sys.platform.startswith('netbsd') or \
++ sys.platform.startswith('openbsd'):
+ # Install desktop file. Required for mpris on Ubuntu
+ options['data_files'] = [('share/applications/', ['mps-youtube.desktop'])]
+
Home |
Main Index |
Thread Index |
Old Index