Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / feeluown-qqmusic
Commits: e04bf064 by Felix Yan at 2024-01-25T00:22:16+02:00 upgpkg: 1.0-1 - - - - - 2 changed files: - + .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -0,0 +1,17 @@ +pkgbase = feeluown-qqmusic + pkgdesc = feeluown qqmusic plugin + pkgver = 1.0 + pkgrel = 1 + url = https://github.com/feeluown/feeluown-qqmusic + arch = any + groups = feeluown-full + license = GPL3 + checkdepends = python-pytest + makedepends = python-setuptools + depends = feeluown + depends = python-marshmallow + depends = python-requests + source = https://github.com/feeluown/feeluown-qqmusic/archive/v1.0/feeluown-qqmusic-1.0.tar.gz + sha512sums = a1d21aae9b3676fd473b606df2dc374812822506db823855ded21d3c7aa9b18b3884670d91bf96000ef6cc5b7db2d1aeae31d700eac106b36f36defbae9e8553 + +pkgname = feeluown-qqmusic ===================================== PKGBUILD ===================================== @@ -2,7 +2,7 @@ # Contributor: Bruce Zhang <[email protected]> pkgname=feeluown-qqmusic -pkgver=0.5.1 +pkgver=1.0 pkgrel=1 pkgdesc="feeluown qqmusic plugin" arch=('any') @@ -10,16 +10,22 @@ url="https://github.com/feeluown/feeluown-qqmusic" license=('GPL3') depends=('feeluown' 'python-marshmallow' 'python-requests') makedepends=('python-setuptools') +checkdepends=('python-pytest') groups=('feeluown-full') -source=("https://pypi.io/packages/source/f/fuo_qqmusic/fuo_qqmusic-$pkgver.tar.gz") -sha512sums=('7fc132949e6a52315cafe97926c2ce4ceeda3a19e594df65b0530e844270ecea22aa8cb5233f66f6c79eec2feedf682fc3eb07cbdad8f91fb057cf4a3736f2cc') +source=("https://github.com/feeluown/feeluown-qqmusic/archive/v$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('a1d21aae9b3676fd473b606df2dc374812822506db823855ded21d3c7aa9b18b3884670d91bf96000ef6cc5b7db2d1aeae31d700eac106b36f36defbae9e8553') build() { - cd fuo_qqmusic-$pkgver + cd feeluown-qqmusic-$pkgver python setup.py build } +check() { + cd feeluown-qqmusic-$pkgver + pytest +} + package() { - cd fuo_qqmusic-$pkgver + cd feeluown-qqmusic-$pkgver python setup.py install --root="$pkgdir/" --optimize=1 --skip-build } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/feeluown-qqmusic/-/commit/e04bf0647fed1910062e923a519e46ad27588e13 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/feeluown-qqmusic/-/commit/e04bf0647fed1910062e923a519e46ad27588e13 You're receiving this email because of your account on gitlab.archlinux.org.
