[119273] trunk/dports/python/py-dulwich/Portfile

sean at macports.org sean at macports.org
Mon Apr 21 16:00:38 PDT 2014


Revision: 119273
          https://trac.macports.org/changeset/119273
Author:   sean at macports.org
Date:     2014-04-21 16:00:38 -0700 (Mon, 21 Apr 2014)
Log Message:
-----------
py-dulwich: add devel version and update to 0.9.5

Modified Paths:
--------------
    trunk/dports/python/py-dulwich/Portfile

Modified: trunk/dports/python/py-dulwich/Portfile
===================================================================
--- trunk/dports/python/py-dulwich/Portfile	2014-04-21 23:00:33 UTC (rev 119272)
+++ trunk/dports/python/py-dulwich/Portfile	2014-04-21 23:00:38 UTC (rev 119273)
@@ -3,33 +3,55 @@
 
 PortSystem          1.0
 PortGroup           python 1.0
+PortGroup           github 1.0
 
 name                py-dulwich
-version             0.9.4
 categories-append   devel
-maintainers         yahoo.com.au:mail_ben_schmidt openmaintainer
+maintainers         yahoo.com.au:mail_ben_schmidt sean openmaintainer
+platforms           darwin
+license             GPL-2+
+
+homepage            http://samba.org/~jelmer/dulwich/
 description         Pure-Python Git Library
 long_description    Simple Pure-Python implementation of the Git file \
                     formats and protocols. Dulwich is the place where \
                     Mr. and Mrs. Git live in one of the Monty Python sketches.
-homepage            http://samba.org/~jelmer/dulwich/
-platforms           darwin
-master_sites        https://pypi.python.org/packages/source/d/dulwich
-license             GPL-2+
-distname            dulwich-${version}
 
 checksums           rmd160  26321fed55ef2effa1c0a2f0302e1e4efea87b82 \
                     sha256  1cd555533d9a5cc319f5c68e21e31be190104ee1be5b5d3899a8a522e924b3fc
 
-python.versions     26 27
+# can't set python.versions before adding custom subports
+subport py27-dulwich-devel {}
 
+if {[string match "*-devel" $subport]} {
+    github.setup        jelmer dulwich 633bd7b038c3
+    name                py-dulwich-devel
+    version             0.9.5.99
+
+    checksums           rmd160  01d02d4057ab02f5e768dfc01b40c2b6c0adc10a \
+                        sha256  6a1c4a2187cae2428accea7ed99119062c9c4973098b0e8e4b7c0efcc196d559
+} else {
+    github.setup        jelmer dulwich 0.9.5 dulwich-
+    name                py-dulwich
+
+    checksums           rmd160  8803613b4c4c1e54fd8d5393548a9055b60eb05a \
+                        sha256  16627ea38f388938054d3fb8eff7947f7d89d5eb0dc1929d5289ed3d69e38e22
+}
+
+python.versions         27
+
 if {${name} ne ${subport}} {
-    patchfiles      patch-strnlen-lion.diff
+    conflicts           py${python.version}-dulwich-devel
+    if {[string match "*-devel" $subport]} {
+        conflicts           py${python.version}-dulwich
+    } else {
+        livecheck.type  none
+    }
 
+    patchfiles          patch-strnlen-lion.diff
+
     build.target-append build_ext
     build.args          --inplace
-
-    livecheck.type  none
 } else {
     livecheck.type  regex
     livecheck.regex dulwich-(\[0-9.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140421/3b4ab43b/attachment.html>


More information about the macports-changes mailing list