FreeBSD Bugzilla – Attachment 147494 Details for
Bug 193784
devel/py-mwlib: fix dependencies, create rc scripts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for devel/py-mwlib
devel_py-mwlib.diff (text/plain), 6.99 KB, created by
Steve Wills
on 2014-09-20 03:24:06 UTC
(
hide
)
Description:
patch for devel/py-mwlib
Filename:
MIME Type:
Creator:
Steve Wills
Created:
2014-09-20 03:24:06 UTC
Size:
6.99 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 368232) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= mwlib > PORTVERSION= 0.15.14 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= devel python > MASTER_SITES= CHEESESHOP > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >@@ -13,27 +13,29 @@ > > LICENSE= BSD3CLAUSE > >-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}parsing>0:${PORTSDIR}/devel/py-parsing \ >+RUN_DEPENDS= \ >+ ${PYTHON_PKGNAMEPREFIX}apipkg>=1.2:${PORTSDIR}/devel/py-apipkg \ >+ ${PYTHON_PKGNAMEPREFIX}bottle>=0.10:${PORTSDIR}/www/py-bottle \ >+ ${PYTHON_PKGNAMEPREFIX}flup>=1.0:${PORTSDIR}/www/py-flup \ > ${PYTHON_PKGNAMEPREFIX}gevent>=0:${PORTSDIR}/devel/py-gevent \ >+ ${PYTHON_PKGNAMEPREFIX}lockfile>=0.8:${PORTSDIR}/devel/py-lockfile \ >+ ${PYTHON_PKGNAMEPREFIX}lxml>=0:${PORTSDIR}/devel/py-lxml \ > ${PYTHON_PKGNAMEPREFIX}odfpy>=0.9:${PORTSDIR}/devel/py-odfpy \ >- ${PYTHON_PKGNAMEPREFIX}webob>=0.9.6.1:${PORTSDIR}/www/py-webob \ >- ${PYTHON_PKGNAMEPREFIX}lockfile>=0.8:${PORTSDIR}/devel/py-lockfile \ >- ${PYTHON_PKGNAMEPREFIX}timelib>=0.2:${PORTSDIR}/devel/py-timelib \ >+ ${PYTHON_PKGNAMEPREFIX}pyparsing>=1.5.7:${PORTSDIR}/devel/py-pyparsing15 \ > ${PYTHON_PKGNAMEPREFIX}pdf>=1.12:${PORTSDIR}/print/py-pdf \ >- ${PYTHON_PKGNAMEPREFIX}simplejson>2.0.8:${PORTSDIR}/devel/py-simplejson \ >- ${PYTHON_PKGNAMEPREFIX}flup>=1.0:${PORTSDIR}/www/py-flup \ >- ${PYTHON_PKGNAMEPREFIX}imaging>0:${PORTSDIR}/graphics/py-imaging \ >+ ${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow \ > ${PYTHON_PKGNAMEPREFIX}pylib>=1.4.0:${PORTSDIR}/devel/py-pylib \ >- ${PYTHON_PKGNAMEPREFIX}lxml>=0:${PORTSDIR}/devel/py-lxml \ >- ${PYTHON_PKGNAMEPREFIX}apipkg>=0:${PORTSDIR}/devel/py-apipkg \ > ${PYTHON_PKGNAMEPREFIX}qserve>=0:${PORTSDIR}/devel/py-qserve \ > ${PYTHON_PKGNAMEPREFIX}roman>=0:${PORTSDIR}/math/py-roman \ >- ${PYTHON_PKGNAMEPREFIX}sqlite3dbm>=0:${PORTSDIR}/databases/py-sqlite3dbm >+ ${PYTHON_PKGNAMEPREFIX}simplejson>2.0.8:${PORTSDIR}/devel/py-simplejson \ >+ ${PYTHON_PKGNAMEPREFIX}sqlite3dbm>=0:${PORTSDIR}/databases/py-sqlite3dbm \ >+ ${PYTHON_PKGNAMEPREFIX}timelib>=0.2:${PORTSDIR}/devel/py-timelib \ >+ ${PYTHON_PKGNAMEPREFIX}webob>=0.9.6.1:${PORTSDIR}/www/py-webob > >-USES= zip >-USE_PYTHON= 2 >-USE_PYDISTUTILS= yes >-PYDISTUTILS_AUTOPLIST= yes >+USES= zip python:2 >+USE_PYTHON= distutils autoplist >+USE_RC_SUBR= mwqserve nserve nslave postman >+SUB_LIST= PYTHON_CMD=${PYTHON_CMD} > > post-patch: > ${REINPLACE_CMD} \ >Index: files/mwqserve.in >=================================================================== >--- files/mwqserve.in (revision 0) >+++ files/mwqserve.in (working copy) >@@ -0,0 +1,38 @@ >+#! /bin/sh >+# >+# $FreeBSD$ >+# >+ >+# PROVIDE: mwqserve >+# REQUIRE: DAEMON >+# KEYWORD: shutdown >+ >+# >+# Add the following lines to /etc/rc.conf to enable mwqserve: >+# >+#mwqserve_enable="YES" >+ >+. /etc/rc.subr >+ >+name="mwqserve" >+rcvar="mwqserve_enable" >+ >+load_rc_config $name >+ >+: ${mwqserve_user:=www} >+: ${mwqserve_group:=www} >+: ${mwqserve_enable:=NO} >+ >+pidfile="/var/run/${name}.pid" >+command="/usr/sbin/daemon" >+command_args="-c -f -p ${pidfile} %%PREFIX%%/bin/mw-qserve ${mwqserve_args}" >+command_interpreter="%%PYTHON_CMD%%" >+procname="%%PREFIX%%/bin/mw-qserve" >+ >+start_precmd=mwqserve_pre_start >+ >+mwqserve_pre_start() { >+ /usr/bin/install -o ${mwqserve_user} -g ${mwqserve_group} -m 644 /dev/null ${pidfile} >+} >+ >+run_rc_command "$1" > >Property changes on: files/mwqserve.in >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/nserve.in >=================================================================== >--- files/nserve.in (revision 0) >+++ files/nserve.in (working copy) >@@ -0,0 +1,38 @@ >+#! /bin/sh >+# >+# $FreeBSD$ >+# >+ >+# PROVIDE: nserve >+# REQUIRE: DAEMON >+# KEYWORD: shutdown >+ >+# >+# Add the following lines to /etc/rc.conf to enable nserve: >+# >+#nserve_enable="YES" >+ >+. /etc/rc.subr >+ >+name="nserve" >+rcvar="nserve_enable" >+ >+load_rc_config $name >+ >+: ${nserve_user:=www} >+: ${nserve_group:=www} >+: ${nserve_enable:=NO} >+ >+pidfile="/var/run/${name}.pid" >+command="/usr/sbin/daemon" >+command_args="-c -f -p ${pidfile} %%PREFIX%%/bin/nserve ${nserve_args}" >+command_interpreter="%%PYTHON_CMD%%" >+procname="%%PREFIX%%/bin/nserve" >+ >+start_precmd=nserve_pre_start >+ >+nserve_pre_start() { >+ /usr/bin/install -o ${nserve_user} -g ${nserve_group} -m 644 /dev/null ${pidfile} >+} >+ >+run_rc_command "$1" > >Property changes on: files/nserve.in >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/nslave.in >=================================================================== >--- files/nslave.in (revision 0) >+++ files/nslave.in (working copy) >@@ -0,0 +1,38 @@ >+#! /bin/sh >+# >+# $FreeBSD$ >+# >+ >+# PROVIDE: nslave >+# REQUIRE: DAEMON >+# KEYWORD: shutdown >+ >+# >+# Add the following lines to /etc/rc.conf to enable nslave: >+# >+#nslave_enable="YES" >+ >+. /etc/rc.subr >+ >+name="nslave" >+rcvar="nslave_enable" >+ >+load_rc_config $name >+ >+: ${nslave_user:=www} >+: ${nslave_group:=www} >+: ${nslave_enable:=NO} >+ >+pidfile="/var/run/${name}.pid" >+command="/usr/sbin/daemon" >+command_args="-c -f -p ${pidfile} %%PREFIX%%/bin/nslave ${nslave_args}" >+command_interpreter="%%PYTHON_CMD%%" >+procname="%%PREFIX%%/bin/nslave" >+ >+start_precmd=nslave_pre_start >+ >+nslave_pre_start() { >+ /usr/bin/install -o ${nslave_user} -g ${nslave_group} -m 644 /dev/null ${pidfile} >+} >+ >+run_rc_command "$1" > >Property changes on: files/nslave.in >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/postman.in >=================================================================== >--- files/postman.in (revision 0) >+++ files/postman.in (working copy) >@@ -0,0 +1,38 @@ >+#! /bin/sh >+# >+# $FreeBSD$ >+# >+ >+# PROVIDE: postman >+# REQUIRE: DAEMON >+# KEYWORD: shutdown >+ >+# >+# Add the following lines to /etc/rc.conf to enable postman: >+# >+#postman_enable="YES" >+ >+. /etc/rc.subr >+ >+name="postman" >+rcvar="postman_enable" >+ >+load_rc_config $name >+ >+: ${postman_user:=www} >+: ${postman_group:=www} >+: ${postman_enable:=NO} >+ >+pidfile="/var/run/${name}.pid" >+command="/usr/sbin/daemon" >+command_args="-c -f -p ${pidfile} %%PREFIX%%/bin/postman ${postman_args}" >+command_interpreter="%%PYTHON_CMD%%" >+procname="%%PREFIX%%/bin/postman" >+ >+start_precmd=postman_pre_start >+ >+postman_pre_start() { >+ /usr/bin/install -o ${postman_user} -g ${postman_group} -m 644 /dev/null ${pidfile} >+} >+ >+run_rc_command "$1" > >Property changes on: files/postman.in >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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
Actions:
View
|
Diff
Attachments on
bug 193784
: 147494