1 #Contributor: Ricardo Honorato Z.
2 #Contributor: Hector Mtz-Seara
6 pkgdesc="IEP (pronounced as 'eep') is a cross-platform Python IDE focused on interactivity and introspection, which makes it very suitable for scientific computing. Its practical design is aimed at simplicity and efficiency."
7 url="http://code.google.com/p/iep/"
10 depends=('python' 'python-qscintilla')
13 source=(http://iep.googlecode.com/files/$pkgname-$pkgver.source.zip)
14 md5sums=('739a5783e2e4e65e77f3c48a96e4cf18')
22 sed -i 's/python3.1/python/g' iep.pyw
23 sed -i 's/python3.1/python/g' iep.py
24 sed -i 's/python3.1/python/g' shellStack.py
25 sed -i 's/python3.1/python/g' freezeScript.py
26 mkdir -p ${pkgdir}/usr/lib/python3.2/site-packages/
27 cp -r $srcdir/$pkgname ${pkgdir}/usr/lib/python3.2/site-packages/
28 chmod -R 755 ${pkgdir}/usr/lib/python3.2/site-packages/$pkgname
29 cat > ${pkgname}.desktop <<EOF
35 Comment=IEP is a cross-platform Python IDE
36 Exec=/usr/lib/python3.2/site-packages/iep/iep.pyw
37 Icon=/usr/lib/python3.2/site-packages/iep/icons/iep.ico
38 Categories=Python;Development;IDE;
40 mkdir -p ${pkgdir}/usr/share/applications
41 install -m644 ${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
42 cat > ${pkgname} <<EOF
44 /usr/lib/python3.2/site-packages/iep/iep.pyw
46 mkdir -p ${pkgdir}/usr/bin
47 install -m755 ${pkgname} ${pkgdir}/usr/bin/${pkgname}
48 mkdir -p ${pkgdir}/usr/share/licenses/${pkgname}
49 install -m444 license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt