FreeBSD Bugzilla – Attachment 128943 Details for
Bug 172851
[PATCH] sysutils/py-supervisor: update to 3.0b1 + OPTIONS + more
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
py-supervisor.txt
py-supervisor.txt (text/plain), 1.87 KB, created by
hizel
on 2012-10-22 09:27:57 UTC
(
hide
)
Description:
py-supervisor.txt
Filename:
MIME Type:
Creator:
hizel
Created:
2012-10-22 09:27:57 UTC
Size:
1.87 KB
patch
obsolete
>diff -ruN sysutils/py-supervisor.old/Makefile sysutils/py-supervisor/Makefile >--- sysutils/py-supervisor.old/Makefile 2012-10-22 12:12:59.000000000 +0400 >+++ sysutils/py-supervisor/Makefile 2012-10-22 12:19:19.000000000 +0400 >@@ -10,7 +10,19 @@ > MAINTAINER= hizel@vyborg.ru > COMMENT= System to monitor and control a number of processes on UNIX-like OS > >-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}meld3>=0.6.4:${PORTSDIR}/www/py-meld3 >+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}meld3>=0.6.5:${PORTSDIR}/www/py-meld3 >+TEST_DEPENDS:= ${RUN_DEPENDS} \ >+ ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock >+ >+OPTIONS_DEFINE= TESTS >+TESTS_DESC= Install mock for running unit tests >+OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options >+ >+.include <bsd.port.options.mk> >+ >+.if ${PORT_OPTIONS:MTESTS} >+BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock >+.endif > > PORTDOCS= *.txt *.rst > >@@ -37,4 +49,7 @@ > .endfor > .endif > >+regression-test: build >+ @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test >+ > .include <bsd.port.mk> >diff -ruN sysutils/py-supervisor.old/files/patch-supervisor-tests-test_childutils.py sysutils/py-supervisor/files/patch-supervisor-tests-test_childutils.py >--- sysutils/py-supervisor.old/files/patch-supervisor-tests-test_childutils.py 1970-01-01 03:00:00.000000000 +0300 >+++ sysutils/py-supervisor/files/patch-supervisor-tests-test_childutils.py 2012-10-22 12:23:18.000000000 +0400 >@@ -0,0 +1,11 @@ >+--- supervisor/tests/test_childutils.py >++++ supervisor/tests/test_childutils.py >+@@ -41,7 +41,7 @@ class ChildUtilsTests(unittest.TestCase): >+ >+ def test_get_asctime(self): >+ from supervisor.childutils import get_asctime >+- timestamp = time.mktime((2009, 1, 18, 22, 14, 7, 0, 0, 0)) >++ timestamp = time.mktime((2009, 1, 18, 22, 14, 7, 0, 0, -1)) >+ result = get_asctime(timestamp) >+ self.assertEqual(result, '2009-01-18 22:14:07,000') >+
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 Raw
Actions:
View
Attachments on
bug 172851
:
128941
|
128942
| 128943