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

commit 50e9ba407547abeb805bb904e2264b7fe031f19f
Author: crazy <[email protected]>
Date:   Mon Feb 9 23:39:21 2009 +0100

eric4-4.3.0-1-x86_64
* Version bump
* added Turkish language subpackage
* added patch to fix apidirs installation
* someone broke DESTDIR support again :p

diff --git a/source/xapps-extra/eric4/FrugalBuild 
b/source/xapps-extra/eric4/FrugalBuild
index 9653605..4c2c864 100644
--- a/source/xapps-extra/eric4/FrugalBuild
+++ b/source/xapps-extra/eric4/FrugalBuild
@@ -2,8 +2,8 @@
# Maintainer: crazy <[email protected]>

pkgname=eric4
-pkgver=4.1.6
-pkgrel=2
+pkgver=4.3.0
+pkgrel=1
pkgdesc="Eric4 is a full featured Python (and Ruby) IDE that is written in 
PyQt4."
_F_sourceforge_dirname="eric-ide"
Finclude sourceforge python
@@ -12,27 +12,31 @@ 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-$pkgver}
-       $pkgname.desktop)
-sha1sums=('195f8904142927d6ee4e02de2c2d49d8bf95a7e6' \
-          '0103a70f3aba6482bfdc177a0bd6c5590c51e448' \
-          'ca0393f5f6782e1379373ac7f38a18292ff8aaed' \
-          '5a6f9976cd795de18864a22631e27decfc547502' \
-          '95d9f9e611cb6252f5cf520b1c1105b99252dc56' \
-          'bdc6b72e48c1cab4bf779ed72a61b42cc1f997e5')
+       ${source/eric4-$pkgver/eric4-i18n-cs-$pkgver} \
+       ${source/eric4-$pkgver/eric4-i18n-tr-$pkgver} \
+       $pkgname.desktop eric4-install-fix.patch)
+sha1sums=('6700480cbc8de3c09ec2674dbd50046e50b47fce' \
+          '289bbde3c5c5d2f3051be4bb7adf730b2aab8155' \
+          '32efa602938c596523e55913cfacb727c3ea464c' \
+          'c7557c9a20a5a0410b1ae8b81d10259e730dedfa' \
+          '64f6cc940e8ff334d2e57d1427c017db51635d06' \
+          'fb3923197b5341caca00823021984f35f9cc8db2' \
+          'bdc6b72e48c1cab4bf779ed72a61b42cc1f997e5' \
+          '67170f8acf2a3b7836232583bef2ba09807dbc80')
groups=('xapps-extra')
archs=('i686' 'x86_64')
options=('scriptlet')
depends=('pyqt4>=4.3.3-2' 'qscintilla2-qt4>=2.2' 'qscintilla2-python-qt4>=2.2' 
'libxcursor')
rodepends=('shared-mime-info')

-subpkgs=("$pkgname-i18n-de" "$pkgname-i18n-fr" "$pkgname-i18n-ru" 
"$pkgname-i18n-cs")
-subreplaces=('' '' '' "$pkgname-i18n-cs_cz")
+subpkgs=("$pkgname-i18n-de" "$pkgname-i18n-fr" "$pkgname-i18n-ru" 
"$pkgname-i18n-cs" "$pkgname-i18n-tr")
+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')
-subdepends=("$pkgname=$pkgver" "$pkgname=$pkgver" "$pkgname=$pkgver" 
"$pkgname=$pkgver")
-subarchs=('i686 x86_64' 'i686 x86_64' 'i686 x86_64' 'i686 x86_64')
+       'Russian language files for Eric4' 'Czech language files for Eric4' \
+       'Turkish language files for Eric4')
+subgroups=('locale-extra' 'locale-extra' 'locale-extra' 'locale-extra' 
'locale-extra')
+subdepends=('' '' '' '' '')
+subarchs=('i686 x86_64' 'i686 x86_64' 'i686 x86_64' 'i686 x86_64' 'i686 
x86_64')

build()
{
@@ -40,7 +44,7 @@ build()
Fpatchall

python install.py -b /usr/bin -i $Fdestdir || Fdie
-       Fdocrel LICENSE.GPL
+       Fdocrel LICENSE*
rm -f README-i18n.txt || Fdie

Ffilerel eric/icons/default/eric.png /usr/share/pixmaps/$pkgname.png
@@ -50,4 +54,5 @@ build()
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 $_F_python_libdir/eric4/i18n/eric4_cs.qm
+       Fsplit $pkgname-i18n-tr $_F_python_libdir/eric4/i18n/eric4_tr.qm
}
diff --git a/source/xapps-extra/eric4/eric4-install-fix.patch 
b/source/xapps-extra/eric4/eric4-install-fix.patch
new file mode 100644
index 0000000..20f86f8
--- /dev/null
+++ b/source/xapps-extra/eric4/eric4-install-fix.patch
@@ -0,0 +1,32 @@
+--- eric4-4.3.0/install.py     2009-02-08 14:10:24.000000000 +0100
++++ eric4-4.3.0-p/install.py   2009-02-09 23:34:04.000000000 +0100
+@@ -190,7 +190,7 @@
+     fname = os.path.join(pdir, "__init__.py")
+     if not os.path.exists(fname):
+         if not os.path.exists(pdir):
+-            os.mkdir(pdir,  0755)
++            os.makedirs(pdir,  0755)
+         f = open(fname, "wb")
+         f.write(\
+ '''# -*- coding: utf-8 -*-
+@@ -215,7 +215,10 @@
+     if not specialInstall and qtDataDir is None:
+         try:
+             from PyQt4 import pyqtconfig
+-            qtDataDir = pyqtconfig._pkg_config["qt_data_dir"]
++          if distDir:
++              qtDataDir = distDir + pyqtconfig._pkg_config["qt_data_dir"]
++          else:
++              qtDataDir = pyqtconfig._pkg_config["qt_data_dir"]
+         except (AttributeError, ImportError):
+             print
+             print "Please enter the name of the Qt data directory."
+@@ -494,7 +497,7 @@
+        cfg['ericTemplatesDir'],
+        cfg['ericCodeTemplatesDir'], cfg['ericOthersDir'],
+        cfg['bindir'], cfg['mdir'],
+-       getAPIsPath(), apis)
++       getAPIsPath()[len(distDir):], apis)
+     copyToFile(fn, config)
+
+ def doDependancyChecks():
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to