ports/156415: [NEW PORT] net-im/py-hotot, Twitter and Identi.ca microblogging client written in Python and JavaScript

Olivier Duchateau duchateau.olivier at gmail.com
Fri Apr 15 07:40:10 UTC 2011


>Number:         156415
>Category:       ports
>Synopsis:       [NEW PORT] net-im/py-hotot, Twitter and Identi.ca microblogging client written in Python and JavaScript
>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 Apr 15 07:40:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Olivier Duchateau
>Release:        FreeBSD 8.2-RELEASE
>Organization:
>Environment:
FreeBSD bornem.errements.net 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011     root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Hotot is a lightweight microblogging client (Identi.ca and Twitter), written in Python and JavaScript.

Patches:
- delete related Linux code
- enhance Xfce and webbrowsers support

Sound notification doesn't work (tarball is snapshot, taken from PPA repository).

Note: This port was tested successfully with Python2.6 and Python2.7.

>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-hotot-devel/
#	py-hotot-devel/files
#	py-hotot-devel/files/patch-data_js_conf.js
#	py-hotot-devel/files/patch-hotot_utils.py
#	py-hotot-devel/files/patch-setup.py
#	py-hotot-devel/files/patch-hotot_hotot.py
#	py-hotot-devel/files/patch-hotot_view.py
#	py-hotot-devel/files/patch-data_js_ui.context_menu.js
#	py-hotot-devel/files/patch-data_css_style.css
#	py-hotot-devel/pkg-plist
#	py-hotot-devel/pkg-descr
#	py-hotot-devel/distinfo
#	py-hotot-devel/Makefile
#
echo c - py-hotot-devel/
mkdir -p py-hotot-devel/ > /dev/null 2>&1
echo c - py-hotot-devel/files
mkdir -p py-hotot-devel/files > /dev/null 2>&1
echo x - py-hotot-devel/files/patch-data_js_conf.js
sed 's/^X//' >py-hotot-devel/files/patch-data_js_conf.js << '76178ad84de88d13147259a788f9317c'
X--- data/js/conf.js.orig	2011-03-21 19:00:04.000000000 +0100
X+++ data/js/conf.js	2011-04-13 19:45:55.000000000 +0200
X@@ -2,7 +2,7 @@
X conf = {
X 
X vars: {
X-      'platform': 'Linux'
X+      'platform': 'FreeBSD'
X     , 'version': '0.9.6'
X     , 'codename': 'Ada'
X     , 'consumer_key': 'SCEdx4ZEOO68QDCTC7FFUQ'
X@@ -19,10 +19,10 @@
X     , 'http_proxy_host': ''
X     , 'http_proxy_port': 0
X     , 'shortcut_summon_hotot': '<Alt>C'
X-    , 'size_w': 500
X-    , 'size_h': 550
X+    , 'size_w': 150
X+    , 'size_h': 420
X     , 'use_ubuntu_indicator': true
X-    , 'font_list': ['Arial', 'Wide', 'Narrow', 'Calibri', 'Cambria', 'Comic Sans MS', 'Consolas', 'Corsiva', 'Courier New', 'Droid Sans', 'Droid Serif', 'Syncopate', 'Times New Roman']
X+    , 'font_list': ['DejaVu Sans', 'Verdana', 'sans-serif']
X },
X 
X default_prefs: {
X@@ -35,7 +35,7 @@
X           // Look & Feels:
X         , 'use_custom_font': false
X         , 'custom_font': ''
X-        , 'font_family_used': 'Droid Sans Fallback, WenQuanYi Micro Hei, Sans, Microsoft Yahei, Simhei, Simsun'
X+        , 'font_family_used': 'DejaVu Sans, Verdana, sans-serif'
X         , 'font_size': 12
X         , 'effects_level': 1
X         , 'use_native_notify': true
X@@ -71,7 +71,7 @@
X           // Look & Feels:
X         , 'use_custom_font': false
X         , 'custom_font': ''
X-        , 'font_family_used': 'Droid Sans Fallback, WenQuanYi Micro Hei, Sans, Microsoft Yahei, Simhei, Simsun'
X+        , 'font_family_used': 'DejaVu Sans, Verdana, sans-serif'
X         , 'font_size': 12
X         , 'effects_level': 1
X         , 'use_native_notify': true
76178ad84de88d13147259a788f9317c
echo x - py-hotot-devel/files/patch-hotot_utils.py
sed 's/^X//' >py-hotot-devel/files/patch-hotot_utils.py << 'ebb6f47b09f770dc642d4bb90e61c2d0'
X--- hotot/utils.py.orig	2011-03-19 19:00:03.000000000 +0100
X+++ hotot/utils.py	2011-04-01 14:34:45.000000000 +0200
X@@ -40,14 +40,12 @@
X         return 'gnome'
X     elif window_manager_name in 'compiz':
X         return 'gnome'
X-    elif window_manager_name in 'awesome':
X-        return 'awesome'
X-    elif window_manager_name in 'openbox':
X-        return 'openbox'
X-    elif '= "xfce4"' in subprocess.Popen(['xprop', '-root', '_DT_SAVE_MODE'],
X-            stdout = subprocess.PIPE).stdout.read():
X+    elif 'xfce' in desktop_session_name:
X         return 'xfce'
X-    return ''
X+    elif window_manager_name in 'xfwm4':
X+        return 'xfce'
X+    else:
X+        return ''
X 
X def get_system_default_browser():
X     global _browser
X@@ -55,15 +53,17 @@
X         return _browser
X     desktop = get_desktop_environment_name()
X     tryfirst = []
X-    if desktop == 'awesome':
X-        tryfirst = ['opera']
X-    elif desktop == 'openbox':
X-        tryfirst = ['firefox']
X+    if desktop == 'xfce':
X+        tryfirst = ['exo-open']
X+    elif desktop == 'kde':
X+        tryfirst = ['kfmclient']
X     elif desktop == 'win':
X         tryfirst = ['start']
X     elif desktop == 'gnome':
X         tryfirst = ['gnome-open']
X-    for trycmd in tryfirst + ['xdg-open', 'google-chrome', 'chromium-browser', 'firefox', 'x-www-browser']:
X+    else:
X+        tryfirst = ['xdg-open']
X+    for trycmd in tryfirst.extend(['chrome', 'x-www-browser']):
X         if is_command(trycmd):
X             _browser = trycmd
X             return _browser
X@@ -71,10 +71,7 @@
X def open_webbrowser(uri):
X     '''open a URI in the registered default application
X     '''
X-    ## for proxychains
X-    os.environ['LD_PRELOAD'] = ' '.join(
X-            [ ld for ld in os.environ.get('LD_PRELOAD', '').split(' ') if 'libproxychains.so' not in ld ]
X-        )
X+
X     browser = 'xdg-open'
X     if sys.platform[:3] == "win":
X         browser = 'start'
ebb6f47b09f770dc642d4bb90e61c2d0
echo x - py-hotot-devel/files/patch-setup.py
sed 's/^X//' >py-hotot-devel/files/patch-setup.py << '46c3c30efac6b83b269ac4acdb5a9f7a'
X--- setup.py.orig	2010-12-13 19:00:03.000000000 +0100
X+++ setup.py	2011-04-01 15:20:52.000000000 +0200
X@@ -13,8 +13,8 @@
X            ]
X 
X setup(name='hotot',
X-      version="0.9.5",
X-      description='Lightweight Twitter Client',
X+      version="%%PORTVERSION%%",
X+      description='Lightweight Twitter and Identi.ca Client',
X       long_description =
X """
X Lightweight Twitter Client base on Gtk2 and Webkit.
X@@ -35,7 +35,7 @@
X       license='LGPL-3',
X       url="http://code.google.com/p/hotot",
X       download_url="http://code.google.com/p/hotot/downloads/list",
X-      platforms = ['Linux'],
X+      platforms = ['Linux', 'BSD'],
X       requires = ['webkit', 'gtk', 'gobject', 'keybinder', 'pynotify'],
X       scripts=['scripts/hotot'],
X       packages = ['hotot'],
46c3c30efac6b83b269ac4acdb5a9f7a
echo x - py-hotot-devel/files/patch-hotot_hotot.py
sed 's/^X//' >py-hotot-devel/files/patch-hotot_hotot.py << 'e51d1004a6252092e7b9c3bad2b7159b'
X--- hotot/hotot.py.orig	2011-03-16 10:50:56.000000000 +0100
X+++ hotot/hotot.py	2011-04-13 19:43:56.000000000 +0200
X@@ -45,8 +45,8 @@
X             utils.get_ui_object('image/ic64_hotot_classics.png'))
X 
X         self.window.set_title(_("Hotot"))
X-        self.window.set_position(gtk.WIN_POS_CENTER)
X-        #self.window.set_default_size(500, 550)
X+        self.window.set_position(gtk.WIN_POS_CENTER_ON_PARENT)
X+        self.window.set_default_size(150, 420)
X 
X         vbox = gtk.VBox()
X         scrollw = gtk.ScrolledWindow()
X@@ -230,9 +230,12 @@
X     gtk.gdk.threads_init()
X     config.loads();
X     try:
X-        import dl
X-        libc = dl.open('/lib/libc.so.6')
X-        libc.call('prctl', 15, 'hotot', 0, 0, 0)
X+        import ctypes
X+        import os
X+
X+        # change process name
X+        libc = ctypes.CDLL(os.path.join('/usr/lib', 'libc.so'))
X+        libc.setproctitle('hotot')
X     except:
X         pass
X     agent.init_notify()
e51d1004a6252092e7b9c3bad2b7159b
echo x - py-hotot-devel/files/patch-hotot_view.py
sed 's/^X//' >py-hotot-devel/files/patch-hotot_view.py << 'a7ec037621b3f9a7cb2bac0c9a11b143'
X--- hotot/view.py.orig	2011-03-17 19:00:05.000000000 +0100
X+++ hotot/view.py	2011-04-01 15:54:50.000000000 +0200
X@@ -9,6 +9,7 @@
X import utils
X import json
X import gobject
X+import platform
X 
X try: import i18n
X except: from gettext import gettext as _
X@@ -78,7 +79,7 @@
X         agent.webv = self
X         # overlay extra variables of web part
X         variables = {
X-              'platform': 'Linux'
X+              'platform': platform.system()
X             , 'conf_dir': config.CONF_DIR
X             , 'cache_dir': config.CACHE_DIR
X             , 'avatar_cache_dir': config.AVATAR_CACHE_DIR
a7ec037621b3f9a7cb2bac0c9a11b143
echo x - py-hotot-devel/files/patch-data_js_ui.context_menu.js
sed 's/^X//' >py-hotot-devel/files/patch-data_js_ui.context_menu.js << 'c76a0f9c7674d9d6c96222ec1eb9fa61'
X--- data/js/ui.context_menu.js.orig	2011-03-04 19:00:04.000000000 +0100
X+++ data/js/ui.context_menu.js	2011-04-01 14:54:18.000000000 +0200
X@@ -7,7 +7,7 @@
X function init() {
X     $('#context_menuitem_web_search').click(
X     function (event) {
X-        navigate_action('http://google.com/search?sourceid=chrome&ie=UTF-8&q='+ui.ContextMenu.selected_string);
X+        navigate_action('http://google.com/search?ie=UTF-8&q='+ui.ContextMenu.selected_string);
X     });
X 
X     $('#context_menuitem_twitter_search').click(
c76a0f9c7674d9d6c96222ec1eb9fa61
echo x - py-hotot-devel/files/patch-data_css_style.css
sed 's/^X//' >py-hotot-devel/files/patch-data_css_style.css << 'd291949981350bdebda5bd4e26321e06'
X--- data/css/style.css.orig	2011-03-21 19:00:04.000000000 +0100
X+++ data/css/style.css	2011-04-01 15:07:19.000000000 +0200
X@@ -19,7 +19,7 @@
X body {
X     background: None repeat-x scroll left top #fff;
X     color: #333;
X-    font-family: Droid Sans Fallback, WenQuanYi Micro Hei, Sans, Microsoft Yahei, Simhei, Simsun;
X+    font-family: "DejaVu Sans", Verdana, sans-serif;
X }
X 
X a {
X@@ -564,7 +564,7 @@
X }
X 
X #console_out {
X-    font-family: Monaco, Consolas,'Courier New',Courier, monospace;
X+    font-family: "Courier New", Courier, monospace;
X     margin: 0 10px;
X     height: 250px;
X     overflow: auto;
X@@ -1301,7 +1301,7 @@
X     text-align: left;
X     vertical-align: top;
X     height: 10px;
X-    font-family: Droid Sans Fallback, WenQuanYi Micro Hei, Sans, Microsoft Yahei, Simhei, Simsun;
X+    font-family: "DejaVu Sans", Verdana, sans-serif;
X }
X 
X .vcard_tabs_page td:first-child {
d291949981350bdebda5bd4e26321e06
echo x - py-hotot-devel/pkg-plist
sed 's/^X//' >py-hotot-devel/pkg-plist << '7491bfe871e953afd906d164790ac592'
Xbin/hotot
X%%PYTHON_SITELIBDIR%%/hotot/__init__.py
X%%PYTHON_SITELIBDIR%%/hotot/__init__.pyc
X%%PYTHON_SITELIBDIR%%/hotot/__init__.pyo
X%%PYTHON_SITELIBDIR%%/hotot/agent.py
X%%PYTHON_SITELIBDIR%%/hotot/agent.pyc
X%%PYTHON_SITELIBDIR%%/hotot/agent.pyo
X%%PYTHON_SITELIBDIR%%/hotot/config.py
X%%PYTHON_SITELIBDIR%%/hotot/config.pyc
X%%PYTHON_SITELIBDIR%%/hotot/config.pyo
X%%PYTHON_SITELIBDIR%%/hotot/hotot.py
X%%PYTHON_SITELIBDIR%%/hotot/hotot.pyc
X%%PYTHON_SITELIBDIR%%/hotot/hotot.pyo
X%%PYTHON_SITELIBDIR%%/hotot/i18n.py
X%%PYTHON_SITELIBDIR%%/hotot/i18n.pyc
X%%PYTHON_SITELIBDIR%%/hotot/i18n.pyo
X%%PYTHON_SITELIBDIR%%/hotot/utils.py
X%%PYTHON_SITELIBDIR%%/hotot/utils.pyc
X%%PYTHON_SITELIBDIR%%/hotot/utils.pyo
X%%PYTHON_SITELIBDIR%%/hotot/view.py
X%%PYTHON_SITELIBDIR%%/hotot/view.pyc
X%%PYTHON_SITELIBDIR%%/hotot/view.pyo
Xshare/applications/hotot.desktop
X%%DATADIR%%/_locales/en/messages.json
X%%DATADIR%%/_locales/zh_CN/messages.json
X%%DATADIR%%/css/effects_0.css
X%%DATADIR%%/css/effects_1.css
X%%DATADIR%%/css/effects_2.css
X%%DATADIR%%/css/hotot.widget.css
X%%DATADIR%%/css/style.css
X%%DATADIR%%/ext/ext.js
X%%DATADIR%%/ext/org.hotot.gmap/entry.js
X%%DATADIR%%/ext/org.hotot.gmap/ic16_marker.png
X%%DATADIR%%/ext/org.hotot.gmap/icon.png
X%%DATADIR%%/ext/org.hotot.imagepreview/entry.js
X%%DATADIR%%/ext/org.hotot.imagepreview/icon.png
X%%DATADIR%%/ext/org.hotot.imageupload/entry.js
X%%DATADIR%%/ext/org.hotot.imageupload/ic16_upload.png
X%%DATADIR%%/ext/org.hotot.imageupload/icon.png
X%%DATADIR%%/ext/org.hotot.instapaper/entry.js
X%%DATADIR%%/ext/org.hotot.instapaper/icon.png
X%%DATADIR%%/ext/org.hotot.instapaper/icon16.png
X%%DATADIR%%/ext/org.hotot.sample/entry.js
X%%DATADIR%%/ext/org.hotot.shorturl/entry.js
X%%DATADIR%%/ext/org.hotot.shorturl/icon.png
X%%DATADIR%%/ext/org.hotot.translate/entry.js
X%%DATADIR%%/ext/org.hotot.translate/ic16_translate.png
X%%DATADIR%%/ext/org.hotot.translate/icon.png
X%%DATADIR%%/ext/org.hotot.videopreview/entry.js
X%%DATADIR%%/ext/org.hotot.videopreview/icon.png
X%%DATADIR%%/image/ani_loading_bar.gif
X%%DATADIR%%/image/ani_loading_bar_gray.gif
X%%DATADIR%%/image/expand.png
X%%DATADIR%%/image/fav_ic_16.png
X%%DATADIR%%/image/faved_ic_16.png
X%%DATADIR%%/image/fold.png
X%%DATADIR%%/image/ic128_hotot.png
X%%DATADIR%%/image/ic16_add_green.png
X%%DATADIR%%/image/ic16_arrow_down_gray.png
X%%DATADIR%%/image/ic16_arrow_up_gray.png
X%%DATADIR%%/image/ic16_close.png
X%%DATADIR%%/image/ic16_del.png
X%%DATADIR%%/image/ic16_dm.png
X%%DATADIR%%/image/ic16_fav.png
X%%DATADIR%%/image/ic16_hotot.png
X%%DATADIR%%/image/ic16_identica.png
X%%DATADIR%%/image/ic16_link.png
X%%DATADIR%%/image/ic16_remove_red.png
X%%DATADIR%%/image/ic16_retweet_light.png
X%%DATADIR%%/image/ic16_rt.png
X%%DATADIR%%/image/ic16_twitter.png
X%%DATADIR%%/image/ic16_unfav.png
X%%DATADIR%%/image/ic24_hotot.png
X%%DATADIR%%/image/ic24_hotot_mono_dark.svg
X%%DATADIR%%/image/ic24_hotot_mono_light.png
X%%DATADIR%%/image/ic24_hotot_mono_light.svg
X%%DATADIR%%/image/ic24_wall.png
X%%DATADIR%%/image/ic32_hotot.png
X%%DATADIR%%/image/ic32_hotot_classics.png
X%%DATADIR%%/image/ic32_profile_add.png
X%%DATADIR%%/image/ic32_profile_identica.png
X%%DATADIR%%/image/ic32_profile_twitter.png
X%%DATADIR%%/image/ic48_lock.png
X%%DATADIR%%/image/ic48_profile_image.png
X%%DATADIR%%/image/ic64_hotot.png
X%%DATADIR%%/image/ic64_hotot_classics.png
X%%DATADIR%%/image/ic_dm.png
X%%DATADIR%%/image/ic_fav.png
X%%DATADIR%%/image/ic_home.png
X%%DATADIR%%/image/ic_mention.png
X%%DATADIR%%/image/ic_people.png
X%%DATADIR%%/image/ic_retweet.png
X%%DATADIR%%/image/ic_search.png
X%%DATADIR%%/image/mask.png
X%%DATADIR%%/image/menu_b.png
X%%DATADIR%%/image/menu_h.png
X%%DATADIR%%/image/more_ic_16.png
X%%DATADIR%%/image/plus-in_b.png
X%%DATADIR%%/image/plus-in_h.png
X%%DATADIR%%/image/refresh_b.png
X%%DATADIR%%/image/refresh_h.png
X%%DATADIR%%/image/reply_ic_16.png
X%%DATADIR%%/image/retweet_ic_16.png
X%%DATADIR%%/image/retweeted_ic_16.png
X%%DATADIR%%/image/tweet_fav_indicator.png
X%%DATADIR%%/image/welcome_bg.png
X%%DATADIR%%/index.html
X%%DATADIR%%/js/base64.js
X%%DATADIR%%/js/conf.js
X%%DATADIR%%/js/console.js
X%%DATADIR%%/js/daemon.updater.js
X%%DATADIR%%/js/db.js
X%%DATADIR%%/js/i18n.js
X%%DATADIR%%/js/jquery.js
X%%DATADIR%%/js/jquery.layout.js
X%%DATADIR%%/js/js-oauth.js
X%%DATADIR%%/js/kismet.js
X%%DATADIR%%/js/lib.network.js
X%%DATADIR%%/js/lib.twitterapi.js
X%%DATADIR%%/js/notification.js
X%%DATADIR%%/js/sha1.js
X%%DATADIR%%/js/toast.js
X%%DATADIR%%/js/ui.about_dlg.js
X%%DATADIR%%/js/ui.action_menu.js
X%%DATADIR%%/js/ui.context_menu.js
X%%DATADIR%%/js/ui.dm_tabs.js
X%%DATADIR%%/js/ui.error_dlg.js
X%%DATADIR%%/js/ui.exts_dlg.js
X%%DATADIR%%/js/ui.finder.js
X%%DATADIR%%/js/ui.form_checker.js
X%%DATADIR%%/js/ui.header.js
X%%DATADIR%%/js/ui.home_tabs.js
X%%DATADIR%%/js/ui.main.js
X%%DATADIR%%/js/ui.mention_tabs.js
X%%DATADIR%%/js/ui.people_tabs.js
X%%DATADIR%%/js/ui.pin_dlg.js
X%%DATADIR%%/js/ui.prefs_dlg.js
X%%DATADIR%%/js/ui.profile_dlg.js
X%%DATADIR%%/js/ui.retweet_tabs.js
X%%DATADIR%%/js/ui.search_tabs.js
X%%DATADIR%%/js/ui.sidebar.js
X%%DATADIR%%/js/ui.slider.js
X%%DATADIR%%/js/ui.status_box.js
X%%DATADIR%%/js/ui.template.js
X%%DATADIR%%/js/ui.welcome.js
X%%DATADIR%%/js/util.js
X%%DATADIR%%/js/widget.button.js
X%%DATADIR%%/js/widget.dialog.js
X%%DATADIR%%/js/widget.listview.js
X%%DATADIR%%/js/widget.radio_group.js
X%%DATADIR%%/sound/notify.wav
Xshare/locale/de/LC_MESSAGES/hotot.mo
Xshare/locale/es_MX/LC_MESSAGES/hotot.mo
Xshare/locale/fr/LC_MESSAGES/hotot.mo
Xshare/locale/it/LC_MESSAGES/hotot.mo
Xshare/locale/pt_BR/LC_MESSAGES/hotot.mo
Xshare/locale/pt_PT/LC_MESSAGES/hotot.mo
Xshare/locale/tr/LC_MESSAGES/hotot.mo
Xshare/locale/zh_CN/LC_MESSAGES/hotot.mo
Xshare/pixmaps/hotot.png
X at dirrm %%DATADIR%%/sound
X at dirrm %%DATADIR%%/js
X at dirrm %%DATADIR%%/image
X at dirrm %%DATADIR%%/ext/org.hotot.videopreview
X at dirrm %%DATADIR%%/ext/org.hotot.translate
X at dirrm %%DATADIR%%/ext/org.hotot.shorturl
X at dirrm %%DATADIR%%/ext/org.hotot.sample
X at dirrm %%DATADIR%%/ext/org.hotot.instapaper
X at dirrm %%DATADIR%%/ext/org.hotot.imageupload
X at dirrm %%DATADIR%%/ext/org.hotot.imagepreview
X at dirrm %%DATADIR%%/ext/org.hotot.gmap
X at dirrm %%DATADIR%%/ext
X at dirrm %%DATADIR%%/css
X at dirrm %%DATADIR%%/_locales/zh_CN
X at dirrm %%DATADIR%%/_locales/en
X at dirrm %%DATADIR%%/_locales
X at dirrm %%DATADIR%%
X at dirrm %%PYTHON_SITELIBDIR%%/hotot
7491bfe871e953afd906d164790ac592
echo x - py-hotot-devel/pkg-descr
sed 's/^X//' >py-hotot-devel/pkg-descr << '161b241b0fcfb52f7ba6fcafbfe2ede0'
XHotot is a lightweight microblogging client for Identi.ca and Twitter. It's 
Xwritten in Python and JavaScript.
X
XWWW:	http://www.hotot.org/
161b241b0fcfb52f7ba6fcafbfe2ede0
echo x - py-hotot-devel/distinfo
sed 's/^X//' >py-hotot-devel/distinfo << 'f10e0ca0e8038ec70d881aeef4171b90'
XSHA256 (hotot-0.9.6~hg773.tar.gz) = 74354771ccc62e398ff4e33ed6c000d7d589533f15c72b17759c0531e5138610
XSIZE (hotot-0.9.6~hg773.tar.gz) = 480469
f10e0ca0e8038ec70d881aeef4171b90
echo x - py-hotot-devel/Makefile
sed 's/^X//' >py-hotot-devel/Makefile << 'c97cce7a3e65bac2257fbc66e5855150'
X# New ports collection makefile for: py-hotot
X# Date created:		2011-02-21
X# Whom:		Olivier Duchateau <duchateau.olivier at gmail.com>
X#
X# $FreeBSD: $
X#
X
XPORTNAME=	hotot
XPORTVERSION=	0.9.6
XPORTREVISION=	4
XCATEGORIES=	net-im python
XMASTER_SITES=	http://avignu.tuxfamily.org/FreeBSD/distfiles/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
XDISTNAME=	${PORTNAME}-${PORTVERSION}~hg773
X
XMAINTAINER=	duchateau.olivier at gmail.com
XCOMMENT=	Twitter and Identi.ca microblogging client
X
XLICENSE=	LGPL3
X
XBUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}distutils-extra>=2.23:${PORTSDIR}/devel/py-distutils-extra
XRUN_DEPENDS=	${PYTHON_SITELIBDIR}/setproctitle.so:${PORTSDIR}/devel/py-setproctitle \
X		${PYTHON_SITELIBDIR}/keybinder/__init__.py:${PORTSDIR}/x11/keybinder \
X		${LOCALBASE}/libdata/pkgconfig/pywebkitgtk-1.0.pc:${PORTSDIR}/www/py-webkitgtk \
X		${LOCALBASE}/libdata/pkgconfig/notify-python.pc:${PORTSDIR}/devel/py-notify \
X		${LOCALBASE}/lib/X11/fonts/dejavu/DejaVuSans.ttf:${PORTSDIR}/x11-fonts/dejavu
X
XWRKSRC=	${WRKDIR}/${PORTNAME}-${PORTVERSION}
X
XUSE_PYTHON=	yes
XUSE_PYDISTUTILS=	yes
XUSE_GNOME=	desktopfileutils
XINSTALL_ICONS=	yes
X
XOPTIONS=	PYCURL "Install Python bindings for cURL" off
X
X.include <bsd.port.pre.mk>
X
X.if defined(PYCURL)
XRUN_DEPENDS+=	${PYTHON_SITELIBDIR}/curl/__init__.py:${PORTSDIR}/ftp/py-curl
X.endif
X
Xpost-patch:
X	${REINPLACE_CMD} -e 's|%%PORTVERSION%%|${PORTVERSION}|' \
X		${WRKSRC}/setup.py
X.for LOCALE in de fr it tr
X	${MV} ${WRKSRC}/po/${LOCALE}_* ${WRKSRC}/po/${LOCALE}.po
X.endfor
X
Xdo-build:
X	@cd ${WRKSRC} && \
X		${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} build_i18n -m ; \
X		${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} build
X
Xpost-build:
X	@cd ${WRKSRC} && \
X		${FIND} . -type f -name '*.orig' -exec ${RM} -f {} \;
X
Xpost-install:
X	@-update-desktop-database
X
X.include <bsd.port.post.mk>
c97cce7a3e65bac2257fbc66e5855150
exit



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



More information about the freebsd-ports-bugs mailing list