[127637] trunk/dports/devel/git-extras
Ryan Schmidt
ryandesign at macports.org
Fri Oct 31 05:58:33 PDT 2014
On Oct 31, 2014, at 7:46 AM, Kurt Hindenburg wrote:
>
> Well as I mentioned, I couldn’t get it to work removing those lines. It appears they are not using the tarball URL but rather the archive one.
As far as I was able to determine, all revisions and tags of all github projects are available via both the old tarball URLs and the new archive URLs. The content of the tarball that gets created is the same. The only difference is the name of the enclosing directory (which is why the checksums differ). So it should not matter which is used.
This diff shows how the github portgroup was meant to be used in this situation; this also fixes the livecheck.
Index: Portfile
===================================================================
--- Portfile (revision 127646)
+++ Portfile (working copy)
@@ -4,7 +4,7 @@
PortSystem 1.0
PortGroup github 1.0
-github.setup visionmedia git-extras 2.1.0
+github.setup tj git-extras 2.1.0 v
maintainers nomaintainer
platforms darwin
categories devel
@@ -16,13 +16,9 @@
commit percentages and more
license MIT
-distname v${version}
-master_sites https://github.com/tj/git-extras/archive/
-worksrcdir ${name}-${version}
+checksums rmd160 dfd5e33402bc65c1ef6310c93c49371b723622ef \
+ sha256 bcd0aed2f6675929f59d4be386a34f71023c7851f69d60f2d9360131705b40b7
-checksums rmd160 6285ac20687eeb2f54cadc6bc0d55ea6e5a16d44 \
- sha256 54d7e5678e9e12b5a1eb0e83bf06a8299821a21f11d74dab1180078725afcdba
-
patchfiles patch-remove-auto-updater.diff \
patch-fix-mktemp-invocation.diff
More information about the macports-dev
mailing list