aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-02-06 03:21:06 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-08 12:02:11 +0200
commit022ed9abd19403bfbf89474fbc04d7537779c986 (patch)
tree89ebadd2430da5c53982e623293df1ddc94bba8f
downloadpkgbuilds-022ed9abd19403bfbf89474fbc04d7537779c986.tar.xz
Import python-pafy-git
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD23
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..febbc23
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+# Generated by makepkg 4.2.1
+# Mon Jun 1 13:54:22 UTC 2015
+pkgbase = python-pafy-git
+ pkgdesc = Python API for YouTube - Download videos and retrieve metadata from YouTube.
+ pkgver = git
+ pkgrel = 1
+ url = http://np1.github.io/pafy
+ arch = any
+ license = GPL3
+ depends = python
+ source = git+https://github.com/np1/pafy.git
+ md5sums = SKIP
+
+pkgname = python-pafy-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..aeb90c5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Johannes Löthberg <johannes2kyriasis.com>
+
+pkgname=python-pafy-git
+pkgver=git
+pkgrel=1
+pkgdesc="Python API for YouTube - Download videos and retrieve metadata from YouTube."
+arch=('any')
+url="http://np1.github.io/pafy"
+license=('GPL3')
+depends=('python')
+source=('git+https://github.com/np1/pafy.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd pafy
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+package() {
+ cd pafy
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim: set ts=2 sts=2 sw=2 noet: