[105954] trunk/dports/devel/leiningen/Portfile
Ryan Schmidt
ryandesign at macports.org
Fri May 10 22:51:22 PDT 2013
On May 10, 2013, at 22:28, larryv at macports.org wrote:
> Revision: 105954
> https://trac.macports.org/changeset/105954
> Author: larryv at macports.org
> Date: 2013-05-10 20:28:46 -0700 (Fri, 10 May 2013)
> Log Message:
> -----------
> leiningen: Update to 2.1.3, use github-1.0 (maintainer timeout, #38971).
>
> Modified Paths:
> --------------
> trunk/dports/devel/leiningen/Portfile
>
> Modified: trunk/dports/devel/leiningen/Portfile
> ===================================================================
> --- trunk/dports/devel/leiningen/Portfile 2013-05-11 03:23:06 UTC (rev 105953)
> +++ trunk/dports/devel/leiningen/Portfile 2013-05-11 03:28:46 UTC (rev 105954)
> @@ -1,22 +1,21 @@
> # $Id$
>
> PortSystem 1.0
> +PortGroup github 1.0
>
> -name leiningen
> -version 1.6.1.1
> +github.setup technomancy leiningen 2.1.3
> categories devel java
> maintainers ieure
> platforms darwin
> +
> description A build tool for Clojure designed to not set your hair on fire.
> long_description ${description}
>
> -homepage http://github.com/technomancy/${name}
> -master_sites https://nodeload.github.com/technomancy/leiningen/tarball
> -distfiles ${version}
> -worksrcdir technomancy-${name}-0e43e4d
> -checksums md5 dbd6ac1df529e1e3b84814b8c44265ed \
> - sha1 0c0a0f5ce680c508b4cc3422ec32904cac16fade \
> - rmd160 513a7a42df88ab0658e3c33115432e74f161a917
> +master_sites ${github.homepage}/archive
> +distname ${version}
> +worksrcdir ${name}-${version}
> +checksums rmd160 e570e300afc7084648e58fcfa5b195baf87f3ec4 \
> + sha256 6ef43e5e55e911476c6f745d26c728a45ee7de8f35b1f60c35653a50107dc3ac
What's the idea behind manually setting master_sites, distname and worksrcdir? The github portgroup is supposed to handle this for you. The choices for where to download from github are supposed to be from tags (the default) or downloads (but the downloads feature of github is deprecated so this is probably going away eventually).
More information about the macports-dev
mailing list