[arch-commits] Commit in python-pymediainfo/repos/community-staging-any (2 files)

David Runge dvzrv at archlinux.org
Fri Nov 20 19:00:27 UTC 2020


    Date: Friday, November 20, 2020 @ 19:00:27
  Author: dvzrv
Revision: 758030

archrelease: copy trunk to community-staging-any

Added:
  python-pymediainfo/repos/community-staging-any/PKGBUILD
    (from rev 758029, python-pymediainfo/trunk/PKGBUILD)
Deleted:
  python-pymediainfo/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   88 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 44 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-20 19:00:21 UTC (rev 758029)
+++ PKGBUILD	2020-11-20 19:00:27 UTC (rev 758030)
@@ -1,44 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=pymediainfo
-pkgname=python-pymediainfo
-pkgver=4.3
-pkgrel=3
-pkgdesc="A Python wrapper around the MediaInfo library"
-arch=('any')
-url="https://github.com/sbraz/pymediainfo/"
-license=('MIT')
-depends=('libmediainfo' 'python')
-makedepends=('mediainfo' 'python-setuptools-scm')
-checkdepends=('python-pytest' 'python-pytest-runner')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('641b335761a7382b4bb7e559afbba1a9694a3b588bc329187b62d1d6cb769a6ff0c110033e4fb50ab39991687a6f728cab53d528ecedf0164c55a9ce31250fe8')
-b2sums=('a085268c90fd963501b0f57f4e58e000c58db57e902bfedf13b67ae2b56334b333bb028f24f7593416ba956943650031a3ab0b6d6627c9ffd3728e70c34182bb')
-
-prepare() {
-  mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
-}
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  python setup.py build
-}
-
-check() {
-  cd "${pkgname}-${pkgver}"
-  export PYTHONPATH="build:$PYTHONPATH"
-  pytest -v
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  python setup.py install --skip-build \
-                          --optimize=1 \
-                          --root="${pkgdir}"
-  # license
-  install -vDm 644 LICENSE \
-    -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  # docs
-  install -vDm 644 {AUTHORS,README.rst} \
-    -t "${pkgdir}/usr/share/doc/${pkgname}"
-}

Copied: python-pymediainfo/repos/community-staging-any/PKGBUILD (from rev 758029, python-pymediainfo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-20 19:00:27 UTC (rev 758030)
@@ -0,0 +1,44 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=pymediainfo
+pkgname=python-pymediainfo
+pkgver=5.0.2
+pkgrel=2
+pkgdesc="A Python wrapper around the MediaInfo library"
+arch=('any')
+url="https://github.com/sbraz/pymediainfo/"
+license=('MIT')
+depends=('libmediainfo' 'python')
+makedepends=('mediainfo' 'python-setuptools-scm')
+checkdepends=('python-pytest' 'python-pytest-runner')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('7db94cf2326a518f7693f2e8d76aa7aef3440466b0eac768a553cc0763d3bceb84d8051dcd79db6577e22a4ddd580f910ac286c571f3e51197ef2e268a73671a')
+b2sums=('e741802ebdf64752e41648d490179cf56510800fe1c631520be138bbb985a03f061a80d59b71a44ef73e7198853198e1d85c7007d5b99f26f2033b7f6026a4b5')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py build
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  export PYTHONPATH="build:$PYTHONPATH"
+  pytest -v
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py install --skip-build \
+                          --optimize=1 \
+                          --root="${pkgdir}"
+  # license
+  install -vDm 644 LICENSE \
+    -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  # docs
+  install -vDm 644 {AUTHORS,README.rst} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+}



More information about the arch-commits mailing list