[118790] trunk/dports/python/py-hgsubversion/Portfile
sean at macports.org
sean at macports.org
Thu Apr 10 17:14:26 PDT 2014
Revision: 118790
https://trac.macports.org/changeset/118790
Author: sean at macports.org
Date: 2014-04-10 17:14:26 -0700 (Thu, 10 Apr 2014)
Log Message:
-----------
py-hgsubversion-devel: add new subport for beta testers
Modified Paths:
--------------
trunk/dports/python/py-hgsubversion/Portfile
Modified: trunk/dports/python/py-hgsubversion/Portfile
===================================================================
--- trunk/dports/python/py-hgsubversion/Portfile 2014-04-11 00:14:21 UTC (rev 118789)
+++ trunk/dports/python/py-hgsubversion/Portfile 2014-04-11 00:14:26 UTC (rev 118790)
@@ -6,9 +6,8 @@
PortGroup bitbucket 1.0
set realname hgsubversion
-bitbucket.setup durin42 ${realname} bab98093051b
-version 1.6
name py-${realname}
+
categories-append devel
platforms darwin
maintainers sean openmaintainer
@@ -22,12 +21,38 @@
checksums rmd160 e04882956eb19ece7dfff4f24f4a767753c3d91c \
sha256 5c756d20510afbbf3d1b831bc39fa1fa3a67b4757509b2ba677089be8cf1ded2
+# can't set python.versions before adding custom subports
+subport py27-$realname-devel {
+}
+
+if {[string match "*-devel" $subport]} {
+ bitbucket.setup seanfarley $realname e9f59add97f2
+ name py-$realname-devel
+ version 1.6.99
+
+ checksums rmd160 4bc5841faa97d8b61220a118d36a44a696e4a1db \
+ sha256 57a28c4a515834376a6fdabf193b43632ca0bb5916358b8c17980a612bf37dee
+} else {
+ bitbucket.setup durin42 $realname 1.6
+ name py-$realname
+ revision 1
+
+ checksums rmd160 3030e39110677934b47f60f11cdca9f6d90501b9 \
+ sha256 66574b43fcbda5b638f3ef2a85c88ac9fdc77916a5b17c4c9b1bf17d36af52fe
+}
+
python.versions 27
if {${name} ne ${subport}} {
depends_lib-append path:bin/hg:mercurial \
port:py${python.version}-subvertpy
+
+ conflicts py${python.version}-$realname-devel
+ if {[string match "*-devel" $subport]} {
+ conflicts py${python.version}-$realname
+ }
+
notes "
To enable ${realname}, add the following to your ~/.hgrc:
@@ -35,5 +60,7 @@
${realname} =
"
- livecheck.type none
+ if {![string match "*-devel" $subport]} {
+ livecheck.type none
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140410/d322dd98/attachment.html>
More information about the macports-changes
mailing list