[arch-commits] Commit in python-pafy/repos/community-any (PKGBUILD PKGBUILD)
Johannes Löthberg
demize at archlinux.org
Mon Feb 12 00:30:42 UTC 2018
Date: Monday, February 12, 2018 @ 00:30:41
Author: demize
Revision: 292593
archrelease: copy trunk to community-any
Added:
python-pafy/repos/community-any/PKGBUILD
(from rev 292592, python-pafy/trunk/PKGBUILD)
Deleted:
python-pafy/repos/community-any/PKGBUILD
----------+
PKGBUILD | 58 +++++++++++++++++++++++-----------------------------------
1 file changed, 23 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-02-12 00:30:32 UTC (rev 292592)
+++ PKGBUILD 2018-02-12 00:30:41 UTC (rev 292593)
@@ -1,35 +0,0 @@
-# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
-
-pkgbase=python-pafy
-pkgname=(python-pafy python2-pafy)
-pkgver=0.5.3.1
-pkgrel=1
-
-pkgdesc="Python API for YouTube"
-url="http://np1.github.io/pafy"
-arch=('any')
-license=('GPL3')
-
-makedepends=('python-setuptools' 'python2-setuptools')
-optdepends=('ffmpeg: fix issues with audio file downloads'
- 'youtube-dl: alternative backend')
-
-source=("python-pafy-$pkgver.tar.gz::https://github.com/np1/pafy/archive/v$pkgver.tar.gz")
-
-sha1sums=('03e7d2e1570aa712ab3823cba89298a5c624e94a')
-
-package_python-pafy() {
- depends=('python')
-
- cd pafy-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-pafy() {
- depends=('python2')
-
- cd pafy-$pkgver
-
- python2 setup.py install --root="$pkgdir" --optimize=1
- rm "$pkgdir"/usr/bin/ytdl
-}
Copied: python-pafy/repos/community-any/PKGBUILD (from rev 292592, python-pafy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-02-12 00:30:41 UTC (rev 292593)
@@ -0,0 +1,23 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+
+pkgname=python-pafy
+pkgver=0.5.4
+pkgrel=1
+
+pkgdesc="Python API for YouTube"
+url="http://np1.github.io/pafy"
+arch=('any')
+license=('GPL3')
+
+depends=('python' 'youtube-dl')
+makedepends=('python-setuptools')
+optdepends=('ffmpeg: fix issues with audio file downloads')
+
+source=("python-pafy-$pkgver.tar.gz::https://github.com/np1/pafy/archive/v$pkgver.tar.gz")
+
+sha1sums=('bb79fce739f44e6ac0f13911c8e388378fd5fccf')
+
+package_python-pafy() {
+ cd pafy-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list