[91008] trunk/dports/python

jwa at macports.org jwa at macports.org
Wed Mar 21 08:08:22 PDT 2012


Revision: 91008
          https://trac.macports.org/changeset/91008
Author:   jwa at macports.org
Date:     2012-03-21 08:08:20 -0700 (Wed, 21 Mar 2012)
Log Message:
-----------
make py-robotframework-selenium2library a unified one, bump version to 1.0.0, add a missing file providing version information, move livecheck to the proper place, modernise checksums

Modified Paths:
--------------
    trunk/dports/python/py-robotframework-selenium2library/Portfile

Added Paths:
-----------
    trunk/dports/python/py-robotframework-selenium2library/
    trunk/dports/python/py-robotframework-selenium2library/files/
    trunk/dports/python/py-robotframework-selenium2library/files/version.py

Removed Paths:
-------------
    trunk/dports/python/py27-robotframework-selenium2library/

Modified: trunk/dports/python/py-robotframework-selenium2library/Portfile
===================================================================
--- trunk/dports/python/py27-robotframework-selenium2library/Portfile	2012-01-30 15:37:10 UTC (rev 89463)
+++ trunk/dports/python/py-robotframework-selenium2library/Portfile	2012-03-21 15:08:20 UTC (rev 91008)
@@ -2,12 +2,12 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python27 1.0
+PortGroup           python 1.0
 
-name				py27-robotframework-selenium2library
+name				py-robotframework-selenium2library
 set internal_name	robotframework-selenium2library
 
-version             0.5.2
+version             1.0.0
 categories-append   devel
 maintainers         jwa
 description         Robot Framework library to run web-based tests
@@ -17,15 +17,28 @@
 homepage	https://github.com/rtomac/${internal_name}/downloads
 
 platforms           darwin
-depends_lib         port:py27-robotframework
+python.versions		26 27
+python.default_version	27
 
 master_sites        https://github.com/downloads/rtomac/${internal_name}/
 distname            ${internal_name}-${version}
 
-checksums           md5     c98a76072287c1506f551dcfbdcec2c6 \
-                    sha1    82b0839b4f2c9bd6be9c5f82c41d7f72efef33a6 \
-                    rmd160  2f7e2f9a602e357463d38cc9500d2119d6f0a429
+checksums           rmd160  8d98280a7509039ba1ad1e316aafd80bd1326b36 \
+                    sha256  49e8e635c0dc0a0535c9437252ca98694376c9d3840bec6f8f8baf3ec79262ca
 
-livecheck.type     regex
-livecheck.url      ${homepage}
-livecheck.regex    ${internal_name}-(\[0-9\]\\.\[0-9.\]+)\\.tar\\.\[bg\]z
+if {$subport != $name} {
+    depends_lib-append	port:py${python.version}-robotframework \
+        port:py${python.version}-ez_setup
+
+    pre-build {
+        copy ${portpath}/files/version.py ${worksrcpath}
+    }
+}
+
+if {$subport == $name} {
+    livecheck.type     regex
+    livecheck.url      ${homepage}
+    livecheck.regex    ${internal_name}-(\[0-9\]\\.\[0-9.\]+)\\.tar\\.\[bg\]z
+} else {
+    livecheck.type	none
+}

Added: trunk/dports/python/py-robotframework-selenium2library/files/version.py
===================================================================
--- trunk/dports/python/py-robotframework-selenium2library/files/version.py	                        (rev 0)
+++ trunk/dports/python/py-robotframework-selenium2library/files/version.py	2012-03-21 15:08:20 UTC (rev 91008)
@@ -0,0 +1,2 @@
+# Selenium2Library version
+VERSION = "1.0.0"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120321/935bc1cb/attachment.html>


More information about the macports-changes mailing list