[86177] trunk/dports/net/coherence/Portfile
devans at macports.org
devans at macports.org
Thu Oct 20 08:46:24 PDT 2011
Revision: 86177
http://trac.macports.org/changeset/86177
Author: devans at macports.org
Date: 2011-10-20 08:46:21 -0700 (Thu, 20 Oct 2011)
Log Message:
-----------
coherence: add variants python26, python27, default python27, add license, increment revision.
Modified Paths:
--------------
trunk/dports/net/coherence/Portfile
Modified: trunk/dports/net/coherence/Portfile
===================================================================
--- trunk/dports/net/coherence/Portfile 2011-10-20 15:21:39 UTC (rev 86176)
+++ trunk/dports/net/coherence/Portfile 2011-10-20 15:46:21 UTC (rev 86177)
@@ -2,10 +2,14 @@
# $Id$
PortSystem 1.0
-PortGroup python26 1.0
name coherence
+
+PortGroup python 1.0
+
version 0.6.6.2
+revision 1
+license permissive
categories net multimedia python
maintainers devans openmaintainer
description Coherence, a Python UPnP and DLNA media framework
@@ -19,17 +23,34 @@
master_sites http://coherence.beebits.net/download/
distname Coherence-${version}
-checksums md5 d7a1b4abf6831c61e37a3b9e2bdc560a \
- sha1 c8f3aedf6f393e400b012b9b79a45faf6bc3c809 \
+checksums sha1 c8f3aedf6f393e400b012b9b79a45faf6bc3c809 \
rmd160 f3cea9a846059723c846cb2254aae73ff1a6a5e9
depends_lib-append \
+ port:gst-plugins-base
+
+variant python26 conflicts python27 description {Build for python 2.6} {
+ python.version 26
+ depends_lib-append \
port:py26-elementtree \
port:py26-twisted \
port:py26-gdata \
- port:py26-feedparser \
- port:gst-plugins-base
+ port:py26-feedparser
+}
+variant python27 conflicts python26 description {Build for python 2.7} {
+ python.version 27
+ depends_lib-append \
+ port:py27-elementtree \
+ port:py27-twisted \
+ port:py27-gdata \
+ port:py27-feedparser
+}
+
+if {![variant_isset python26]} {
+ default_variants +python27
+}
+
livecheck.type regex
livecheck.url [lindex ${master_sites} 0]
livecheck.regex "(?i)${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111020/9214ef5a/attachment.html>
More information about the macports-changes
mailing list