[102671] trunk/dports/python
sean at macports.org
sean at macports.org
Wed Feb 6 08:45:54 PST 2013
Revision: 102671
https://trac.macports.org/changeset/102671
Author: sean at macports.org
Date: 2013-02-06 08:45:53 -0800 (Wed, 06 Feb 2013)
Log Message:
-----------
py-html2text: add new port to convert html to markdown
Added Paths:
-----------
trunk/dports/python/py-html2text/
trunk/dports/python/py-html2text/Portfile
trunk/dports/python/py-html2text/files/
trunk/dports/python/py-html2text/files/py26-html2text
trunk/dports/python/py-html2text/files/py27-html2text
trunk/dports/python/py-html2text/files/py31-html2text
trunk/dports/python/py-html2text/files/py32-html2text
trunk/dports/python/py-html2text/files/py33-html2text
trunk/dports/python/py-html2text_select/
trunk/dports/python/py-html2text_select/Portfile
trunk/dports/python/py-html2text_select/files/
trunk/dports/python/py-html2text_select/files/base
trunk/dports/python/py-html2text_select/files/none
Copied: trunk/dports/python/py-html2text/Portfile (from rev 102670, trunk/dports/python/py-pss/Portfile)
===================================================================
--- trunk/dports/python/py-html2text/Portfile (rev 0)
+++ trunk/dports/python/py-html2text/Portfile 2013-02-06 16:45:53 UTC (rev 102671)
@@ -0,0 +1,44 @@
+# -*- 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
+PortGroup select 1.0
+PortGroup github 1.0
+
+github.setup aaronsw html2text 8ddc844b0304
+name py-html2text
+version 3.200.4
+
+categories-append textproc
+platforms darwin
+license GPL-3+
+supported_archs noarch
+maintainers sean openmaintainer
+
+description html2text is a Python script that converts a page of HTML into text
+long_description html2text is a Python script that converts a page of HTML into clean, \
+ easy-to-read plain ASCII text. Better yet, that ASCII also happens to \
+ be valid Markdown (a text-to-HTML format).
+
+checksums rmd160 f13d328001f499eecb075112220f1bdf0e723755 \
+ sha256 c3ead259341fd9b28f425fbc1a5a115d0e19e002cd09152a038bec38f0420e32
+
+python.versions 26 27 31 32 33
+
+if {${name} != ${subport}} {
+
+ depends_run port:py-html2text_select
+
+ select.group py-html2text
+ select.file ${filespath}/py${python.version}-html2text
+
+ livecheck.type none
+
+ notes "
+To make the Python ${python.branch} version of py-html2text the one that is run\
+when you execute the commands without a version suffix, e.g. 'html2text', run:
+
+port select --set ${select.group} [file tail ${select.file}]
+"
+}
Copied: trunk/dports/python/py-html2text/files/py26-html2text (from rev 102670, trunk/dports/python/py-pss/files/py26-pss)
===================================================================
--- trunk/dports/python/py-html2text/files/py26-html2text (rev 0)
+++ trunk/dports/python/py-html2text/files/py26-html2text 2013-02-06 16:45:53 UTC (rev 102671)
@@ -0,0 +1 @@
+bin/html2text-2.6
Copied: trunk/dports/python/py-html2text/files/py27-html2text (from rev 102670, trunk/dports/python/py-pss/files/py27-pss)
===================================================================
--- trunk/dports/python/py-html2text/files/py27-html2text (rev 0)
+++ trunk/dports/python/py-html2text/files/py27-html2text 2013-02-06 16:45:53 UTC (rev 102671)
@@ -0,0 +1 @@
+bin/html2text-2.7
Copied: trunk/dports/python/py-html2text/files/py31-html2text (from rev 102670, trunk/dports/python/py-pss/files/py31-pss)
===================================================================
--- trunk/dports/python/py-html2text/files/py31-html2text (rev 0)
+++ trunk/dports/python/py-html2text/files/py31-html2text 2013-02-06 16:45:53 UTC (rev 102671)
@@ -0,0 +1 @@
+bin/html2text-3.1
Copied: trunk/dports/python/py-html2text/files/py32-html2text (from rev 102670, trunk/dports/python/py-pss/files/py32-pss)
===================================================================
--- trunk/dports/python/py-html2text/files/py32-html2text (rev 0)
+++ trunk/dports/python/py-html2text/files/py32-html2text 2013-02-06 16:45:53 UTC (rev 102671)
@@ -0,0 +1 @@
+bin/html2text-3.2
Copied: trunk/dports/python/py-html2text/files/py33-html2text (from rev 102670, trunk/dports/python/py-pss/files/py33-pss)
===================================================================
--- trunk/dports/python/py-html2text/files/py33-html2text (rev 0)
+++ trunk/dports/python/py-html2text/files/py33-html2text 2013-02-06 16:45:53 UTC (rev 102671)
@@ -0,0 +1 @@
+bin/html2text-3.3
Copied: trunk/dports/python/py-html2text_select/Portfile (from rev 102670, trunk/dports/python/py-pss_select/Portfile)
===================================================================
--- trunk/dports/python/py-html2text_select/Portfile (rev 0)
+++ trunk/dports/python/py-html2text_select/Portfile 2013-02-06 16:45:53 UTC (rev 102671)
@@ -0,0 +1,31 @@
+# -*- 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 select 1.0
+
+name py-html2text_select
+version 0.1
+
+categories python devel
+license public-domain
+platforms darwin
+supported_archs noarch
+maintainers sean openmaintainer
+
+description common files for selecting default html2version version
+long_description This port installs files that allow 'port select' to be used to \
+ create links to the preferred default version of pss.
+
+homepage http://www.macports.org
+
+distfiles
+
+use_configure no
+build {}
+destroot {
+ select::install py-html2text ${filespath}/base
+ select::install py-html2text ${filespath}/none
+}
+
+livecheck.type none
Copied: trunk/dports/python/py-html2text_select/files/base (from rev 102670, trunk/dports/python/py-pss_select/files/base)
===================================================================
--- trunk/dports/python/py-html2text_select/files/base (rev 0)
+++ trunk/dports/python/py-html2text_select/files/base 2013-02-06 16:45:53 UTC (rev 102671)
@@ -0,0 +1 @@
+bin/html2text
Copied: trunk/dports/python/py-html2text_select/files/none (from rev 102670, trunk/dports/python/py-pss_select/files/none)
===================================================================
--- trunk/dports/python/py-html2text_select/files/none (rev 0)
+++ trunk/dports/python/py-html2text_select/files/none 2013-02-06 16:45:53 UTC (rev 102671)
@@ -0,0 +1 @@
+-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130206/545cc01f/attachment.html>
More information about the macports-changes
mailing list