Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Nov 2006 01:52:25 -0500 (EST)
From:      Graham Todd <gtodd@bellanet.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gtodd@bellanet.org
Subject:   ports/105992: New port: textproc/py-markdown Simple Text to XHTML conversion 
Message-ID:  <20061129065225.3A09F22F41@wawanesa.iciti.ca>
Resent-Message-ID: <200611290800.kAT80U67096986@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         105992
>Category:       ports
>Synopsis:       New port: textproc/py-markdown Simple Text to XHTML conversion
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 29 08:00:24 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Graham Todd
>Release:        FreeBSD 6.1-RELEASE-p3 i386
>Organization:
Bellanet
>Environment:
System: FreeBSD localhost 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #0: Sat Jul 22 13:03:44 EDT 2006 root@localhost:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:

Python implementation of John Gruber's Markdown. From the site: 

Markdown is two things: (1) a plain text formatting syntax; and (2) a
software tool that converts the plain text formatting to (X)HTML. The
formatting syntax is designed to be easy and intuitive for web authors
and resembles typical email formatting conventions. The resultant
(X)HTML is structurally valid.
See http://daringfireball.net/projects/markdown/

This is useful in several python web frameworks (django, cherrypy).

>How-To-Repeat:
	
>Fix:

# 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-markdown
#       py-markdown/Makefile
#       py-markdown/distinfo
#       py-markdown/pkg-descr
#       py-markdown/pkg-plist
#
echo c - py-markdown
mkdir -p py-markdown > /dev/null 2>&1
echo x - py-markdown/Makefile
sed 's/^X//' >py-markdown/Makefile << 'END-of-py-markdown/Makefile'
X# New ports collection makefile for:    py-markdown
X# Date created:         28 November 2006
X# Whom:                 Graham Todd <gtodd@bellanet.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=              markdown
XPORTVERSION=           1.6
XCATEGORIES=            textproc python
XMASTER_SITES=          ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=    python-markdown
XPKGNAMEPREFIX=         ${PYTHON_PKGNAMEPREFIX}
XDISTFILES=             ${PORTNAME}-${PORTVERSION}a.zip
X
XMAINTAINER=            gtodd@bellanet.org
XCOMMENT=               Text markup to HTML conversion engine for Python
X
XUSE_ZIP=               yes
XUSE_PYTHON=            2.4
XUSE_PYDISTUTILS=       yes
XPYTHON_CMD=            ${LOCALBASE}/bin/python2.4
X
X.include <bsd.port.mk>
END-of-py-markdown/Makefile
echo x - py-markdown/distinfo
sed 's/^X//' >py-markdown/distinfo << 'END-of-py-markdown/distinfo'
XMD5 (markdown-1.6a.zip) = 21b5882f76264f84b0c6edf54ca38d2d
XSHA256 (markdown-1.6a.zip) = fbf349b8d4e4594eea50c9312754370c69d8df5ae7af4b6f5d857d17f871217b
XSIZE (markdown-1.6a.zip) = 25236
END-of-py-markdown/distinfo
echo x - py-markdown/pkg-descr
sed 's/^X//' >py-markdown/pkg-descr << 'END-of-py-markdown/pkg-descr'
XMarkdown is two things: (1) a plain text formatting syntax; and (2) a
Xsoftware tool that converts the plain text formatting to (X)HTML. The
Xformatting syntax is designed to be easy and intuitive for web authors
Xand resembles typical email formatting conventions. The resultant
X(X)HTML is structurally valid.
X
XWWW: http://www.freewisdom.org/projects/python-markdown
END-of-py-markdown/pkg-descr
echo x - py-markdown/pkg-plist
sed 's/^X//' >py-markdown/pkg-plist << 'END-of-py-markdown/pkg-plist'
Xlib/%%PYTHON_VERSION%%/site-packages/markdown.py
Xlib/%%PYTHON_VERSION%%/site-packages/markdown.pyc
X
END-of-py-markdown/pkg-plist
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061129065225.3A09F22F41>