diff options
author | mef <mef@pkgsrc.org> | 2021-03-02 03:36:17 +0000 |
---|---|---|
committer | mef <mef@pkgsrc.org> | 2021-03-02 03:36:17 +0000 |
commit | 298c2b35f9f10f089c03dcf3ec9169d4e777ea85 (patch) | |
tree | 8d003b27b1a329f58050f976bce33a52512e6370 | |
parent | 9aa64e73806624a9b45f4ad4d042941c5893f2da (diff) | |
download | pkgsrc-298c2b35f9f10f089c03dcf3ec9169d4e777ea85.tar.gz |
(inputmethod/ibus-libpinyin) adapt PLIST to python version
-rw-r--r-- | inputmethod/ibus-libpinyin/Makefile | 4 | ||||
-rw-r--r-- | inputmethod/ibus-libpinyin/PLIST | 22 |
2 files changed, 14 insertions, 12 deletions
diff --git a/inputmethod/ibus-libpinyin/Makefile b/inputmethod/ibus-libpinyin/Makefile index cebd98982c9..a1bb92ac7c3 100644 --- a/inputmethod/ibus-libpinyin/Makefile +++ b/inputmethod/ibus-libpinyin/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2021/02/27 16:50:28 ryoon Exp $ +# $NetBSD: Makefile,v 1.23 2021/03/02 03:36:17 mef Exp $ DISTNAME= ibus-libpinyin-1.12.0 CATEGORIES= inputmethod chinese @@ -15,6 +15,8 @@ USE_LANGUAGES= c c++ USE_LIBTOOL= yes PYTHON_VERSIONS_INCOMPATIBLE= 27 +PYVERSION_DIGIT= ${PYPKGPREFIX:S/py//} +PLIST_SUBST+= PYVERSION_DIGIT=${PYVERSION_DIGIT} .include "options.mk" diff --git a/inputmethod/ibus-libpinyin/PLIST b/inputmethod/ibus-libpinyin/PLIST index 2fff794979c..6fb5278e7ba 100644 --- a/inputmethod/ibus-libpinyin/PLIST +++ b/inputmethod/ibus-libpinyin/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2021/02/27 16:50:28 ryoon Exp $ +@comment $NetBSD: PLIST,v 1.3 2021/03/02 03:36:17 mef Exp $ libexec/ibus-engine-libpinyin libexec/ibus-setup-libpinyin share/applications/ibus-setup-libbopomofo.desktop @@ -18,16 +18,16 @@ share/ibus-libpinyin/icons/ibus-pinyin.svg share/ibus-libpinyin/icons/simp-chinese.svg share/ibus-libpinyin/icons/trad-chinese.svg share/ibus-libpinyin/network.txt -share/ibus-libpinyin/setup/__pycache__/config.cpython-39.opt-1.pyc -share/ibus-libpinyin/setup/__pycache__/config.cpython-39.pyc -share/ibus-libpinyin/setup/__pycache__/dicttreeview.cpython-39.opt-1.pyc -share/ibus-libpinyin/setup/__pycache__/dicttreeview.cpython-39.pyc -share/ibus-libpinyin/setup/__pycache__/keyboardshortcut.cpython-39.opt-1.pyc -share/ibus-libpinyin/setup/__pycache__/keyboardshortcut.cpython-39.pyc -share/ibus-libpinyin/setup/__pycache__/main2.cpython-39.opt-1.pyc -share/ibus-libpinyin/setup/__pycache__/main2.cpython-39.pyc -share/ibus-libpinyin/setup/__pycache__/shortcuteditor.cpython-39.opt-1.pyc -share/ibus-libpinyin/setup/__pycache__/shortcuteditor.cpython-39.pyc +share/ibus-libpinyin/setup/__pycache__/config.cpython-${PYVERSION_DIGIT}.opt-1.pyc +share/ibus-libpinyin/setup/__pycache__/config.cpython-${PYVERSION_DIGIT}.pyc +share/ibus-libpinyin/setup/__pycache__/dicttreeview.cpython-${PYVERSION_DIGIT}.opt-1.pyc +share/ibus-libpinyin/setup/__pycache__/dicttreeview.cpython-${PYVERSION_DIGIT}.pyc +share/ibus-libpinyin/setup/__pycache__/keyboardshortcut.cpython-${PYVERSION_DIGIT}.opt-1.pyc +share/ibus-libpinyin/setup/__pycache__/keyboardshortcut.cpython-${PYVERSION_DIGIT}.pyc +share/ibus-libpinyin/setup/__pycache__/main2.cpython-${PYVERSION_DIGIT}.opt-1.pyc +share/ibus-libpinyin/setup/__pycache__/main2.cpython-${PYVERSION_DIGIT}.pyc +share/ibus-libpinyin/setup/__pycache__/shortcuteditor.cpython-${PYVERSION_DIGIT}.opt-1.pyc +share/ibus-libpinyin/setup/__pycache__/shortcuteditor.cpython-${PYVERSION_DIGIT}.pyc share/ibus-libpinyin/setup/config.py share/ibus-libpinyin/setup/dicttreeview.py share/ibus-libpinyin/setup/ibus-libpinyin-preferences.ui |