FreeBSD Bugzilla – Attachment 231768 Details for
Bug 261897
net-p2p/bazarr-devel: Read package info from package_info, like all other *arrs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-net-p2p-bazarr-devel-Read-package_info-to-be-inline-.patch
0001-net-p2p-bazarr-devel-Read-package_info-to-be-inline-.patch (text/plain), 2.82 KB, created by
Michiel van Baak Jansen
on 2022-02-12 11:22:10 UTC
(
hide
)
Description:
0001-net-p2p-bazarr-devel-Read-package_info-to-be-inline-.patch
Filename:
MIME Type:
Creator:
Michiel van Baak Jansen
Created:
2022-02-12 11:22:10 UTC
Size:
2.82 KB
patch
obsolete
>From b31226bda1ee21c89574a7fd386b6dcd8573de26 Mon Sep 17 00:00:00 2001 >From: Michiel van Baak Jansen <michiel@vanbaak.eu> >Date: Mon, 31 Jan 2022 15:25:37 +0100 >Subject: [PATCH] net-p2p/bazarr-devel: Read package_info to be inline with the > other *arrs > >--- > net-p2p/bazarr-devel/Makefile | 9 +++++++-- > net-p2p/bazarr-devel/files/bazarr.in | 2 +- > net-p2p/bazarr-devel/files/package_info.in | 5 +++++ > 3 files changed, 13 insertions(+), 3 deletions(-) > create mode 100644 net-p2p/bazarr-devel/files/package_info.in > >diff --git a/net-p2p/bazarr-devel/Makefile b/net-p2p/bazarr-devel/Makefile >index ef4afab32b54..5454e09678bb 100644 >--- a/net-p2p/bazarr-devel/Makefile >+++ b/net-p2p/bazarr-devel/Makefile >@@ -1,6 +1,7 @@ > 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 >@@ -23,7 +24,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 >@@ -36,10 +40,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-devel/files/bazarr.in b/net-p2p/bazarr-devel/files/bazarr.in >index 15c226c3d2d0..0202ec49d196 100644 >--- a/net-p2p/bazarr-devel/files/bazarr.in >+++ b/net-p2p/bazarr-devel/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-devel/files/package_info.in b/net-p2p/bazarr-devel/files/package_info.in >new file mode 100644 >index 000000000000..4c9d2e0dcbfe >--- /dev/null >+++ b/net-p2p/bazarr-devel/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 >-- >2.34.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
michiel
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 261897
: 231768