summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Epaneshnikov2024-04-24 15:51:01 +0300
committerAlexander Epaneshnikov2024-04-24 15:51:01 +0300
commitb0c9bce3468da326d15d43efad800bdc37c2c48b (patch)
tree966b71245f99668aedce036bd17ce27d4eb53140
parent345b856b5cabbd3b267630636757427722118e50 (diff)
downloadaur-b0c9bce3468da326d15d43efad800bdc37c2c48b.tar.gz
switch to pytest
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD11
2 files changed, 6 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 931323519bec..970865257729 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = beets-git
pkgdesc = Flexible music library manager and tagger - git version
- pkgver = 1.6.0.r1302.gdae525741
+ pkgver = 1.6.0.r1424.g7543a351e
pkgrel = 1
url = http://beets.io/
arch = any
@@ -11,8 +11,7 @@ pkgbase = beets-git
checkdepends = python-discogs-client
checkdepends = python-flask
checkdepends = python-mpd2
- checkdepends = python-nose
- checkdepends = python-nose-exclude
+ checkdepends = python-pytest
checkdepends = python-pylast
checkdepends = python-requests-oauthlib
checkdepends = python-responses
@@ -49,7 +48,7 @@ pkgbase = beets-git
optdepends = python-requests: Chromaprint/Acoustid, BPD, FetchArt plugins
optdepends = python-requests-oauthlib: Beatport plugin
optdepends = python-xdg: Thumbnails plugin
- provides = beets=1.6.0.r1302.gdae525741
+ provides = beets=1.6.0.r1424.g7543a351e
conflicts = beets
source = git+https://github.com/beetbox/beets.git
md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 7a78cc5ffdbc..08a352e9ce81 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Johannes Löthberg <demizide@gmail.com>
pkgname=beets-git
-pkgver=1.6.0.r1302.gdae525741
+pkgver=1.6.0.r1424.g7543a351e
pkgrel=1
pkgdesc="Flexible music library manager and tagger - git version"
arch=('any')
@@ -33,8 +33,7 @@ checkdepends=(
python-discogs-client
python-flask
python-mpd2
- python-nose
- python-nose-exclude
+ python-pytest
python-pylast
python-requests-oauthlib
python-responses
@@ -78,11 +77,7 @@ build() {
check() {
cd beets
- python -m nose \
- --exclude-test=test.test_ui.CompletionTest \
- --exclude-test=test.test_zero.ZeroPluginTest \
- --exclude-test=test.test_embedart.EmbedartCliTest.test_accept_similar_art \
- --exclude-test=test.test_ui.ConfigTest
+ pytest -k 'not test_completion and not test_merge_duplicate_album'
}
package() {