Commit 23c52b64 authored by sunpoet's avatar sunpoet
Browse files

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
parent 7c9c3826
......@@ -193,10 +193,16 @@
# PYTHON_INCLUDEDIR=${PYTHONPREFIX_INCLUDEDIR:S;${PREFIX}/;;}
# PYTHON_LIBDIR=${PYTHONPREFIX_LIBDIR:S;${PREFIX}/;;}
# PYTHON_PLATFORM=${PYTHON_PLATFORM}
# PYTHON_PYOEXTENSION=${PYTHON_PYOEXTENSION}
# PYTHON_SITELIBDIR=${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}
# PYTHON_SUFFIX=${PYTHON_SUFFIX}
# PYTHON_VER=${PYTHON_VER}
# PYTHON_VERSION=${PYTHON_VERSION}
#
# and PYTHON2 and PYTHON3 will be set according to the Python version:
#
# PYTHON2="" PYTHON3="@comment " for Python 2.x
# PYTHON2="@comment " PYTHON3="" for Python 3.x
#
# Deprecated variables, which exist for compatibility and will be removed
# soon:
......@@ -433,6 +439,13 @@ PYTHONPREFIX_SITELIBDIR= ${PYTHON_SITELIBDIR:S;${PYTHONBASE};${PREFIX};}
# Used for recording the installed files.
_PYTHONPKGLIST= ${WRKDIR}/.PLIST.pymodtmp
# PEP 0488 (https://www.python.org/dev/peps/pep-0488/)
.if ${PYTHON_REL} < 3500
PYTHON_PYOEXTENSION= pyo
.else
PYTHON_PYOEXTENSION= opt-1.pyc
.endif
# Ports bound to a certain python version SHOULD
# - use the PYTHON_PKGNAMEPREFIX
# - use directories using the PYTHON_PKGNAMEPREFIX
......@@ -529,11 +542,6 @@ add-plist-pymod:
# of TMPPLIST that end with .py[co], so that they conform
# to PEP 3147 (see http://www.python.org/dev/peps/pep-3147/)
PYMAGICTAG= ${PYTHON_CMD} -c 'import imp; print(imp.get_tag())'
.if ${PYTHON_REL} < 3500
PYOEXTENSION= pyo
.else
PYOEXTENSION= opt-1.pyc
.endif
_USES_stage+= 935:add-plist-python
add-plist-python:
@${AWK} '\
......@@ -542,7 +550,7 @@ add-plist-python:
/^@dirrmtry / {d = substr($$0, 11); if (d in dirs) {print $$0 "/" pc}; print $$0; next} \
{print} \
' \
pc="__pycache__" mt="$$(${PYMAGICTAG})" pyo="${PYOEXTENSION}" \
pc="__pycache__" mt="$$(${PYMAGICTAG})" pyo="${PYTHON_PYOEXTENSION}" \
${TMPPLIST} > ${TMPPLIST}.pyc_tmp
@${MV} ${TMPPLIST}.pyc_tmp ${TMPPLIST}
.endif # ${PYTHON_REL} >= 3200 && defined(_PYTHON_FEATURE_PY3KPLIST)
......@@ -591,9 +599,16 @@ PREFIX= ${PYTHONBASE}
PLIST_SUB+= PYTHON_INCLUDEDIR=${PYTHONPREFIX_INCLUDEDIR:S;${PREFIX}/;;} \
PYTHON_LIBDIR=${PYTHONPREFIX_LIBDIR:S;${PREFIX}/;;} \
PYTHON_PLATFORM=${PYTHON_PLATFORM} \
PYTHON_PYOEXTENSION=${PYTHON_PYOEXTENSION} \
PYTHON_SITELIBDIR=${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;} \
PYTHON_SUFFIX=${PYTHON_SUFFIX} \
PYTHON_VER=${PYTHON_VER} \
PYTHON_VERSION=python${_PYTHON_VERSION}
PYTHON_VERSION=${PYTHON_VERSION}
.if ${PYTHON_REL} < 3000
PLIST_SUB+= PYTHON2="" PYTHON3="@comment "
.else
PLIST_SUB+= PYTHON2="@comment " PYTHON3=""
.endif
_USES_POST+= python
.endif # _INCLUDE_USES_PYTHON_MK
......
......@@ -18,6 +18,7 @@ BUILD_DEPENDS= gsettings-desktop-schemas>=3.2.0:devel/gsettings-desktop-schemas
RUN_DEPENDS= gsettings-desktop-schemas>=3.2.0:devel/gsettings-desktop-schemas \
at-spi2-core>=2.1.5:accessibility/at-spi2-core
NO_ARCH= yes
USES= gettext gmake pkgconfig python:3 shebangfix tar:xz
USE_GNOME= gtk30 intlhack py3gobject3
INSTALLS_ICONS= yes
......@@ -28,15 +29,4 @@ SHEBANG_FILES= plugins/ipython_view.py
GLIB_SCHEMAS= org.a11y.Accerciser.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>
......@@ -13,47 +13,47 @@ man/man1/accerciser.1.gz
%%PYTHON_SITELIBDIR%%/accerciser/prefs_dialog.py
%%PYTHON_SITELIBDIR%%/accerciser/tools.py
%%PYTHON_SITELIBDIR%%/accerciser/ui_manager.py
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/__init__.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/__init__.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/about_dialog.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/about_dialog.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/accerciser.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/accerciser.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/accessible_treeview.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/accessible_treeview.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/bookmarks.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/bookmarks.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/hotkey_manager.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/hotkey_manager.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/i18n.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/i18n.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/icons.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/icons.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/main_window.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/main_window.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/node.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/node.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/prefs_dialog.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/prefs_dialog.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/tools.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/tools.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/ui_manager.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/ui_manager.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/about_dialog.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/about_dialog.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/accerciser.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/accerciser.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/accessible_treeview.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/accessible_treeview.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/bookmarks.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/bookmarks.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/hotkey_manager.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/hotkey_manager.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/i18n.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/i18n.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/icons.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/icons.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/main_window.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/main_window.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/node.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/node.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/prefs_dialog.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/prefs_dialog.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/tools.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/tools.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/ui_manager.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/__pycache__/ui_manager.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/plugin/__init__.py
%%PYTHON_SITELIBDIR%%/accerciser/plugin/base_plugin.py
%%PYTHON_SITELIBDIR%%/accerciser/plugin/message.py
%%PYTHON_SITELIBDIR%%/accerciser/plugin/plugin_manager.py
%%PYTHON_SITELIBDIR%%/accerciser/plugin/view.py
%%PYTHON_SITELIBDIR%%/accerciser/plugin/__pycache__/__init__.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/plugin/__pycache__/__init__.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/plugin/__pycache__/base_plugin.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/plugin/__pycache__/base_plugin.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/plugin/__pycache__/message.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/plugin/__pycache__/message.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/plugin/__pycache__/plugin_manager.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/plugin/__pycache__/plugin_manager.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/plugin/__pycache__/view.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/plugin/__pycache__/view.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/plugin/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/plugin/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/plugin/__pycache__/base_plugin.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/plugin/__pycache__/base_plugin.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/plugin/__pycache__/message.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/plugin/__pycache__/message.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/plugin/__pycache__/plugin_manager.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/plugin/__pycache__/plugin_manager.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/accerciser/plugin/__pycache__/view.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/accerciser/plugin/__pycache__/view.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%DATADIR%%/pixmaps/hicolor/22x22/acceleratorlabel.png
%%DATADIR%%/pixmaps/hicolor/22x22/alert.png
%%DATADIR%%/pixmaps/hicolor/22x22/animation.png
......
......@@ -26,6 +26,7 @@ RUN_DEPENDS= py3?-dbus>=0:devel/py3-dbus \
CONFLICTS= py*-json-py-[0-9]*
PORTSCOUT= limitw:1,even
NO_ARCH= yes
USES= gettext gmake gnome pathfix pkgconfig python:3 tar:xz
USE_GNOME= gtk30 py3gobject3 intlhack
INSTALLS_ICONS= yes
......@@ -37,15 +38,4 @@ post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
${WRKSRC}/src/orca/orca_i18n.py
.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>
This diff is collapsed.
......@@ -17,21 +17,11 @@ RUN_DEPENDS= ${LOCALBASE}/libexec/at-spi2-registryd:accessibility/at-spi2-core
CONFLICTS= at-spi-1.[0-9]*
PORTSCOUT= limitw:1,even
NO_ARCH= yes
USES= gettext gmake gnome pathfix pkgconfig python:3 tar:xz
USE_GNOME= intlhack py3gobject3
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.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>
%%PYTHON_SITELIBDIR%%/pyatspi/Accessibility.py
%%PYTHON_SITELIBDIR%%/pyatspi/__init__.py
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/Accessibility.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/Accessibility.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/__init__.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/__init__.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/action.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/action.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/appevent.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/appevent.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/application.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/application.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/collection.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/collection.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/component.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/component.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/constants.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/constants.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/deviceevent.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/deviceevent.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/document.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/document.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/editabletext.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/editabletext.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/enum.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/enum.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/hypertext.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/hypertext.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/image.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/image.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/interface.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/interface.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/registry.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/registry.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/role.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/role.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/selection.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/selection.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/state.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/state.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/table.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/table.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/tablecell.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/tablecell.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/text.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/text.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/utils.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/utils.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/value.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/value.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/Accessibility.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/Accessibility.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/action.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/action.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/appevent.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/appevent.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/application.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/application.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/collection.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/collection.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/component.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/component.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/constants.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/constants.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/deviceevent.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/deviceevent.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/document.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/document.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/editabletext.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/editabletext.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/enum.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/enum.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/hypertext.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/hypertext.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/image.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/image.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/interface.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/interface.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/registry.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/registry.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/role.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/role.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/selection.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/selection.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/state.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/state.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/table.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/table.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/tablecell.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/tablecell.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/text.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/text.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/utils.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/utils.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/value.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/pyatspi/__pycache__/value.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/pyatspi/action.py
%%PYTHON_SITELIBDIR%%/pyatspi/appevent.py
%%PYTHON_SITELIBDIR%%/pyatspi/application.py
......
bin/spd-conf
%%PYTHON_SITELIBDIR%%/speechd/__init__.py
%%PYTHON_SITELIBDIR%%/speechd/__pycache__/__init__.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/speechd/__pycache__/__init__.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/speechd/__pycache__/_test.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/speechd/__pycache__/_test.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/speechd/__pycache__/client.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/speechd/__pycache__/client.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/speechd/__pycache__/paths.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/speechd/__pycache__/paths.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/speechd/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/speechd/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/speechd/__pycache__/_test.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/speechd/__pycache__/_test.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/speechd/__pycache__/client.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/speechd/__pycache__/client.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/speechd/__pycache__/paths.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/speechd/__pycache__/paths.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/speechd/_test.py
%%PYTHON_SITELIBDIR%%/speechd/client.py
%%PYTHON_SITELIBDIR%%/speechd/paths.py
%%PYTHON_SITELIBDIR%%/speechd_config/__init__.py
%%PYTHON_SITELIBDIR%%/speechd_config/__pycache__/__init__.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/speechd_config/__pycache__/__init__.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/speechd_config/__pycache__/config.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/speechd_config/__pycache__/config.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/speechd_config/__pycache__/paths.cpython-%%PYVER%%.pyc
%%PYTHON_SITELIBDIR%%/speechd_config/__pycache__/paths.cpython-%%PYVER%%.%%PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/speechd_config/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/speechd_config/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/speechd_config/__pycache__/config.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/speechd_config/__pycache__/config.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/speechd_config/__pycache__/paths.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/speechd_config/__pycache__/paths.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON_SITELIBDIR%%/speechd_config/config.py
%%PYTHON_SITELIBDIR%%/speechd_config/paths.py
share/sounds/speech-dispatcher/test.wav
......
......@@ -70,7 +70,6 @@ NAS_CONFIGURE_WITH= nas
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
PULSEAUDIO_CONFIGURE_WITH=pulse
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e '/SUBDIRS/ s/tests//' \
${WRKSRC}/src/Makefile.in
......@@ -87,7 +86,6 @@ post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.else
PORTSCOUT= ignore:1
......@@ -97,17 +95,6 @@ USES+= python:3.3+
LIB_DEPENDS+= libspeechd.so:accessibility/speech-dispatcher
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/xdg/__init__.py:devel/py3-xdg
.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/.//}
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>
......@@ -13,6 +13,7 @@ COMMENT= Utility to provide current weather conditions and forecasts
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE
NO_ARCH= yes
USES= python shebangfix tar:xz
PLIST_FILES= bin/${PORTNAME} \
......@@ -35,12 +36,6 @@ PYCACHE_DIR= __pycache__/
PYCACHE_FILE= ${PORTNAME}.cpython-${PYTHON_SUFFIX}
.endif
.if ${PYTHON_REL} < 3500
PYTHON_PYOEXTENSION= pyo
.else
PYTHON_PYOEXTENSION= opt-1.pyc
.endif
do-build:
@${PYTHON_CMD} -m compileall ${WRKSRC}/${PORTNAME}.py
@${PYTHON_CMD} -O -m compileall ${WRKSRC}/${PORTNAME}.py
......
......@@ -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>
......@@ -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
......
......@@ -69,7 +69,6 @@ MTP_LIB_DEPENDS= libmtp.so:multimedia/libmtp \
libhal.so:sysutils/hal
PYTHON_CONFIGURE_ENABLE= python
PYTHON_USES= python:3.3+
PYTHON_PLIST_SUB+= PYTVER=${PYTHON_SUFFIX} PYOEXTENSION=${PYOEXTENSION}
PYTHON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libpeas>=0:devel/py3-libpeas
# context plugin
# webkit is for the context plugin, which is broken because
......@@ -80,12 +79,6 @@ PYTHON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libpeas>=0:devel/py3-libpeas
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 3500
PYOEXTENSION= pyo
.else
PYOEXTENSION= opt-1.pyc
.endif
post-patch:
@${REINPLACE_CMD} -e 's|{MOZILLA_PLUGINDIR|{MOZILLA_PLUGINDIR}|g' \
${WRKSRC}/configure
......
......@@ -88,20 +88,20 @@ lib/librhythmbox-core.so.9.0.0
%%PYTHON%%lib/rhythmbox/plugins/artsearch/musicbrainz.py
%%PYTHON%%lib/rhythmbox/plugins/artsearch/oldcache.py
%%PYTHON%%lib/rhythmbox/plugins/artsearch/songinfo.py
%%PYTHON%%lib/rhythmbox/plugins/artsearch/__pycache__/artsearch.cpython-%%PYTVER%%.pyc
%%PYTHON%%lib/rhythmbox/plugins/artsearch/__pycache__/artsearch.cpython-%%PYTVER%%.%%PYOEXTENSION%%
%%PYTHON%%lib/rhythmbox/plugins/artsearch/__pycache__/embedded.cpython-%%PYTVER%%.pyc
%%PYTHON%%lib/rhythmbox/plugins/artsearch/__pycache__/embedded.cpython-%%PYTVER%%.%%PYOEXTENSION%%
%%PYTHON%%lib/rhythmbox/plugins/artsearch/__pycache__/lastfm.cpython-%%PYTVER%%.pyc
%%PYTHON%%lib/rhythmbox/plugins/artsearch/__pycache__/lastfm.cpython-%%PYTVER%%.%%PYOEXTENSION%%
%%PYTHON%%lib/rhythmbox/plugins/artsearch/__pycache__/local.cpython-%%PYTVER%%.pyc
%%PYTHON%%lib/rhythmbox/plugins/artsearch/__pycache__/local.cpython-%%PYTVER%%.%%PYOEXTENSION%%
%%PYTHON%%lib/rhythmbox/plugins/artsearch/__pycache__/musicbrainz.cpython-%%PYTVER%%.pyc
%%PYTHON%%lib/rhythmbox/plugins/artsearch/__pycache__/musicbrainz.cpython-%%PYTVER%%.%%PYOEXTENSION%%
%%PYTHON%%lib/rhythmbox/plugins/artsearch/__pycache__/oldcache.cpython-%%PYTVER%%.pyc
%%PYTHON%%lib/rhythmbox/plugins/artsearch/__pycache__/oldcache.cpython-%%PYTVER%%.%%PYOEXTENSION%%
%%PYTHON%%lib/rhythmbox/plugins/artsearch/__pycache__/songinfo.cpython-%%PYTVER%%.pyc
%%PYTHON%%lib/rhythmbox/plugins/artsearch/__pycache__/songinfo.cpython-%%PYTVER%%.%%PYOEXTENSION%%
%%PYTHON%%lib/rhythmbox/plugins/artsearch/__pycache__/artsearch.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON%%lib/rhythmbox/plugins/artsearch/__pycache__/artsearch.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON%%lib/rhythmbox/plugins/artsearch/__pycache__/embedded.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON%%lib/rhythmbox/plugins/artsearch/__pycache__/embedded.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON%%lib/rhythmbox/plugins/artsearch/__pycache__/lastfm.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON%%lib/rhythmbox/plugins/artsearch/__pycache__/lastfm.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON%%lib/rhythmbox/plugins/artsearch/__pycache__/local.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON%%lib/rhythmbox/plugins/artsearch/__pycache__/local.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON%%lib/rhythmbox/plugins/artsearch/__pycache__/musicbrainz.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON%%lib/rhythmbox/plugins/artsearch/__pycache__/musicbrainz.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON%%lib/rhythmbox/plugins/artsearch/__pycache__/oldcache.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON%%lib/rhythmbox/plugins/artsearch/__pycache__/oldcache.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON%%lib/rhythmbox/plugins/artsearch/__pycache__/songinfo.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON%%lib/rhythmbox/plugins/artsearch/__pycache__/songinfo.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
lib/rhythmbox/plugins/audiocd/audiocd.plugin
lib/rhythmbox/plugins/audiocd/libaudiocd.so
lib/rhythmbox/plugins/audioscrobbler/audioscrobbler.plugin
......@@ -122,8 +122,8 @@ lib/rhythmbox/plugins/generic-player/libgeneric-player.so
%%IPOD%%lib/rhythmbox/plugins/ipod/libipod.so
%%PYTHON%%lib/rhythmbox/plugins/im-status/im-status.plugin
%%PYTHON%%lib/rhythmbox/plugins/im-status/im-status.py
%%PYTHON%%lib/rhythmbox/plugins/im-status/__pycache__/im-status.cpython-%%PYTVER%%.pyc
%%PYTHON%%lib/rhythmbox/plugins/im-status/__pycache__/im-status.cpython-%%PYTVER%%.%%PYOEXTENSION%%
%%PYTHON%%lib/rhythmbox/plugins/im-status/__pycache__/im-status.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON%%lib/rhythmbox/plugins/im-status/__pycache__/im-status.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
lib/rhythmbox/plugins/iradio/iradio.plugin
lib/rhythmbox/plugins/iradio/libiradio.so
%%PYTHON%%lib/rhythmbox/plugins/lyrics/AstrawebParser.py
......@@ -138,44 +138,44 @@ lib/rhythmbox/plugins/iradio/libiradio.so
%%PYTHON%%lib/rhythmbox/plugins/lyrics/WinampcnParser.py
%%PYTHON%%lib/rhythmbox/plugins/lyrics/lyrics.plugin
%%PYTHON%%lib/rhythmbox/plugins/lyrics/lyrics.py
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/AstrawebParser.cpython-%%PYTVER%%.pyc
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/AstrawebParser.cpython-%%PYTVER%%.%%PYOEXTENSION%%
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/DarkLyricsParser.cpython-%%PYTVER%%.pyc
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/DarkLyricsParser.cpython-%%PYTVER%%.%%PYOEXTENSION%%
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/JetlyricsParser.cpython-%%PYTVER%%.pyc
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/JetlyricsParser.cpython-%%PYTVER%%.%%PYOEXTENSION%%
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/JlyricParser.cpython-%%PYTVER%%.pyc
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/JlyricParser.cpython-%%PYTVER%%.%%PYOEXTENSION%%
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/LyricWikiParser.cpython-%%PYTVER%%.pyc
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/LyricWikiParser.cpython-%%PYTVER%%.%%PYOEXTENSION%%
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/LyricsConfigureDialog.cpython-%%PYTVER%%.pyc
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/LyricsConfigureDialog.cpython-%%PYTVER%%.%%PYOEXTENSION%%
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/LyricsParse.cpython-%%PYTVER%%.pyc
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/LyricsParse.cpython-%%PYTVER%%.%%PYOEXTENSION%%
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/LyricsSites.cpython-%%PYTVER%%.pyc
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/LyricsSites.cpython-%%PYTVER%%.%%PYOEXTENSION%%
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/TerraParser.cpython-%%PYTVER%%.pyc
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/TerraParser.cpython-%%PYTVER%%.%%PYOEXTENSION%%
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/WinampcnParser.cpython-%%PYTVER%%.pyc
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/WinampcnParser.cpython-%%PYTVER%%.%%PYOEXTENSION%%
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/lyrics.cpython-%%PYTVER%%.pyc
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/lyrics.cpython-%%PYTVER%%.%%PYOEXTENSION%%
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/AstrawebParser.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/AstrawebParser.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/DarkLyricsParser.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/DarkLyricsParser.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/JetlyricsParser.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/JetlyricsParser.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/JlyricParser.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/JlyricParser.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/LyricWikiParser.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/LyricWikiParser.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/LyricsConfigureDialog.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/LyricsConfigureDialog.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/LyricsParse.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON%%lib/rhythmbox/plugins/lyrics/__pycache__/LyricsParse.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%