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

David Runge dvzrv at archlinux.org
Sat Nov 28 12:05:46 UTC 2020


    Date: Saturday, November 28, 2020 @ 12:05:46
  Author: dvzrv
Revision: 765201

archrelease: copy trunk to community-testing-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-28 12:05:25 UTC (rev 765200)
+++ PKGBUILD	2020-11-28 12:05:46 UTC (rev 765201)
@@ -1,44 +0,0 @@
-# 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}"
-}

Copied: python-pymediainfo/repos/community-testing-any/PKGBUILD (from rev 765200, python-pymediainfo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-28 12:05:46 UTC (rev 765201)
@@ -0,0 +1,44 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=pymediainfo
+pkgname=python-pymediainfo
+pkgver=5.0.3
+pkgrel=1
+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=('4124b69910050fb84162140cda5e184cb0fc13b06b85ae61ff6e47b4fca236242558b9c3c8ea90ab804ed9400171f7b1dccc25ec5961b37d1f68de21fe64580e')
+b2sums=('f3ff936100badf6899cd0eb3e1155ac82b2f6831dd9a32baf9c1f67f3f5948e5731798c3630aecd97cd86ecbd5a492e73353c19637775453a1fe291d0a15ce33')
+
+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