Skip to content

Instantly share code, notes, and snippets.

@JohnWang1023
Created February 29, 2020 06:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JohnWang1023/732d23904f51873effd610e1b3391f44 to your computer and use it in GitHub Desktop.
Save JohnWang1023/732d23904f51873effd610e1b3391f44 to your computer and use it in GitHub Desktop.
AUR leo
diff --git a/.SRCINFO b/.SRCINFO
index f9acd09..68d690f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -9,6 +9,10 @@ pkgbase = leo
depends = python-setuptools
depends = desktop-file-utils
depends = shared-mime-info
+ depends = python-black
+ depends = python-dialite
+ depends = python-pyshortcuts
+ depends = python-pyqtwebengine
depends = python-pyqt5
depends = python-docutils
depends = python-flexx
diff --git a/PKGBUILD b/PKGBUILD
index 30d237c..814382b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,7 +14,10 @@ depends=(
python-setuptools
desktop-file-utils
shared-mime-info
-
+ python-black
+ python-dialite
+ python-pyshortcuts
+ python-pyqtwebengine
python-pyqt5
python-docutils
python-flexx
@@ -38,7 +41,7 @@ source=(
sha256sums=('dc08f8e765b9ac990afb485466493de3e00f607cb2ec149cf925532f3811f994'
'7b326791378eefedecee2474c4e1a497838d2a06ff4259a195d817c38588395b'
'630852279324b0d9acf656c4684f16777d64f49b4062bd101c5cddbfc33c82cb'
- '20c22bd8a2e892c484d90c7643ab820454f9e6d892fa48a6075395ec2e2ebcc9'
+ 'f0a1c1f1e939862c8ced4a2b424ed877eb63a6be5b490f38eabce748f7c56e00'
'03ef3e169f8761c1b1624f2e49058005b0fc94a1591d201436221df119c8d41e')
diff --git a/setup.py.patch b/setup.py.patch
index 816cbaf..13b6cdb 100644
--- a/setup.py.patch
+++ b/setup.py.patch
@@ -1,6 +1,15 @@
--- leo-editor-6.1/setup.py
+++ leo-editor-6.1/setup.py
-@@ -113,7 +113,6 @@
+@@ -106,14 +106,13 @@ setup_requires = []
+ # setup_requires no longer needed with PEP-518 and pip >v10
+ #@+node:maphew.20171120133429.1: ** User requirements
+ user_requires = [
+- 'PyQt5 >= 5.12, < 5.13', # v5.12+ to close #1217
+- 'PyQtWebEngine < 5.13', # #1202 QtWebKit needs to be installed separately starting Qt 5.6
++ 'PyQt5 >= 5.12', # v5.12+ to close #1217
++ 'PyQtWebEngine', # #1202 QtWebKit needs to be installed separately starting Qt 5.6
+ 'docutils', # used by Sphinx, rST plugin
+ 'flexx', # for LeoWapp browser gui
'meta', # for livecode.py plugin, which is enabled by default
'nbformat', # for Jupyter notebook integration
'pylint', 'pyflakes', 'black', # coding syntax standards
@@ -8,7 +17,7 @@
'pyshortcuts >= 1.7', # desktop integration (#1243)
'sphinx', # rST plugin
'windows-curses; platform_system=="Windows"', # for console mode on Windows
-@@ -165,7 +164,7 @@
+@@ -165,7 +164,7 @@ setup(
setup_requires=setup_requires,
install_requires=user_requires,
entry_points=define_entry_points(),
@@ -16,4 +25,4 @@
+ cmdclass=cmd_classes, # clean more than setuptools, #1055
python_requires='>=3.6',
)
-
+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment