mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
net-p2p/bazarr-devel: Remove port on maintainer request
Use net-p2p/bazarr instead PR: 262248
This commit is contained in:
parent
3d50502a52
commit
973ea270c4
1
MOVED
1
MOVED
@ -16971,3 +16971,4 @@ devel/p5-Log-Any-Adapter-Callback|devel/p5-Log-Any|2022-03-22|Has expired: Use d
|
||||
devel/py-asyncio||2022-03-25|Remove obsoleted port. The asyncio package has been included in the standard library since Python 3.4
|
||||
math/py-mutatormath|math/py-MutatorMath|2022-03-25|Remove duplicate port
|
||||
math/py-symcxx||2022-03-28|Deprecated because the upstream repository was experimental and is now archived
|
||||
net-p2p/bazarr-devel|net-p2p/bazarr|2022-03-29|Use net-p2p/bazarr instead
|
||||
|
@ -6,7 +6,6 @@
|
||||
SUBDIR += autoscan
|
||||
SUBDIR += awgg
|
||||
SUBDIR += bazarr
|
||||
SUBDIR += bazarr-devel
|
||||
SUBDIR += bitcoin
|
||||
SUBDIR += bitcoin-daemon
|
||||
SUBDIR += bitcoin-utils
|
||||
|
@ -1,51 +0,0 @@
|
||||
PORTNAME= bazarr
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.0.3-beta.28
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net-p2p python
|
||||
MASTER_SITES= https://github.com/morpheus65535/bazarr/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/
|
||||
PKGNAMESUFFIX= -devel
|
||||
DISTNAME= bazarr
|
||||
DIST_SUBDIR= ${PORTNAME}${PKGNAMESUFFIX}/${DISTVERSION}
|
||||
|
||||
MAINTAINER= michiel@vanbaak.eu
|
||||
COMMENT= Automatic subtitle downloader for Radarr and Sonarr
|
||||
|
||||
LICENSE= GPLv3
|
||||
|
||||
RUN_DEPENDS= ${PYNUMPY} \
|
||||
${PYTHON_PKGNAMEPREFIX}lxml>=4.3.0:devel/py-lxml@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}webrtcvad>=2.0.10:audio/py-webrtcvad@${PY_FLAVOR} \
|
||||
ffprobe:multimedia/ffmpeg \
|
||||
unrar:archivers/unrar
|
||||
|
||||
USES= python:3.7+ zip
|
||||
|
||||
USE_RC_SUBR= bazarr
|
||||
|
||||
SUB_FILES= ${PORTNAME} package_info
|
||||
SUB_LIST= PYTHON_CMD=${PYTHON_CMD} \
|
||||
MAINTAINER=${MAINTAINER} \
|
||||
PKGVERSION=${PKGVERSION} \
|
||||
USERS=${USERS}
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
USERS= bazarr
|
||||
GROUPS= bazarr
|
||||
|
||||
do-build:
|
||||
@${PYTHON_CMD} -m compileall ${WRKSRC}
|
||||
@${PYTHON_CMD} -O -m compileall ${WRKSRC}
|
||||
|
||||
do-install:
|
||||
${INSTALL} -d -m 755 ${STAGEDIR}/${DATADIR}/bin/
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${DATADIR}/bin/
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKDIR}/package_info ${STAGEDIR}/${DATADIR}/
|
||||
@${FIND} -s ${STAGEDIR} -not -type d | ${SORT} | \
|
||||
${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,3 +0,0 @@
|
||||
TIMESTAMP = 1644404522
|
||||
SHA256 (bazarr-devel/1.0.3-beta.28/bazarr.zip) = 64fea8505020f4d34efadeb33a210432f67562d1fc1e703efed2f2730b3435c8
|
||||
SIZE (bazarr-devel/1.0.3-beta.28/bazarr.zip) = 36401000
|
@ -1,42 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Author: Michiel van Baak <michiel@vanbaak.eu>
|
||||
#
|
||||
# $FreeBSD: $
|
||||
#
|
||||
# PROVIDE: bazarr
|
||||
# REQUIRE: LOGIN
|
||||
# KEYWORD: shutdown
|
||||
|
||||
# Add the following lines to /etc/rc.conf to enable bazarr:
|
||||
# bazarr_enable: Set to NO by default. Set it to YES to enable it.
|
||||
# bazarr_user: The user account bazarr daemon runs as what
|
||||
# you want it to be.
|
||||
# bazarr_datadir: Directory where bazarr user data lives.
|
||||
# Default: /usr/local/bazarr
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name=bazarr
|
||||
rcvar=bazarr_enable
|
||||
|
||||
load_rc_config ${name}
|
||||
|
||||
: ${bazarr_enable:=NO}
|
||||
: ${bazarr_user:=%%USERS%%}
|
||||
: ${bazarr_datadir:="%%PREFIX%%/bazarr"}
|
||||
|
||||
pidfile="${bazarr_datadir}/bazarr.pid"
|
||||
procname="%%PYTHON_CMD%%"
|
||||
command="/usr/sbin/daemon"
|
||||
command_args="-f -p ${pidfile} ${procname} %%DATADIR%%/bin/bazarr.py --no-update -c ${bazarr_datadir}"
|
||||
start_precmd=bazarr_precmd
|
||||
|
||||
bazarr_precmd()
|
||||
{
|
||||
if [ ! -d ${bazarr_datadir} ]; then
|
||||
install -d -o ${bazarr_user} ${bazarr_datadir}
|
||||
fi
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
@ -1,5 +0,0 @@
|
||||
PackageVersion=%%PKGVERSION%%
|
||||
PackageAuthor=%%MAINTAINER%%
|
||||
UpdateMethod=External
|
||||
UpdateMethodMessage=use 'pkg upgrade' or [create a PR](https://bugs.freebsd.org/bugzilla/enter_bug.cgi?component=Individual%20Port%28s%29&product=Ports%20%26%20Packages) requesting an update of the port
|
||||
Branch=development
|
@ -1,4 +0,0 @@
|
||||
Bazarr is a companion application to Sonarr and Radarr.
|
||||
It manages and downloads subtitles based on your requirements.
|
||||
You define your preferences by TV show or movie
|
||||
and Bazarr takes care of everything for you.
|
Loading…
Reference in New Issue
Block a user