pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/inputmethod/ibus-libpinyin (inputmethod/ibus-libpinyin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2bc4cd8116ac
branches:  trunk
changeset: 447995:2bc4cd8116ac
user:      mef <mef%pkgsrc.org@localhost>
date:      Tue Mar 02 03:36:17 2021 +0000

description:
(inputmethod/ibus-libpinyin) adapt PLIST to python version

diffstat:

 inputmethod/ibus-libpinyin/Makefile |   4 +++-
 inputmethod/ibus-libpinyin/PLIST    |  22 +++++++++++-----------
 2 files changed, 14 insertions(+), 12 deletions(-)

diffs (54 lines):

diff -r 40a81b42e850 -r 2bc4cd8116ac inputmethod/ibus-libpinyin/Makefile
--- a/inputmethod/ibus-libpinyin/Makefile       Tue Mar 02 03:35:54 2021 +0000
+++ b/inputmethod/ibus-libpinyin/Makefile       Tue Mar 02 03:36:17 2021 +0000
@@ -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_LIBTOOL=   yes
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
+PYVERSION_DIGIT=               ${PYPKGPREFIX:S/py//}
+PLIST_SUBST+=                  PYVERSION_DIGIT=${PYVERSION_DIGIT}
 
 .include "options.mk"
 
diff -r 40a81b42e850 -r 2bc4cd8116ac inputmethod/ibus-libpinyin/PLIST
--- a/inputmethod/ibus-libpinyin/PLIST  Tue Mar 02 03:35:54 2021 +0000
+++ b/inputmethod/ibus-libpinyin/PLIST  Tue Mar 02 03:36:17 2021 +0000
@@ -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/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



Home | Main Index | Thread Index | Old Index