From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jan 2 07:40:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 99273F64 for ; Thu, 2 Jan 2014 07:40:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 72E2F1E87 for ; Thu, 2 Jan 2014 07:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s027e0Ff081878 for ; Thu, 2 Jan 2014 07:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s027e0iT081877; Thu, 2 Jan 2014 07:40:00 GMT (envelope-from gnats) Resent-Date: Thu, 2 Jan 2014 07:40:00 GMT Resent-Message-Id: <201401020740.s027e0iT081877@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, John Hixson Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AA1B2F52 for ; Thu, 2 Jan 2014 07:39:09 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8A03C1E7D for ; Thu, 2 Jan 2014 07:39:09 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id s027d9YJ013662 for ; Thu, 2 Jan 2014 07:39:09 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id s027d9ks013655; Thu, 2 Jan 2014 07:39:09 GMT (envelope-from nobody) Message-Id: <201401020739.s027d9ks013655@oldred.freebsd.org> Date: Thu, 2 Jan 2014 07:39:09 GMT From: John Hixson To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/185411: update pithos from 0.3.17 to 0.3.18 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jan 2014 07:40:00 -0000 >Number: 185411 >Category: ports >Synopsis: update pithos from 0.3.17 to 0.3.18 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Jan 02 07:40:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: John Hixson >Release: 11.0-CURRENT >Organization: iXsystems, Inc. >Environment: FreeBSD thinkbsd 11.0-CURRENT FreeBSD 11.0-CURRENT #17 r259022M: Fri Dec 6 12:03:57 PST 2013 john@thinkbsd:/usr/obj/usr/src/sys/THINKBSD amd64 >Description: >How-To-Repeat: >Fix: Patch attached with submission follows: diff -urN pithos.orig/Makefile pithos/Makefile --- pithos.orig/Makefile 2013-09-20 07:36:35.000000000 -0700 +++ pithos/Makefile 2014-01-01 23:22:40.544673960 -0800 @@ -2,10 +2,14 @@ # $FreeBSD: audio/pithos/Makefile 327706 2013-09-20 14:36:35Z bapt $ PORTNAME= pithos -PORTVERSION= 0.3.17 +PORTVERSION= 0.3.18 CATEGORIES= audio -MASTER_SITES= DEBIAN -DISTNAME= ${PORTNAME}_${PORTVERSION}.orig +DISTNAME= ${PORTVERSION} + +USE_GITHUB= yes +GH_ACCOUNT= pithos +GH_PROJECT= pithos +GH_COMMIT= 0770210 MAINTAINER= john@pcbsd.org COMMENT= Pandora client for the GNOME desktop @@ -17,23 +21,18 @@ ${LOCALBASE}/libdata/pkgconfig/notify-python.pc:${PORTSDIR}/devel/py-notify \ ${PYTHON_SITELIBDIR}/dbus/__init__.py:${PORTSDIR}/devel/py-dbus -WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION} - USE_PYTHON= 2.6+ NO_STAGE= yes USE_GNOME= pygtk2 -USE_PYDISTUTILS= yes +USE_PYDISTUTILS= easy_install USE_GSTREAMER= good bad python +PYDISTUTILS_AUTOPLIST= yes PYDISTUTILS_PKGNAME= ${PORTNAME} - -post-patch: - ${REINPLACE_CMD} -e "s,../data/,${DATADIR}/," ${WRKSRC}/pithos/pithosconfig.py - ${REINPLACE_CMD} -e "s,Icon=pithos,${DATADIR}/media/icon.png," ${WRKSRC}/pithos.desktop +PYEASYINSTALL_EGG= pithos-0.3-py2.7.egg post-install: - @${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 555 \ - ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin/${PORTNAME} @${MKDIR} ${DATADIR} @(cd ${WRKSRC}/data/ && ${COPYTREE_SHARE} \* ${DATADIR}) + @(cd ${WRKSRC}/pithos/data/ && ${COPYTREE_SHARE} \* ${DATADIR}) .include diff -urN pithos.orig/distinfo pithos/distinfo --- pithos.orig/distinfo 2012-07-14 05:56:14.000000000 -0700 +++ pithos/distinfo 2013-12-13 11:51:47.147912386 -0800 @@ -1,2 +1,2 @@ -SHA256 (pithos_0.3.17.orig.tar.gz) = ef6ee1545fa60b065b0043d79fe89fd1c1b70fe4ae944055d2c7b9d890cf1bde -SIZE (pithos_0.3.17.orig.tar.gz) = 141332 +SHA256 (0.3.18.tar.gz) = e676d455341c03cf271bffc698771713d42f86655f2171a493ffb1a74b51fdac +SIZE (0.3.18.tar.gz) = 115198 diff -urN pithos.orig/files/patch-setup.py pithos/files/patch-setup.py --- pithos.orig/files/patch-setup.py 2012-07-14 05:56:14.000000000 -0700 +++ pithos/files/patch-setup.py 2014-01-01 23:26:29.815406879 -0800 @@ -1,85 +1,26 @@ ---- setup.py 2012-05-03 13:47:11.000000000 -0700 -+++ setup.py 2012-06-01 11:40:31.000000000 -0700 -@@ -17,74 +17,19 @@ - - ###################### DO NOT TOUCH THIS (HEAD TO THE SECOND PART) ###################### - --try: -- import DistUtilsExtra.auto --except ImportError: -- import sys -- print >> sys.stderr, 'To build pithos you need https://launchpad.net/python-distutils-extra' -- sys.exit(1) -- --assert DistUtilsExtra.auto.__version__ >= '2.10', 'needs DistUtilsExtra.auto >= 2.10' -+import sys - import os -+from distutils.core import setup - -- --def update_data_path(prefix, oldvalue=None): -- -- try: -- fin = file('pithos/pithosconfig.py', 'r') -- fout = file(fin.name + '.new', 'w') -- -- for line in fin: -- fields = line.split(' = ') # Separate variable from value -- if fields[0] == '__pithos_data_directory__': -- # update to prefix, store oldvalue -- if not oldvalue: -- oldvalue = fields[1] -- line = "%s = '%s'\n" % (fields[0], prefix) -- else: # restore oldvalue -- line = "%s = %s" % (fields[0], oldvalue) -- fout.write(line) -- -- fout.flush() -- fout.close() -- fin.close() -- os.rename(fout.name, fin.name) -- except (OSError, IOError), e: -- print ("ERROR: Can't find pithos/pithosconfig.py") -- sys.exit(1) -- return oldvalue -- -- --class InstallAndUpdateDataDirectory(DistUtilsExtra.auto.install_auto): -- def run(self): -- if self.root or self.home: -- print "WARNING: You don't use a standard --prefix installation, take care that you eventually " \ -- "need to update quickly/quicklyconfig.py file to adjust __quickly_data_directory__. You can " \ -- "ignore this warning if you are packaging and uses --prefix." -- previous_value = update_data_path(self.prefix + '/share/pithos/') -- DistUtilsExtra.auto.install_auto.run(self) -- update_data_path(self.prefix, previous_value) -- --from distutils.cmd import Command --class OverrideI18NCommand(Command): -- def initialize_options(self): pass -- def finalize_options(self): pass -- def run(self): -- self.distribution.data_files.append(('share/applications', ['pithos.desktop'])) -- --from DistUtilsExtra.command.build_extra import build_extra --from DistUtilsExtra.command.build_icons import build_icons -- --DistUtilsExtra.auto.setup( -+required = [] -+setup( - name='pithos', -- version='0.3', -- ext_modules=[], -+ version='0.3.17', - license='GPL-3', - author='Kevin Mehall', - author_email='km@kevinmehall.net', - description='Pandora.com client for the GNOME desktop', -- #long_description='Here a longer description', - url='https://launchpad.net/pithos', -- cmdclass={'install': InstallAndUpdateDataDirectory, 'build_icons':build_icons, 'build':build_extra, 'build_i18n':OverrideI18NCommand} -- ) -- -+ packages=['pithos', 'pithos.pandora', 'pithos.plugins'], -+ package_dir = {'pithos':'pithos'} -+) +--- setup.py 2013-12-05 06:59:17.000000000 -0800 ++++ setup.py 2014-01-01 23:25:57.944668958 -0800 +@@ -50,12 +50,13 @@ + 'License :: OSI Approved :: GPL License', + 'Programming Language :: Python' + ], ++ + data_files=[ +- ('/usr/share/icons/hicolor/scalable/apps', [ ++ ('share/pithos/icons/hicolor/scalable/apps', [ + 'data/icons/scalable/apps/pithos-mono.svg', + 'data/icons/scalable/apps/pithos.svg' + ]), +- ('/usr/share/applications', ['data/pithos.desktop']) ++ ('share/pithos/applications', ['data/pithos.desktop']) + ], + package_data={ + 'pithos': [ +@@ -70,6 +71,7 @@ + ], + packages=find_packages(), + include_package_data=True, ++ zip_safe=False, + entry_points={ + 'gui_scripts': ['pithos = pithos.pithos:main'] + } diff -urN pithos.orig/pkg-plist pithos/pkg-plist --- pithos.orig/pkg-plist 2012-07-14 05:56:14.000000000 -0700 +++ pithos/pkg-plist 2014-01-01 23:31:15.545174511 -0800 @@ -1,94 +1,25 @@ -bin/pithos -%%PYTHON_SITELIBDIR%%/pithos/AboutPithosDialog.py -%%PYTHON_SITELIBDIR%%/pithos/PreferencesPithosDialog.py -%%PYTHON_SITELIBDIR%%/pithos/SearchDialog.py -%%PYTHON_SITELIBDIR%%/pithos/StationsDialog.py -%%PYTHON_SITELIBDIR%%/pithos/__init__.py -%%PYTHON_SITELIBDIR%%/pithos/dbus_service.py -%%PYTHON_SITELIBDIR%%/pithos/gobject_worker.py -%%PYTHON_SITELIBDIR%%/pithos/plugin.py -%%PYTHON_SITELIBDIR%%/pithos/pylast.py -%%PYTHON_SITELIBDIR%%/pithos/sound_menu.py -%%PYTHON_SITELIBDIR%%/pithos/pandora/__init__.py -%%PYTHON_SITELIBDIR%%/pithos/pandora/blowfish.py -%%PYTHON_SITELIBDIR%%/pithos/pandora/fake.py -%%PYTHON_SITELIBDIR%%/pithos/pandora/pandora.py -%%PYTHON_SITELIBDIR%%/pithos/pandora/pandora_keys.py -%%PYTHON_SITELIBDIR%%/pithos/pandora/__init__.pyc -%%PYTHON_SITELIBDIR%%/pithos/pandora/blowfish.pyc -%%PYTHON_SITELIBDIR%%/pithos/pandora/fake.pyc -%%PYTHON_SITELIBDIR%%/pithos/pandora/pandora.pyc -%%PYTHON_SITELIBDIR%%/pithos/pandora/pandora_keys.pyc -%%PYTHON_SITELIBDIR%%/pithos/pandora/__init__.pyo -%%PYTHON_SITELIBDIR%%/pithos/pandora/blowfish.pyo -%%PYTHON_SITELIBDIR%%/pithos/pandora/fake.pyo -%%PYTHON_SITELIBDIR%%/pithos/pandora/pandora.pyo -%%PYTHON_SITELIBDIR%%/pithos/pandora/pandora_keys.pyo -%%PYTHON_SITELIBDIR%%/pithos/plugins/__init__.py -%%PYTHON_SITELIBDIR%%/pithos/plugins/mediakeys.py -%%PYTHON_SITELIBDIR%%/pithos/plugins/notification_icon.py -%%PYTHON_SITELIBDIR%%/pithos/plugins/notify.py -%%PYTHON_SITELIBDIR%%/pithos/plugins/screensaver_pause.py -%%PYTHON_SITELIBDIR%%/pithos/plugins/scrobble.py -%%PYTHON_SITELIBDIR%%/pithos/plugins/__init__.pyc -%%PYTHON_SITELIBDIR%%/pithos/plugins/mediakeys.pyc -%%PYTHON_SITELIBDIR%%/pithos/plugins/notification_icon.pyc -%%PYTHON_SITELIBDIR%%/pithos/plugins/notify.pyc -%%PYTHON_SITELIBDIR%%/pithos/plugins/screensaver_pause.pyc -%%PYTHON_SITELIBDIR%%/pithos/plugins/scrobble.pyc -%%PYTHON_SITELIBDIR%%/pithos/plugins/__init__.pyo -%%PYTHON_SITELIBDIR%%/pithos/plugins/mediakeys.pyo -%%PYTHON_SITELIBDIR%%/pithos/plugins/notification_icon.pyo -%%PYTHON_SITELIBDIR%%/pithos/plugins/notify.pyo -%%PYTHON_SITELIBDIR%%/pithos/plugins/screensaver_pause.pyo -%%PYTHON_SITELIBDIR%%/pithos/plugins/scrobble.pyo -%%PYTHON_SITELIBDIR%%/pithos/pithosconfig.py -%%PYTHON_SITELIBDIR%%/pithos/AboutPithosDialog.pyc -%%PYTHON_SITELIBDIR%%/pithos/PreferencesPithosDialog.pyc -%%PYTHON_SITELIBDIR%%/pithos/SearchDialog.pyc -%%PYTHON_SITELIBDIR%%/pithos/StationsDialog.pyc -%%PYTHON_SITELIBDIR%%/pithos/__init__.pyc -%%PYTHON_SITELIBDIR%%/pithos/dbus_service.pyc -%%PYTHON_SITELIBDIR%%/pithos/gobject_worker.pyc -%%PYTHON_SITELIBDIR%%/pithos/plugin.pyc -%%PYTHON_SITELIBDIR%%/pithos/pylast.pyc -%%PYTHON_SITELIBDIR%%/pithos/sound_menu.pyc -%%PYTHON_SITELIBDIR%%/pithos/pithosconfig.pyc -%%PYTHON_SITELIBDIR%%/pithos/AboutPithosDialog.pyo -%%PYTHON_SITELIBDIR%%/pithos/PreferencesPithosDialog.pyo -%%PYTHON_SITELIBDIR%%/pithos/SearchDialog.pyo -%%PYTHON_SITELIBDIR%%/pithos/StationsDialog.pyo -%%PYTHON_SITELIBDIR%%/pithos/__init__.pyo -%%PYTHON_SITELIBDIR%%/pithos/dbus_service.pyo -%%PYTHON_SITELIBDIR%%/pithos/gobject_worker.pyo -%%PYTHON_SITELIBDIR%%/pithos/plugin.pyo -%%PYTHON_SITELIBDIR%%/pithos/pylast.pyo -%%PYTHON_SITELIBDIR%%/pithos/sound_menu.pyo -%%PYTHON_SITELIBDIR%%/pithos/pithosconfig.pyo -%%DATADIR%%/icons/scalable/apps/pithos-mono.svg -%%DATADIR%%/icons/scalable/apps/pithos.svg -%%DATADIR%%/media/album_default.png -%%DATADIR%%/media/album_default.svg -%%DATADIR%%/media/icon.png %%DATADIR%%/media/pithos-mono.png -%%DATADIR%%/media/rate_bg.png +%%DATADIR%%/media/icon.png %%DATADIR%%/media/rate_bg.svg -%%DATADIR%%/ui/AboutPithosDialog.ui +%%DATADIR%%/media/album_default.png +%%DATADIR%%/media/rate_bg.png +%%DATADIR%%/media/album_default.svg +%%DATADIR%%/icons/scalable/apps/pithos-mono.svg +%%DATADIR%%/icons/scalable/apps/pithos.svg +%%DATADIR%%/pithos.desktop %%DATADIR%%/ui/PithosWindow.ui +%%DATADIR%%/ui/preferences_pithos_dialog.xml +%%DATADIR%%/ui/pithos_window.xml %%DATADIR%%/ui/PreferencesPithosDialog.ui +%%DATADIR%%/ui/stations_dialog.xml +%%DATADIR%%/ui/search_dialog.xml +%%DATADIR%%/ui/AboutPithosDialog.ui +%%DATADIR%%/ui/about_pithos_dialog.xml %%DATADIR%%/ui/SearchDialog.ui %%DATADIR%%/ui/StationsDialog.ui -%%DATADIR%%/ui/about_pithos_dialog.xml -%%DATADIR%%/ui/pithos_window.xml -%%DATADIR%%/ui/preferences_pithos_dialog.xml -%%DATADIR%%/ui/search_dialog.xml -%%DATADIR%%/ui/stations_dialog.xml -@dirrm %%DATADIR%%/ui -@dirrm %%DATADIR%%/media @dirrm %%DATADIR%%/icons/scalable/apps @dirrm %%DATADIR%%/icons/scalable @dirrm %%DATADIR%%/icons +@dirrm %%DATADIR%%/media +@dirrm %%DATADIR%%/ui @dirrm %%DATADIR%% -@dirrm %%PYTHON_SITELIBDIR%%/pithos/plugins -@dirrm %%PYTHON_SITELIBDIR%%/pithos/pandora -@dirrm %%PYTHON_SITELIBDIR%%/pithos >Release-Note: >Audit-Trail: >Unformatted: