FreeBSD Bugzilla – Attachment 172732 Details for
Bug 211174
www/py-flask-restplus: make test does nothing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fix: USE_GITHUB version
py-flask-restplus.make-test.diff (text/plain), 4.56 KB, created by
Jan Beich
on 2016-07-19 18:46:54 UTC
(
hide
)
Description:
fix: USE_GITHUB version
Filename:
MIME Type:
Creator:
Jan Beich
Created:
2016-07-19 18:46:54 UTC
Size:
4.56 KB
patch
obsolete
>commit a22c845 (HEAD -> restplus-test) >Author: Jan Beich <jbeich@FreeBSD.org> >Date: Mon Jul 18 17:52:36 2016 +0000 > > www/py-flask-restplus{,08}: fix |make test| via pytest > > PR: 211174 > Approved by: ? >--- > www/py-flask-restplus/Makefile | 22 ++++++++++++++-------- > www/py-flask-restplus/distinfo | 4 ++-- > www/py-flask-restplus08/Makefile | 22 ++++++++++++++-------- > www/py-flask-restplus08/distinfo | 4 ++-- > 4 files changed, 32 insertions(+), 20 deletions(-) > >diff --git www/py-flask-restplus/Makefile www/py-flask-restplus/Makefile >index 9d9ec3d..c11bfee 100644 >--- www/py-flask-restplus/Makefile >+++ www/py-flask-restplus/Makefile >@@ -3,7 +3,6 @@ > PORTNAME= flask-restplus > PORTVERSION= 0.9.2 > CATEGORIES= www python >-MASTER_SITES= CHEESESHOP > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} > > MAINTAINER= andrej@ebert.su >@@ -17,20 +16,27 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=0.8:www/py-flask \ > ${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema \ > ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz \ > ${PYTHON_PKGNAMEPREFIX}aniso8601>=0.82:devel/py-aniso8601 >- >-TEST_DEPENDS:= ${RUN_DEPENDS} \ >+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}blinker>0:devel/py-blinker \ > ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose \ >- ${PYTHON_PKGNAMEPREFIX}rednose>0:devel/py-rednose \ >- ${PYTHON_PKGNAMEPREFIX}blinker>0:devel/py-blinker \ >- ${PYTHON_PKGNAMEPREFIX}tzlocal>0:devel/py-tzlocal >+ ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest > > CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}flask-restplus08 > >+USE_GITHUB= yes >+GH_ACCOUNT= noirbizarre >+ > USES= python > USE_PYTHON= autoplist distutils > NO_ARCH= yes > >+.include <bsd.port.pre.mk> >+ >+.if ${PYTHON_REL} < 3300 >+TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock >+.endif >+ > do-test: >- @(cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test) >+ @${RM} -fr ${TEST_WRKSRC}/build/lib/tests >+ @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest) > >-.include <bsd.port.mk> >+.include <bsd.port.post.mk> >diff --git www/py-flask-restplus/distinfo www/py-flask-restplus/distinfo >index a60bc2f..2b56aeb 100644 >--- www/py-flask-restplus/distinfo >+++ www/py-flask-restplus/distinfo >@@ -1,3 +1,3 @@ > TIMESTAMP = 1468167697 >-SHA256 (flask-restplus-0.9.2.tar.gz) = c4313097a673ef2cffabceb44b6fdd03132ee5e7ab34d0289c37af12a3d11186 >-SIZE (flask-restplus-0.9.2.tar.gz) = 868988 >+SHA256 (noirbizarre-flask-restplus-0.9.2_GH0.tar.gz) = df87a84ec65e0b35cc9e4f98f21358087468761f45a27f2ca74583439bbb3114 >+SIZE (noirbizarre-flask-restplus-0.9.2_GH0.tar.gz) = 255824 >diff --git www/py-flask-restplus08/Makefile www/py-flask-restplus08/Makefile >index 7bf3c2c..3eac909 100644 >--- www/py-flask-restplus08/Makefile >+++ www/py-flask-restplus08/Makefile >@@ -3,7 +3,6 @@ > PORTNAME= flask-restplus > PORTVERSION= 0.8.6 > CATEGORIES= www python >-MASTER_SITES= CHEESESHOP > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} > PKGNAMESUFFIX= 08 > >@@ -18,21 +17,28 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask-RESTful>=0.3.2:www/py-flask-restful \ > ${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema \ > ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz \ > ${PYTHON_PKGNAMEPREFIX}aniso8601>=0.82:devel/py-aniso8601 >- >-TEST_DEPENDS:= ${RUN_DEPENDS} \ >+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}blinker>0:devel/py-blinker \ > ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose \ >- ${PYTHON_PKGNAMEPREFIX}rednose>0:devel/py-rednose \ >- ${PYTHON_PKGNAMEPREFIX}blinker>0:devel/py-blinker \ >- ${PYTHON_PKGNAMEPREFIX}tzlocal>0:devel/py-tzlocal >+ ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest > > CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}flask-restplus > PORTSCOUT= limit:^0\.8 > >+USE_GITHUB= yes >+GH_ACCOUNT= noirbizarre >+ > USES= python > USE_PYTHON= autoplist distutils > NO_ARCH= yes > >+.include <bsd.port.pre.mk> >+ >+.if ${PYTHON_REL} < 3300 >+TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock >+.endif >+ > do-test: >- @(cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test) >+ @${RM} -fr ${TEST_WRKSRC}/build/lib/tests >+ @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest) > >-.include <bsd.port.mk> >+.include <bsd.port.post.mk> >diff --git www/py-flask-restplus08/distinfo www/py-flask-restplus08/distinfo >index f308c7d..f7f0419 100644 >--- www/py-flask-restplus08/distinfo >+++ www/py-flask-restplus08/distinfo >@@ -1,3 +1,3 @@ > TIMESTAMP = 1468851260 >-SHA256 (flask-restplus-0.8.6.tar.gz) = 3bb76cc156b9a09da62396d82b29fa31e4f27cccf79528538fe7155cf2785593 >-SIZE (flask-restplus-0.8.6.tar.gz) = 1077073 >+SHA256 (noirbizarre-flask-restplus-0.8.6_GH0.tar.gz) = 5f10e1391e99216f74cc5053c421bfed3ccdc2ef16569bf4a31c01bfebff74c6 >+SIZE (noirbizarre-flask-restplus-0.8.6_GH0.tar.gz) = 100249
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:
andrej
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 211174
:
172608
|
172609
|
172675
|
172731
| 172732