Changeset View
Changeset View
Standalone View
Standalone View
devel/py-gitpython/Makefile
# Created by: Wen Heping <wenheping@gmail.com> | |||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= GitPython | PORTNAME= GitPython | ||||
PORTVERSION= 0.3.1 | PORTVERSION= 1.0.1 | ||||
koobs: Should be 1.0.1, no? | |||||
PORTREVISION= 1 | |||||
CATEGORIES= devel python | CATEGORIES= devel python | ||||
MASTER_SITES= CHEESESHOP | MASTER_SITES= CHEESESHOP | ||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | ||||
MAINTAINER= ports@FreeBSD.org | MAINTAINER= che@bein.link | ||||
COMMENT= Python Git Library | COMMENT= Python Git Library | ||||
DEPRECATED= No more public distfiles | LICENSE= BSD3CLAUSE | ||||
EXPIRATION_DATE= 2014-03-07 | LICENSE_FILE= ${WRKSRC}/LICENSE | ||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gitdb>0:${PORTSDIR}/devel/py-gitdb | RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gitdb>=0.6.4:${PORTSDIR}/devel/py-gitdb | ||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:${PORTSDIR}/devel/py-nose \ | |||||
${PYTHON_PKGNAMEPREFIX}mock>=0:${PORTSDIR}/devel/py-mock \ | |||||
Done Inline ActionsI couldn't find specific versions for nose/mock mentioned uptream. Where did these versions come from? https://github.com/gitpython-developers/GitPython/blob/master/test-requirements.txt koobs: I couldn't find specific versions for nose/mock mentioned uptream. Where did these versions… | |||||
Not Done Inline ActionsThe versions are actually the latest available in the ports tree for now. che_bein.link: The versions are actually the latest available in the ports tree for now. | |||||
Done Inline ActionsThe default standard is to:
In this case the only version requirement specified is: install_requires = ['gitdb >= 0.6.4'] So just set nose and mock to >0 koobs: The default standard is to:
* Match upstream (in setup.py) versions, from install_requires… | |||||
${PYTHON_PKGNAMEPREFIX}gitdb>=0.6.4:${PORTSDIR}/devel/py-gitdb | |||||
Not Done Inline ActionsId either explicitly add the following to RUN_DEPENDS: ${PYTHON_PKGNAMEPREFIX}gitdb>=0.6.4:${PORTSDIR}/devel/py-gitdb OR TEST_DEPENDS:= ${RUN_DEPENDS} \ ${PYTHON_PKGNAMEPREFIX}nose>=1.3.4:${PORTSDIR}/devel/py-nose \ ${PYTHON_PKGNAMEPREFIX}mock>=1.0.1:${PORTSDIR}/devel/py-mock Which portlint doesnt like koobs: Id either explicitly add the following to RUN_DEPENDS:
```
${PYTHON_PKGNAMEPREFIX}gitdb>=0.6.4… | |||||
Not Done Inline ActionsThis still needs to be addressed koobs: This still needs to be addressed | |||||
USE_PYTHON= yes | USES= python | ||||
USE_PYDISTUTILS=yes | USE_PYTHON= autoplist distutils | ||||
PYDISTUTILS_AUTOPLIST= yes | |||||
regression-test: build | |||||
Done Inline Actionsregression-test: build koobs: regression-test: build | |||||
Not Done Inline ActionsDone che_bein.link: Done | |||||
cd ${WRKSRC} && ${PYTHON_CMD} -m nose | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
Should be 1.0.1, no?