Felix Yan pushed to branch main at Arch Linux / Packaging / Packages /
feeluown-ytmusic
Commits:
165aac8c by Felix Yan at 2024-08-14T21:25:11+03:00
upgpkg: 0.4.0-1
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,11 +1,12 @@
pkgbase = feeluown-ytmusic
pkgdesc = YouTube Music for FeelUOwn music player
- pkgver = 0.3.4
- pkgrel = 2
+ pkgver = 0.4.0
+ pkgrel = 1
url = https://github.com/feeluown/feeluown-ytmusic
arch = any
license = GPL-3.0-or-later
checkdepends = python-pytest
+ makedepends = git
makedepends = python-build
makedepends = python-installer
makedepends = python-poetry-core
@@ -19,9 +20,9 @@ pkgbase = feeluown-ytmusic
depends = python-requests
depends = python-ytmusicapi
optdepends = feeluown-netease: Lyric source
- source =
https://github.com/feeluown/feeluown-ytmusic/archive/v0.3.4/feeluown-ytmusic-0.3.4.tar.gz
+ source = git+https://github.com/feeluown/feeluown-ytmusic.git#tag=v0.4.0
source =
feeluown-ytmusic-fix-test_stream_url.patch::https://github.com/feeluown/feeluown-ytmusic/pull/9.patch
- sha256sums =
f493dc869263ad385b0965301ddb445b4634d9384413010fffe37fecd2cfb4bf
+ sha256sums =
d093d9d95fb1ee95394e78fa978b5842fb92e1913f0c3a750b87155e495a8c65
sha256sums =
1261f7a31798e6a088ce6b58cafe19f7bd460f140e7ee0257e1c15dd237d0bce
pkgname = feeluown-ytmusic
=====================================
PKGBUILD
=====================================
@@ -3,28 +3,28 @@
_name=fuo-ytmusic
pkgname=feeluown-ytmusic
-pkgver=0.3.4
-pkgrel=2
+pkgver=0.4.0
+pkgrel=1
pkgdesc="YouTube Music for FeelUOwn music player"
arch=('any')
url="https://github.com/feeluown/feeluown-ytmusic"
license=('GPL-3.0-or-later')
depends=('feeluown' 'python' 'python-pydantic' 'python-cachetools'
'python-pyqt5' 'python-pytube' 'python-requests' 'python-ytmusicapi')
-makedepends=('python-build' 'python-installer' 'python-poetry-core'
'python-wheel')
+makedepends=('git' 'python-build' 'python-installer' 'python-poetry-core'
'python-wheel')
checkdepends=('python-pytest')
optdepends=('feeluown-netease: Lyric source')
-source=("https://github.com/feeluown/feeluown-ytmusic/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
+source=("git+https://github.com/feeluown/feeluown-ytmusic.git#tag=v$pkgver"
$pkgname-fix-test_stream_url.patch::https://github.com/feeluown/feeluown-ytmusic/pull/9.patch)
-sha256sums=('f493dc869263ad385b0965301ddb445b4634d9384413010fffe37fecd2cfb4bf'
+sha256sums=('d093d9d95fb1ee95394e78fa978b5842fb92e1913f0c3a750b87155e495a8c65'
'1261f7a31798e6a088ce6b58cafe19f7bd460f140e7ee0257e1c15dd237d0bce')
prepare() {
- cd $pkgname-$pkgver
+ cd $pkgname
patch -p1 -i ../$pkgname-fix-test_stream_url.patch
}
build() {
- cd $pkgname-$pkgver
+ cd $pkgname
python -m build --wheel --no-isolation
}
@@ -36,11 +36,11 @@ check() {
--deselect tests/test_service.py::TestService::test_search_album
--deselect tests/test_service.py::TestService::test_stream_url
)
- cd $pkgname-$pkgver
+ cd $pkgname
pytest "${pytest_options[@]}"
}
package() {
- cd $pkgname-$pkgver
+ cd $pkgname
python -m installer --destdir="$pkgdir" dist/*.whl
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/feeluown-ytmusic/-/commit/165aac8c601ca3c35f0447527db34c63fe306b4c
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/feeluown-ytmusic/-/commit/165aac8c601ca3c35f0447527db34c63fe306b4c
You're receiving this email because of your account on gitlab.archlinux.org.