Changeset View
Changeset View
Standalone View
Standalone View
head/www/py-django-post_office/Makefile
# Created by: Richard Gallamore <ultima@FreeBSD.org> | # Created by: Richard Gallamore <ultima@FreeBSD.org> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= django-post_office | PORTNAME= django-post_office | ||||
PORTVERSION= 2.0.8 | PORTVERSION= 3.0.0 | ||||
DISTVERSIONPREFIX= v | DISTVERSIONPREFIX= v | ||||
CATEGORIES= www python | CATEGORIES= www python | ||||
MASTER_SITES= GH | MASTER_SITES= GH | ||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | ||||
MAINTAINER= ultima@FreeBSD.org | MAINTAINER= ultima@FreeBSD.org | ||||
COMMENT= Django app to monitor and send mail asynchronously | COMMENT= Django app to monitor and send mail asynchronously | ||||
LICENSE= MIT | LICENSE= MIT | ||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt | LICENSE_FILE= ${WRKSRC}/LICENSE.txt | ||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django-jsonfield>=0:www/py-django-jsonfield \ | RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django-jsonfield>=0:www/py-django-jsonfield \ | ||||
${PYTHON_PKGNAMEPREFIX}django18>=1.4:www/py-django18 | ${PYTHON_PKGNAMEPREFIX}django18>=1.8:www/py-django18 | ||||
USES= python | USES= python | ||||
USE_PYTHON= autoplist distutils | USE_PYTHON= autoplist distutils | ||||
NO_ARCH= yes | NO_ARCH= yes | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= ui | GH_ACCOUNT= ui | ||||
GH_TAGNAME= v3.0 | |||||
mat: Remove this and change PORTVERSION to 3.0.
As a general rule, when using USE_GITHUB, and… | |||||
ultimaAuthorUnsubmitted Not Done Inline ActionsK, I changed it because I was worried that the new versioning wouldn't be considered higher with the missing .0. Safer to keep it the same. Will remove tagname. ultima: K, I changed it because I was worried that the new versioning wouldn't be considered higher… | |||||
matUnsubmitted Not Done Inline ActionsIf you are not sure what happens with versions, ask pkg: $ pkg version -t 3.0.0 3.0 = mat: If you are not sure what happens with versions, ask pkg:
```
$ pkg version -t 3.0.0 3.0
=
``` | |||||
ultimaAuthorUnsubmitted Not Done Inline Actionsoh, wow that is quite useful! ultima: oh, wow that is quite useful! | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
Remove this and change PORTVERSION to 3.0.
As a general rule, when using USE_GITHUB, and unless using a commit hash, you almost never use GH_TAGNAME.