summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Teibes2014-06-11 06:06:24 +0200
committerCarsten Teibes2014-06-11 06:06:24 +0200
commit86bb3d1d3e854334a7e22d0baa794233e2ad7d65 (patch)
tree3014e8f96924ec78d3080d008031bea34ec77c5c
parent5554419e7d7ca9f136a5f9ca85d346fe7ecb1929 (diff)
downloadaur-86bb3d1d3e854334a7e22d0baa794233e2ad7d65.tar.gz
[fix] Correct dependencies, better description
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD14
2 files changed, 16 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 841f999f1fb..f7f5d977e49 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,24 +1,28 @@
pkgbase = python-librtmp
pkgdesc = Python interface to librtmp
pkgver = 0.2.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/chrippa/python-librtmp
arch = i686
arch = x86_64
license = custom: Simplified BSD
makedepends = python-setuptools
- makedepends = python2-setuptools
makedepends = python-cffi
+ makedepends = python2-setuptools
makedepends = python2-cffi
+ makedepends = python2-singledispatch
+ makedepends = rtmpdump
source = https://pypi.python.org/packages/source/p/python-librtmp/python-librtmp-0.2.0.tar.gz
sha256sums = 0a4385aa59f6f4d09ffa95cb85c1b0acd4678c8af3f21f45dd009d5f807a9635
pkgname = python-librtmp
- depends = python3
+ pkgdesc = Python interface to librtmp (python3 version)
+ depends = python
depends = python-cffi
depends = rtmpdump
pkgname = python2-librtmp
+ pkgdesc = Python interface to librtmp (python2 version)
depends = python2
depends = python2-singledispatch
depends = python2-cffi
diff --git a/PKGBUILD b/PKGBUILD
index 1217f51acb3..2dbb3b93d0d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,17 @@
-# Maintainer: carstene1ns <url/mail: arch carsten-teibes de>
+# Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
# Contributor: kevku <kevku@gmx.com>
pkgbase=python-librtmp
pkgname=(python-librtmp python2-librtmp)
pkgver=0.2.0
-pkgrel=1
+pkgrel=2
pkgdesc="Python interface to librtmp"
arch=('i686' 'x86_64')
url="https://github.com/chrippa/python-librtmp"
license=('custom: Simplified BSD')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-cffi' 'python2-cffi')
+makedepends=('python-setuptools' 'python-cffi'
+ 'python2-setuptools' 'python2-cffi' 'python2-singledispatch'
+ 'rtmpdump')
source=("https://pypi.python.org/packages/source/p/$pkgbase/$pkgbase-$pkgver.tar.gz")
sha256sums=('0a4385aa59f6f4d09ffa95cb85c1b0acd4678c8af3f21f45dd009d5f807a9635')
@@ -21,7 +23,7 @@ prepare() {
build() {
# build for python 3
cd python-librtmp-$pkgver
- python3 setup.py build
+ python setup.py build
# build for python 2
cd ../python2-librtmp-$pkgver
@@ -30,7 +32,8 @@ build() {
# package for python 3
package_python-librtmp() {
- depends=('python3' 'python-cffi' 'rtmpdump')
+ depends=('python' 'python-cffi' 'rtmpdump')
+ pkgdesc+=" (python3 version)"
cd python-librtmp-$pkgver
@@ -41,6 +44,7 @@ package_python-librtmp() {
# package for python 2
package_python2-librtmp() {
depends=('python2' 'python2-singledispatch' 'python2-cffi' 'rtmpdump')
+ pkgdesc+=" (python2 version)"
cd python2-librtmp-$pkgver