[32592] trunk/dports/python/py-django-devel/Portfile
Ryan Schmidt
ryandesign at macports.org
Tue Jan 8 14:09:50 PST 2008
On Jan 8, 2008, at 15:42, erickt at macports.org wrote:
> Revision: 32592
> http://trac.macosforge.org/projects/macports/changeset/32592
> Author: erickt at macports.org
> Date: 2008-01-08 13:42:49 -0800 (Tue, 08 Jan 2008)
>
> Log Message:
> -----------
> version bump to 0.96.1
>
> Modified Paths:
> --------------
> trunk/dports/python/py-django-devel/Portfile
>
> Modified: trunk/dports/python/py-django-devel/Portfile
> ===================================================================
> --- trunk/dports/python/py-django-devel/Portfile 2008-01-08
> 21:10:31 UTC (rev 32591)
> +++ trunk/dports/python/py-django-devel/Portfile 2008-01-08
> 21:42:49 UTC (rev 32592)
> @@ -4,7 +4,7 @@
> PortGroup python24 1.0
>
> name py-django-devel
> -version 0.96
> +version 0.96.1
> revision 1
When you bump a port's version, don't forget to drop the revision
back down to 0 (or remove the revision line entirely which does the
same thing).
> -master_sites http://media.djangoproject.com/releases/$
> {version}/
> +master_sites http://media.djangoproject.com/releases/0.96/
Instead of changing to hard-coding the version here, you could do
this as in the glib2 portfile and others:
set branch [join [lrange [split ${version} .] 0 1] .]
master_sites http://media.djangoproject.com/releases/$
{branch}/
More information about the macports-dev
mailing list