Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Sep 2009 21:23:37 -0300 (BRT)
From:      Sylvio Cesar <scjamorim@bsd.com.br>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        miwi@FreeBSD.org
Subject:   ports/139097: [NEW PORT] lang/bpython: It's an enhanced Python interactive interpreter
Message-ID:  <20090924002337.7B70C12C8F0@fbsd9amd64.scjamorim.org>
Resent-Message-ID: <200909240030.n8O0U18n035512@freefall.freebsd.org>

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

>Number:         139097
>Category:       ports
>Synopsis:       [NEW PORT] lang/bpython: It's an enhanced Python interactive interpreter
>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 Sep 24 00:30:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Sylvio Cesar
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD fbsd9amd64.scjamorim.org 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Mon Sep 14 09:00:35 BRT 2009
>Description:
Bpython is an enhanced Python interactive interpreter that uses curses
and provides the following main features: in-line syntax highlighting;
readline-like autocompletetion with suggestions displayed as you type;
expected argument specifications for functions; a handy pastebin function
to quickly submit your code and return a URL. Its goal is to bring together
a few handy ideas to enhance the standard interpreter without getting carried
away.

WWW:	http://www.bpython-interpreter.org

You can see the log in my tinderbox:

AMD64
http://www.scjamorim.org/Home/bpython-0.9.5.1-6amd64.log
http://www.scjamorim.org/Home/bpython-0.9.5.1-7amd64.log
http://www.scjamorim.org/Home/bpython-0.9.5.1-8amd64.log
http://www.scjamorim.org/Home/bpython-0.9.5.1-9amd64.log

i386
http://www.scjamorim.org/Home/bpython-0.9.5.1-6i386.log
http://www.scjamorim.org/Home/bpython-0.9.5.1-7i386.log
http://www.scjamorim.org/Home/bpython-0.9.5.1-8i386.log
http://www.scjamorim.org/Home/bpython-0.9.5.1-9i386.log

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- bpython-0.9.5.1.shar begins here ---
# 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:
#
#	bpython
#	bpython/pkg-descr
#	bpython/Makefile
#	bpython/distinfo
#	bpython/pkg-plist
#	bpython/files
#	bpython/files/patch-setup.py
#	bpython/files/pkg-message.in
#
echo c - bpython
mkdir -p bpython > /dev/null 2>&1
echo x - bpython/pkg-descr
sed 's/^X//' >bpython/pkg-descr << '38738174bee173c05ed3d75b71658eb4'
XBpython is an enhanced Python interactive interpreter that uses curses
Xand provides the following main features: in-line syntax highlighting;
Xreadline-like autocompletetion with suggestions displayed as you type;
Xexpected argument specifications for functions; a handy pastebin function
Xto quickly submit your code and return a URL. Its goal is to bring together
Xa few handy ideas to enhance the standard interpreter without getting carried
Xaway.
X
XWWW:	http://www.bpython-interpreter.org
38738174bee173c05ed3d75b71658eb4
echo x - bpython/Makefile
sed 's/^X//' >bpython/Makefile << '54b2f3913949a642b828d03c3ab1aa45'
X# New ports collection makefile for:	bpython
X# Date created:		2009-09-22
X# Whom:			Sylvio Cesar <scjamorim@bsd.com.br>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	bpython
XPORTVERSION=	0.9.5.1
XCATEGORIES=	lang python
XMASTER_SITES=	http://www.bpython-interpreter.org/releases/
X
XMAINTAINER=	scjamorim@bsd.com.br
XCOMMENT=	It's an enhanced Python interactive interpreter
X
XRUN_DEPENDS=	${LOCALBASE}/bin/pygmentize:${PORTSDIR}/textproc/py-pygments
X
XOPTIONS=	GNOME	"With Integration to the GNOME menu"	"off"
X
XWANT_GNOME=	yes
XUSE_PYTHON=	yes
XUSE_PYDISTUTILS=	easy_install
X
XSUB_FILES=	pkg-message
X
XMAN1=	bpython.1
XMAN5=	bpython-config.5
X
XEXAMPLES=	light.theme sample-config sample.theme
X
X.include <bsd.port.pre.mk>
X.if defined(WITH_GNOME)
XUSE_GNOME+=	pygnome2
XPLIST_SUB+=	WITH_GNOME=""
X.else
XPLIST_SUB+=	WITH_GNOME="@comment "
X.endif
Xpost-install:
X	${INSTALL_MAN}	${WRKSRC}/doc/${PORTNAME}.1 ${PREFIX}/man/man1
X	${INSTALL_MAN}	${WRKSRC}/doc/${PORTNAME}-config.5 ${PREFIX}/man/man5
X.if defined(WITH_GNOME)
X	${REINPLACE_CMD} -e 's,/usr/bin,${PREFIX}/bin,g; \
X	s,/usr/share/pixmaps/python.xpm,${LOCALBASE}/share/icons/gnome/22x22/categories/applications-engineering.png,g' ${WRKSRC}/data/bpython.desktop
X	${INSTALL_DATA} ${WRKSRC}/data/${PORTNAME}.desktop \
X		${PREFIX}/share/applications
X.endif
X.if !defined(NOEXAMPLESDIR)
X	${MKDIR} ${EXAMPLESDIR}
X.for files in ${EXAMPLES}
X	${INSTALL_DATA} ${WRKSRC}/${files} ${EXAMPLESDIR}
X.endfor
X.endif
X	@${CAT}	${PKGMESSAGE}
X.include <bsd.port.post.mk>
54b2f3913949a642b828d03c3ab1aa45
echo x - bpython/distinfo
sed 's/^X//' >bpython/distinfo << 'e330d68817ecb1fd68e727f557d3afad'
XMD5 (bpython-0.9.5.1.tar.gz) = 8c1e0da30c76b670e5d65fc2a17daa00
XSHA256 (bpython-0.9.5.1.tar.gz) = d1d2168c8f5f4fc9426cd865a5087bde6dcdd27aea2b7e5a483a6b27ecb40ac9
XSIZE (bpython-0.9.5.1.tar.gz) = 40026
e330d68817ecb1fd68e727f557d3afad
echo x - bpython/pkg-plist
sed 's/^X//' >bpython/pkg-plist << '3fa62b98d0992048b4482d5c5bbe5963'
X%%EXAMPLESDIR%%/light.theme
X%%EXAMPLESDIR%%/sample-config
X%%EXAMPLESDIR%%/sample.theme
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/entry_points.txt
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bpython/__init__.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bpython/__init__.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bpython/__init__.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bpython/_internal.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bpython/_internal.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bpython/_internal.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bpython/cli.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bpython/cli.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bpython/cli.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bpython/config.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bpython/config.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bpython/config.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bpython/formatter.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bpython/formatter.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bpython/formatter.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bpython/importcompletion.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bpython/importcompletion.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bpython/importcompletion.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bpython/inspection.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bpython/inspection.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bpython/inspection.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bpython/keys.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bpython/keys.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bpython/keys.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bpython/pager.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bpython/pager.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bpython/pager.pyo
Xbin/bpython
X%%WITH_GNOME%%share/applications/bpython.desktop
X@dirrm %%EXAMPLESDIR%%
X@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bpython
X@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
X@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
X@dirrmtry share/applications
3fa62b98d0992048b4482d5c5bbe5963
echo c - bpython/files
mkdir -p bpython/files > /dev/null 2>&1
echo x - bpython/files/patch-setup.py
sed 's/^X//' >bpython/files/patch-setup.py << 'c309fdafb53e1e93b67d0ee6fc609f2d'
X--- setup.py.orig	2009-09-22 21:04:59.000000000 -0300
X+++ setup.py	2009-09-22 21:35:30.000000000 -0300
X@@ -21,12 +21,6 @@
X 
X from bpython import __version__
X 
X-
X-if platform.system() == 'FreeBSD':
X-    man_dir = 'man'
X-else:
X-    man_dir = 'share/man'
X-
X setup(
X     name="bpython",
X     version = __version__,
X@@ -41,11 +35,6 @@
X         'pygments'
X     ],
X     packages = ["bpython"],
X-    data_files = [
X-        (os.path.join(man_dir, 'man1'), ['doc/bpython.1']),
X-        (os.path.join(man_dir, 'man5'), ['doc/bpython-config.5']),
X-        ('share/applications', ['data/bpython.desktop'])
X-    ],
X     entry_points = {
X         'console_scripts': [
X             'bpython = bpython.cli:main',
c309fdafb53e1e93b67d0ee6fc609f2d
echo x - bpython/files/pkg-message.in
sed 's/^X//' >bpython/files/pkg-message.in << '55a199d9fa7f42ec39b62d8ff4202ec8'
X**********************************************************
X*                                                        *
X* Examples of themes and configuration were installed on *
X*                                                        *
X*    %%EXAMPLESDIR%%                   *
X*                                                        *
X* The following manpages are your friends:               *
X*                                                        *
X*    man 5 bpython-config                                * 
X*    man bpython                                         *
X*                                                        *
X**********************************************************
55a199d9fa7f42ec39b62d8ff4202ec8
exit
--- bpython-0.9.5.1.shar ends here ---

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



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