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

Felix Yan felixonmars at gemini.archlinux.org
Fri Dec 3 00:32:31 UTC 2021


    Date: Friday, December 3, 2021 @ 00:32:30
  Author: felixonmars
Revision: 1063842

archrelease: copy trunk to community-staging-x86_64

Added:
  whipper/repos/community-staging-x86_64/
  whipper/repos/community-staging-x86_64/PKGBUILD
    (from rev 1063840, whipper/trunk/PKGBUILD)

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

Copied: whipper/repos/community-staging-x86_64/PKGBUILD (from rev 1063840, whipper/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-12-03 00:32:30 UTC (rev 1063842)
@@ -0,0 +1,67 @@
+# Maintainer : Christian Rebischke <Chris.Rebischke at archlinux.org>
+# Maintainer : Bruno Pagani <archange at archlinux.org>
+# Contributor: Frederik "Freso" S. Olesen <archlinux at freso.dk>
+# Contributor: Bastien Traverse <firstname at lastname dot email>
+# Contributor: Samantha Baldwin <fuhsaz+git at cryptic.li>
+# Contributor: Caleb Reach <jtxx000 at gmail.com>
+# Contributor: Felix Yan <felixonmars at gmail.com>
+# Contributor: Karol "Kenji Takahashi" Woźniak <kenji.sx>
+# Contributor: Mantas Mikulėnas <grawity at gmail.com>
+
+pkgname=whipper
+pkgver=0.10.0
+pkgrel=4
+pkgdesc="Python CD-DA ripper preferring accuracy over speed"
+arch=(x86_64)
+url="https://github.com/whipper-team/whipper"
+license=(GPL3)
+depends=(
+  cdrdao
+  flac
+  libcdio-paranoia
+  libsndfile
+  python-discid
+  python-gobject
+  python-musicbrainzngs
+  python-mutagen
+  python-pycdio
+  python-ruamel-yaml
+  python-setuptools
+  sox
+)
+checkdepends=(
+  python-twisted
+)
+makedepends=(python-setuptools-scm python-docutils)
+optdepends=('python-pillow: cover art support')
+conflicts=(accuraterip-checksum)
+provides=(accuraterip-checksum)
+source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
+        whipper-ruamel.yaml-0.17.patch::https://github.com/whipper-team/whipper/pull/543.patch)
+sha512sums=('728ad98185aa2d29f4fb215a597136691bb2c3590b3cac4f659238f90a3b4328c377fafe830a725b655f050538739f404b3eca853db4c39001d1b9d721dc7fd8'
+            '893e2f23717633971410e0f9917345eaec5af313d83702b36a2693b51eaf54d755d58db864de82e13e8506dc98ab548334d7ba6d02fd6c200bd0670e4bca73bf')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -p1 -i ../whipper-ruamel.yaml-0.17.patch
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  echo "Version: ${pkgver}" > PKG-INFO
+  python setup.py build
+  cd man
+  make
+}
+
+check() {
+  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 ${pkgname}-${pkgver}
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm644 -t "${pkgdir}"/usr/share/man/man1/ man/*.1
+}



More information about the arch-commits mailing list