summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Fink2020-02-09 13:26:09 +0200
committerChristoph Fink2020-02-09 13:26:09 +0200
commitc77e6aa269078ba5f7b70230e66a1d3876667b13 (patch)
tree6da08199048415a27dde14dd6f7fc75d8b345b80
parent4da48a3c4ad4f5a6150b1fcc0bc6a3d089166030 (diff)
downloadaur-python-av.tar.gz
v7.0.1-0
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD19
2 files changed, 14 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 284463aac10..c5cff51211b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,17 @@
pkgbase = python-av
pkgdesc = Pythonic bindings for FFmpeg
- pkgver = 6.2.0
- pkgrel = 3
+ pkgver = 7.0.1
+ pkgrel = 0
url = https://docs.mikeboers.com/pyav/
- arch = any
+ arch = x86_64
+ arch = i686
license = BSD
makedepends = python-setuptools
makedepends = cython
depends = python
depends = ffmpeg
- source = https://github.com/mikeboers/PyAV/archive/v6.2.0.tar.gz
- sha256sums = 312dbcd3efa5bc060ce6003f2579a65b1e8c017473fb55755e8e148b87dcf696
+ source = https://files.pythonhosted.org/packages/source/a/av/av-7.0.1.tar.gz
+ sha256sums = fb13afa8967d112f3f78ee6ded1082546c32462dfdfa8dac81c9539f5bda0a83
pkgname = python-av
diff --git a/PKGBUILD b/PKGBUILD
index 3b3a7c85c84..acdb03c8d82 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,14 @@
# Maintainer: peippo <christoph.fink@gmail.com>
pkgname="python-av"
+_name=${pkgname#python-}
pkgdesc="Pythonic bindings for FFmpeg"
url="https://docs.mikeboers.com/pyav/"
-pkgver=6.2.0
-pkgrel=3
+pkgver=7.0.1
+pkgrel=0
-arch=("any")
+arch=("x86_64" "i686")
license=("BSD")
makedepends=(
@@ -19,20 +20,16 @@ depends=(
"ffmpeg"
)
-source=("https://github.com/mikeboers/PyAV/archive/v${pkgver}.tar.gz")
-sha256sums=("312dbcd3efa5bc060ce6003f2579a65b1e8c017473fb55755e8e148b87dcf696")
-
-prepare() {
- cd "${srcdir}/PyAV-${pkgver}"
-}
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
+sha256sums=("fb13afa8967d112f3f78ee6ded1082546c32462dfdfa8dac81c9539f5bda0a83")
build() {
- cd "${srcdir}"/PyAV-${pkgver}
+ cd "${srcdir}"/${_name}-${pkgver}
python setup.py build
}
package() {
- cd "${srcdir}/PyAV-${pkgver}"
+ cd "${srcdir}/${_name}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1
install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/python-av/LICENSE"