ports/119526: New port: textproc/py-stripogram - a library for converting HTML to Plain Text
Oleg Ukraincev
oleg at ht-systems.ru
Thu Jan 10 11:30:03 UTC 2008
>Number: 119526
>Category: ports
>Synopsis: New port: textproc/py-stripogram - a library for converting HTML to Plain Text
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Jan 10 11:30:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Oleg Ukraincev
>Release: 6.3-PRERELEASE
>Organization:
Hosting Telesystems
>Environment:
FreeBSD srv.lss.su 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #0: Thu Jan 10 00:15:07 MSK 2008 ww at srv.lss.su:/usr/obj/usr/src/sys/LSS_0 i386
>Description:
Strip-o-Gram is a library for converting HTML to Plain Text
and stripping specified tags from HTML.
WWW: http://www.zope.org/Members/chrisw/StripOGram
Though there are no new versions since 2003, it is still used by some new projects (e.g. Diamanda http://www.rkblog.rk.edu.pl/w/p/diamanda-wiki-and-myghtyboard-forum/ ).
>How-To-Repeat:
>Fix:
shar file for port included
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# py-stripogram
# py-stripogram/Makefile
# py-stripogram/distinfo
# py-stripogram/pkg-descr
# py-stripogram/files
# py-stripogram/files/patch-setup.py
# py-stripogram/pkg-plist
#
echo c - py-stripogram
mkdir -p py-stripogram > /dev/null 2>&1
echo x - py-stripogram/Makefile
sed 's/^X//' >py-stripogram/Makefile << 'END-of-py-stripogram/Makefile'
X# New ports collection makefile for: stripogram
X# Date created: 10 January 2008
X# Whom: great.megatron
X#
X# $FreeBSD$
X#
X
XPORTNAME= stripogram
XPORTVERSION= 1.4
XCATEGORIES= textproc python
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR= squishdot
XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
XDISTNAME= stripogram-1-4
XEXTRACT_SUFX= .tgz
X
XMAINTAINER= ports at FreeBSD.org
XCOMMENT= Python library for converting HTML to Plain Text and stripping specified tags from HTML
X
XWRKSRC=${WRKDIR}/stripogram
X
XUSE_PYTHON= yes
XUSE_PYDISTUTILS=yes
X
X.include <bsd.port.mk>
END-of-py-stripogram/Makefile
echo x - py-stripogram/distinfo
sed 's/^X//' >py-stripogram/distinfo << 'END-of-py-stripogram/distinfo'
XMD5 (stripogram-1-4.tgz) = d09a0fa325ec2ae9a6a94b0b4aabd408
XSHA256 (stripogram-1-4.tgz) = 85549f4526a3e8d211219f61317bd37433a6ee31c6659cbd1ea92f52fa0c96d4
XSIZE (stripogram-1-4.tgz) = 10767
END-of-py-stripogram/distinfo
echo x - py-stripogram/pkg-descr
sed 's/^X//' >py-stripogram/pkg-descr << 'END-of-py-stripogram/pkg-descr'
XStrip-o-Gram is a library for converting HTML to Plain Text
Xand stripping specified tags from HTML.
X
XWWW: http://www.zope.org/Members/chrisw/StripOGram
END-of-py-stripogram/pkg-descr
echo c - py-stripogram/files
mkdir -p py-stripogram/files > /dev/null 2>&1
echo x - py-stripogram/files/patch-setup.py
sed 's/^X//' >py-stripogram/files/patch-setup.py << 'END-of-py-stripogram/files/patch-setup.py'
X--- setup.py.orig 2008-01-10 16:30:07.000000000 +0300
X+++ setup.py 2008-01-10 16:30:23.000000000 +0300
X@@ -1,7 +1,7 @@
X from distutils.core import setup
X
X setup(name="stripogram",
X- version="1.2",
X+ version="1.4",
X description="Strip-o-Gram HTML Conversion Library",
X author="Chris Withers",
X author_email="chrisw at nipltd.com",
END-of-py-stripogram/files/patch-setup.py
echo x - py-stripogram/pkg-plist
sed 's/^X//' >py-stripogram/pkg-plist << 'END-of-py-stripogram/pkg-plist'
X%%PYTHON_SITELIBDIR%%/stripogram/HTMLParser.py
X%%PYTHON_SITELIBDIR%%/stripogram/HTMLParser.pyc
X%%PYTHON_SITELIBDIR%%/stripogram/HTMLParser.pyo
X%%PYTHON_SITELIBDIR%%/stripogram/__init__.py
X%%PYTHON_SITELIBDIR%%/stripogram/__init__.pyc
X%%PYTHON_SITELIBDIR%%/stripogram/__init__.pyo
X%%PYTHON_SITELIBDIR%%/stripogram/html2safehtml.py
X%%PYTHON_SITELIBDIR%%/stripogram/html2safehtml.pyc
X%%PYTHON_SITELIBDIR%%/stripogram/html2safehtml.pyo
X%%PYTHON_SITELIBDIR%%/stripogram/html2text.py
X%%PYTHON_SITELIBDIR%%/stripogram/html2text.pyc
X%%PYTHON_SITELIBDIR%%/stripogram/html2text.pyo
X%%PYTHON_SITELIBDIR%%/stripogram/testStripogram.py
X%%PYTHON_SITELIBDIR%%/stripogram/testStripogram.pyc
X%%PYTHON_SITELIBDIR%%/stripogram/testStripogram.pyo
X at dirrm %%PYTHON_SITELIBDIR%%/stripogram
END-of-py-stripogram/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list