diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2008-03-28 18:30:45 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2008-03-28 18:30:45 +0000 |
commit | e2df7a15052246375bfabd6659f8c5699723e44f (patch) | |
tree | 02471c546b3ed2d883d5a2829c8c0e94ae34ec93 /sci-visualization/qtiplot | |
parent | Version bump. (diff) | |
download | historical-e2df7a15052246375bfabd6659f8c5699723e44f.tar.gz historical-e2df7a15052246375bfabd6659f8c5699723e44f.tar.bz2 historical-e2df7a15052246375bfabd6659f8c5699723e44f.zip |
Version bump. Thanks Dieter Ries for the update (closing bug #215192). Removed older versions.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'sci-visualization/qtiplot')
-rw-r--r-- | sci-visualization/qtiplot/ChangeLog | 10 | ||||
-rw-r--r-- | sci-visualization/qtiplot/Manifest | 20 | ||||
-rw-r--r-- | sci-visualization/qtiplot/files/qtiplot-0.9.4-systemlibs.patch | 114 | ||||
-rw-r--r-- | sci-visualization/qtiplot/qtiplot-0.9.2.ebuild | 101 | ||||
-rw-r--r-- | sci-visualization/qtiplot/qtiplot-0.9.4.ebuild (renamed from sci-visualization/qtiplot/qtiplot-0.9.2-r1.ebuild) | 51 |
5 files changed, 161 insertions, 135 deletions
diff --git a/sci-visualization/qtiplot/ChangeLog b/sci-visualization/qtiplot/ChangeLog index 1fa8fb927dd8..5f2c08823767 100644 --- a/sci-visualization/qtiplot/ChangeLog +++ b/sci-visualization/qtiplot/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sci-visualization/qtiplot # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.19 2008/03/15 11:16:35 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.20 2008/03/28 18:30:44 bicatali Exp $ + +*qtiplot-0.9.4 (28 Mar 2008) + + 28 Mar 2008; SĂ©bastien Fabbro <bicatali@gentoo.org> + +files/qtiplot-0.9.4-systemlibs.patch, -qtiplot-0.9.2.ebuild, + -qtiplot-0.9.2-r1.ebuild, +qtiplot-0.9.4.ebuild: + Version bump. Thanks Dieter Ries for the update (closing bug #215192). + Removed older versions. 15 Mar 2008; Markus Rothe <corsair@gentoo.org> qtiplot-0.9.3.ebuild: Added ~ppc64 diff --git a/sci-visualization/qtiplot/Manifest b/sci-visualization/qtiplot/Manifest index 81a4205bcc7a..38f2a369e2d3 100644 --- a/sci-visualization/qtiplot/Manifest +++ b/sci-visualization/qtiplot/Manifest @@ -1,18 +1,28 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX qtiplot-0.7.7-qmake.patch 11384 RMD160 fa0491bd504d3445645817871fa831d0b70b4602 SHA1 5cd18e99d39664ef48e0d18069d89cb4b417a175 SHA256 2d89427ab1304b1ec8165d6ceaedf474a48ba59d55dafbb4977b5ddaab8509ca AUX qtiplot-0.8.5-qmake.patch 467 RMD160 00b5de4a8ab62eb3d2b3b7cb4a0a69a92d42cb44 SHA1 6fdb19a48c501b3f1256e7105d383f567f17182e SHA256 51230401a221a49371db906d37eca2b2734346ff82684dc572e37294fbd1ed0f AUX qtiplot-0.9.2-systemlibs.patch 4666 RMD160 e6fcf31a5d807e167c858c68847768e3e8fce093 SHA1 e27ab1c0bf647d35778440dc3964fdb6892d47d1 SHA256 3310cbc330e03ee8b2bb1337a1414bb8eff645743dc623a58452d0587d696e84 AUX qtiplot-0.9.3-homepage.patch 466 RMD160 75d4bef3c3731b36cd19a8f8d674c9ef8fece2cc SHA1 6578f71884a7e83f7a2cfe1c896edc6eca3a8cfd SHA256 dad933a0649075a8d9f30657549152d9e1777495d1a51d3de2feb0366dcf88a3 AUX qtiplot-0.9.3-systemlibs.patch 5038 RMD160 f0860b416571d2eac53458e7dbc9f75360aed7b4 SHA1 345238af7acd7394d8ab8b340c6189906cd86873 SHA256 761ccfc08b9ca3af54c90ff4d2a195d753586d1ac4451e356c1b283c7a08413d +AUX qtiplot-0.9.4-systemlibs.patch 4586 RMD160 72e9c8a3dcd26d8465f0321724abd5e4e4c6f35b SHA1 219e58530855509ca3a2f1dcf32efd1e34c2ee73 SHA256 ad876acb11df070e331a0f6ce0c44e074d31b6f78785eb09b0800dc77e68362d DIST qtiplot-0.7.7.zip 812738 RMD160 6f62b32059eec57bf931b5bae9f524672d436ee9 SHA1 b201e600ec057ff0f7b4b4572850b0b072a0e0fb SHA256 937849c42cc3047df3975d1cb7a26a2503a499d548066937589340f55bd1ab01 DIST qtiplot-0.8.5.tar.bz2 530579 RMD160 72f4f60f1171c57e6c2614a1a5a7b6dfc3bda4f5 SHA1 d8142877bfc86fad8a43e64f6f3e0a16126e5f0a SHA256 81831d8dfaddbdf32d85a6e7eaf0e54e2321e2fba6ffaabfe6943bc326a6f874 -DIST qtiplot-0.9.2-manual-en.tar.bz2 5233394 RMD160 9e3bbd5b71e8549cef627230d0e78e2e53636053 SHA1 f0b64cb56cb6d2581871a15e712452ee4f0b8d2b SHA256 39ab4baeeebec24b8a42e3cffb9354a24b0f1987bd0cb470f1e1954b13661b7d -DIST qtiplot-0.9.2.tar.bz2 897629 RMD160 5b1a71f87a3d6801aa26337fbb5932191aed228c SHA1 5e3bcfd4c2555472f6dedf68e52e24a079aba60e SHA256 051a55e3e120ad53b2463a3a9295d22f9d36d1146468c5ebd869a5f180c145fd DIST qtiplot-0.9.3-manual-en.tar.bz2 5389548 RMD160 f1bcc16fb813eae077afde204552ad1c9a2bb095 SHA1 304ef403e9a02c1e4a704c864f2b0c3eb0a7e810 SHA256 258296f936923cb0aa8b8cce75e1241ed146e911e3bbb0343556c4412487aece DIST qtiplot-0.9.3.tar.bz2 6252872 RMD160 84394b27925441aed574267723a9346ad93b1b8c SHA1 55eb107fa5f61fbaec2793b21b1157934d022f4a SHA256 aa305cf5747a3f787ee076f4e4cf90f3f7c4843c4b0f1161a825520be0f8f16b +DIST qtiplot-0.9.4-manual-en.tar.bz2 5378862 RMD160 4ecda8eb33fa22b8b7d59c68ac4c39968733dbbf SHA1 41e3bd6b5da3a07417d77adda978e7b236a1321e SHA256 f779d83a82982748ee4426e5f9eda25a2e23a10fb5b8c7fc21ef0446ec844ac6 +DIST qtiplot-0.9.4.tar.bz2 7025345 RMD160 db952eb7a27d8d1ed42d60e814228655e76226cd SHA1 afee76a819b1c6054dc1b4eabd731d03001c21d1 SHA256 7b4f9b734e8b258459a2a8d85beeda0c964340891d64822aa944a1fb93c60da1 EBUILD qtiplot-0.7.7.ebuild 1103 RMD160 3d43465a82ddeb887c350bc14d72307dfe9d7c70 SHA1 f5115d29c866efc93f69f4bc006dc63508f820fd SHA256 1492680d7b3597fbf917e6b011e5ad53dc2c68f6cd6e31bcc8b3500bbed824e9 EBUILD qtiplot-0.8.5.ebuild 1218 RMD160 b1a7916212cb8aabb8a503a14e542d2ae15ca3ab SHA1 fef63fb5398145209f712edb2005e5b0127f548d SHA256 a0ced0f0ee26a36101305794060ada41bf72be6ddc70bd5f961b12a1a229384c -EBUILD qtiplot-0.9.2-r1.ebuild 2545 RMD160 ea90e7b34b11efd542e373668b430b8585f43c14 SHA1 851dff9455af834548dcbf88b46c0eb62e5ff927 SHA256 41f9a1fe02646c2576b25c743e34397cddef9a10619a01e2cb382246c1467cd6 -EBUILD qtiplot-0.9.2.ebuild 2473 RMD160 2e269234c1b881ba1604925a4f646d7c28f50a0d SHA1 47efd792983a0c0ba4b7fdafeb9d429503823143 SHA256 51605403856b69ecf94a70e526dd2e8db16fa12df6e4a3eb175ee6f5b5feaf6c EBUILD qtiplot-0.9.3.ebuild 2383 RMD160 1e0ffc4aac3f115d6b92eb29b5327689430bb58d SHA1 cc9e3f32ac7c5f2440b1f916aa9f21b56b3da398 SHA256 6796c7f3fcfc31fad0b1ab23dff051ab10a810cb62f9ea13b1243bb168c7ef68 -MISC ChangeLog 5681 RMD160 1f1bd19a9e83aea4cf568da3fc51625257dcbd2c SHA1 abf56f75851ba3ba773330ad28b1e8d4e75e6dbe SHA256 e0af6b89f41d648941544a8077c252eb0ace5d0daeece3b2aead6f961cd01289 +EBUILD qtiplot-0.9.4.ebuild 2342 RMD160 63bb991579f8bf90208d50e8b0495a7843bf9f49 SHA1 3311a502221cdfdecbcf65b0b724ba5b5558801d SHA256 57b4d6d78d4ae1c6330229bbc1176d75df9fd83f201b28df39a3d5575e2ce52c +MISC ChangeLog 5982 RMD160 41a6f8d9305c118b8fb7fff7453d91b5fabc0cbd SHA1 1ed94ec298031198fa49e6048aa3b428ff21034c SHA256 435a47e2029755d1dd8afbce2294594de7b8a016ce938cde9c93160ad9ffaa58 MISC metadata.xml 604 RMD160 1e0ed48d48668781cafc44ef8a14c3fb1e41eb28 SHA1 0f1b65755c3b923539a54b7e05dfda9679c4d758 SHA256 094795782ea49d41a8c4106510bb80d360f1bdaae3ab89c23c369def31bab56c +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.7 (GNU/Linux) + +iD8DBQFH7Tlg1ycZbhPLE2ARArZYAJ0UgXT4/X8rZ3cjwWyRt7WgWFB/FQCfWJZZ +u7Hd/BR4ceimIPxCt0dMB7E= +=W3Up +-----END PGP SIGNATURE----- diff --git a/sci-visualization/qtiplot/files/qtiplot-0.9.4-systemlibs.patch b/sci-visualization/qtiplot/files/qtiplot-0.9.4-systemlibs.patch new file mode 100644 index 000000000000..514612309633 --- /dev/null +++ b/sci-visualization/qtiplot/files/qtiplot-0.9.4-systemlibs.patch @@ -0,0 +1,114 @@ +--- qtiplot/qtiplot.pro.orig 2008-03-06 15:02:08.000000000 +0000 ++++ qtiplot/qtiplot.pro 2008-03-06 21:57:33.000000000 +0000 +@@ -45,12 +45,12 @@ + #!!! Warning: You must modify these paths according to your computer settings
+ #############################################################################
+
+-INCLUDEPATH += ../3rdparty/muparser/include
+-INCLUDEPATH += ../3rdparty/qwtplot3d/include
+-INCLUDEPATH += ../3rdparty/qwt/src
+-INCLUDEPATH += ../3rdparty/liborigin
+-INCLUDEPATH += ../3rdparty/gsl/include
+-INCLUDEPATH += ../3rdparty/zlib123/include
++INCLUDEPATH += /usr/include/muparser
++INCLUDEPATH += /usr/include/qwtplot3d
++INCLUDEPATH += /usr/include/qwt5
++INCLUDEPATH += /usr/include/liborigin
++INCLUDEPATH += /usr/include/gsl
++ +
+ ##################### 3rd PARTY LIBRARIES SECTION ###########################
+ #!!! Warning: You must modify these paths according to your computer settings
+@@ -59,17 +59,19 @@ + ##################### Linux (Mac OS X) ######################################
+
+ # statically link against libraries in 3rdparty
+-unix:LIBS += ../3rdparty/muparser/lib/libmuparser.a
+-unix:LIBS += ../3rdparty/qwtplot3d/lib/libqwtplot3d.a
+-unix:LIBS += ../3rdparty/qwt/lib/libqwt.a
+-unix:LIBS += ../3rdparty/gsl/lib/libgsl.a
+-unix:LIBS += ../3rdparty/gsl/lib/libgslcblas.a
++#unix:LIBS += ../3rdparty/muparser/lib/libmuparser.a
++#unix:LIBS += ../3rdparty/qwtplot3d/lib/libqwtplot3d.a
++#unix:LIBS += ../3rdparty/qwt/lib/libqwt.a
++#unix:LIBS += ../3rdparty/gsl/lib/libgsl.a
++#unix:LIBS += ../3rdparty/gsl/lib/libgslcblas.a
+
+ # dynamically link against dependencies if they are installed system-wide
+-#unix:LIBS += -lmuparser
+-#unix:LIBS += -lqwtplot3d
+-#unix:LIBS += -lqwt
+-#unix:LIBS += -lgsl -lgslcblas
++unix:LIBS += -lmuparser
++unix:LIBS += -lqwtplot3d
++unix:LIBS += -lqwt
++unix:LIBS += $$system(pkg-config --libs gsl)
++unix:LIBS += -lorigin
++unix:LIBS += -lz
+
+ ##################### Windows ###############################################
+
+@@ -139,8 +141,7 @@ + manual.files += ../manual/html \
+ ../manual/qtiplot-manual-en.pdf
+
+-documentation.files += ../README.html \
+- ../gpl_licence.txt
++documentation.files += ../README.html
+
+ unix: man.files += ../qtiplot.1
+
+@@ -395,8 +396,8 @@ + ################# Origin Import (liborigin) ###################
+ ###############################################################
+
+-HEADERS += ../3rdparty/liborigin/OPJFile.h
+-SOURCES += ../3rdparty/liborigin/OPJFile.cpp
++#HEADERS += ../3rdparty/liborigin/OPJFile.h
++#SOURCES += ../3rdparty/liborigin/OPJFile.cpp
+
+ ###############################################################
+ ################# Module: Plot 2D #############################
+--- fitPlugins/fitRational0/fitRational0.pro.orig 2008-03-06 15:11:53.000000000 +0000 ++++ fitPlugins/fitRational0/fitRational0.pro 2008-03-06 15:16:28.000000000 +0000 +@@ -12,12 +12,10 @@ + DESTDIR = ../
+
+ # statically link against GSL in 3rdparty
+-INCLUDEPATH += ../../3rdparty/gsl/include/
+-LIBS += ../../3rdparty/gsl/lib/libgsl.a
+-LIBS += ../../3rdparty/gsl/lib/libgslcblas.a
++INCLUDEPATH += /usr/include/gsl
+
+ #dynamically link against GSL installed system-wide
+-#unix:LIBS += -L /usr/lib$${libsuff} -lgsl -lgslcblas
++unix:LIBS += $$system(pkg-config --libs gsl)
+
+ target.path=/usr/lib$${libsuff}/qtiplot/plugins
+ INSTALLS += target
+--- fitPlugins/fitRational1/fitRational1.pro.orig 2008-03-06 15:13:35.000000000 +0000 ++++ fitPlugins/fitRational1/fitRational1.pro 2008-03-06 15:16:52.000000000 +0000 +@@ -12,12 +12,10 @@ + DESTDIR = ../
+
+ # statically link against GSL in 3rdparty
+-INCLUDEPATH += ../../3rdparty/gsl/include/
+-LIBS += ../../3rdparty/gsl/lib/libgsl.a
+-LIBS += ../../3rdparty/gsl/lib/libgslcblas.a
++INCLUDEPATH += /usr/include/gsl
+
+ #dynamically link against GSL installed system-wide
+-#unix:LIBS += -L /usr/lib$${libsuff} -lgsl -lgslcblas
++unix:LIBS += $$system(pkg-config --libs gsl)
+
+ target.path=/usr/lib$${libsuff}/qtiplot/plugins
+ INSTALLS += target
+--- qtiplot.pro.orig 2008-03-28 15:58:25.000000000 +0000 ++++ qtiplot.pro 2008-03-28 15:58:41.000000000 +0000 +@@ -2,6 +2,5 @@ +
+ SUBDIRS = fitPlugins/fitRational0\
+ fitPlugins/fitRational1\
+- 3rdparty/qwt\
+ manual\
+ qtiplot diff --git a/sci-visualization/qtiplot/qtiplot-0.9.2.ebuild b/sci-visualization/qtiplot/qtiplot-0.9.2.ebuild deleted file mode 100644 index fc8a56970f2e..000000000000 --- a/sci-visualization/qtiplot/qtiplot-0.9.2.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.2.ebuild,v 1.4 2008/03/07 03:00:16 bicatali Exp $ - -inherit eutils multilib qt4 python - -DESCRIPTION="Qt based clone of the Origin plotting package" -HOMEPAGE="http://soft.proindependent.com/qtiplot.html" -SRC_URI="http://soft.proindependent.com/src/${P}.tar.bz2 - doc? ( mirror://gentoo/${P}-manual-en.tar.bz2 )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="python doc bindist" - -LANGUAGES="de es fr ja ru sv" -for l in ${LANGUAGES}; do - IUSE="${IUSE} linguas_${l}" -done - -CDEPEND=">=x11-libs/qwt-5.0.2 - >=x11-libs/qwtplot3d-0.2.7 - >=dev-cpp/muParser-1.28 - <sci-libs/liborigin-20080225 - !bindist? ( sci-libs/gsl ) - bindist? ( <sci-libs/gsl-1.10 )" - -DEPEND="${RDEPEND} - dev-util/pkgconfig - python? ( >=dev-python/sip-4.5.2 )" - -RDEPEND="${CDEPEND} - python? ( >=dev-lang/python-2.5 - dev-python/PyQt4 - dev-python/pygsl - sci-libs/scipy )" - -QT4_BUILT_WITH_USE_CHECK="qt3support" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-systemlibs.patch - - for l in ${LANGUAGES}; do - use linguas_${l} || \ - sed -i -e "s:translations/qtiplot_${l}.ts::" ${PN}/${PN}.pro - done - use python || sed -i -e 's/^\(SCRIPTING_LANGS += Python\)/#\1/' ${PN}.pro - - # the lib$$suff did not work in the fitRational*.pro files - sed -i \ - -e "s|/usr/lib\$\${libsuff}|$(get_libdir)|g" \ - fitPlugins/fit*/fitRational*.pro \ - || die "sed fitRational* failed" -} - -src_compile() { - eqmake4 ${PN}.pro || die "eqmake4 failed" - emake || die "emake failed" -} - -src_install() { - emake INSTALL_ROOT="${D}" install || die 'emake install failed' - - newicon qtiplot_logo.png qtiplot.png - make_desktop_entry qtiplot QtiPlot qtiplot Science - doman qtiplot.1 - - if use doc; then - insinto "/usr/share/doc/${PF}" - doins -r "${WORKDIR}"/manual-en - fi - - for l in ${LANGUAGES}; do - if use linguas_${l}; then - insinto /usr/share/${PN}/translations - doins ${PN}/translations/*${l}*.qm - fi - done - - if use python; then - cd "${S}"/${PN} - insinto /etc - doins qtiplotrc.py - python_version - insinto /usr/$(get_libdir)/python${PYVER}/site-packages/ - doins qtiUtil.py - fi -} - -pkg_postinst() { - use python && python_mod_optimize \ - "${ROOT}"/usr/$(get_libdir)/python${PYVER}/site-packages/qtiUtil -} - -pkg_postrm() { - use python && python_mod_cleanup \ - "${ROOT}"/usr/$(get_libdir)/python${PYVER}/site-packages/qtiUtil -} diff --git a/sci-visualization/qtiplot/qtiplot-0.9.2-r1.ebuild b/sci-visualization/qtiplot/qtiplot-0.9.4.ebuild index 365313f00ffc..e4e797599463 100644 --- a/sci-visualization/qtiplot/qtiplot-0.9.2-r1.ebuild +++ b/sci-visualization/qtiplot/qtiplot-0.9.4.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.2-r1.ebuild,v 1.2 2008/02/13 14:33:59 markusle Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.4.ebuild,v 1.1 2008/03/28 18:30:44 bicatali Exp $ -inherit eutils multilib qt4 python +inherit eutils multilib qt4 DESCRIPTION="Qt based clone of the Origin plotting package" HOMEPAGE="http://soft.proindependent.com/qtiplot.html" @@ -11,7 +11,7 @@ SRC_URI="http://soft.proindependent.com/src/${P}.tar.bz2 LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~ppc64 ~x86" IUSE="python doc bindist" LANGS="de es fr ja ru sv" @@ -22,7 +22,7 @@ done CDEPEND=">=x11-libs/qwt-5.0.2 >=x11-libs/qwtplot3d-0.2.7 >=dev-cpp/muParser-1.28 - >=sci-libs/liborigin-20071119 + >=sci-libs/liborigin-20080225 !bindist? ( sci-libs/gsl ) bindist? ( <sci-libs/gsl-1.10 )" @@ -42,6 +42,12 @@ src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-systemlibs.patch + + # docs: remove default doc building + sed -i -e '/manual/d' qtiplot.pro qtiplot/qtiplot.pro \ + || die "die sed for docs failed" + sed -i -e "s:doc/${PN}:doc/${PF}:" qtiplot/qtiplot.pro + if ! use python; then sed -i \ -e '/^SCRIPTING_LANGS += Python/d' \ @@ -54,10 +60,18 @@ src_unpack() { -e "s|/usr/lib\$\${libsuff}|/usr/$(get_libdir)|g" \ fitPlugins/fit*/fitRational*.pro \ || die "sed fitRational* failed" + + for l in ${LANGS}; do + if ! use linguas_${l}; then + sed -i \ + -e "s:translations/qtiplot_${l}.ts::" \ + ${PN}/${PN}.pro || die + fi + done } src_compile() { - eqmake4 ${PN}.pro || die "eqmake4 failed" + eqmake4 || die "eqmake4 failed" emake || die "emake failed" } @@ -65,37 +79,18 @@ src_install() { emake INSTALL_ROOT="${D}" install || die 'emake install failed' newicon qtiplot_logo.png qtiplot.png - make_desktop_entry qtiplot QtiPlot qtiplot "Education;Science;Math;Qt" + make_desktop_entry qtiplot QtiPlot qtiplot doman qtiplot.1 || die "doman failed" if use doc; then insinto /usr/share/doc/${PF} - doins -r "${WORKDIR}"/manual-en || die "install manual failed" + doins -r "${WORKDIR}"/qtiplot-manual-en \ + || die "install manual failed" fi - for l in ${LANGS}; do - if use linguas_${l}; then - insinto /usr/share/${PN}/translations - doins ${PN}/translations/*${l}*.qm || die "install ${l} failed" - fi - done - if use python; then cd "${S}"/${PN} insinto /etc - doins qtiplotrc.py || die - python_version - insinto /usr/$(get_libdir)/python${PYVER}/site-packages - doins qtiUtil.py || die + doins qtiplotrc.py qtiUtil.py || die fi } - -pkg_postinst() { - use python && python_mod_optimize \ - "${ROOT}"/usr/$(get_libdir)/python${PYVER}/site-packages/qtiUtil.py -} - -pkg_postrm() { - use python && python_mod_cleanup \ - "${ROOT}"/usr/$(get_libdir)/python${PYVER}/site-packages/qtiUtil* -} |