2023-03-31 20:26:25 +00:00
|
|
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
2022-08-15 15:45:42 +00:00
|
|
|
|
|
|
|
pkgname=jellysub
|
2023-03-31 20:26:25 +00:00
|
|
|
_pkgname=$pkgname
|
2022-08-15 15:45:42 +00:00
|
|
|
pkgver=0.0.6
|
|
|
|
pkgrel=0
|
2023-08-11 19:49:05 +00:00
|
|
|
arch="noarch"
|
2022-08-15 15:45:42 +00:00
|
|
|
pkgdesc="Jellysub is an HTTP service which sits between Subsonic-compatible clients and a Jellyfin server."
|
|
|
|
url="https://pypi.python.org/project/$pkgname"
|
|
|
|
license="MIT"
|
|
|
|
depends="
|
|
|
|
python3
|
|
|
|
py3-aiohttp
|
|
|
|
py3-configargparse
|
|
|
|
"
|
|
|
|
makedepends='py3-setuptools'
|
|
|
|
subpackages="$pkgname-openrc"
|
|
|
|
source="
|
2023-03-31 20:26:25 +00:00
|
|
|
$_pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
|
2022-08-15 15:45:42 +00:00
|
|
|
jellysub.openrc
|
|
|
|
jellysub.conf
|
|
|
|
"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
msg "Building $pkgname"
|
|
|
|
python3 setup.py build
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build
|
|
|
|
install -Dm755 "$srcdir"/jellysub.openrc "$pkgdir"/etc/init.d/jellysub
|
|
|
|
install -Dm644 "$srcdir"/jellysub.conf "$pkgdir"/etc/conf.d/jellysub
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
msg "Checking $pkgname"
|
|
|
|
python3 setup.py test
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
|
|
|
938b8c32dd4fa093db3e00bb0ec17a362087c772f41eba0129a431c31402df0d046fb039cad2509fd9240554df69f980c81f094a8ee0455de6a09aa8b5fb4b2e jellysub-0.0.6.tar.gz
|
|
|
|
f10d2187c2cb929f80910ab3b7d80cc5be9e8d211e05ee1e36ab5a2bede2440a63d0cc9a9dc84b97f959b8dfda667654e83e4bf999e5e0ea9b98d19930a07cf7 jellysub.openrc
|
|
|
|
3b86a9c50bf5a7c1c5144b0f993a0fca5b61d56580209d8c477d81c03e2fd05bdd688c9644063eb8e04542a59cfe68a3a404215afa79a12239ed4cce326f10bd jellysub.conf
|
|
|
|
"
|