Date: Tue, 29 Mar 2022 17:11:42 GMT From: Mikael Urankar <mikael@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 3d50502a5212 - main - net-p2p/bazarr: Update to 1.0.3 Message-ID: <202203291711.22THBgTV080145@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=3d50502a5212a0e3d3845384356179ec620e5d11 commit 3d50502a5212a0e3d3845384356179ec620e5d11 Author: Michiel van Baak Jansen <michiel@vanbaak.eu> AuthorDate: 2022-03-29 15:15:50 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2022-03-29 17:11:10 +0000 net-p2p/bazarr: Update to 1.0.3 While at it, read package info like the other *arrs do as well. Changes: https://github.com/morpheus65535/bazarr/releases/tag/v1.0.3 PR: 262244 --- net-p2p/bazarr/Makefile | 10 +++++++--- net-p2p/bazarr/distinfo | 6 +++--- net-p2p/bazarr/files/bazarr.in | 2 +- net-p2p/bazarr/files/package_info.in | 5 +++++ 4 files changed, 16 insertions(+), 7 deletions(-) diff --git a/net-p2p/bazarr/Makefile b/net-p2p/bazarr/Makefile index 28aafe209133..17327551cc4c 100644 --- a/net-p2p/bazarr/Makefile +++ b/net-p2p/bazarr/Makefile @@ -1,6 +1,6 @@ PORTNAME= bazarr DISTVERSIONPREFIX= v -DISTVERSION= 1.0.2 +DISTVERSION= 1.0.3 CATEGORIES= net-p2p python MASTER_SITES= https://github.com/morpheus65535/bazarr/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/ DISTNAME= bazarr @@ -22,7 +22,10 @@ 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 @@ -35,10 +38,11 @@ do-build: @${PYTHON_CMD} -O -m compileall ${WRKSRC} do-install: - ${INSTALL} -d -m 755 ${STAGEDIR}/${DATADIR} - cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${DATADIR} + ${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} diff --git a/net-p2p/bazarr/distinfo b/net-p2p/bazarr/distinfo index f242d7965c84..0de95666ca97 100644 --- a/net-p2p/bazarr/distinfo +++ b/net-p2p/bazarr/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1640866057 -SHA256 (bazarr/1.0.2/bazarr.zip) = 688e6ec5f311f94a70c5b52c24d358623a955f67a993ad096ea587461078bfb2 -SIZE (bazarr/1.0.2/bazarr.zip) = 35078710 +TIMESTAMP = 1645913425 +SHA256 (bazarr/1.0.3/bazarr.zip) = 540a5c4d80110ba35a566c17829cd6f31444db7ade7c6b9d0603eccaaed8a628 +SIZE (bazarr/1.0.3/bazarr.zip) = 36387287 diff --git a/net-p2p/bazarr/files/bazarr.in b/net-p2p/bazarr/files/bazarr.in index 15c226c3d2d0..0202ec49d196 100644 --- a/net-p2p/bazarr/files/bazarr.in +++ b/net-p2p/bazarr/files/bazarr.in @@ -29,7 +29,7 @@ load_rc_config ${name} pidfile="${bazarr_datadir}/bazarr.pid" procname="%%PYTHON_CMD%%" command="/usr/sbin/daemon" -command_args="-f -p ${pidfile} ${procname} %%DATADIR%%/bazarr.py --no-update -c ${bazarr_datadir}" +command_args="-f -p ${pidfile} ${procname} %%DATADIR%%/bin/bazarr.py --no-update -c ${bazarr_datadir}" start_precmd=bazarr_precmd bazarr_precmd() diff --git a/net-p2p/bazarr/files/package_info.in b/net-p2p/bazarr/files/package_info.in new file mode 100644 index 000000000000..4c9d2e0dcbfe --- /dev/null +++ b/net-p2p/bazarr/files/package_info.in @@ -0,0 +1,5 @@ +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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203291711.22THBgTV080145>