Details
Details
- Reviewers
antoine koobs - Commits
- rP404434: - Add missing dependency
Diff Detail
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
The new port looks good.
| devel/py-mock/Makefile | ||
|---|---|---|
| 18 | shouldn't it be depending on the version of python (not sure, i don't know how pbr works) ? Index: devel/py-mock/Makefile =================================================================== --- devel/py-mock/Makefile (revision 404428) +++ devel/py-mock/Makefile (working copy) @@ -23,4 +23,10 @@ TESTS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tox>0:${PORTSDIR}/devel/py-tox -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 3300 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}funcsigs>=0:${PORTSDIR}/devel/py-funcsigs +.endif + +.include <bsd.port.post.mk> | |
| devel/py-funcsigs/Makefile | ||
|---|---|---|
| 19 | do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} testShould just work here given authors have nicely set test_suite in setup.py | |
| devel/py-mock/Makefile | ||
| 16 | Even though python.mk implicitly adds setuptools to BUILD/RUN depends, this may not be the case forever. Upstream explicitly states they require setuptools at setup (BUILD) time, so add that here | |
| 20–21 | Remove TESTS option, conditionals, and convert test bits to use the new test framework | |
| devel/py-mock/Makefile | ||
|---|---|---|
| 24 | Leftover from TESTS option. Should be TEST_DEPENDS, and moved up to *_DEPENDS section | |