[arch-commits] Commit in anki/repos/community-testing-any (3 files)

Antonio Rojas arojas at archlinux.org
Tue Feb 12 21:38:03 UTC 2019


    Date: Tuesday, February 12, 2019 @ 21:38:02
  Author: arojas
Revision: 431998

archrelease: copy trunk to community-testing-any

Added:
  anki/repos/community-testing-any/PKGBUILD
    (from rev 431997, anki/trunk/PKGBUILD)
  anki/repos/community-testing-any/anki-pyqtwebengine.patch
    (from rev 431997, anki/trunk/anki-pyqtwebengine.patch)
Deleted:
  anki/repos/community-testing-any/PKGBUILD

--------------------------+
 PKGBUILD                 |   69 ++++++++++++++++++++++++---------------------
 anki-pyqtwebengine.patch |   11 +++++++
 2 files changed, 49 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-02-12 21:37:37 UTC (rev 431997)
+++ PKGBUILD	2019-02-12 21:38:02 UTC (rev 431998)
@@ -1,31 +0,0 @@
-# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Timm Preetz <timm at preetz.us>
-# Contributor: Michael 'manveru' Fellinger <m.fellinger at gmail.com>
-# Contributor: Dave Pretty <david dot pretty at gmail dot com>
-
-pkgname=anki
-pkgver=2.1.8
-pkgrel=2
-
-pkgdesc="Helps you remember facts (like words/phrases in a foreign language) efficiently"
-url="https://ankisrs.net/"
-arch=('any')
-license=('AGPL3')
-
-depends=('qt5-webengine' 'python-beautifulsoup4' 'python-pyaudio'
-         'python-pyqt5' 'python-pyqtwebengine' 'python-requests' 'python-send2trash'
-         'python-decorator' 'python-markdown'
-         'desktop-file-utils')
-optdepends=('lame: record sound'
-            'mpv: play sound (prefered over mplayer)'
-            'mplayer: play sound')
-
-source=(https://apps.ankiweb.net/downloads/current/anki-$pkgver-source.tgz)
-sha256sums=('57c466884ba43ef704c438bb0129e7ed793c468d36ea03cd3007af7a394c8b23')
-
-package() {
-  cd anki-$pkgver
-
-  make DESTDIR="$pkgdir" PREFIX=/usr install
-}

Copied: anki/repos/community-testing-any/PKGBUILD (from rev 431997, anki/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-02-12 21:38:02 UTC (rev 431998)
@@ -0,0 +1,38 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Timm Preetz <timm at preetz.us>
+# Contributor: Michael 'manveru' Fellinger <m.fellinger at gmail.com>
+# Contributor: Dave Pretty <david dot pretty at gmail dot com>
+
+pkgname=anki
+pkgver=2.1.8
+pkgrel=3
+
+pkgdesc="Helps you remember facts (like words/phrases in a foreign language) efficiently"
+url="https://ankisrs.net/"
+arch=('any')
+license=('AGPL3')
+
+depends=('qt5-webengine' 'python-beautifulsoup4' 'python-pyaudio'
+         'python-pyqt5' 'python-pyqtwebengine' 'python-requests' 'python-send2trash'
+         'python-decorator' 'python-markdown'
+         'desktop-file-utils')
+optdepends=('lame: record sound'
+            'mpv: play sound (prefered over mplayer)'
+            'mplayer: play sound')
+
+source=(https://apps.ankiweb.net/downloads/current/anki-$pkgver-source.tgz
+        anki-pyqtwebengine.patch)
+sha256sums=('57c466884ba43ef704c438bb0129e7ed793c468d36ea03cd3007af7a394c8b23'
+            '56cf512a5f023d61fa2b18348a5586b4489d48ac89a8c60612ef61dbe1809c4a')
+
+prepare() {
+  cd anki-$pkgver
+  patch -p1 -i ../anki-pyqtwebengine.patch # Compatibility with split pyqtwebengine
+}
+
+package() {
+  cd anki-$pkgver
+
+  make DESTDIR="$pkgdir" PREFIX=/usr install
+}

Copied: anki/repos/community-testing-any/anki-pyqtwebengine.patch (from rev 431997, anki/trunk/anki-pyqtwebengine.patch)
===================================================================
--- anki-pyqtwebengine.patch	                        (rev 0)
+++ anki-pyqtwebengine.patch	2019-02-12 21:38:02 UTC (rev 431998)
@@ -0,0 +1,11 @@
+--- anki-2.1.8/aqt/qt.py.orig	2019-02-12 21:32:36.515462520 +0000
++++ anki-2.1.8/aqt/qt.py	2019-02-12 21:32:45.032117131 +0000
+@@ -13,7 +13,7 @@
+ from PyQt5.Qt import *
+ # trigger explicit message in case of missing libraries
+ # instead of silently failing to import
+-from PyQt5.QtWebEngineWidgets import QWebEnginePage
++from PyQt5.QtWebEngineWidgets import *
+ try:
+     from PyQt5 import sip
+ except ImportError:



More information about the arch-commits mailing list