summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2013-07-10 23:14:48 +0000
committerPatrick McLean <chutzpah@gentoo.org>2013-07-10 23:14:48 +0000
commiteeaee5851c54a492e7638d216ceb9329311ede9b (patch)
tree3bdbf3d712f3018c26054ef2d2623415ed6d1a77 /media-sound/pithos
parentFix for CVE-2013-2230. bug #476094 (diff)
downloadhistorical-eeaee5851c54a492e7638d216ceb9329311ede9b.tar.gz
historical-eeaee5851c54a492e7638d216ceb9329311ede9b.tar.bz2
historical-eeaee5851c54a492e7638d216ceb9329311ede9b.zip
New package: Pithos - A Pandora Radio Client for Linux
Package-Manager: portage-2.1.12.13/cvs/Linux x86_64 Manifest-Sign-Key: 0x5C350883
Diffstat (limited to 'media-sound/pithos')
-rw-r--r--media-sound/pithos/ChangeLog12
-rw-r--r--media-sound/pithos/Manifest27
-rw-r--r--media-sound/pithos/files/pithos-detect-datadir.patch37
-rw-r--r--media-sound/pithos/files/setup.py37
-rw-r--r--media-sound/pithos/metadata.xml8
-rw-r--r--media-sound/pithos/pithos-20130710.ebuild45
-rw-r--r--media-sound/pithos/pithos-9999.ebuild45
7 files changed, 211 insertions, 0 deletions
diff --git a/media-sound/pithos/ChangeLog b/media-sound/pithos/ChangeLog
new file mode 100644
index 000000000000..cef2a49537ce
--- /dev/null
+++ b/media-sound/pithos/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for media-sound/pithos
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pithos/ChangeLog,v 1.1 2013/07/10 23:14:43 chutzpah Exp $
+
+*pithos-20130710 (10 Jul 2013)
+*pithos-9999 (10 Jul 2013)
+
+ 10 Jul 2013; Patrick McLean <chutz@gentoo.org> +pithos-9999.ebuild,
+ +pithos-20130710.ebuild, +files/pithos-detect-datadir.patch, +files/setup.py,
+ +metadata.xml:
+ Initial import.
+
diff --git a/media-sound/pithos/Manifest b/media-sound/pithos/Manifest
new file mode 100644
index 000000000000..355eaadfb7ca
--- /dev/null
+++ b/media-sound/pithos/Manifest
@@ -0,0 +1,27 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX pithos-detect-datadir.patch 1818 SHA256 59d46cd8a8a7b91be6f5252f900fa67acd8d7cf812ef4b7d041ad4f89ee7e25f SHA512 3dc757b5b1fae074eb30e28872ec050e123bf386128482b4687429b96aec8962c48ff2e8f15c2d9edb990dff3a4a92a7fc59e62cf15a8d01ed1522c9f673b9d6 WHIRLPOOL 648328ee123ee8f6df497e4878437da1d734c6488690d1edf6919f87f9072b6e10e9e5f1fa1d7416107ff3a2fa4c2972c40d775cab231d6fbe22c58bf901bf9d
+AUX setup.py 1120 SHA256 2297bbdfede1f81214f94a215992610c077a20a5995ebf987cc69e8a9804f07d SHA512 8669452b177031c9eb20de122b0d0644dc16703e8d502b4e7cc4e2ceacc18ff123275a995af2fc128fe14a31e39b1922e6791d5d77d07b90f0b0c97cd46d5f86 WHIRLPOOL 9eca6e86d2c2bb14ea313e97ba2bf3fa35eaa7ccc152767bc9343ee5d97d65115e48156baef746ec13e83a33852ab9830be543899032afe7cab62046b66f5774
+DIST pithos-20130710.tar.gz 138260 SHA256 db6dcdcacb90757396295c4ac7b3f1af9ce4bc2c5ef425e0bfc3dabc106c7d86 SHA512 8e975075e4fee61ffe6520bc8bcf882861cb98c0c04a2a351fa2da3501576771cf095094efc75e94f11c6ad5fc9010dce38bb8a875f0c44ec5501492b65593f8 WHIRLPOOL 8c0c18742f7ee6d21eaf1da99beb5c4d5dc16678f0c2f64d43398ea89d90f9b8e7876145ed877fd52030ddd49b3e6e102f86263de84c91f4f1d111f0d605f8dc
+EBUILD pithos-20130710.ebuild 1275 SHA256 d511f5eb25b9ae3129b511152a8444cdffcb428fa29102746053e4bfbfaaf892 SHA512 13e72a5f31ced563cb627f7da4362ae26620101f69ade2b319c40023a5477bad3dbb227a73e758438a4f79243e68b9e8b6783e7be9770a08462bfdd237801077 WHIRLPOOL 5793aef854224277399f0cf28011ebac980bed2d468c14317b69823ef464b1e2f590e3c63e24d69ce49d3a63e1758c789d5bddd59bac8e775b982798ab200bfb
+EBUILD pithos-9999.ebuild 1265 SHA256 ecb1acc8155cff560fb07c80a38ddd9bfc883c2feaa317d4ee6725eabfb29fb9 SHA512 bbe60425e0c10908d1c002cbef8b9f03e464baafb07823f90e7878ceb26534b334404ef8c6bb799d61d464e75d6f8ecc5afd4ea8417bf9c04a806a6a49eb6c2f WHIRLPOOL 31488afaf522795993740707fee75d8846cc04a64005ab84ef175d579f9913be53d5c15d73530aa5e369b43dad5ec2e1339f82b9f4f6872d1fc2049b8b1f6d65
+MISC ChangeLog 456 SHA256 e88df19a9fab3171fded268c27ead0a77cca4f33fb3a77d8569349aeb1d5b51e SHA512 881b07d88ad9256149a2baf90eb14ea49e6bde05629f09ae3092b041a89a7c55862574fa211486fcdd2609ad329b9f82518d57f7fa975a19d7c0cc15ef79d785 WHIRLPOOL cec263acd6935f4245d9082e7f0c41c926e32ed46144a85d4acded8db23e8d49ddd758dcd2bc35fc9ab80ea55a0c526536d3ec8b41de61d06787fb1860aa2773
+MISC metadata.xml 235 SHA256 eeecec82a9d4e1a6330fa485c7503118f87431a470fc7da57412778731048f74 SHA512 2fa3e4bfc7d03b52e6cb2b8c5c791ace815d2590fd89005dbc15127a9a155439982a5b256440a63af63a0013818f371ab57c363de78ab4096219e775b361a3e6 WHIRLPOOL 68556a383f7efe32bd43d3891e57c9c075b03b7cdd4f7f06d088a84119de3c0db6b94f5eb461e3b351cc13eda5c0f2c89c7faa71f7b68d90c3eecd43953102bf
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.20 (GNU/Linux)
+
+iQIcBAEBCAAGBQJR3erkAAoJEHy/RO9cNQiDaIQP/RLs6M/bdktU/u/6uAYtp5Cm
+/ODL4/K85gwizh5wFSPpy4JtLgW7b2nq0S4cNeIFyGxxkO0StEEZtp6EqRxmXu+z
+3/MZtJN+S+6tM3NLE0zb4FyIqu1bnTeuxVGnkRYN5E+vHOA2Hss/tMWGeAbR+WXk
+FdY0Db/PyeMr4gg/YM4aS4n9JHts7ghvTmifqAx9k7f22S2NMU9Bz9PZsHwH9mcR
+R3jNaq/fJTe+lzg+BE5S+OjL3i+euOAHhmSuch3sP9WJeHLAzqrmRZ19Ex/6w05H
+ITFU3DB6dRcSx1F9ZoPDDb/69KbZo1VjQlAPQgVFtPBM0qD+H5NuIhoFua7Nx6Lm
+gk1gdjNZL+bALJhi8j8CjU2WdyrSyNFKsYWjgDedbHj5+yyZFGHTPNxNjogDxYmc
+d9qi7u/aXpx5FvKIkzpatMnp/ejOOM7kct7G5ypw9vb+XMlCZBZQoqFh4QNpdbrl
+p8ADeCq3KWxFHlAqJhoKjW2uG7dhl3mTJs5COHED7KcCEEjDoiv7PKe8ScY5P8Pa
+9tqCLChlZd7OcXKrDG7SvU+dujK4dhSBVpq+u/pUe0JVnol69Avbu+p1RckQUqCM
+Vak2ygxTXX/iZ67TyQsYHcFRy/JrzbxPHK76ZrBCNSLHV7+4cEW7f10lbV1iJYkB
+6gN4FP2RTKhzXTypew26
+=rPLf
+-----END PGP SIGNATURE-----
diff --git a/media-sound/pithos/files/pithos-detect-datadir.patch b/media-sound/pithos/files/pithos-detect-datadir.patch
new file mode 100644
index 000000000000..018f8e368fa3
--- /dev/null
+++ b/media-sound/pithos/files/pithos-detect-datadir.patch
@@ -0,0 +1,37 @@
+diff --git a/pithos/pithosconfig.py b/pithos/pithosconfig.py
+index dd46d2b..f82b458 100644
+--- a/pithos/pithosconfig.py
++++ b/pithos/pithosconfig.py
+@@ -1,22 +1,25 @@
+ # -*- coding: utf-8; tab-width: 4; indent-tabs-mode: nil; -*-
+ ### BEGIN LICENSE
+ # Copyright (C) 2010-2012 Kevin Mehall <km@kevinmehall.net>
+-#This program is free software: you can redistribute it and/or modify it
+-#under the terms of the GNU General Public License version 3, as published
++#This program is free software: you can redistribute it and/or modify it
++#under the terms of the GNU General Public License version 3, as published
+ #by the Free Software Foundation.
+ #
+-#This program is distributed in the hope that it will be useful, but
+-#WITHOUT ANY WARRANTY; without even the implied warranties of
+-#MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
++#This program is distributed in the hope that it will be useful, but
++#WITHOUT ANY WARRANTY; without even the implied warranties of
++#MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
+ #PURPOSE. See the GNU General Public License for more details.
+ #
+-#You should have received a copy of the GNU General Public License along
++#You should have received a copy of the GNU General Public License along
+ #with this program. If not, see <http://www.gnu.org/licenses/>.
+ ### END LICENSE
+
+ # where your project will head for your data (for instance, images and ui files)
+ # by default, this is ../data, relative your trunk layout
+-__pithos_data_directory__ = '../data/'
++from os.path import isdir, normpath, join
++__pithos_data_directory__ = (normpath(join(__file__, '../data/'))
++ if isdir(join(__file__, '../data/'))
++ else '/usr/share/pithos')
+ __license__ = 'GPL-3'
+
+ VERSION = '0.3.17'
diff --git a/media-sound/pithos/files/setup.py b/media-sound/pithos/files/setup.py
new file mode 100644
index 000000000000..0d5776ae4a98
--- /dev/null
+++ b/media-sound/pithos/files/setup.py
@@ -0,0 +1,37 @@
+# replacement for setup.py for pithos as the included one is.. less than ideal
+
+from os import walk
+from glob import glob
+from os.path import join
+from setuptools import setup, find_packages
+
+DATA_DIR = '/usr/share/pithos/'
+ICON_DIR = '/usr/share/icons/hicolor/'
+APP_DIR = '/usr/share/applications'
+
+datadir = 'data'
+datadirs = ['ui', 'media']
+icondir = 'data/icons'
+bindir = 'bin'
+
+datafiles = [[(join(DATA_DIR, root.partition(datadir)[2].lstrip('/')), [join(root, f) for f in files])
+ for root, dirs, files in walk(join(datadir, data))][0] for data in datadirs]
+
+datafiles += ([(join(ICON_DIR, root.partition(icondir)[2].lstrip('/')), [join(root, f) for f in files])
+ for root, dirs, files in walk(icondir)])
+
+datafiles += [(APP_DIR, glob('*.desktop'))]
+
+setup(
+ name='pithos',
+ version='0.3',
+ ext_modules=[],
+ license='GPL-3',
+ author='Kevin Mehall',
+ author_email='km@kevinmehall.net',
+ description='Pandora.com client for the GNOME desktop',
+ packages=find_packages(),
+ url='https://launchpad.net/pithos',
+ data_files=datafiles,
+ scripts=glob('bin/*'),
+)
diff --git a/media-sound/pithos/metadata.xml b/media-sound/pithos/metadata.xml
new file mode 100644
index 000000000000..340136403603
--- /dev/null
+++ b/media-sound/pithos/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>chutzpah@gentoo.org</email>
+ <name>Patrick McLean</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/media-sound/pithos/pithos-20130710.ebuild b/media-sound/pithos/pithos-20130710.ebuild
new file mode 100644
index 000000000000..47c6fc89d587
--- /dev/null
+++ b/media-sound/pithos/pithos-20130710.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pithos/pithos-20130710.ebuild,v 1.1 2013/07/10 23:14:43 chutzpah Exp $
+
+EAPI=5
+PYTHON_COMPAT=(python2_7)
+inherit eutils distutils-r1
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-2
+ EGIT_REPO_URI="git://github.com/kevinmehall/pithos.git
+ https://github.com/kevinmehall/pithos.git"
+else
+ MY_PV="759fd22b993b063527866dedfb335a88d0c71766"
+ SRC_URI="https://github.com/kevinmehall/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}-${MY_PV}"
+fi
+
+DESCRIPTION="A Pandora Radio (pandora.com) player for the GNOME Desktop"
+HOMEPAGE="http://kevinmehall.net/p/pithos/"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="gnome"
+
+DEPEND="dev-python/setuptools"
+
+RDEPEND="dev-python/pyxdg
+ dev-python/pygobject:2
+ dev-python/notify-python
+ dev-python/pygtk
+ dev-python/gst-python
+ dev-python/dbus-python
+ media-plugins/gst-plugins-meta[aac,http,mp3]
+ gnome? ( gnome-base/gnome-settings-daemon )
+ !gnome? ( dev-libs/keybinder[python] )"
+
+src_prepare() {
+ # replace the build system with something more sane
+ epatch "${FILESDIR}"/${PN}-detect-datadir.patch
+ cp "${FILESDIR}"/setup.py "${S}"
+
+ distutils-r1_src_prepare
+}
diff --git a/media-sound/pithos/pithos-9999.ebuild b/media-sound/pithos/pithos-9999.ebuild
new file mode 100644
index 000000000000..5e46bfff186c
--- /dev/null
+++ b/media-sound/pithos/pithos-9999.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pithos/pithos-9999.ebuild,v 1.1 2013/07/10 23:14:43 chutzpah Exp $
+
+EAPI=5
+PYTHON_COMPAT=(python2_7)
+inherit eutils distutils-r1
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-2
+ EGIT_REPO_URI="git://github.com/kevinmehall/pithos.git
+ https://github.com/kevinmehall/pithos.git"
+else
+ MY_PV="759fd22b993b063527866dedfb335a88d0c71766"
+ SRC_URI="https://github.com/kevinmehall/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}-${MY_PV}"
+fi
+
+DESCRIPTION="A Pandora Radio (pandora.com) player for the GNOME Desktop"
+HOMEPAGE="http://kevinmehall.net/p/pithos/"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+IUSE="gnome"
+
+DEPEND="dev-python/setuptools"
+
+RDEPEND="dev-python/pyxdg
+ dev-python/pygobject:2
+ dev-python/notify-python
+ dev-python/pygtk
+ dev-python/gst-python
+ dev-python/dbus-python
+ media-plugins/gst-plugins-meta[aac,http,mp3]
+ gnome? ( gnome-base/gnome-settings-daemon )
+ !gnome? ( dev-libs/keybinder[python] )"
+
+src_prepare() {
+ # replace the build system with something more sane
+ epatch "${FILESDIR}"/${PN}-detect-datadir.patch
+ cp "${FILESDIR}"/setup.py "${S}"
+
+ distutils-r1_src_prepare
+}