Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=c5183f4ee43fe9d769f4c7926e769352e68afa9d

commit c5183f4ee43fe9d769f4c7926e769352e68afa9d
Author: crazy <[EMAIL PROTECTED]>
Date:   Thu Feb 7 01:10:18 2008 +0100

eric4-4.1.0-1-i686
* Version bump

diff --git a/source/xapps-extra/eric4/FrugalBuild 
b/source/xapps-extra/eric4/FrugalBuild
index d2c5fe1..1c3d6d7 100644
--- a/source/xapps-extra/eric4/FrugalBuild
+++ b/source/xapps-extra/eric4/FrugalBuild
@@ -2,7 +2,7 @@
# Maintainer: crazy <[EMAIL PROTECTED]>

pkgname=eric4
-pkgver=4.0.4
+pkgver=4.1.0
pkgrel=1
pkgdesc="Eric4 is a full featured Python (and Ruby) IDE that is written in 
PyQt4."
_F_sourceforge_dirname="eric-ide"
@@ -13,21 +13,24 @@ source=($source \
${source/eric4-$pkgver/eric4-i18n-de-$pkgver} \
${source/eric4-$pkgver/eric4-i18n-fr-$pkgver} \
${source/eric4-$pkgver/eric4-i18n-ru-$pkgver} \
-       ${source/eric4-$pkgver/eric4-i18n-cs_CZ-$pkgver}
-       $pkgname.desktop)
-sha1sums=('902e851423d2ccdf43e977514b710c29d7c96f54' \
-          '6ea4a9a1bb2ef66166298d142fad7eaf325e29a5' \
-          'accd9806b546f431b0d09e5b6312f0f9d07951a9' \
-          '43b9a7c1a116270d46cb20f46e0d76af17859aa4' \
-          '0e66f6ebcbdfcd4a840f7139a45d1666dcee2186' \
-          'bdc6b72e48c1cab4bf779ed72a61b42cc1f997e5')
+       ${source/eric4-$pkgver/eric4-i18n-cs-$pkgver}
+       $pkgname.desktop \
+       fix-destdir.patch)
+sha1sums=('43f04fdeb5d6671d9ccf36c7bd99859d1abafaa3' \
+          'b24cea4cc67e6b97852dbcdfaae0cd2dffed5e41' \
+          'd7398c8f5a4f15bad1e51f215d8e3f13adc52e2c' \
+          '4b2c75c348ea644f86749ee0c408043275c24f29' \
+          '341ba8463eede5460c370f1c86ba439e702239b5' \
+          'bdc6b72e48c1cab4bf779ed72a61b42cc1f997e5' \
+          '59bcb1a817b7054d24600820b4918506dbe68de4')
groups=('xapps-extra')
archs=('i686' 'x86_64')
options=('scriptlet')
depends=('pyqt4>=4.3' 'qscintilla2-qt4>=1.73_2.1-2' 
'qscintilla2-python-qt4>=1.73_2.1-2')
rodepends=('shared-mime-info')

-subpkgs=("$pkgname-i18n-de" "$pkgname-i18n-fr" "$pkgname-i18n-ru" 
"$pkgname-i18n-cs_cz")
+subpkgs=("$pkgname-i18n-de" "$pkgname-i18n-fr" "$pkgname-i18n-ru" 
"$pkgname-i18n-cs")
+subreplaces=('' '' '' "$pkgname-i18n-cs_cz")
subdescs=('German language files for Eric4' 'Frech language files for Eric4' \
'Russian language files for Eric4' 'Czech language files for Eric4')
subgroups=('locale-extra' 'locale-extra' 'locale-extra' 'locale-extra')
@@ -37,17 +40,17 @@ subarchs=('i686 x86_64' 'i686 x86_64' 'i686 x86_64' 'i686 
x86_64')
build()
{
Fcd
+       Fpatchall
+
python install.py -b /usr/bin -i $Fdestdir || Fdie
Fdocrel LICENSE.GPL
rm -f README-i18n.txt || Fdie
-       Ffilerel eric/icons/default/eric.png \
-       /usr/share/pixmaps/$pkgname.png
+
+       Ffilerel eric/icons/default/eric.png /usr/share/pixmaps/$pkgname.png
Ffile /usr/share/applications/$pkgname.desktop
-       ## FIXME conflicts with eric3
-       Fmv usr/lib/python$_F_python_ver/site-packages/sitecustomize.* 
$_F_python_libdir/eric4

Fsplit $pkgname-i18n-de $_F_python_libdir/eric4/i18n/eric4_de.qm
Fsplit $pkgname-i18n-fr $_F_python_libdir/eric4/i18n/eric4_fr.qm
Fsplit $pkgname-i18n-ru $_F_python_libdir/eric4/i18n/eric4_ru.qm
-       Fsplit $pkgname-i18n-cs_cz $_F_python_libdir/eric4/i18n/eric4_cs_CZ.qm
+       Fsplit $pkgname-i18n-cs $_F_python_libdir/eric4/i18n/eric4_cs.qm
}
diff --git a/source/xapps-extra/eric4/fix-destdir.patch 
b/source/xapps-extra/eric4/fix-destdir.patch
new file mode 100644
index 0000000..c1892c6
--- /dev/null
+++ b/source/xapps-extra/eric4/fix-destdir.patch
@@ -0,0 +1,14 @@
+--- ./install.py.orig  2008-02-03 07:30:54.000000000 -0700
++++ ./install.py       2008-02-04 03:01:52.959774413 -0700
+@@ -182,8 +182,11 @@ def createGlobalPluginsDir():
+     Create the global plugins directory, if it doesn't exist.
+     """
+     global modDir
++    global distDir
+
+     pdir = os.path.join(modDir, "eric4plugins")
++    if distDir:
++        pdir = distDir + pdir
+     fname = os.path.join(pdir, "__init__.py")
+     if not os.path.exists(fname):
+         if not os.path.exists(pdir):
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to