aboutsummaryrefslogtreecommitdiffstats
path: root/audio/gnome-music
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2017-01-08 05:42:28 +0800
committersunpoet <sunpoet@FreeBSD.org>2017-01-08 05:42:28 +0800
commit23c52b64599893910f073e97b6fe47c1dabdf1bb (patch)
tree34ed59c815a96dcd021876d917ebc81830b5dedf /audio/gnome-music
parent7c9c3826d1bf6da7d2feb77406cd6d9ad2380ad3 (diff)
downloadfreebsd-ports-gnome-23c52b64599893910f073e97b6fe47c1dabdf1bb.tar.gz
freebsd-ports-gnome-23c52b64599893910f073e97b6fe47c1dabdf1bb.tar.zst
freebsd-ports-gnome-23c52b64599893910f073e97b6fe47c1dabdf1bb.zip
Add more PLIST_SUB to Mk/Uses/python.mk
- Add PYTHON_PYOEXTENSION and PYTHON_SUFFIX - Add PYTHON2 and PYTHON3 - Respect PYTHON_VERSION - Rename PYOEXTENSION to PYTHON_PYOEXTENSION This change would help: - Build databases/postgresql*-plpython with Python 3 (It has PLIST issue since bsd.python.mk to Uses/python.mk transition) - Simplify Makefile PR: 205807 Differential Revision: https://reviews.FreeBSD.org/D4758 Exp-run by: antoine
Diffstat (limited to 'audio/gnome-music')
-rw-r--r--audio/gnome-music/Makefile13
-rw-r--r--audio/gnome-music/pkg-plist56
2 files changed, 29 insertions, 40 deletions
diff --git a/audio/gnome-music/Makefile b/audio/gnome-music/Makefile
index 3286df8c5c4a..70062870fabe 100644
--- a/audio/gnome-music/Makefile
+++ b/audio/gnome-music/Makefile
@@ -29,15 +29,4 @@ INSTALL_TARGET= install-strip
GLIB_SCHEMAS= org.gnome.Music.gschema.xml
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 3500
-PYOEXTENSION= pyo
-.else
-PYOEXTENSION= opt-1.pyc
-.endif
-
-PLIST_SUB+= PYOEXTENSION=${PYOEXTENSION} \
- PYVER=${PYTHON_VER:S/.//}
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/gnome-music/pkg-plist b/audio/gnome-music/pkg-plist
index c41720c4547c..ed3743403d20 100644
--- a/audio/gnome-music/pkg-plist
+++ b/audio/gnome-music/pkg-plist
@@ -15,34 +15,34 @@ lib/gnome-music/girepository-1.0/Gd-1.0.typelib
%%PYTHON_SITELIBDIR%%/gnomemusic/view.py
%%PYTHON_SITELIBDIR%%/gnomemusic/widgets.py
%%PYTHON_SITELIBDIR%%/gnomemusic/window.py
-%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/__init__.cpython-%%PYVER%%.pyc
-%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/__init__.cpython-%%PYVER%%.%%PYOEXTENSION%%
-%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/albumArtCache.cpython-%%PYVER%%.pyc
-%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/albumArtCache.cpython-%%PYVER%%.%%PYOEXTENSION%%
-%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/application.cpython-%%PYVER%%.pyc
-%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/application.cpython-%%PYVER%%.%%PYOEXTENSION%%
-%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/grilo.cpython-%%PYVER%%.pyc
-%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/grilo.cpython-%%PYVER%%.%%PYOEXTENSION%%
-%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/mpris.cpython-%%PYVER%%.pyc
-%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/mpris.cpython-%%PYVER%%.%%PYOEXTENSION%%
-%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/notification.cpython-%%PYVER%%.pyc
-%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/notification.cpython-%%PYVER%%.%%PYOEXTENSION%%
-%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/player.cpython-%%PYVER%%.pyc
-%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/player.cpython-%%PYVER%%.%%PYOEXTENSION%%
-%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/playlists.cpython-%%PYVER%%.pyc
-%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/playlists.cpython-%%PYVER%%.%%PYOEXTENSION%%
-%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/query.cpython-%%PYVER%%.pyc
-%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/query.cpython-%%PYVER%%.%%PYOEXTENSION%%
-%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/searchbar.cpython-%%PYVER%%.pyc
-%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/searchbar.cpython-%%PYVER%%.%%PYOEXTENSION%%
-%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/toolbar.cpython-%%PYVER%%.pyc
-%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/toolbar.cpython-%%PYVER%%.%%PYOEXTENSION%%
-%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/view.cpython-%%PYVER%%.pyc
-%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/view.cpython-%%PYVER%%.%%PYOEXTENSION%%
-%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/widgets.cpython-%%PYVER%%.pyc
-%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/widgets.cpython-%%PYVER%%.%%PYOEXTENSION%%
-%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/window.cpython-%%PYVER%%.pyc
-%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/window.cpython-%%PYVER%%.%%PYOEXTENSION%%
+%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
+%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/albumArtCache.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/albumArtCache.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
+%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/application.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/application.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
+%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/grilo.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/grilo.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
+%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/mpris.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/mpris.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
+%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/notification.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/notification.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
+%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/player.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/player.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
+%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/playlists.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/playlists.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
+%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/query.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/query.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
+%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/searchbar.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/searchbar.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
+%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/toolbar.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/toolbar.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
+%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/view.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/view.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
+%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/widgets.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/widgets.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
+%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/window.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/gnomemusic/__pycache__/window.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
man/man1/gnome-music.1.gz
share/appdata/gnome-music.appdata.xml
share/applications/gnome-music.desktop