[arch-commits] Commit in livestreamer/repos/community-any (3 files)
Date: Saturday, March 7, 2015 @ 07:52:13 Author: foutrelis Revision: 128854 archrelease: copy trunk to community-any Added: livestreamer/repos/community-any/PKGBUILD (from rev 128853, livestreamer/trunk/PKGBUILD) Deleted: livestreamer/repos/community-any/PKGBUILD livestreamer/repos/community-any/plugins-hitbox-Refactor-to-use-the-StreamMapper.patch ---+ PKGBUILD | 71 ++--- plugins-hitbox-Refactor-to-use-the-StreamMapper.patch | 197 2 files changed, 31 insertions(+), 237 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2015-03-07 06:52:06 UTC (rev 128853) +++ PKGBUILD2015-03-07 06:52:13 UTC (rev 128854) @@ -1,40 +0,0 @@ -# $Id$ -# Maintainer: Daniel Wallace danielwallace at gtmanfred dot com -# Contributor: Christopher Rosell chri...@tanuki.se -pkgname=livestreamer -pkgver=1.11.1 -pkgrel=2 -pkgdesc='CLI program that launches streams from various streaming services in a custom video player' -arch=('any') -url='https://github.com/chrippa/livestreamer' -license=('BSD') -depends=('python-requests' 'rtmpdump' 'python-setuptools') -makedepends=('python-sphinx') -source=(https://pypi.python.org/packages/source/l/$pkgname/$pkgname-$pkgver.tar.gz -plugins-hitbox-Refactor-to-use-the-StreamMapper.patch) -sha256sums=('84dd83d301518ffcf96f30cbffc0e0598e0756e7ab8e7498d11285d42fe17f9c' -'1a305add9db98912f0cdb16862d1296588b2ed299587de26d93c5be53f9fd572') - -prepare() { - cd $srcdir/$pkgname-$pkgver - - # https://github.com/chrippa/livestreamer/issues/648 - patch -Np1 -i ../plugins-hitbox-Refactor-to-use-the-StreamMapper.patch -} - -build() { - cd $srcdir/$pkgname-$pkgver - python setup.py build_sphinx -b man -} - -package() { - cd $srcdir/$pkgname-$pkgver - python setup.py install --root=$pkgdir/ --optimize=1 - - install -Dm644 build/sphinx/man/livestreamer.1 \ -$pkgdir/usr/share/man/man1/livestreamer.1 - - install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE -} - -# vim:set ts=2 sw=2 et: Copied: livestreamer/repos/community-any/PKGBUILD (from rev 128853, livestreamer/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2015-03-07 06:52:13 UTC (rev 128854) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Daniel Wallace danielwallace at gtmanfred dot com +# Contributor: Christopher Rosell chri...@tanuki.se +pkgname=livestreamer +pkgver=1.12.0 +pkgrel=1 +pkgdesc='CLI program that launches streams from various streaming services in a custom video player' +arch=('any') +url='https://github.com/chrippa/livestreamer' +license=('BSD') +depends=('python-requests' 'rtmpdump' 'python-setuptools') +makedepends=('python-sphinx') +source=(https://pypi.python.org/packages/source/l/$pkgname/$pkgname-$pkgver.tar.gz) +sha256sums=('b541f550806d49bbc052da5e35aff78cbcca13d00135bee99637162b80158a7b') + +build() { + cd $srcdir/$pkgname-$pkgver + python setup.py build_sphinx -b man +} + +package() { + cd $srcdir/$pkgname-$pkgver + python setup.py install --root=$pkgdir --optimize=1 + + install -Dm644 build/sphinx/man/livestreamer.1 \ +$pkgdir/usr/share/man/man1/livestreamer.1 + + install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE +} + +# vim:set ts=2 sw=2 et: Deleted: plugins-hitbox-Refactor-to-use-the-StreamMapper.patch === --- plugins-hitbox-Refactor-to-use-the-StreamMapper.patch 2015-03-07 06:52:06 UTC (rev 128853) +++ plugins-hitbox-Refactor-to-use-the-StreamMapper.patch 2015-03-07 06:52:13 UTC (rev 128854) @@ -1,197 +0,0 @@ -From 3cd7f604b9f3327f7626b719a3035c47a68ea9a2 Mon Sep 17 00:00:00 2001 -From: Christopher Rosell chri...@tanuki.se -Date: Tue, 16 Dec 2014 23:03:17 +0100 -Subject: [PATCH] plugins.hitbox: Refactor to use the StreamMapper. - -Also add support for HLS streams. - -Resolves #648. - src/livestreamer/plugins/hitbox.py | 139 - - 1 file changed, 92 insertions(+), 47 deletions(-) - -diff --git a/src/livestreamer/plugins/hitbox.py b/src/livestreamer/plugins/hitbox.py -index 306a318..556a3d9 100644 a/src/livestreamer/plugins/hitbox.py -+++ b/src/livestreamer/plugins/hitbox.py -@@ -1,10 +1,13 @@ - import re - -+from itertools import chain -+ - from livestreamer.compat import urlparse - from livestreamer.plugin import Plugin --from livestreamer.plugin.api import http, validate -+from livestreamer.plugin.api import StreamMapper, http, validate - from livestreamer.stream import HLSStream, HTTPStream, RTMPStream - -+HLS_PLAYLIST_BASE = http://www.hitbox.tv{0}; - LIVE_API = http://www.hitbox.tv/api/media/live/{0}?showHidden=true; - PLAYER_API = http://www.hitbox.tv/api/player/config/{0}/{1}?embed=falseshowHidden=true; - SWF_BASE =
[arch-commits] Commit in livestreamer/repos/community-any (3 files)
Date: Sunday, February 8, 2015 @ 17:16:09 Author: foutrelis Revision: 127301 archrelease: copy trunk to community-any Added: livestreamer/repos/community-any/PKGBUILD (from rev 127300, livestreamer/trunk/PKGBUILD) livestreamer/repos/community-any/plugins-hitbox-Refactor-to-use-the-StreamMapper.patch (from rev 127300, livestreamer/trunk/plugins-hitbox-Refactor-to-use-the-StreamMapper.patch) Deleted: livestreamer/repos/community-any/PKGBUILD ---+ PKGBUILD | 71 +++-- plugins-hitbox-Refactor-to-use-the-StreamMapper.patch | 197 2 files changed, 237 insertions(+), 31 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2015-02-08 16:16:00 UTC (rev 127300) +++ PKGBUILD2015-02-08 16:16:09 UTC (rev 127301) @@ -1,31 +0,0 @@ -# $Id$ -# Maintainer: Daniel Wallace danielwallace at gtmanfred dot com -# Contributor: Christopher Rosell chri...@tanuki.se -pkgname=livestreamer -pkgver=1.11.1 -pkgrel=1 -pkgdesc='CLI program that launches streams from various streaming services in a custom video player' -arch=('any') -url='https://github.com/chrippa/livestreamer' -license=('BSD') -depends=('python-requests' 'rtmpdump' 'python-setuptools') -makedepends=('python-sphinx') -source=(https://pypi.python.org/packages/source/l/$pkgname/$pkgname-$pkgver.tar.gz) -sha256sums=('84dd83d301518ffcf96f30cbffc0e0598e0756e7ab8e7498d11285d42fe17f9c') - -build() { - cd $srcdir/$pkgname-$pkgver - python setup.py build_sphinx -b man -} - -package() { - cd $srcdir/$pkgname-$pkgver - python setup.py install --root=$pkgdir/ --optimize=1 - - install -Dm644 build/sphinx/man/livestreamer.1 \ -$pkgdir/usr/share/man/man1/livestreamer.1 - - install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE -} - -# vim:set ts=2 sw=2 et: Copied: livestreamer/repos/community-any/PKGBUILD (from rev 127300, livestreamer/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2015-02-08 16:16:09 UTC (rev 127301) @@ -0,0 +1,40 @@ +# $Id$ +# Maintainer: Daniel Wallace danielwallace at gtmanfred dot com +# Contributor: Christopher Rosell chri...@tanuki.se +pkgname=livestreamer +pkgver=1.11.1 +pkgrel=2 +pkgdesc='CLI program that launches streams from various streaming services in a custom video player' +arch=('any') +url='https://github.com/chrippa/livestreamer' +license=('BSD') +depends=('python-requests' 'rtmpdump' 'python-setuptools') +makedepends=('python-sphinx') +source=(https://pypi.python.org/packages/source/l/$pkgname/$pkgname-$pkgver.tar.gz +plugins-hitbox-Refactor-to-use-the-StreamMapper.patch) +sha256sums=('84dd83d301518ffcf96f30cbffc0e0598e0756e7ab8e7498d11285d42fe17f9c' +'1a305add9db98912f0cdb16862d1296588b2ed299587de26d93c5be53f9fd572') + +prepare() { + cd $srcdir/$pkgname-$pkgver + + # https://github.com/chrippa/livestreamer/issues/648 + patch -Np1 -i ../plugins-hitbox-Refactor-to-use-the-StreamMapper.patch +} + +build() { + cd $srcdir/$pkgname-$pkgver + python setup.py build_sphinx -b man +} + +package() { + cd $srcdir/$pkgname-$pkgver + python setup.py install --root=$pkgdir/ --optimize=1 + + install -Dm644 build/sphinx/man/livestreamer.1 \ +$pkgdir/usr/share/man/man1/livestreamer.1 + + install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE +} + +# vim:set ts=2 sw=2 et: Copied: livestreamer/repos/community-any/plugins-hitbox-Refactor-to-use-the-StreamMapper.patch (from rev 127300, livestreamer/trunk/plugins-hitbox-Refactor-to-use-the-StreamMapper.patch) === --- plugins-hitbox-Refactor-to-use-the-StreamMapper.patch (rev 0) +++ plugins-hitbox-Refactor-to-use-the-StreamMapper.patch 2015-02-08 16:16:09 UTC (rev 127301) @@ -0,0 +1,197 @@ +From 3cd7f604b9f3327f7626b719a3035c47a68ea9a2 Mon Sep 17 00:00:00 2001 +From: Christopher Rosell chri...@tanuki.se +Date: Tue, 16 Dec 2014 23:03:17 +0100 +Subject: [PATCH] plugins.hitbox: Refactor to use the StreamMapper. + +Also add support for HLS streams. + +Resolves #648. +--- + src/livestreamer/plugins/hitbox.py | 139 - + 1 file changed, 92 insertions(+), 47 deletions(-) + +diff --git a/src/livestreamer/plugins/hitbox.py b/src/livestreamer/plugins/hitbox.py +index 306a318..556a3d9 100644 +--- a/src/livestreamer/plugins/hitbox.py b/src/livestreamer/plugins/hitbox.py +@@ -1,10 +1,13 @@ + import re + ++from itertools import chain ++ + from livestreamer.compat import urlparse + from livestreamer.plugin import Plugin +-from livestreamer.plugin.api import http, validate ++from livestreamer.plugin.api import StreamMapper, http, validate + from livestreamer.stream import HLSStream, HTTPStream, RTMPStream +
[arch-commits] Commit in livestreamer/repos/community-any (3 files)
Date: Saturday, December 13, 2014 @ 15:32:20 Author: foutrelis Revision: 123837 archrelease: copy trunk to community-any Added: livestreamer/repos/community-any/PKGBUILD (from rev 123836, livestreamer/trunk/PKGBUILD) Deleted: livestreamer/repos/community-any/0001-plugins.twitch-Update-for-API-change.patch livestreamer/repos/community-any/PKGBUILD -+ 0001-plugins.twitch-Update-for-API-change.patch | 57 - PKGBUILD| 72 +- 2 files changed, 31 insertions(+), 98 deletions(-) Deleted: 0001-plugins.twitch-Update-for-API-change.patch === --- 0001-plugins.twitch-Update-for-API-change.patch 2014-12-13 14:31:56 UTC (rev 123836) +++ 0001-plugins.twitch-Update-for-API-change.patch 2014-12-13 14:32:20 UTC (rev 123837) @@ -1,57 +0,0 @@ -From bbc6d0e7c1a8b6bf053345e88366cae115baa2d3 Mon Sep 17 00:00:00 2001 -From: Christopher Rosell chri...@tanuki.se -Date: Fri, 12 Dec 2014 00:14:43 +0100 -Subject: [PATCH] plugins.twitch: Update for API change. - -Resolves #633. - src/livestreamer/plugins/twitch.py | 17 + - 1 file changed, 9 insertions(+), 8 deletions(-) - -diff --git a/src/livestreamer/plugins/twitch.py b/src/livestreamer/plugins/twitch.py -index ca0d2bd..0adc872 100644 a/src/livestreamer/plugins/twitch.py -+++ b/src/livestreamer/plugins/twitch.py -@@ -125,8 +125,8 @@ def time_to_offset(t): - - - class UsherService(object): --def _create_url(self, endpoint, asset, **extra_params): --url = http://usher.twitch.tv/{0}/{1}.format(endpoint, asset) -+def _create_url(self, endpoint, **extra_params): -+url = http://usher.twitch.tv{0}.format(endpoint) - params = { - player: twitchweb, - p: int(random() * 99), -@@ -145,11 +145,12 @@ class UsherService(object): - - return req.url - --def select(self, channel, **extra_params): --return self._create_url(select, channel, **extra_params) -+def channel(self, channel, **extra_params): -+return self._create_url(/api/channel/hls/{0}.m3u8.format(channel), -+**extra_params) - --def vod(self, vod_id, **extra_params): --return self._create_url(vod, vod_id, **extra_params) -+def video(self, video_id, **extra_params): -+return self._create_url(/vod/{0}.format(video_id), **extra_params) - - - class TwitchAPI(object): -@@ -417,9 +418,9 @@ class Twitch(Plugin): - self._authenticate() - sig, token = self._access_token(type) - if type == live: --url = self.usher.select(self.channel, nauthsig=sig, nauth=token) -+url = self.usher.channel(self.channel, sig=sig, token=token) - elif type == video: --url = self.usher.vod(self.video_id, nauthsig=sig, nauth=token) -+url = self.usher.video(self.video_id, nauthsig=sig, nauth=token) - - try: - streams = HLSStream.parse_variant_playlist(self.session, url) --- -2.1.3 - Deleted: PKGBUILD === --- PKGBUILD2014-12-13 14:31:56 UTC (rev 123836) +++ PKGBUILD2014-12-13 14:32:20 UTC (rev 123837) @@ -1,41 +0,0 @@ -# $Id$ -# Maintainer: Daniel Wallace danielwallace at gtmanfred dot com -# Contributor: Christopher Rosell chri...@tanuki.se -pkgname=livestreamer -pkgver=1.11.0 -pkgrel=1 -pkgdesc='CLI program that launches streams from various streaming services in a custom video player' -arch=('any') -url='https://github.com/chrippa/livestreamer' -license=('BSD') -depends=('python-requests' 'rtmpdump' 'python-setuptools') -makedepends=('python-sphinx') -provides=('livestreamer') -conflicts=('livestreamer-git') -options=(!emptydirs) -source=(https://pypi.python.org/packages/source/l/$pkgname/$pkgname-$pkgver.tar.gz -0001-plugins.twitch-Update-for-API-change.patch) -sha256sums=('5af677ec93ebce229ac235ea6c23aec915deb4aacc8bdb8418c8488fbdd96920' -'2dd33dca00befedb0754700c3aeb7921361b2c87c78eb55de397c18376d94952') - -prepare() { - cd $srcdir/$pkgname-$pkgver - patch -Np1 -i ../0001-plugins.twitch-Update-for-API-change.patch -} - -build() { - cd $srcdir/$pkgname-$pkgver - python setup.py build_sphinx -b man -} - -package() { - cd $srcdir/$pkgname-$pkgver - python setup.py install --root=$pkgdir/ --optimize=1 - - install -Dm644 build/sphinx/man/livestreamer.1 \ -$pkgdir/usr/share/man/man1/livestreamer.1 - - install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE -} - -# vim:set ts=2 sw=2 et: Copied: livestreamer/repos/community-any/PKGBUILD (from rev 123836, livestreamer/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2014-12-13 14:32:20 UTC (rev 123837) @@ -0,0 +1,31
[arch-commits] Commit in livestreamer/repos/community-any (3 files)
Date: Friday, December 12, 2014 @ 04:23:11 Author: foutrelis Revision: 123799 archrelease: copy trunk to community-any Added: livestreamer/repos/community-any/0001-plugins.twitch-Update-for-API-change.patch (from rev 123798, livestreamer/trunk/0001-plugins.twitch-Update-for-API-change.patch) livestreamer/repos/community-any/PKGBUILD (from rev 123798, livestreamer/trunk/PKGBUILD) Deleted: livestreamer/repos/community-any/PKGBUILD -+ 0001-plugins.twitch-Update-for-API-change.patch | 57 PKGBUILD| 75 -- 2 files changed, 98 insertions(+), 34 deletions(-) Copied: livestreamer/repos/community-any/0001-plugins.twitch-Update-for-API-change.patch (from rev 123798, livestreamer/trunk/0001-plugins.twitch-Update-for-API-change.patch) === --- 0001-plugins.twitch-Update-for-API-change.patch (rev 0) +++ 0001-plugins.twitch-Update-for-API-change.patch 2014-12-12 03:23:11 UTC (rev 123799) @@ -0,0 +1,57 @@ +From bbc6d0e7c1a8b6bf053345e88366cae115baa2d3 Mon Sep 17 00:00:00 2001 +From: Christopher Rosell chri...@tanuki.se +Date: Fri, 12 Dec 2014 00:14:43 +0100 +Subject: [PATCH] plugins.twitch: Update for API change. + +Resolves #633. +--- + src/livestreamer/plugins/twitch.py | 17 + + 1 file changed, 9 insertions(+), 8 deletions(-) + +diff --git a/src/livestreamer/plugins/twitch.py b/src/livestreamer/plugins/twitch.py +index ca0d2bd..0adc872 100644 +--- a/src/livestreamer/plugins/twitch.py b/src/livestreamer/plugins/twitch.py +@@ -125,8 +125,8 @@ def time_to_offset(t): + + + class UsherService(object): +-def _create_url(self, endpoint, asset, **extra_params): +-url = http://usher.twitch.tv/{0}/{1}.format(endpoint, asset) ++def _create_url(self, endpoint, **extra_params): ++url = http://usher.twitch.tv{0}.format(endpoint) + params = { + player: twitchweb, + p: int(random() * 99), +@@ -145,11 +145,12 @@ class UsherService(object): + + return req.url + +-def select(self, channel, **extra_params): +-return self._create_url(select, channel, **extra_params) ++def channel(self, channel, **extra_params): ++return self._create_url(/api/channel/hls/{0}.m3u8.format(channel), ++**extra_params) + +-def vod(self, vod_id, **extra_params): +-return self._create_url(vod, vod_id, **extra_params) ++def video(self, video_id, **extra_params): ++return self._create_url(/vod/{0}.format(video_id), **extra_params) + + + class TwitchAPI(object): +@@ -417,9 +418,9 @@ class Twitch(Plugin): + self._authenticate() + sig, token = self._access_token(type) + if type == live: +-url = self.usher.select(self.channel, nauthsig=sig, nauth=token) ++url = self.usher.channel(self.channel, sig=sig, token=token) + elif type == video: +-url = self.usher.vod(self.video_id, nauthsig=sig, nauth=token) ++url = self.usher.video(self.video_id, nauthsig=sig, nauth=token) + + try: + streams = HLSStream.parse_variant_playlist(self.session, url) +-- +2.1.3 + Deleted: PKGBUILD === --- PKGBUILD2014-12-12 03:23:00 UTC (rev 123798) +++ PKGBUILD2014-12-12 03:23:11 UTC (rev 123799) @@ -1,34 +0,0 @@ -# $Id$ -# Maintainer: Daniel Wallace danielwallace at gtmanfred dot com -# Contributor: Christopher Rosell chri...@tanuki.se -pkgname=livestreamer -pkgver=1.10.2 -pkgrel=1 -pkgdesc='CLI program that launches streams from various streaming services in a custom video player' -arch=('any') -url='https://github.com/chrippa/livestreamer' -license=('BSD') -depends=('python-requests' 'rtmpdump' 'python-setuptools') -makedepends=('python-sphinx') -provides=('livestreamer') -conflicts=('livestreamer-git') -options=(!emptydirs) -source=(http://pypi.python.org/packages/source/l/$pkgname/$pkgname-$pkgver.tar.gz) -sha256sums=('50bae61fe2a1ec1df215a825b62ebba508a31d7d54ecb332586feb968d137391') - -build() { - cd $srcdir/$pkgname-$pkgver - python setup.py build_sphinx -b man -} - -package() { - cd $srcdir/$pkgname-$pkgver - python setup.py install --root=$pkgdir/ --optimize=1 - - install -Dm644 build/sphinx/man/livestreamer.1 \ -$pkgdir/usr/share/man/man1/livestreamer.1 - - install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE -} - -# vim:set ts=2 sw=2 et: Copied: livestreamer/repos/community-any/PKGBUILD (from rev 123798, livestreamer/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2014-12-12 03:23:11 UTC (rev 123799) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Daniel Wallace
[arch-commits] Commit in livestreamer/repos/community-any (3 files)
Date: Friday, August 1, 2014 @ 12:13:26 Author: foutrelis Revision: 116686 archrelease: copy trunk to community-any Added: livestreamer/repos/community-any/PKGBUILD (from rev 116685, livestreamer/trunk/PKGBUILD) Deleted: livestreamer/repos/community-any/PKGBUILD livestreamer/repos/community-any/ca-certs.diff ---+ PKGBUILD | 57 +--- ca-certs.diff | 17 2 files changed, 34 insertions(+), 40 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2014-08-01 10:13:15 UTC (rev 116685) +++ PKGBUILD2014-08-01 10:13:26 UTC (rev 116686) @@ -1,23 +0,0 @@ -# $Id$ -# Maintainer: Daniel Wallace danielwallace at gtmanfred dot com -# Contributor: Christopher Rosell chri...@tanuki.se -pkgname=livestreamer -pkgver=1.8.2 -pkgrel=1 -pkgdesc='CLI program that launches streams from various streaming services in a custom video player' -arch=('any') -url='https://github.com/chrippa/livestreamer' -license=('BSD') -depends=('python-requests' 'rtmpdump' 'python-setuptools') -provides=('livestreamer') -conflicts=('livestreamer-git') -options=(!emptydirs) -source=(http://pypi.python.org/packages/source/l/$pkgname/$pkgname-$pkgver.tar.gz) -sha256sums=('fa216aa08cd0022f39ff4c47e9c343dde4524e073a1c6e6964483dc21d23955d') - -package() { - cd $srcdir/$pkgname-$pkgver - python setup.py install --root=$pkgdir/ --optimize=1 -} - -# vim:set ts=2 sw=2 et: Copied: livestreamer/repos/community-any/PKGBUILD (from rev 116685, livestreamer/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2014-08-01 10:13:26 UTC (rev 116686) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Daniel Wallace danielwallace at gtmanfred dot com +# Contributor: Christopher Rosell chri...@tanuki.se +pkgname=livestreamer +pkgver=1.9.0 +pkgrel=1 +pkgdesc='CLI program that launches streams from various streaming services in a custom video player' +arch=('any') +url='https://github.com/chrippa/livestreamer' +license=('BSD') +depends=('python-requests' 'rtmpdump' 'python-setuptools') +makedepends=('python-sphinx') +provides=('livestreamer') +conflicts=('livestreamer-git') +options=(!emptydirs) +source=(http://pypi.python.org/packages/source/l/$pkgname/$pkgname-$pkgver.tar.gz) +sha256sums=('d450f1352fe8f9c65cbecf6415c6d404c45334870321224253b4c1a3dac4e28c') + +build() { + cd $srcdir/$pkgname-$pkgver + python setup.py build_sphinx -b man +} + +package() { + cd $srcdir/$pkgname-$pkgver + python setup.py install --root=$pkgdir/ --optimize=1 + + install -Dm644 build/sphinx/man/livestreamer.1 \ +$pkgdir/usr/share/man/man1/livestreamer.1 + + install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE +} + +# vim:set ts=2 sw=2 et: Deleted: ca-certs.diff === --- ca-certs.diff 2014-08-01 10:13:15 UTC (rev 116685) +++ ca-certs.diff 2014-08-01 10:13:26 UTC (rev 116686) @@ -1,17 +0,0 @@ -diff --git a/src/livestreamer/utils.py b/src/livestreamer/utils.py -index 34e881b..16a4495 100644 a/src/livestreamer/utils.py -+++ b/src/livestreamer/utils.py -@@ -30,10 +30,10 @@ def urlget(url, *args, **kwargs): - try: - if session: - res = session.request(method, url, timeout=timeout, data=data, -- *args, **kwargs) -+ verify=False, *args, **kwargs) - else: - res = requests.request(method, url, timeout=timeout, data=data, -- *args, **kwargs) -+ verify=False, *args, **kwargs) - - res.raise_for_status() - except (requests.exceptions.RequestException, IOError) as rerr:
[arch-commits] Commit in livestreamer/repos/community-any (3 files)
Date: Wednesday, March 19, 2014 @ 04:13:36 Author: dwallace Revision: 107748 archrelease: copy trunk to community-any Added: livestreamer/repos/community-any/PKGBUILD (from rev 107747, livestreamer/trunk/PKGBUILD) livestreamer/repos/community-any/ca-certs.diff (from rev 107747, livestreamer/trunk/ca-certs.diff) Deleted: livestreamer/repos/community-any/PKGBUILD ---+ PKGBUILD | 53 ++--- ca-certs.diff | 17 + 2 files changed, 47 insertions(+), 23 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2014-03-19 03:13:06 UTC (rev 107747) +++ PKGBUILD2014-03-19 03:13:36 UTC (rev 107748) @@ -1,23 +0,0 @@ -# $Id$ -# Maintainer: Daniel Wallace danielwallace at gtmanfred dot com -# Contributor: Christopher Rosell chri...@tanuki.se -pkgname=livestreamer -pkgver=1.7.5 -pkgrel=1 -pkgdesc='CLI program that launches streams from various streaming services in a custom video player' -arch=('any') -url='https://github.com/chrippa/livestreamer' -license=('BSD') -depends=('python-requests' 'rtmpdump' 'python-setuptools') -provides=('livestreamer') -conflicts=('livestreamer-git') -options=(!emptydirs) -source=(http://pypi.python.org/packages/source/l/$pkgname/$pkgname-$pkgver.tar.gz) -sha256sums=('7f8308a3efdb7c951eda2f5d1b3e738f2fe280e145d4c624b7cd70b1071967a4') - -package() { - cd $srcdir/$pkgname-$pkgver - python setup.py install --root=$pkgdir/ --optimize=1 -} - -# vim:set ts=2 sw=2 et: Copied: livestreamer/repos/community-any/PKGBUILD (from rev 107747, livestreamer/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2014-03-19 03:13:36 UTC (rev 107748) @@ -0,0 +1,30 @@ +# $Id$ +# Maintainer: Daniel Wallace danielwallace at gtmanfred dot com +# Contributor: Christopher Rosell chri...@tanuki.se +pkgname=livestreamer +pkgver=1.7.5 +pkgrel=2 +pkgdesc='CLI program that launches streams from various streaming services in a custom video player' +arch=('any') +url='https://github.com/chrippa/livestreamer' +license=('BSD') +depends=('python-requests' 'rtmpdump' 'python-setuptools') +provides=('livestreamer') +conflicts=('livestreamer-git') +options=(!emptydirs) +source=(http://pypi.python.org/packages/source/l/$pkgname/$pkgname-$pkgver.tar.gz +# https://github.com/chrippa/livestreamer/issues/255 +ca-certs.diff) +sha256sums=('7f8308a3efdb7c951eda2f5d1b3e738f2fe280e145d4c624b7cd70b1071967a4' +'b8f3008444c74b844be3368c662628f9cc048589abf5387d2f0116bf8f6f6c22') + +prepare(){ + patch -Np1 -d $srcdir/$pkgname-$pkgver/ -i $srcdir/ca-certs.diff +} + +package() { + cd $srcdir/$pkgname-$pkgver + python setup.py install --root=$pkgdir/ --optimize=1 +} + +# vim:set ts=2 sw=2 et: Copied: livestreamer/repos/community-any/ca-certs.diff (from rev 107747, livestreamer/trunk/ca-certs.diff) === --- ca-certs.diff (rev 0) +++ ca-certs.diff 2014-03-19 03:13:36 UTC (rev 107748) @@ -0,0 +1,17 @@ +diff --git a/src/livestreamer/utils.py b/src/livestreamer/utils.py +index 34e881b..16a4495 100644 +--- a/src/livestreamer/utils.py b/src/livestreamer/utils.py +@@ -30,10 +30,10 @@ def urlget(url, *args, **kwargs): + try: + if session: + res = session.request(method, url, timeout=timeout, data=data, +- *args, **kwargs) ++ verify=False, *args, **kwargs) + else: + res = requests.request(method, url, timeout=timeout, data=data, +- *args, **kwargs) ++ verify=False, *args, **kwargs) + + res.raise_for_status() + except (requests.exceptions.RequestException, IOError) as rerr:
[arch-commits] Commit in livestreamer/repos/community-any (3 files)
Date: Wednesday, November 13, 2013 @ 21:11:54 Author: dwallace Revision: 100955 archrelease: copy trunk to community-any Added: livestreamer/repos/community-any/PKGBUILD (from rev 100954, livestreamer/trunk/PKGBUILD) Deleted: livestreamer/repos/community-any/PKGBUILD livestreamer/repos/community-any/requests-v2.patch ---+ PKGBUILD | 46 +++--- requests-v2.patch | 13 - 2 files changed, 23 insertions(+), 36 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2013-11-13 20:11:27 UTC (rev 100954) +++ PKGBUILD2013-11-13 20:11:54 UTC (rev 100955) @@ -1,23 +0,0 @@ -# $Id$ -# Maintainer: Daniel Wallace danielwallace at gtmanfred dot com -# Contributor: Christopher Rosell chri...@tanuki.se -pkgname=livestreamer -pkgver=1.6.1 -pkgrel=1 -pkgdesc='CLI program that launches streams from various streaming services in a custom video player' -arch=('any') -url='https://github.com/chrippa/livestreamer' -license=('BSD') -depends=('python-requests' 'rtmpdump' 'python-setuptools') -provides=('livestreamer') -conflicts=('livestreamer-git') -options=(!emptydirs) -source=(http://pypi.python.org/packages/source/l/$pkgname/$pkgname-$pkgver.tar.gz) -sha256sums=('6c33fb11f94e4bce6eeca1cc2d9ea622ef731c6be06b7caa2810f719c4514103') - -package() { - cd $srcdir/$pkgname-$pkgver - python setup.py install --root=$pkgdir/ --optimize=1 -} - -# vim:set ts=2 sw=2 et: Copied: livestreamer/repos/community-any/PKGBUILD (from rev 100954, livestreamer/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2013-11-13 20:11:54 UTC (rev 100955) @@ -0,0 +1,23 @@ +# $Id$ +# Maintainer: Daniel Wallace danielwallace at gtmanfred dot com +# Contributor: Christopher Rosell chri...@tanuki.se +pkgname=livestreamer +pkgver=1.7.0 +pkgrel=1 +pkgdesc='CLI program that launches streams from various streaming services in a custom video player' +arch=('any') +url='https://github.com/chrippa/livestreamer' +license=('BSD') +depends=('python-requests' 'rtmpdump' 'python-setuptools') +provides=('livestreamer') +conflicts=('livestreamer-git') +options=(!emptydirs) +source=(http://pypi.python.org/packages/source/l/$pkgname/$pkgname-$pkgver.tar.gz) +sha256sums=('5c653cd3883349f97181ec36692983cebcfaf62c864692d365450d4300dc6067') + +package() { + cd $srcdir/$pkgname-$pkgver + python setup.py install --root=$pkgdir/ --optimize=1 +} + +# vim:set ts=2 sw=2 et: Deleted: requests-v2.patch === --- requests-v2.patch 2013-11-13 20:11:27 UTC (rev 100954) +++ requests-v2.patch 2013-11-13 20:11:54 UTC (rev 100955) @@ -1,13 +0,0 @@ -diff --git a/setup.py b/setup.py -index c22c109..dcbcbfa 100644 a/setup.py -+++ b/setup.py -@@ -4,7 +4,7 @@ from setuptools import setup - from sys import version_info, path as sys_path - from os.path import abspath, dirname, join - --deps = [requests=1.0,2.0] -+deps = [requests=1.0,3.0] - packages = [livestreamer, - livestreamer.stream, - livestreamer.plugin,
[arch-commits] Commit in livestreamer/repos/community-any (3 files)
Date: Thursday, September 26, 2013 @ 15:16:06 Author: dwallace Revision: 97643 archrelease: copy trunk to community-any Added: livestreamer/repos/community-any/PKGBUILD (from rev 97642, livestreamer/trunk/PKGBUILD) livestreamer/repos/community-any/requests-v2.patch (from rev 97642, livestreamer/trunk/requests-v2.patch) Deleted: livestreamer/repos/community-any/PKGBUILD ---+ PKGBUILD | 57 +--- requests-v2.patch | 13 +++ 2 files changed, 45 insertions(+), 25 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2013-09-26 13:15:39 UTC (rev 97642) +++ PKGBUILD2013-09-26 13:16:06 UTC (rev 97643) @@ -1,25 +0,0 @@ -# $Id$ -# Maintainer: Daniel Wallace danielwallace at gtmanfred dot com -# Contributor: Christopher Rosell chri...@tanuki.se -pkgname=livestreamer -pkgver=1.5.2 -pkgrel=1 -pkgdesc='CLI program that launches streams from various streaming services in a custom video player' -arch=('any') -url='https://github.com/chrippa/livestreamer' -license=('BSD') -depends=('python-requests' 'rtmpdump' 'python-distribute') -provides=('livestreamer') -conflicts=('livestreamer-git') -options=(!emptydirs) -source=(http://pypi.python.org/packages/source/l/$pkgname/$pkgname-$pkgver.tar.gz) -sha256sums=('0cd090699fcfe03ef69e5d53fd842513be47a29da9fccf4a545febe9fdb7c4b4') - -package() { - cd $srcdir/$pkgname-$pkgver - python setup.py install --root=$pkgdir/ --optimize=1 -} - -# vim:set ts=2 sw=2 et: - - Copied: livestreamer/repos/community-any/PKGBUILD (from rev 97642, livestreamer/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2013-09-26 13:16:06 UTC (rev 97643) @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Daniel Wallace danielwallace at gtmanfred dot com +# Contributor: Christopher Rosell chri...@tanuki.se +pkgname=livestreamer +pkgver=1.5.2 +pkgrel=2 +pkgdesc='CLI program that launches streams from various streaming services in a custom video player' +arch=('any') +url='https://github.com/chrippa/livestreamer' +license=('BSD') +depends=('python-requests' 'rtmpdump' 'python-setuptools') +provides=('livestreamer') +conflicts=('livestreamer-git') +options=(!emptydirs) +source=(http://pypi.python.org/packages/source/l/$pkgname/$pkgname-$pkgver.tar.gz +requests-v2.patch) +sha256sums=('0cd090699fcfe03ef69e5d53fd842513be47a29da9fccf4a545febe9fdb7c4b4' +'bb9c898e194c15b0e91da195e82caeac4b4ff72ccec0ca1b97ced60b4c2c4ba8') + +prepare(){ + cd $pkgname-$pkgver + patch -Np1 -i $srcdir/requests-v2.patch +} + +package() { + cd $srcdir/$pkgname-$pkgver + python setup.py install --root=$pkgdir/ --optimize=1 +} + +# vim:set ts=2 sw=2 et: + + Copied: livestreamer/repos/community-any/requests-v2.patch (from rev 97642, livestreamer/trunk/requests-v2.patch) === --- requests-v2.patch (rev 0) +++ requests-v2.patch 2013-09-26 13:16:06 UTC (rev 97643) @@ -0,0 +1,13 @@ +diff --git a/setup.py b/setup.py +index c22c109..dcbcbfa 100644 +--- a/setup.py b/setup.py +@@ -4,7 +4,7 @@ from setuptools import setup + from sys import version_info, path as sys_path + from os.path import abspath, dirname, join + +-deps = [requests=1.0,2.0] ++deps = [requests=1.0,3.0] + packages = [livestreamer, + livestreamer.stream, + livestreamer.plugin,