pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-pithos: add incomplete package.



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Wed Jan 13 20:24:38 2016 +0100
Changeset:	5e00322df29767c2697112114cac5af20907ec16

Modified Files:
	Makefile
Added Files:
	py-pithos/DESCR
	py-pithos/Makefile
	py-pithos/PLIST
	py-pithos/TODO
	py-pithos/distinfo

Log Message:
py-pithos: add incomplete package.

TODO:
wants to use py-notify and python-3.x, but pkgsrc notify does not
support python-3.x.  Might have other missing dependencies, see
Makefile.

DESCR:
Pithos is a native Pandora Radio client for Linux. It's much more
lightweight than the Pandora.com web client, and integrates with
desktop features such as media keys, notifications, and the sound
menu.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5e00322df29767c2697112114cac5af20907ec16

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile           |   1 +
 py-pithos/DESCR    |   4 ++
 py-pithos/Makefile |  47 ++++++++++++++++++++++++
 py-pithos/PLIST    | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 py-pithos/TODO     |   3 ++
 py-pithos/distinfo |   6 +++
 6 files changed, 166 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 3511636..cf9e710 100755
--- a/Makefile
+++ b/Makefile
@@ -3085,6 +3085,7 @@ SUBDIR+=	py-peru
 SUBDIR+=	py-pet
 SUBDIR+=	py-pint
 SUBDIR+=	py-piquant
+SUBDIR+=	py-pithos
 SUBDIR+=	py-pkginfo
 SUBDIR+=	py-plete
 SUBDIR+=	py-plex
diff --git a/py-pithos/DESCR b/py-pithos/DESCR
new file mode 100644
index 0000000..45e062e
--- /dev/null
+++ b/py-pithos/DESCR
@@ -0,0 +1,4 @@
+Pithos is a native Pandora Radio client for Linux. It's much more
+lightweight than the Pandora.com web client, and integrates with
+desktop features such as media keys, notifications, and the sound
+menu.
diff --git a/py-pithos/Makefile b/py-pithos/Makefile
new file mode 100644
index 0000000..89f73c3
--- /dev/null
+++ b/py-pithos/Makefile
@@ -0,0 +1,47 @@
+# $NetBSD$
+
+DISTNAME=	${PYPKGPREFIX}-pithos-1.1.2
+CATEGORIES=	audio net
+MASTER_SITES=	${MASTER_SITE_GITHUB:=pithos/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://pithos.github.io/
+COMMENT=	Native grapical client for Pandora
+LICENSE=	gnu-gpl-v2
+
+DEPENDS+=	${PYPKGPREFIX}-dbus-[0-9]*:../../sysutils/py-dbus
+DEPENDS+=	${PYPKGPREFIX}-gobject3-[0-9]*:../../devel/py-gobject3
+DEPENDS+=	${PYPKGPREFIX}-last-[0-9]*:../../audio/py-last
+DEPENDS+=	${PYPKGPREFIX}-gstreamer1-[0-9]*:../../multimedia/py-gstreamer1
+DEPENDS+=	gst-plugins1-bad-[0-9]*:../../multimedia/gst-plugins1-bad
+DEPENDS+=	gst-plugins1-good-[0-9]*:../../multimedia/gst-plugins1-good
+DEPENDS+=	gdk-pixbuf2-[0-9]*:../../graphics/gdk-pixbuf2
+DEPENDS+=	gnome-icon-theme-symbolic-[0-9]*:../../graphics/gnome-icon-theme-symbolic
+#DEPENDS+=	${PYPKGPREFIX}-notify-[0-9]*:../../sysutils/py-notify
+
+# https://github.com/pithos/pithos/wiki/Installing-from-Source
+# missing, perhaps:
+# python3-gi-cairo \
+# gir1.2-gstreamer-1.0 gir1.2-gst-plugins-base-1.0
+# gir1.2-secret-1
+# gir1.2-appindicator3-0.1 gir1.2-notify-0.7 gir1.2-keybinder-3.0
+
+USE_LANGUAGES=	# none
+USE_TOOLS+=	intltool
+PYTHON_VERSIONS_INCOMPATIBLE=	27 33
+PLIST_SUBST+=	PYVERSSUFFIX=${PYVERSSUFFIX}
+
+SUBST_CLASSES+=		prefix
+SUBST_SED.prefix+=	-e "s,/usr,${PREFIX},g"
+SUBST_FILES.prefix+=	setup.py
+SUBST_MESSAGE.prefix=	Fix installation prefix.
+SUBST_STAGE.prefix=	pre-configure
+
+post-install:
+	${MV} ${DESTDIR}${PREFIX}/bin/pithos ${DESTDIR}${PREFIX}/bin/pithos-${PYVERSSUFFIX}
+
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-pithos/PLIST b/py-pithos/PLIST
new file mode 100644
index 0000000..25d6a75
--- /dev/null
+++ b/py-pithos/PLIST
@@ -0,0 +1,105 @@
+@comment $NetBSD$
+bin/pithos-${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/pithos/AboutPithosDialog.py
+${PYSITELIB}/pithos/AboutPithosDialog.pyc
+${PYSITELIB}/pithos/AboutPithosDialog.pyo
+${PYSITELIB}/pithos/PreferencesPithosDialog.py
+${PYSITELIB}/pithos/PreferencesPithosDialog.pyc
+${PYSITELIB}/pithos/PreferencesPithosDialog.pyo
+${PYSITELIB}/pithos/SearchDialog.py
+${PYSITELIB}/pithos/SearchDialog.pyc
+${PYSITELIB}/pithos/SearchDialog.pyo
+${PYSITELIB}/pithos/StationsDialog.py
+${PYSITELIB}/pithos/StationsDialog.pyc
+${PYSITELIB}/pithos/StationsDialog.pyo
+${PYSITELIB}/pithos/__init__.py
+${PYSITELIB}/pithos/__init__.pyc
+${PYSITELIB}/pithos/__init__.pyo
+${PYSITELIB}/pithos/__main__.py
+${PYSITELIB}/pithos/__main__.pyc
+${PYSITELIB}/pithos/__main__.pyo
+${PYSITELIB}/pithos/data/media/album_default.png
+${PYSITELIB}/pithos/data/media/album_default.svg
+${PYSITELIB}/pithos/data/media/icon.svg
+${PYSITELIB}/pithos/data/media/pithos-tray-icon.png
+${PYSITELIB}/pithos/data/media/rate_bg.png
+${PYSITELIB}/pithos/data/media/rate_bg.svg
+${PYSITELIB}/pithos/data/ui/AboutPithosDialog.ui
+${PYSITELIB}/pithos/data/ui/PithosWindow.ui
+${PYSITELIB}/pithos/data/ui/PreferencesPithosDialog.ui
+${PYSITELIB}/pithos/data/ui/SearchDialog.ui
+${PYSITELIB}/pithos/data/ui/StationsDialog.ui
+${PYSITELIB}/pithos/data/ui/about_pithos_dialog.xml
+${PYSITELIB}/pithos/data/ui/app_menu.ui
+${PYSITELIB}/pithos/data/ui/pithos_window.xml
+${PYSITELIB}/pithos/data/ui/preferences_pithos_dialog.xml
+${PYSITELIB}/pithos/data/ui/search_dialog.xml
+${PYSITELIB}/pithos/data/ui/stations_dialog.xml
+${PYSITELIB}/pithos/gobject_worker.py
+${PYSITELIB}/pithos/gobject_worker.pyc
+${PYSITELIB}/pithos/gobject_worker.pyo
+${PYSITELIB}/pithos/pandora/__init__.py
+${PYSITELIB}/pithos/pandora/__init__.pyc
+${PYSITELIB}/pithos/pandora/__init__.pyo
+${PYSITELIB}/pithos/pandora/blowfish.py
+${PYSITELIB}/pithos/pandora/blowfish.pyc
+${PYSITELIB}/pithos/pandora/blowfish.pyo
+${PYSITELIB}/pithos/pandora/data.py
+${PYSITELIB}/pithos/pandora/data.pyc
+${PYSITELIB}/pithos/pandora/data.pyo
+${PYSITELIB}/pithos/pandora/fake.py
+${PYSITELIB}/pithos/pandora/fake.pyc
+${PYSITELIB}/pithos/pandora/fake.pyo
+${PYSITELIB}/pithos/pandora/pandora.py
+${PYSITELIB}/pithos/pandora/pandora.pyc
+${PYSITELIB}/pithos/pandora/pandora.pyo
+${PYSITELIB}/pithos/pithos.py
+${PYSITELIB}/pithos/pithos.pyc
+${PYSITELIB}/pithos/pithos.pyo
+${PYSITELIB}/pithos/pithosconfig.py
+${PYSITELIB}/pithos/pithosconfig.pyc
+${PYSITELIB}/pithos/pithosconfig.pyo
+${PYSITELIB}/pithos/plugin.py
+${PYSITELIB}/pithos/plugin.pyc
+${PYSITELIB}/pithos/plugin.pyo
+${PYSITELIB}/pithos/plugins/__init__.py
+${PYSITELIB}/pithos/plugins/__init__.pyc
+${PYSITELIB}/pithos/plugins/__init__.pyo
+${PYSITELIB}/pithos/plugins/_dbus_service.py
+${PYSITELIB}/pithos/plugins/_dbus_service.pyc
+${PYSITELIB}/pithos/plugins/_dbus_service.pyo
+${PYSITELIB}/pithos/plugins/_mpris.py
+${PYSITELIB}/pithos/plugins/_mpris.pyc
+${PYSITELIB}/pithos/plugins/_mpris.pyo
+${PYSITELIB}/pithos/plugins/lastfm.py
+${PYSITELIB}/pithos/plugins/lastfm.pyc
+${PYSITELIB}/pithos/plugins/lastfm.pyo
+${PYSITELIB}/pithos/plugins/mediakeys.py
+${PYSITELIB}/pithos/plugins/mediakeys.pyc
+${PYSITELIB}/pithos/plugins/mediakeys.pyo
+${PYSITELIB}/pithos/plugins/mpris.py
+${PYSITELIB}/pithos/plugins/mpris.pyc
+${PYSITELIB}/pithos/plugins/mpris.pyo
+${PYSITELIB}/pithos/plugins/notification_icon.py
+${PYSITELIB}/pithos/plugins/notification_icon.pyc
+${PYSITELIB}/pithos/plugins/notification_icon.pyo
+${PYSITELIB}/pithos/plugins/notify.py
+${PYSITELIB}/pithos/plugins/notify.pyc
+${PYSITELIB}/pithos/plugins/notify.pyo
+${PYSITELIB}/pithos/plugins/screensaver_pause.py
+${PYSITELIB}/pithos/plugins/screensaver_pause.pyc
+${PYSITELIB}/pithos/plugins/screensaver_pause.pyo
+${PYSITELIB}/pithos/util.py
+${PYSITELIB}/pithos/util.pyc
+${PYSITELIB}/pithos/util.pyo
+share/appdata/pithos.appdata.xml
+share/applications/pithos.desktop
+share/icons/hicolor/48x48/apps/pithos-tray-icon.png
+share/icons/hicolor/scalable/apps/pithos.svg
+share/icons/ubuntu-mono-dark/apps/16/pithos-tray-icon.svg
+share/icons/ubuntu-mono-light/apps/16/pithos-tray-icon.svg
diff --git a/py-pithos/TODO b/py-pithos/TODO
new file mode 100644
index 0000000..3a96c49
--- /dev/null
+++ b/py-pithos/TODO
@@ -0,0 +1,3 @@
+wants to use py-notify and python-3.x, but pkgsrc notify does not
+support python-3.x.  Might have other missing dependencies, see
+Makefile.
diff --git a/py-pithos/distinfo b/py-pithos/distinfo
new file mode 100644
index 0000000..da344be
--- /dev/null
+++ b/py-pithos/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (pithos-1.1.2.tar.gz) = cf848e9f37a38813964cb89ab0616806a6cbff1e
+RMD160 (pithos-1.1.2.tar.gz) = fc791c05a0eb29380e4c04716bd54047146ff5d3
+SHA512 (pithos-1.1.2.tar.gz) = 3eb5177de64f3e7e0a19409adebb1bf77a4c5d6226b6cc4a536611662a89599dc6175c92883af5f4115b6599ba94a8439fef769b0879a05fa48685598c4cdd01
+Size (pithos-1.1.2.tar.gz) = 115119 bytes


Home | Main Index | Thread Index | Old Index