This quick patch updates productivity bruce to version 1.2.1 (changes on the main page[0]). This is a bugfix update, but I've taken the opportunity to include the complete example in the port. The provided example makes for a reasonable test of the port, too.
Tested on -current/i386. Patch below and available via HTTP: http://www.lfod.us/files/ports/bruce-1.2.1.diff Thanks! diffstat: 3 files changed, 17 insertions(+), 7 deletions(-) Makefile | 6 ++++-- distinfo | 10 +++++----- pkg/PLIST | 8 ++++++++ [0] http://cheeseshop.python.org/pypi/bruce -- o--------------------------{ Will Maier }--------------------------o | web:.......http://www.lfod.us/ | [EMAIL PROTECTED] | *------------------[ BSD Unix: Live Free or Die ]------------------* diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -2,8 +2,8 @@ COMMENT= Python-based presentation tool -DISTNAME= bruce-1.2 -PKGNAME= ${DISTNAME}p0 +DISTNAME= bruce-1.2.1 +PKGNAME= ${DISTNAME} CATEGORIES= productivity python @@ -26,10 +26,12 @@ NO_REGRESS= Yes post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bruce + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bruce ${INSTALL_DATA} ${WRKSRC}/doc/socrates.txt \ ${PREFIX}/share/doc/bruce/socrates.txt @sed -e "s|doc/socrates.txt|${LOCALBASE}/share/doc/socrates.txt|" \ ${WRKSRC}/README.txt > ${PREFIX}/share/doc/bruce/README @mv ${PREFIX}/bin/socrates.py ${PREFIX}/bin/socrates + @cd ${WRKSRC}/doc/examples; tar cf - * | tar xf - -C ${PREFIX}/share/examples/bruce .include <bsd.port.mk> diff --git a/distinfo b/distinfo --- a/distinfo +++ b/distinfo @@ -1,5 +1,5 @@ MD5 (bruce-1.2.tar.gz) = 8LBErADs5inw/hs -MD5 (bruce-1.2.tar.gz) = 8LBErADs5inw/hs1f33/Og== -RMD160 (bruce-1.2.tar.gz) = uKhmy4kK1mnYloYSI0rjQhw1h5A= -SHA1 (bruce-1.2.tar.gz) = ccenfBAQrBa/jzRsUm1Rq+D8xK0= -SHA256 (bruce-1.2.tar.gz) = XKN/fnxBwzWxB77W7TgxPNsDyi0eBjcFzQamwHQKuOE= -SIZE (bruce-1.2.tar.gz) = 16630 +MD5 (bruce-1.2.1.tar.gz) = EIdHy1AoVNabECSQ0fMKEw== +RMD160 (bruce-1.2.1.tar.gz) = hrEAwONvctB33JCV6trEA1dRIuE= +SHA1 (bruce-1.2.1.tar.gz) = Rr3Net6ESUgVQwie6qrE45EY+Fk= +SHA256 (bruce-1.2.1.tar.gz) = lLWK+RMO6nNJHYUy46Vv/uvirDTW7ZJyF71l9zmUv/k= +SIZE (bruce-1.2.1.tar.gz) = 139297 diff --git a/pkg/PLIST b/pkg/PLIST --- a/pkg/PLIST +++ b/pkg/PLIST @@ -1,6 +1,7 @@ @comment $OpenBSD: PLIST,v 1.2 2007/01/02 21:40:52 robert Exp $ bin/socrates lib/python${MODPY_VERSION}/site-packages/bruce/ +lib/python${MODPY_VERSION}/site-packages/bruce-1.2.1-py${MODPY_VERSION}.egg-info lib/python${MODPY_VERSION}/site-packages/bruce/__init__.py lib/python${MODPY_VERSION}/site-packages/bruce/__init__.pyc lib/python${MODPY_VERSION}/site-packages/bruce/baseinterp.py @@ -36,3 +37,10 @@ share/doc/bruce/ share/doc/bruce/ share/doc/bruce/README share/doc/bruce/socrates.txt +share/examples/bruce/ +share/examples/bruce/demo/ +share/examples/bruce/demo/example.soc +share/examples/bruce/demo/images/ +share/examples/bruce/demo/images/gstpy-logo.png +share/examples/bruce/example.py +share/examples/bruce/sample.jpg