[arch-commits] Commit in python-pymediainfo/repos/community-any (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Mon Apr 12 09:35:59 UTC 2021


    Date: Monday, April 12, 2021 @ 09:35:58
  Author: dvzrv
Revision: 915870

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-12 09:35:47 UTC (rev 915869)
+++ PKGBUILD	2021-04-12 09:35:58 UTC (rev 915870)
@@ -1,44 +0,0 @@
-# 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}"
-}

Copied: python-pymediainfo/repos/community-any/PKGBUILD (from rev 915869, python-pymediainfo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-04-12 09:35:58 UTC (rev 915870)
@@ -0,0 +1,44 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=pymediainfo
+pkgname=python-pymediainfo
+pkgver=5.0.4
+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' 'python-toml')
+checkdepends=('python-pytest' 'python-pytest-runner')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('0bc231b51e526bf69d10c59085814578c9f5fb542099613ea014484cfb37757413e640332604c01070d5e6bf81564514346400b5a7522864a5755acece2aafa8')
+b2sums=('37578ba4c748ad7b8fbd435ce8bd4b452812667aec06131b00e27bdc7b50baf10e8d8517e270d1f02eb7c867a278ccf68b3c5f26a588a55c970b79287aabe31d')
+
+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