[93998] trunk/dports/python

ryandesign at macports.org ryandesign at macports.org
Wed Jun 6 11:00:53 PDT 2012


Revision: 93998
          https://trac.macports.org/changeset/93998
Author:   ryandesign at macports.org
Date:     2012-06-06 11:00:53 -0700 (Wed, 06 Jun 2012)
Log Message:
-----------
py-cssselect: new port, version 0.6.1 (#34727)

Added Paths:
-----------
    trunk/dports/python/py-cssselect/
    trunk/dports/python/py-cssselect/Portfile

Added: trunk/dports/python/py-cssselect/Portfile
===================================================================
--- trunk/dports/python/py-cssselect/Portfile	                        (rev 0)
+++ trunk/dports/python/py-cssselect/Portfile	2012-06-06 18:00:53 UTC (rev 93998)
@@ -0,0 +1,45 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem              1.0
+PortGroup               python 1.0
+
+name                    py-cssselect
+version                 0.6.1
+categories-append       devel
+platforms               darwin
+supported_archs         noarch
+license                 BSD
+maintainers             gmail.com:larry.velazquez
+
+description             cssselect parses CSS3 Selectors and translates \
+                        them to XPath 1.0
+
+long_description        cssselect parses CSS3 Selectors and translates \
+                        them to XPath 1.0 expressions. Such expressions \
+                        can be used in lxml or another XPath engine to \
+                        find the matching elements in an XML or HTML \
+                        document.
+
+homepage                http://packages.python.org/cssselect/
+master_sites            http://pypi.python.org/packages/source/c/cssselect
+distname                cssselect-${version}
+checksums               rmd160  bac67eeecd1984b12e36513969503256032fa27a \
+                        sha256  b35683a6526e24240606b46caf6f7c154a3c0f4ac4137fd2b073ddcfcb25445f
+
+python.versions         25 26 27 31 32
+python.default_version  27
+
+if {${subport} != ${name}} {
+    depends_lib-append  port:py${python.version}-distribute
+    post-destroot {
+        xinstall -m 644 -W ${worksrcpath} \
+            AUTHORS CHANGES LICENSE README.rst \
+            ${destroot}${prefix}/share/doc/${subport}
+    }
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       ${master_sites}
+    livecheck.regex     "cssselect-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+}


Property changes on: trunk/dports/python/py-cssselect/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120606/8b7f2bc8/attachment.html>


More information about the macports-changes mailing list