[arch-commits] Commit in eric/repos (5 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 4 07:57:40 UTC 2019


    Date: Monday, November 4, 2019 @ 07:57:40
  Author: felixonmars
Revision: 523601

archrelease: copy trunk to community-staging-any

Added:
  eric/repos/community-staging-any/
  eric/repos/community-staging-any/.contrib
    (from rev 523600, eric/trunk/.contrib)
  eric/repos/community-staging-any/ChangeLog
    (from rev 523600, eric/trunk/ChangeLog)
  eric/repos/community-staging-any/PKGBUILD
    (from rev 523600, eric/trunk/PKGBUILD)
  eric/repos/community-staging-any/fix-install-dir.patch
    (from rev 523600, eric/trunk/fix-install-dir.patch)

-----------------------+
 .contrib              |    7 +
 ChangeLog             |  180 ++++++++++++++++++++++++++++++++++++++++++++++++
 PKGBUILD              |   93 ++++++++++++++++++++++++
 fix-install-dir.patch |   13 +++
 4 files changed, 293 insertions(+)

Copied: eric/repos/community-staging-any/.contrib (from rev 523600, eric/trunk/.contrib)
===================================================================
--- community-staging-any/.contrib	                        (rev 0)
+++ community-staging-any/.contrib	2019-11-04 07:57:40 UTC (rev 523601)
@@ -0,0 +1,7 @@
+This is a list of (past) contributors not already credited in the PKGBUILD:
+
+Eric Belanger <eric at archlinux.org>
+riai <riai at bigfoot.com>
+Ben <ben at benmazer.net>
+Daniel J Griffiths <ghost1227 at archlinux.us>
+Felix Rohrbach <fxrh at gmx.de>

Copied: eric/repos/community-staging-any/ChangeLog (from rev 523600, eric/trunk/ChangeLog)
===================================================================
--- community-staging-any/ChangeLog	                        (rev 0)
+++ community-staging-any/ChangeLog	2019-11-04 07:57:40 UTC (rev 523601)
@@ -0,0 +1,180 @@
+19.06-1:
+upstream update
+
+19.03-1:
+upstream update
+
+19.01-1:
+upstream update
+
+18.11-1:
+upstream update
+
+18.10-1:
+upstream update
+
+18.08-1:
+upstream update
+
+18.06-1:
+upstream update
+
+18.05-1:
+upstream update
+
+18.04-1:
+upstream update
+
+18.03-1:
+upstream update
+
+18.02-1:
+upstream update
+
+18.01-1:
+upstream update
+
+17.12-1:
+upstream update
+
+17.11.1-1:
+upstream update
+
+17.11-1:
+upstream update
+
+17.10-1:
+upstream update
+
+17.09-1:
+upstream update
+
+17.08-1:
+upstream update
+
+17.07-1:
+upstream update
+
+17.06-1:
+upstream update
+
+17.05-1:
+upstream update
+
+17.04.1:
+upstream update
+
+17.03.1:
+upstream update
+
+17.03:
+upstream update
+
+17.02-1:
+* upstream update
+* drop qt4 versions as soon as they depend on qtwebkit
+
+17.01-1:
+upstream update
+
+16.12-1:
+upstream update
+
+16.11-1:
+upstream update
+
+6.1.11-1:
+upstream update
+
+6.1.10-1:
+upstream update
+
+6.1.9-1:
+upstream update
+
+6.1.8-1:
+upstream update
+
+6.1.7-1:
+upstream update
+
+6.1.6-1:
+upstream update
+
+6.1.5-1:
+upstream update
+
+6.1.4-2:
+drop install file, move to pacman hooks
+
+6.1.4-1:
+upstream update
+
+6.1.3-1:
+upstream update
+
+6.1.2-1:
+upstream update
+
+6.1.1-1:
+upstream update
+
+6.1.0-1:
+upstream update
+
+6.0.11-1:
+upstream update
+
+6.0.10-1:
+upstream update
+
+6.0.9-2:
+python3.5 rebuild
+
+6.0.9-1:
+upstream update
+
+6.0.8-1:
+upstream update
+
+6.0.7-1:
+upstream update
+
+6.0.6-1:
+upstream update
+
+6.0.5-1:
+upstream update
+
+6.0.4-1:
+upstream update
+
+6.0.3-1:
+upstream update
+
+6.0.2-1:
+upstream update
+
+6.0.1-2:
+* fix FS#43573
+* fix API path
+
+6.0.1-1:
+upstream update
+
+6.0.0-1:
+* upstream update
+* split to qt5 and qt4 packages
+
+5.5.2-1:
+upstream update
+
+5.5.1-1:
+upstream update
+
+5.5.0-1:
+* upstream update
+* create python2-eric package
+
+5.4.7-1:
+upstream update. Create eric-common package

Copied: eric/repos/community-staging-any/PKGBUILD (from rev 523600, eric/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 07:57:40 UTC (rev 523601)
@@ -0,0 +1,93 @@
+# Maintainer: Evgeniy Alekseev <arcanis at archlinux dot org>
+# Contributor: Ray Rashif <schiv at archlinux dot org>
+# Contributor: Brad Fanella <bradfanellaat archlinux dot us>
+# See .contrib for older/other contributors
+
+pkgbase=eric
+pkgname=('eric-common' 'eric' 'python2-eric')
+pkgver=19.06
+_pkgver=19.6
+pkgrel=2
+pkgdesc="A full-featured Python and Ruby IDE in PyQt"
+arch=('any')
+url="https://eric-ide.python-projects.org/"
+license=('GPL3')
+depends=('python-qscintilla-qt5' 'python2-qscintilla-qt5'
+         'python-pyqtwebengine' 'python2-pyqtwebengine'
+         'qt5-svg' 'qt5-webengine')
+source=("https://downloads.sourceforge.net/eric-ide/eric6-${_pkgver}.tar.gz"
+        "fix-install-dir.patch")
+sha512sums=('91401f73c3f009265b240a4654cdc1ca6af636f6f12afa40ca59bebdf4955854212400d18e5eb5d926de6afdd904a27f68523bb52dff68b256b67b00142f3ac8'
+            '027c79e7ec4d017e1da10f9d0256fcef28033780f3bddf29b52538b6c0128ce952adf6212607379db83bd143a8851df68c592d2c142ad02d742c9b423908fc50')
+changelog=ChangeLog
+
+prepare() {
+  # fix no-apis option
+  cd "${srcdir}/eric6-${_pkgver}"
+  patch -p1 -i "${srcdir}/fix-install-dir.patch"
+  cp -r "${srcdir}/eric6-${_pkgver}"{,_py2}
+
+  cd "${srcdir}/eric6-${_pkgver}_py2/eric"
+  find . -name '*.py' -exec \
+    sed -i -r "s:^#!/usr/bin/(env |)python(3|)$:#!/usr/bin/env python2:" {} \;
+}
+
+package_eric-common() {
+  depends=()
+
+  cd "${srcdir}/eric6-${_pkgver}/eric"
+  # eric APIs
+  install -Dm644 "eric6/APIs/Python3/eric6.api" \
+                 "${pkgdir}/usr/share/qt/qsci/api/python/eric6.api"
+  install -Dm644 "eric6/APIs/Python3/eric6.bas" \
+                 "${pkgdir}/usr/share/qt/qsci/api/python/eric6.bas"
+  # pyqt APIs
+  install -Dm644 "eric6/APIs/Python3/PyQt5.bas" \
+                 "${pkgdir}/usr/share/qt/qsci/api/python/PyQt5.bas"
+  # qss APIs
+  install -Dm644 "eric6/APIs/QSS/qss.api" \
+                 "${pkgdir}/usr/share/qt/qsci/api/qss/qss.api"
+  # qscintilla APIs
+  install -Dm644 "eric6/APIs/Python3/QScintilla2.bas" \
+                 "${pkgdir}/usr/share/qt/qsci/api/python/QScintilla2.bas"
+  # zope APIs
+  install -Dm644 "eric6/APIs/Python/zope-2.10.7.api" \
+                 "${pkgdir}/usr/share/qt/qsci/api/python/zope-2.10.7.api"
+  install -Dm644 "eric6/APIs/Python/zope-2.11.2.api" \
+                 "${pkgdir}/usr/share/qt/qsci/api/python/zope-2.11.2.api"
+  install -Dm644 "eric6/APIs/Python/zope-3.3.1.api" \
+                 "${pkgdir}/usr/share/qt/qsci/api/python/zope-3.3.1.api"
+  # ruby APIs
+  install -Dm644 "eric6/APIs/Ruby/Ruby-1.8.7.api" \
+                 "${pkgdir}/usr/share/qt/qsci/api/ruby/Ruby-1.8.7.api"
+  install -Dm644 "eric6/APIs/Ruby/Ruby-1.8.7.bas" \
+                 "${pkgdir}/usr/share/qt/qsci/api/ruby/Ruby-1.8.7.bas"
+  install -Dm644 "eric6/APIs/Ruby/Ruby-1.9.1.api" \
+                 "${pkgdir}/usr/share/qt/qsci/api/ruby/Ruby-1.9.1.api"
+  install -Dm644 "eric6/APIs/Ruby/Ruby-1.9.1.bas" \
+                 "${pkgdir}/usr/share/qt/qsci/api/ruby/Ruby-1.9.1.bas"
+}
+
+package_eric() {
+  depends=('eric-common' 'python-qscintilla-qt5'  'python-pyqtwebengine' 'qt5-svg' 'qt5-webkit')
+  optdepends=('qt5-webengine: alternative browser backend')
+
+  cd "${srcdir}/eric6-${_pkgver}"
+  python install.py -c -b "/usr/bin" -i "${pkgdir}" --no-apis
+
+  # fix paths in desktop files
+  find "${pkgdir}" -name '*.desktop' -exec sed -i "s|${pkgdir}||g" {} \;
+}
+
+package_python2-eric() {
+  depends=('eric-common' 'python2-qscintilla-qt5' 'python2-pyqtwebengine' 'qt5-svg' 'qt5-webkit')
+  optdepends=('qt5-webengine: alternative browser backend')
+
+  cd "${srcdir}/eric6-${_pkgver}_py2"
+  python2 install.py -c -b "/usr/bin" -i "${pkgdir}" --no-apis
+
+  # fix paths in desktop files
+  find "${pkgdir}" -name '*.desktop' -exec sed -i "s|${pkgdir}||g" {} \;
+}
+
+# vim:set ts=2 sw=2 et:

Copied: eric/repos/community-staging-any/fix-install-dir.patch (from rev 523600, eric/trunk/fix-install-dir.patch)
===================================================================
--- community-staging-any/fix-install-dir.patch	                        (rev 0)
+++ community-staging-any/fix-install-dir.patch	2019-11-04 07:57:40 UTC (rev 523601)
@@ -0,0 +1,13 @@
+diff -ruN eric6-19.6-orig/install.py eric6-19.6/install.py
+--- eric6-19.6-orig/install.py	2019-06-13 19:56:12.530281194 +0300
++++ eric6-19.6/install.py	2019-06-13 19:56:58.593612194 +0300
+@@ -828,7 +828,8 @@
+     # set install prefix, if not None
+     if distDir:
+         for key in list(cfg.keys()):
+-            cfg[key] = os.path.normpath(os.path.join(distDir, cfg[key]))
++            relpath = os.path.relpath(cfg[key], start="/") if cfg[key] else ""
++            cfg[key] = os.path.normpath(os.path.join(distDir, relpath))
+     
+     try:
+         # Install the files



More information about the arch-commits mailing list