sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e93a4a78abdb3d7b8c09ed7d06a0b9ecc7294a42)
- From: Vlad Glagolev <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e93a4a78abdb3d7b8c09ed7d06a0b9ecc7294a42)
- Date: Wed, 6 May 2015 16:48:47 -0500
GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:
ChangeLog | 4 ++++
python-pypi/python-html2text/DEPENDS | 1 +
python-pypi/python-html2text/DETAILS | 16 ++++++++++++++++
python-pypi/python-html2text/HISTORY | 3 +++
python-pypi/python-html2text/PRE_BUILD | 4 ++++
python-pypi/python-html2text/setup.patch | 11 +++++++++++
6 files changed, 39 insertions(+)
New commits:
commit e93a4a78abdb3d7b8c09ed7d06a0b9ecc7294a42
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
python-html2text: new spell, convert HTML to Markdown-formatted text
diff --git a/ChangeLog b/ChangeLog
index 3c1cf56..bf3d898 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-05-07 Vlad Glagolev <stealth AT sourcemage.org>
+ * python-pypi/python-html2text: new spell, convert HTML to
+ Markdown-formatted text
+
2015-05-06 Vlad Glagolev <stealth AT sourcemage.org>
* perl-cpan/weakref: spell deprecated, it's a part of perl now
* perl-cpan/mail-internet: spell deprecated, it's a part of mailtools
diff --git a/python-pypi/python-html2text/DEPENDS
b/python-pypi/python-html2text/DEPENDS
new file mode 100755
index 0000000..e4ea57a
--- /dev/null
+++ b/python-pypi/python-html2text/DEPENDS
@@ -0,0 +1 @@
+depends PYTHON
diff --git a/python-pypi/python-html2text/DETAILS
b/python-pypi/python-html2text/DETAILS
new file mode 100755
index 0000000..dc41a53
--- /dev/null
+++ b/python-pypi/python-html2text/DETAILS
@@ -0,0 +1,16 @@
+ SPELL=python-html2text
+ SPELLX=html2text
+ VERSION=2015.4.14
+ SOURCE=${SPELLX}-${VERSION}.tar.gz
+
SOURCE_URL[0]=https://pypi.python.org/packages/source/h/${SPELLX}/${SOURCE}
+
SOURCE_HASH=sha512:d9d29f98f0f9f65a8d9e7f5c9fb74d8b28453185a8ba16f457a061edba12205efca8a16aa01e8fb4273ccbce84dc7416fa2a9b2b6f2713e5221f067f0ac112a0
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELLX}-${VERSION}"
+ WEB_SITE=https://github.com/Alir3z4/html2text
+ LICENSE[0]=GPL
+ ENTERED=20150507
+ SHORT="convert HTML to Markdown-formatted text"
+cat << EOF
+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).
+EOF
diff --git a/python-pypi/python-html2text/HISTORY
b/python-pypi/python-html2text/HISTORY
new file mode 100644
index 0000000..de3b177
--- /dev/null
+++ b/python-pypi/python-html2text/HISTORY
@@ -0,0 +1,3 @@
+2015-05-06 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, PRE_BUILD, setup.patch: created spell, version
+ 2015.4.14
diff --git a/python-pypi/python-html2text/PRE_BUILD
b/python-pypi/python-html2text/PRE_BUILD
new file mode 100755
index 0000000..46a91b3
--- /dev/null
+++ b/python-pypi/python-html2text/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+patch -p0 < "$SPELL_DIRECTORY/setup.patch"
diff --git a/python-pypi/python-html2text/setup.patch
b/python-pypi/python-html2text/setup.patch
new file mode 100644
index 0000000..5509df3
--- /dev/null
+++ b/python-pypi/python-html2text/setup.patch
@@ -0,0 +1,11 @@
+--- setup.py.orig 2015-04-14 20:08:44.000000000 +0300
++++ setup.py 2015-05-07 00:45:09.223916951 +0300
+@@ -62,7 +62,7 @@
+ ],
+ entry_points="""
+ [console_scripts]
+- html2text=html2text.cli:main
++ pyhtml2text=html2text.cli:main
+ """,
+ license='GNU GPL 3',
+ requires=requires_list,
- [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e93a4a78abdb3d7b8c09ed7d06a0b9ecc7294a42), Vlad Glagolev, 05/06/2015
Archive powered by MHonArc 2.6.24.