[arch-commits] Commit in python2-eyed3/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Oct 23 14:07:19 UTC 2020


    Date: Friday, October 23, 2020 @ 14:07:19
  Author: felixonmars
Revision: 730690

archrelease: copy trunk to community-testing-any

Added:
  python2-eyed3/repos/community-testing-any/
  python2-eyed3/repos/community-testing-any/PKGBUILD
    (from rev 730689, python2-eyed3/trunk/PKGBUILD)

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Copied: python2-eyed3/repos/community-testing-any/PKGBUILD (from rev 730689, python2-eyed3/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2020-10-23 14:07:19 UTC (rev 730690)
@@ -0,0 +1,38 @@
+# Maintainer: Aaron Griffin <aaron at archlinux.org>
+# Contributor: Federico Quagliata (quaqo) <quaqo at despammed.com>
+# Contributor: cdhotfire <cdhotfire at gmail.com>
+
+pkgbase=python2-eyed3
+pkgname=('python-eyed3')
+pkgver=0.9.5
+pkgrel=1
+epoch=1
+pkgdesc="A Python module and program for processing information about mp3 files"
+arch=('any')
+url="http://eyed3.nicfit.net/"
+license=('GPL')
+depends=('python-deprecation' 'python-filetype' 'python-setuptools')
+checkdepends=('python-factory-boy' 'python-pytest')
+source=(https://files.pythonhosted.org/packages/source/e/eyeD3/eyeD3-$pkgver.tar.gz
+        http://eyed3.nicfit.net/releases/eyeD3-test-data.tgz)
+sha256sums=('faf5806197f2093e82c2830d41f2378f07b3a9da07a16fafb14fc6fbdebac50a'
+            '8bd11c921e0e34f88b84f1a51e24290d0243f3b2660233a527902f2c13af3a67')
+options=(!emptydirs)
+
+build() {
+  cd eyeD3-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd eyeD3-$pkgver
+  ln -s "$srcdir"/eyeD3-test-data.tgz test/
+  make test-data
+  # Skipping display plugin tests because grako is not packaged, and abandoned upstream
+  python -m pytest --deselect test/test_display_plugin.py
+}
+
+package_python-eyed3() {
+  cd eyeD3-$pkgver
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}



More information about the arch-commits mailing list