ycast python3_{8..13}
This commit is contained in:
parent
fa3b10bfa6
commit
afc7b4596e
@ -8,4 +8,5 @@ AUX ycast.init.d 517 BLAKE2B 7f811864688c02fe3412c9f0de94a1707c91b18668a59322a9c
|
||||
AUX ycast.wsgi 381 BLAKE2B 8aa1fa994713fd74bbf504420bed08cd7f6e2e9961bcc7eb4e6b73ca3a1317e866ba247b519df5f535817a8cb2598b6f8b82ffed0f8f9f5ef0bdd214a62741bb SHA512 bf6937f7c5f944b8ae42b2a29e64c2cbb82e5c622ca44d2c2e399bf8387c85685e43b4ec36c820d47206e33b5f2ae1f71e6a38185bf8b3dc8893c7d64db893ad
|
||||
DIST ycast-1.1.0.tar.gz 15018 BLAKE2B b58dd0658b75319d9f2a5d281902d75fb98bedd14539526ffa17ed979beb1a9bc62102698bbcced321a7c843682109b846fd412395ffeaa56525f3f1612623ac SHA512 f253f345924ce55c9869c625a9ce18830ecd4546894a74b5a756b383a10c5edc584121a8bc28dbe792a0b32784a0ea900edea669b9ff96766f691cac7294e95e
|
||||
EBUILD ycast-1.1.0-r3.ebuild 1664 BLAKE2B 040180ee9573ecde6150be47d8f0b43dee96d9e7288aa7aefd4e2a812c589f3a1d1509a949e6bf8163a2a080c8218507f808a9458c3381b9c27c0bab0e32393a SHA512 f0300675fa55964eb38bb39c9cfd1943889bb2305c740435917a5ec6e9f2ae05048f69a7a7565baddcc02fb9cb81191234995725349b0d9adb220d0b99f086a6
|
||||
EBUILD ycast-1.1.0-r4.ebuild 1664 BLAKE2B c995a9d72b26283d8609476187abd34cb7eb2779265b075b4c7f83742538a6204c0de4b10463d0ce83b15573a54233024aee9da64d08973e9153f2e3d8837df0 SHA512 898f1fdfc494d18c4e420b845555dd6ea298666bbaf0ae528dfce1df0be281d8ae36fe57981b8180d2f3c58d673147ce1b99e57bcc97bef14ad9958282972365
|
||||
MISC metadata.xml 645 BLAKE2B efac08f2e75861798ad7ac80ffdf4cb560c9e2e9a17ec7f29b2f85e4c2896298103e5fceca3e30e93d9282ec8686ab5dad851303a02d759954f645c51ed79cd1 SHA512 376098e53cd1c534b0e25a98d7f973330d560f5c90483b4c6badda5649a0109306fce9680ae6f6d00195b5d1d606b0b59bf84db9bc21033c44b9519f59ac9eb5
|
||||
|
69
dev-python/ycast/ycast-1.1.0-r4.ebuild
Normal file
69
dev-python/ycast/ycast-1.1.0-r4.ebuild
Normal file
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..13} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Self hosted vTuner internet radio service emulation"
|
||||
HOMEPAGE="https://github.com/milaq/YCast https://pypi.org/project/ycast/"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="test +shortuuid wscgi"
|
||||
|
||||
DOCS="README.md"
|
||||
|
||||
RDEPEND="
|
||||
acct-user/ycast
|
||||
acct-group/ycast
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/flask[${PYTHON_USEDEP}]
|
||||
dev-python/oyaml[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Radiobrowser - Access Error issue on some models #79
|
||||
# https://github.com/milaq/YCast/pull/79
|
||||
use shortuuid && eapply "${FILESDIR}/${P}-short_uuid.patch"
|
||||
}
|
||||
|
||||
# Location of Webserver's root (wscgi only)
|
||||
INSTALL_DIR="/var/www/${PN}"
|
||||
|
||||
python_install_all() {
|
||||
dodoc ${DOCS}
|
||||
distutils-r1_python_install_all
|
||||
|
||||
if use wscgi; then
|
||||
dodir "$INSTALL_DIR"
|
||||
dodir "$INSTALL_DIR/wscgi"
|
||||
newins "${FILESDIR}/${PN}.wscgi" "$INSTALL_DIR/wscgi/"
|
||||
else
|
||||
newinitd "${FILESDIR}/${PN}.init.d" "${PN}"
|
||||
fi
|
||||
|
||||
keepdir "/var/log/${PN}"
|
||||
fowners -R "${PN}:${PN}" "/var/log/${PN}"
|
||||
insinto "/etc/${PN}"
|
||||
newins "${FILESDIR}/stations.yml" stations.yml
|
||||
fowners -R "${PN}:${PN}" "/etc/${PN}"
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
DISABLE_AUTOFORMATTING=1
|
||||
DOC_CONTENTS="
|
||||
stations file is in: /etc/${PN}/
|
||||
logging goes to: /var/log/${PN}/
|
||||
for radio-browser.info access, ${PN} looks for a proxy server in http_proxy environment.
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
Loading…
x
Reference in New Issue
Block a user