Date: Fri, 13 Nov 2009 18:39:24 GMT From: Alexander Best <alexbestms@wwu.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/140537: [new port] editors/py-room Message-ID: <200911131839.nADIdOJe086120@www.freebsd.org> Resent-Message-ID: <200911131840.nADIe2DW062323@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 140537 >Category: ports >Synopsis: [new port] editors/py-room >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: Fri Nov 13 18:40:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Alexander Best >Release: 9.0-CURRENT >Organization: >Environment: FreeBSD otaku 9.0-CURRENT FreeBSD 9.0-CURRENT #4 r199236M: Thu Nov 12 23:30:19 CET 2009 root@otaku:/usr/obj/usr/src/sys/ARUNDEL i386 >Description: With the goal of staying out of your way while writing creatively, PyRoom has a very specialized featureset. In fact, most features are hidden from your main interface, not cluttering your workspace with buttons and menus and statistics. - http://pyroom.org/ >How-To-Repeat: >Fix: 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-room # py-room/files # py-room/files/patch-setup.py # py-room/files/patch-PyRoom-preferences.py # py-room/files/patch-PyRoom-gui.py # py-room/Makefile # py-room/distinfo # py-room/pkg-descr # py-room/pkg-plist # echo c - py-room mkdir -p py-room > /dev/null 2>&1 echo c - py-room/files mkdir -p py-room/files > /dev/null 2>&1 echo x - py-room/files/patch-setup.py sed 's/^X//' >py-room/files/patch-setup.py << 'aa506a3748052d0fb28bddb573c4a7e2' X--- setup.py 2009-11-13 03:32:53.000000000 +0100 X+++ setup.py 2009-11-13 03:35:25.000000000 +0100 X@@ -52,9 +52,9 @@ X packages = ['PyRoom',], X package_data = {'PyRoom':['interface.glade']}, X data_files = [ X- ('/usr/share/pyroom/themes', glob.glob('themes/*.theme')), X- ('/usr/share/pyroom', ['pyroom.png']), X- ('/usr/share/applications', ['pyroom.desktop']) X+ ('%%LOCALBASE%%/share/pyroom/themes', glob.glob('themes/*.theme')), X+ ('%%LOCALBASE%%/share/pyroom', ['pyroom.png']), X+ ('%%LOCALBASE%%/share/applications', ['pyroom.desktop']) X ], X scripts=['pyroom',], X cmdclass={'install_data': InstallData}, aa506a3748052d0fb28bddb573c4a7e2 echo x - py-room/files/patch-PyRoom-preferences.py sed 's/^X//' >py-room/files/patch-PyRoom-preferences.py << '7906788b3abb79f303e10885c5a779e6' X--- PyRoom/preferences.py 2009-11-13 03:57:27.000000000 +0100 X+++ PyRoom/preferences.py 2009-11-13 03:57:44.000000000 +0100 X@@ -95,7 +95,7 @@ X self.conf_dir = os.path.join(config_home, 'pyroom') X self.data_dir = os.path.join(data_home, 'pyroom') X self.themes_dir = os.path.join(self.data_dir, 'themes') X- self.global_themes_dir = '/usr/share/pyroom/themes' X+ self.global_themes_dir = '%%LOCALBASE%%/share/pyroom/themes' X # if we are not using a global installation, X # take the themes directly from sources X if not os.path.isdir(self.global_themes_dir) : 7906788b3abb79f303e10885c5a779e6 echo x - py-room/files/patch-PyRoom-gui.py sed 's/^X//' >py-room/files/patch-PyRoom-gui.py << '4de5e49ad3e88b6ca89ec21458e7f18f' X--- PyRoom/gui.py.orig 2009-11-13 04:07:00.000000000 +0100 X+++ PyRoom/gui.py 2009-11-13 04:07:12.000000000 +0100 X@@ -53,7 +53,7 @@ X X order of preference is homedir, global dir, source dir (if available)""" X local_directory = os.path.join(data_home, 'pyroom', 'themes') X- global_directory = '/usr/share/pyroom/themes' # FIXME: platform X+ global_directory = '%%LOCALBASE%%/share/pyroom/themes' # FIXME: platform X # in case PyRoom is run without installation X fallback_directory = os.path.join( X os.path.dirname(os.path.abspath(__file__)), 4de5e49ad3e88b6ca89ec21458e7f18f echo x - py-room/Makefile sed 's/^X//' >py-room/Makefile << '973bcc61a5171540a361d3ff9aab3d33' X# New ports collection makefile for: py-room X# Date created: 2009-11-11 X# Whom: Alexander Best X# X# $FreeBSD$ X# X XPORTNAME= room XPORTVERSION= 0.4.1 XCATEGORIES= editors python XMASTER_SITES= https://launchpad.net/pyroom/${PORTVERSION:R}/${PORTVERSION}/+download/ XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} XDISTNAME= py${PORTNAME}-${PORTVERSION} X XMAINTAINER= alexbestms@wwu.de XCOMMENT= PyRoom is a clone of WriteRoom and features "distraction-free writing" X XRUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolkits/py-gtk \ X ${PYTHON_SITELIBDIR}/xdg/__init__.py:${PORTSDIR}/devel/py-xdg X XFETCH_ARGS= XUSE_GETTEXT= yes XUSE_PYTHON= yes XUSE_PYDISTUTILS=yes XPYDISTUTILS_PKGNAME= PyRoom X Xpost-patch: X @${REINPLACE_CMD} -e \ X 's|%%LOCALBASE%%|${LOCALBASE}|g' \ X ${WRKSRC}/setup.py ${WRKSRC}/PyRoom/preferences.py \ X ${WRKSRC}/PyRoom/gui.py X X.include <bsd.port.mk> 973bcc61a5171540a361d3ff9aab3d33 echo x - py-room/distinfo sed 's/^X//' >py-room/distinfo << '56fdeba53f4616405bbb22dde20cc031' XMD5 (pyroom-0.4.1.tar.gz) = 35e6dfb611b2732471a78f88465ebf7f XSHA256 (pyroom-0.4.1.tar.gz) = 5a885010a7d207c90384c48869cc2be863df5b1bca561750ffd483a8969c9bf3 XSIZE (pyroom-0.4.1.tar.gz) = 85918 56fdeba53f4616405bbb22dde20cc031 echo x - py-room/pkg-descr sed 's/^X//' >py-room/pkg-descr << '255a2d20d1a448257f3480bcce642814' XWith the goal of staying out of your way while writing creatively, PyRoom has a Xvery specialized featureset. In fact, most features are hidden from your main Xinterface, not cluttering your workspace with buttons and menus and statistics. X XFeatures of PyRoom: X * no visual clutter X * work on multiple documents at once (main text, outline, etc) X * control PyRoom via keyboard shortcuts X * autosave your work X * check wordcounts on keypress X * choose from preconfigured designs or create your own color scheme X * further customize visual appearance and whitespace (line spacing, border, X padding...) X XWWW: http://www.pyroom.org 255a2d20d1a448257f3480bcce642814 echo x - py-room/pkg-plist sed 's/^X//' >py-room/pkg-plist << 'cbcaf0736839fa87f214aa62cae4958d' Xbin/pyroom X%%PYTHON_SITELIBDIR%%/PyRoom/__init__.py X%%PYTHON_SITELIBDIR%%/PyRoom/__init__.pyc X%%PYTHON_SITELIBDIR%%/PyRoom/__init__.pyo X%%PYTHON_SITELIBDIR%%/PyRoom/autosave.py X%%PYTHON_SITELIBDIR%%/PyRoom/autosave.pyc X%%PYTHON_SITELIBDIR%%/PyRoom/autosave.pyo X%%PYTHON_SITELIBDIR%%/PyRoom/basic_edit.py X%%PYTHON_SITELIBDIR%%/PyRoom/basic_edit.pyc X%%PYTHON_SITELIBDIR%%/PyRoom/basic_edit.pyo X%%PYTHON_SITELIBDIR%%/PyRoom/cmdline.py X%%PYTHON_SITELIBDIR%%/PyRoom/cmdline.pyc X%%PYTHON_SITELIBDIR%%/PyRoom/cmdline.pyo X%%PYTHON_SITELIBDIR%%/PyRoom/gui.py X%%PYTHON_SITELIBDIR%%/PyRoom/gui.pyc X%%PYTHON_SITELIBDIR%%/PyRoom/gui.pyo X%%PYTHON_SITELIBDIR%%/PyRoom/interface.glade X%%PYTHON_SITELIBDIR%%/PyRoom/preferences.py X%%PYTHON_SITELIBDIR%%/PyRoom/preferences.pyc X%%PYTHON_SITELIBDIR%%/PyRoom/preferences.pyo X%%PYTHON_SITELIBDIR%%/PyRoom/pyroom_error.py X%%PYTHON_SITELIBDIR%%/PyRoom/pyroom_error.pyc X%%PYTHON_SITELIBDIR%%/PyRoom/pyroom_error.pyo Xshare/pyroom/themes/amber.theme Xshare/pyroom/themes/banker.theme Xshare/pyroom/themes/blue.theme Xshare/pyroom/themes/c64.theme Xshare/pyroom/themes/cupid.theme Xshare/pyroom/themes/custom.theme Xshare/pyroom/themes/darkgreen.theme Xshare/pyroom/themes/green.theme Xshare/pyroom/themes/grey.theme Xshare/pyroom/themes/locontrast.theme Xshare/pyroom/themes/soft_letterpaper.theme Xshare/pyroom/themes/website.theme Xshare/pyroom/pyroom.png Xshare/locale/ar/LC_MESSAGES/pyroom.mo Xshare/locale/bg/LC_MESSAGES/pyroom.mo Xshare/locale/br/LC_MESSAGES/pyroom.mo Xshare/locale/ca/LC_MESSAGES/pyroom.mo Xshare/locale/cy/LC_MESSAGES/pyroom.mo Xshare/locale/da/LC_MESSAGES/pyroom.mo Xshare/locale/de/LC_MESSAGES/pyroom.mo Xshare/locale/el/LC_MESSAGES/pyroom.mo Xshare/locale/en_GB/LC_MESSAGES/pyroom.mo Xshare/locale/eo/LC_MESSAGES/pyroom.mo Xshare/locale/es/LC_MESSAGES/pyroom.mo Xshare/locale/eu/LC_MESSAGES/pyroom.mo Xshare/locale/fi/LC_MESSAGES/pyroom.mo Xshare/locale/fr/LC_MESSAGES/pyroom.mo Xshare/locale/ga/LC_MESSAGES/pyroom.mo Xshare/locale/gu/LC_MESSAGES/pyroom.mo Xshare/locale/hr/LC_MESSAGES/pyroom.mo Xshare/locale/hu/LC_MESSAGES/pyroom.mo Xshare/locale/id/LC_MESSAGES/pyroom.mo Xshare/locale/it/LC_MESSAGES/pyroom.mo Xshare/locale/ja/LC_MESSAGES/pyroom.mo Xshare/locale/lt/LC_MESSAGES/pyroom.mo Xshare/locale/lv/LC_MESSAGES/pyroom.mo Xshare/locale/mk/LC_MESSAGES/pyroom.mo Xshare/locale/nb/LC_MESSAGES/pyroom.mo Xshare/locale/nl/LC_MESSAGES/pyroom.mo Xshare/locale/nn/LC_MESSAGES/pyroom.mo Xshare/locale/pl/LC_MESSAGES/pyroom.mo Xshare/locale/pt/LC_MESSAGES/pyroom.mo Xshare/locale/pt_BR/LC_MESSAGES/pyroom.mo Xshare/locale/ro/LC_MESSAGES/pyroom.mo Xshare/locale/ru/LC_MESSAGES/pyroom.mo Xshare/locale/sk/LC_MESSAGES/pyroom.mo Xshare/locale/sl/LC_MESSAGES/pyroom.mo Xshare/locale/sr/LC_MESSAGES/pyroom.mo Xshare/locale/sv/LC_MESSAGES/pyroom.mo Xshare/locale/tr/LC_MESSAGES/pyroom.mo Xshare/locale/zh_CN/LC_MESSAGES/pyroom.mo Xshare/locale/ku/LC_MESSAGES/pyroom.mo Xshare/locale/sco/LC_MESSAGES/pyroom.mo X@dirrm %%PYTHON_SITELIBDIR%%/PyRoom X@dirrm share/pyroom/themes X@dirrm share/pyroom cbcaf0736839fa87f214aa62cae4958d exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911131839.nADIdOJe086120>