[arch-commits] Commit in whipper/trunk (PKGBUILD)
Bruno Pagani
archange at archlinux.org
Sat Dec 7 15:55:51 UTC 2019
Date: Saturday, December 7, 2019 @ 15:55:51
Author: archange
Revision: 536285
Lint PKGBUILD again
Modified:
whipper/trunk/PKGBUILD
----------+
PKGBUILD | 40 ++++++++++++++++++++--------------------
1 file changed, 20 insertions(+), 20 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-12-07 15:53:18 UTC (rev 536284)
+++ PKGBUILD 2019-12-07 15:55:51 UTC (rev 536285)
@@ -12,45 +12,45 @@
pkgver=0.9.0
pkgrel=1
pkgdesc="A Unix CD ripper aiming for accuracy over speed -- forked from morituri"
-arch=('x86_64')
+arch=(x86_64)
url="https://github.com/whipper-team/whipper"
-license=('GPL3')
+license=(GPL3)
depends=(
- 'cdrdao' # for session, TOC, pregap, and ISRC extraction
- 'libcdio-paranoia' # for the actual ripping
- 'libsndfile' # for reading wav files (pulls in flac, also required for reading flac files)
- 'python-gobject'
- 'python-musicbrainzngs' # for metadata lookup
- 'python-mutagen' # for metadata handling
- 'python-pycdio' # for storing drive identification in config file
- 'python-requests'
- 'python-ruamel-yaml' # for log output
- 'python-setuptools' # for plugin support
- 'sox' # for track peak detection'
+ cdrdao # for session, TOC, pregap, and ISRC extraction
+ libcdio-paranoia # for the actual ripping
+ libsndfile # for reading wav files (pulls in flac, also required for reading flac files)
+ python-gobject
+ python-musicbrainzngs # for metadata lookup
+ python-mutagen # for metadata handling
+ python-pycdio # for storing drive identification in config file
+ python-requests
+ python-ruamel-yaml # for log output
+ python-setuptools # for plugin support
+ sox # for track peak detection
)
checkdepends=(
- 'python-twisted'
+ python-twisted
)
optdepends=('flac: For free lossless audio codec (FLAC) support')
-makedepends=('python-setuptools-scm')
-conflicts=('accuraterip-checksum')
-provides=('accuraterip-checksum')
+makedepends=(python-setuptools-scm)
+conflicts=(accuraterip-checksum)
+provides=(accuraterip-checksum)
source=("${url}/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz")
sha512sums=('49e66ad2c6e8450199a53a28bb71725704daac86ce2cbf68080d4dee1c2357cf8367ddb4735a07f2ffe612d84f016661e5b6f94efa9d5a7d6b8cf56ee32b0ae7')
build() {
- cd "${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
echo "Version: ${pkgver}" > PKG-INFO
python setup.py build
}
check() {
- cd "$srcdir/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
PYTHONPATH="build/lib.linux-${CARCH}-${python_version}/" python -m unittest discover
}
package() {
- cd "$srcdir/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
python setup.py install --root="${pkgdir}"/ --optimize=1 --skip-build
}
More information about the arch-commits
mailing list