Received: from out2.migadu.com (out2.migadu.com [188.165.223.204]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 322CD782B28 for <~alpine/aports@lists.alpinelinux.org>; Wed, 22 Sep 2021 09:18:54 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amk.ie; s=key1; t=1632302332; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=1yw+3/Jvr0OLQD9nOeb3Bymw3bqK0oiSUuKA3/42sJc=; b=Oq8Wx67x90kWQlZejG4+/Ww9ULUaDYZT1HoVQYJsJW66+O0CPM7whTzEJrGcN4OIbJjm0W 5c3APwDhmn/OwsEoegliePWJ43BuDKIcg6oSQP4KRJXL1cOg6Wyk8C/mmGSXksiBVcgFRp MUsIk3NOUf4zVUOcDJudf/PpxDWDQPzF0NBOZz+wtPaVsYY0m0V7SPDeFBghnnaCCHZE8r NjRbs0ovNVCtdytcyPbtR8yWEHnuYG9OXelVX4aQk7XY7MKTc7WiUgveYNpIcUZkvMNg1a t8NZ9ChmGTKW0/RVtCpzXt+50ZRmkdmvEKqB0MgdKF0q+n/YweZd+yX8cjHarw== From: Alex McGrath To: ~alpine/aports@lists.alpinelinux.org Cc: Alex McGrath Subject: [PATCH] testing/sublime-music: upgrade to 0.11.13 Date: Wed, 22 Sep 2021 10:18:31 +0100 Message-Id: <20210922091831.7499-1-amk@amk.ie> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: amk@amk.ie --- This changes the build system to poetry (noted comments found in jedi-language-server related to build issues) and also fixes the licence as it was previously wrong testing/sublime-music/APKBUILD | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/testing/sublime-music/APKBUILD b/testing/sublime-music/APKBUILD index 8e7712d174..0c05311259 100644 --- a/testing/sublime-music/APKBUILD +++ b/testing/sublime-music/APKBUILD @@ -1,26 +1,33 @@ # Contributor: Alex McGrath # Maintainer: Alex McGrath pkgname=sublime-music -pkgver=0.11.10 -pkgrel=1 +pkgver=0.11.13 +pkgrel=0 pkgdesc="A native, GTK3 Subsonic client for the Linux Desktop" url="https://sublimemusic.app" arch="all !s390x !ppc64le" # py3-mpv doesnt work on these options="!check" # tests fail -license="GPL-3.0-only" +license="GPL-3.0-or-later" depends="python3 py3-bleach py3-dataclasses-json py3-dateutil py3-deepdiff py3-fuzzywuzzy py3-gobject3 py3-levenshtein py3-mpv py3-peewee py3-requests py3-semver py3-pychromecast py3-bottle py3-keyring libnotify" -makedepends="py3-setuptools" +makedepends="py3-pip poetry" source="sublime-music-$pkgver.tar.gz::https://gitlab.com/sumner/sublime-music/-/archive/v$pkgver/sublime-music-v$pkgver.tar.gz" builddir="$srcdir/$pkgname-v$pkgver" build() { - python3 setup.py build + # poetry is buggy and doesn't include python source files if it is built in + # the default directory...? + mkdir -p /tmp/$pkgname && cp -r . /tmp/$pkgname && cd /tmp/$pkgname + poetry build --format wheel } package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" + python3 -m pip install \ + --no-warn-script-location --ignore-installed --no-deps --root="$pkgdir" \ + /tmp/$pkgname/dist/sublime_music-$pkgver-py3-none-any.whl } -sha512sums="8da2e4287c976cc798e364229dc4636cc81ad3c4632785097e38b1f65d10d659922b9b6565e8b270e5fe514678fca10849571509463c09919b8121a0e0bde711 sublime-music-0.11.10.tar.gz" +sha512sums=" +813778e35fcb2d83da7da6c1f514b49a321314ebcbff8c524141857e0643426b1bc8a8739171605bec389f3077c6e343e1b9183ac3c981b79f00668eb2d9ce37 sublime-music-0.11.13.tar.gz +" -- 2.33.0