[arch-commits] Commit in python2-eyed3/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Nov 12 18:05:22 UTC 2020
Date: Thursday, November 12, 2020 @ 18:05:22
Author: felixonmars
Revision: 752939
archrelease: copy trunk to community-staging-any
Added:
python2-eyed3/repos/community-staging-any/
python2-eyed3/repos/community-staging-any/PKGBUILD
(from rev 752937, python2-eyed3/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: python2-eyed3/repos/community-staging-any/PKGBUILD (from rev 752937, python2-eyed3/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-12 18:05:22 UTC (rev 752939)
@@ -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=2
+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