[127894] trunk/dports/python

hum at macports.org hum at macports.org
Thu Nov 6 06:10:44 PST 2014


Revision: 127894
          https://trac.macports.org/changeset/127894
Author:   hum at macports.org
Date:     2014-11-06 06:10:44 -0800 (Thu, 06 Nov 2014)
Log Message:
-----------
New port: py-breadability @ 0.1.20 - Port of Readability HTML parser in Python

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

Added: trunk/dports/python/py-breadability/Portfile
===================================================================
--- trunk/dports/python/py-breadability/Portfile	                        (rev 0)
+++ trunk/dports/python/py-breadability/Portfile	2014-11-06 14:10:44 UTC (rev 127894)
@@ -0,0 +1,39 @@
+# -*- 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
+
+set real_name       breadability
+name                py-${real_name}
+version             0.1.20
+categories-append   textproc
+platforms           darwin
+supported_archs     noarch
+license             BSD
+maintainers         hum openmaintainer
+
+description         Port of Readability HTML parser in Python
+
+long_description    ${description}
+
+homepage            https://github.com/bookieio/breadability
+master_sites        https://pypi.python.org/packages/source/b/${real_name}/
+distname            ${real_name}-${version}
+
+checksums           rmd160  8d862c9606f2bee49df7eb8007ba6878006c8963 \
+                    sha256  f1a7fdad1e58e295df80954879143824c706bbfb1826cdf4b1d15de1a86afe99
+
+python.versions     26 27 32 33 34
+
+if {${name} ne ${subport}} {
+    depends_lib-append  port:py${python.version}-docopt \
+                        port:py${python.version}-chardet \
+                        port:py${python.version}-lxml
+
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       [lindex ${master_sites} 0]
+    livecheck.regex     "${real_name}-(\\d+(?:\\.\\d+)*(-p\\d+)?)${extract.suffix}"
+}


Property changes on: trunk/dports/python/py-breadability/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141106/7848a279/attachment.html>


More information about the macports-changes mailing list