[arch-commits] Commit in beets/repos/community-any (PKGBUILD PKGBUILD beet beet)

Maxime Gauduin alucryd at archlinux.org
Wed Jan 13 14:42:03 UTC 2021


    Date: Wednesday, January 13, 2021 @ 14:42:03
  Author: alucryd
Revision: 820468

archrelease: copy trunk to community-any

Added:
  beets/repos/community-any/PKGBUILD
    (from rev 820467, beets/trunk/PKGBUILD)
  beets/repos/community-any/beet
    (from rev 820467, beets/trunk/beet)
Deleted:
  beets/repos/community-any/PKGBUILD
  beets/repos/community-any/beet

----------+
 PKGBUILD |  185 +++++++++++++++++++++++++++++++------------------------------
 beet     |    4 -
 2 files changed, 99 insertions(+), 90 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-13 14:41:57 UTC (rev 820467)
+++ PKGBUILD	2021-01-13 14:42:03 UTC (rev 820468)
@@ -1,88 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Adrian Sampson <adrian at radbox.org>
-
-pkgname=beets
-pkgver=1.4.9
-pkgrel=5
-pkgdesc='Flexible music library manager and tagger'
-arch=(any)
-url=https://beets.io/
-license=(MIT)
-depends=(
-  python-jellyfish
-  python-munkres
-  python-musicbrainzngs
-  python-mutagen
-  python-setuptools
-  python-six
-  python-unidecode
-  python-yaml
-)
-makedepends=(
-  git
-  python-sphinx
-)
-optdepends=(
-  'bash-completion: Bash completion'
-  'bs1770gain: ReplayGain plugin'
-  'ffmpeg: Convert plugin'
-  'gst-plugins-bad: Chromaprint/Acoustid, BPD, ReplayGain plugins'
-  'gst-plugins-good: Chromaprint/Acoustid, BPD, ReplayGain plugins'
-  'gst-plugins-ugly: Chromaprint/Acoustid, BPD, ReplayGain plugins'
-  'gst-libav: Chromaprint/Acoustid, BPD, ReplayGain plugins'
-  'gst-python: Chromaprint/Acoustid, BPD, ReplayGain plugins'
-  'imagemagick: Thumbnails plugin'
-  'python-beautifulsoup4: Lyrics plugin'
-  'python-flask: Web plugin'
-  'python-gobject: ReplayGain plugin'
-  'python-mpd2: MPDStats plugin'
-  'python-pyacoustid: Chromaprint/Acoustid plugin'
-  'python-pylast: LastGenre plugin'
-  'python-requests: Chromaprint/Acoustid, BPD, FetchArt plugins'
-  'python-xdg: Thumbnails plugin'
-)
-_tag=2b8a2eb96bcaf418cdfcc0cfe762a18e31cff138
-source=(
-  git+https://github.com/beetbox/beets.git#tag=${_tag}
-  beet
-)
-b2sums=('SKIP'
-        '1b36ba07d85f0fbcae0a3d8253ce2e5d7ecf8a17c6f0bb946579663de546d53cd4fe5da84ee8d880d7f95f48e66ef6010232a995d86d0c52b52218cd991a7782')
-
-pkgver() {
-  cd beets
-
-  git describe --tags | sed 's/^v//'
-}
-
-prepare() {
-  cd beets
-
-  git show dab0c1f9abda5b17cc7488f89a6fe08be7bc56a0 --  beets/util/functemplate.py | git apply - # Python 3.8.4 compatibility
-}
-
-build() {
-  cd beets
-
-  python setup.py build sdist
-}
-
-package() {
-  cd beets
-
-  python setup.py install --root="${pkgdir}" --optimize=1
-
-  install -dm 755 "${pkgdir}"/usr/share/bash-completion/completions/
-  install -m 644 ../beet "${pkgdir}"/usr/share/bash-completion/completions/
-  install -dm 755 "${pkgdir}"/usr/share/zsh/site-functions
-  install -m 644 extra/_beet "${pkgdir}"/usr/share/zsh/site-functions/
-
-  install -dm 755 "${pkgdir}"/usr/share/man/man{1,5}
-  install -m 644 man/beet.1 "${pkgdir}"/usr/share/man/man1/
-  install -m 644 man/beetsconfig.5 "${pkgdir}"/usr/share/man/man5/
-
-  install -dm 755 "${pkgdir}"/usr/share/licenses/beets
-  install -m 644 LICENSE "${pkgdir}"/usr/share/licenses/beets/
-}
-
-# vim: ts=2 sw=2 et:

Copied: beets/repos/community-any/PKGBUILD (from rev 820467, beets/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-01-13 14:42:03 UTC (rev 820468)
@@ -0,0 +1,97 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Adrian Sampson <adrian at radbox.org>
+
+pkgname=beets
+pkgver=1.4.9.r1031.cbc045f1c
+pkgrel=1
+pkgdesc='Flexible music library manager and tagger'
+arch=(any)
+url=https://beets.io/
+license=(MIT)
+depends=(
+  python-confuse
+  python-jellyfish
+  python-mediafile
+  python-munkres
+  python-musicbrainzngs
+  python-setuptools
+  python-six
+  python-unidecode
+  python-yaml
+)
+makedepends=(
+  git
+  python-setuptools
+  python-sphinx
+)
+checkdepends=(
+  bash-completion
+  imagemagick
+  python-discogs-client
+  python-flask
+  python-mock
+  python-mpd2
+  python-nose
+  python-nose-exclude
+  python-pylast
+  python-reflink
+  python-requests-oauthlib
+  python-responses
+  python-xdg
+)
+optdepends=(
+  'bash-completion: Bash completion'
+  'bs1770gain: ReplayGain plugin'
+  'chromaprint: Chromaprint/Acoustid plugin'
+  'ffmpeg: Convert, ReplayGain plugins'
+  'gst-plugins-bad: Chromaprint/Acoustid, BPD, ReplayGain plugins'
+  'gst-plugins-good: Chromaprint/Acoustid, BPD, ReplayGain plugins'
+  'gst-plugins-ugly: Chromaprint/Acoustid, BPD, ReplayGain plugins'
+  'gst-libav: Chromaprint/Acoustid, BPD, ReplayGain plugins'
+  'gst-python: Chromaprint/Acoustid, BPD, ReplayGain plugins'
+  'imagemagick: Thumbnails plugin'
+  'python-beautifulsoup4: Lyrics plugin'
+  'python-flask: Web plugin'
+  'python-gobject: ReplayGain plugin'
+  'python-mpd2: MPDStats plugin'
+  'python-pyacoustid: Chromaprint/Acoustid plugin'
+  'python-pylast: LastGenre plugin'
+  'python-requests: Chromaprint/Acoustid, BPD, FetchArt plugins'
+  'python-xdg: Thumbnails plugin'
+)
+_commit=cbc045f1c8f898acd8798ff134a25557f1769525
+source=(
+  git+https://github.com/beetbox/beets.git#commit=${_commit}
+  beet
+)
+b2sums=('SKIP'
+        '1b36ba07d85f0fbcae0a3d8253ce2e5d7ecf8a17c6f0bb946579663de546d53cd4fe5da84ee8d880d7f95f48e66ef6010232a995d86d0c52b52218cd991a7782')
+
+pkgver() {
+  cd beets
+  git describe --tags | sed 's/^v//; s/-/.r/; s/-g/./'
+}
+
+build() {
+  cd beets
+  python setup.py build sdist
+}
+
+check() {
+  cd beets
+  python -m nose \
+    --exclude-test=test.test_ui.CompletionTest \
+    --exclude-test=test.test_zero.ZeroPluginTest
+}
+
+package() {
+  cd beets
+  python setup.py install --root="${pkgdir}" --optimize=1
+  install -Dm 644 ../beet -t "${pkgdir}"/usr/share/bash-completion/completions/
+  install -Dm 644 extra/_beet -t "${pkgdir}"/usr/share/zsh/site-functions/
+  install -Dm 644 man/beet.1 -t "${pkgdir}"/usr/share/man/man1/
+  install -Dm 644 man/beetsconfig.5 -t "${pkgdir}"/usr/share/man/man5/
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/beets/
+}
+
+# vim: ts=2 sw=2 et:

Deleted: beet
===================================================================
--- beet	2021-01-13 14:41:57 UTC (rev 820467)
+++ beet	2021-01-13 14:42:03 UTC (rev 820468)
@@ -1,2 +0,0 @@
-_load_beet_completion() { eval "$(beet completion)"; }
-complete -F _load_beet_completion beet

Copied: beets/repos/community-any/beet (from rev 820467, beets/trunk/beet)
===================================================================
--- beet	                        (rev 0)
+++ beet	2021-01-13 14:42:03 UTC (rev 820468)
@@ -0,0 +1,2 @@
+_load_beet_completion() { eval "$(beet completion)"; }
+complete -F _load_beet_completion beet



More information about the arch-commits mailing list