aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorAlexander Verbovetsky <alik@ejik.org>2020-02-08 01:44:25 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-02-08 01:44:25 +0700
commit2496bc3a077a6b2b6677fff78f7824abb0c8d90c (patch)
treee525b07e4f733094ef83e6d103138d2ba2259b21 /network
parent6da357be21ff7463036203a24f1b797064a525bc (diff)
network/qutebrowser-tox: Updated for version 1.10.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/qutebrowser-tox/README7
-rw-r--r--network/qutebrowser-tox/qutebrowser-tox.SlackBuild12
-rw-r--r--network/qutebrowser-tox/qutebrowser-tox.info30
3 files changed, 27 insertions, 22 deletions
diff --git a/network/qutebrowser-tox/README b/network/qutebrowser-tox/README
index fd030b08fb5d5..aaf656b629241 100644
--- a/network/qutebrowser-tox/README
+++ b/network/qutebrowser-tox/README
@@ -4,9 +4,12 @@ It's based on Qt and PyQt5 and free software, licensed under the GPL.
It was inspired by other browsers/addons like dwb and
Vimperator/Pentadactyl.
-This script runs tox to install all needed dependencies in a virtual
+This SlackBuild installs all needed dependencies in a virtual
environment subfolder. This comes with an up-to-date Qt/PyQt including a
pre-compiled QtWebEngine binary, but has a couple of caveats:
* It only works on 64-bit x86 systems.
* It comes with a QtWebEngine compiled without proprietary codec support
- (such as h.264).
+ (such as h.264).
+
+Before version 1.10.0 this SlackBuild used tox to manage virtualenv, hence
+the name of the SlackBuild.
diff --git a/network/qutebrowser-tox/qutebrowser-tox.SlackBuild b/network/qutebrowser-tox/qutebrowser-tox.SlackBuild
index bae01a4d76b98..259fdbaf0c359 100644
--- a/network/qutebrowser-tox/qutebrowser-tox.SlackBuild
+++ b/network/qutebrowser-tox/qutebrowser-tox.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=qutebrowser-tox
-VERSION=${VERSION:-1.9.0}
+VERSION=${VERSION:-1.10.0}
SSLVERSION=${SSLVERSION:-1.1.1d}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,9 +54,8 @@ cd $PKG/opt
tar xvf $CWD/qutebrowser-$VERSION.tar.gz
mv qutebrowser-$VERSION qutebrowser
cd qutebrowser
-sed -i "/\[testenv:mkvenv-pypi\]/ a \
-install_command = pip install --no-index --find-links $CWD/ {opts} {packages}"\
- tox.ini
+sed -i.bak "s|\(run_venv(venv_dir, 'python3', '-m', 'pip', 'install',\)|\1 \
+'--no-index', '--find-links=$CWD/',|" scripts/mkvenv.py
chown -R root:root .
find -L . \
@@ -65,12 +64,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-tox -e mkvenv-pypi
+python3 scripts/mkvenv.py
+
+mv scripts/mkvenv.py.bak scripts/mkvenv.py
find ./ -type f -name '*.pyc' -delete
find ./ -type d -name '__pycache__' -delete
find ./ -type f -exec sed -i -e "s|$PKG||" {} \;
-sed -i "/\[testenv:mkvenv-pypi\]/ {n;d;}" tox.ini
find ./ -type f -exec sed -i -e \
'1,2 s|^#!/usr/bin/env python.*$|#!/opt/qutebrowser/.venv/bin/python3|' {} \;
.venv/bin/python3 -m compileall scripts/__init__.py \
diff --git a/network/qutebrowser-tox/qutebrowser-tox.info b/network/qutebrowser-tox/qutebrowser-tox.info
index c5a70956c9c5d..a752597493ab7 100644
--- a/network/qutebrowser-tox/qutebrowser-tox.info
+++ b/network/qutebrowser-tox/qutebrowser-tox.info
@@ -1,36 +1,38 @@
PRGNAM="qutebrowser-tox"
-VERSION="1.9.0"
+VERSION="1.10.0"
HOMEPAGE="https://qutebrowser.org"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/qutebrowser/qutebrowser/archive/v1.9.0/qutebrowser-1.9.0.tar.gz \
+DOWNLOAD_x86_64="https://github.com/qutebrowser/qutebrowser/archive/v1.10.0/qutebrowser-1.10.0.tar.gz \
+ https://files.pythonhosted.org/packages/54/0c/d01aa759fdc501a58f431eb594a17495f15b88da142ce14b5845662c13f3/pip-20.0.2-py2.py3-none-any.whl \
https://files.pythonhosted.org/packages/a2/db/4313ab3be961f7a763066401fb77f7748373b6094076ae2bda2806988af6/attrs-19.3.0-py2.py3-none-any.whl \
https://files.pythonhosted.org/packages/c9/dc/45cdef1b4d119eb96316b3117e6d5708a08029992b2fee2c143c7a0a5cc5/colorama-0.4.3-py2.py3-none-any.whl \
https://files.pythonhosted.org/packages/6b/15/a9fb9010f58d1c55dd0b7779db2334feb9a572d407024f39a60f44293861/cssutils-1.0.2-py3-none-any.whl \
- https://files.pythonhosted.org/packages/65/e0/eb35e762802015cab1ccee04e8a277b03f1d8e53da3ec3106882ec42558b/Jinja2-2.10.3-py2.py3-none-any.whl \
+ https://files.pythonhosted.org/packages/27/24/4f35961e5c669e96f6559760042a55b9bcfcdb82b9bdb3c8753dbe042e35/Jinja2-2.11.1-py2.py3-none-any.whl \
https://files.pythonhosted.org/packages/98/7b/ff284bd8c80654e471b769062a9b43cc5d03e7a615048d96f4619df8d420/MarkupSafe-1.1.1-cp37-cp37m-manylinux1_x86_64.whl \
https://files.pythonhosted.org/packages/be/39/32da3184734730c0e4d3fa3b2b5872104668ad6dc1b5a73d8e477e5fe967/Pygments-2.5.2-py2.py3-none-any.whl \
https://files.pythonhosted.org/packages/f9/bd/10398e2c2d2070cc8a9c7153abfbd4ddb2895a2c52a32722ab8689e0cc7d/pyPEG2-2.15.2.tar.gz \
- https://files.pythonhosted.org/packages/8d/c9/e5be955a117a1ac548cdd31e37e8fd7b02ce987f9655f5c7563c656d5dcb/PyYAML-5.2.tar.gz \
- https://files.pythonhosted.org/packages/c4/0c/3b192f85388212c618e069c20df9e6b2c26f6ee76a346205d10df6b81fd7/PyQt5-5.12.3-5.12.6-cp35.cp36.cp37.cp38-abi3-manylinux1_x86_64.whl \
- https://files.pythonhosted.org/packages/fb/93/5b0b61b461a7772a7c5c08d8f49b75e3abab3dfc84318b55e24e194c1274/PyQt5_sip-12.7.0-cp37-cp37m-manylinux1_x86_64.whl \
- https://files.pythonhosted.org/packages/0d/2b/5374d252d835912419a6feeddf1df64ebfd7007b1a8eadac3110237789cd/PyQtWebEngine-5.12.1-5.12.6-cp35.cp36.cp37.cp38-abi3-manylinux1_x86_64.whl \
+ https://files.pythonhosted.org/packages/3d/d9/ea9816aea31beeadccd03f1f8b625ecf8f645bd66744484d162d84803ce5/PyYAML-5.3.tar.gz \
+ https://files.pythonhosted.org/packages/bb/47/640737c9d2eb76a2bf6e8dc101dd195caea07985f1932976629c02ad1432/PyQt5-5.14.1-5.14.1-cp35.cp36.cp37.cp38-abi3-manylinux2014_x86_64.whl \
+ https://files.pythonhosted.org/packages/c6/1d/a7ff3caab5e0ec563198dc0544ae3140965065e6ed3901ff23689766e4d0/PyQt5_sip-12.7.1-cp37-cp37m-manylinux1_x86_64.whl \
+ https://files.pythonhosted.org/packages/47/94/18dc537f482b2f7babdeace5cb7e441724910660bd34f490858ef8562caf/PyQtWebEngine-5.14.0-5.14.1-cp35.cp36.cp37.cp38-abi3-manylinux2014_x86_64.whl \
https://github.com/mozilla/pdf.js/releases/download/v2.2.228/pdfjs-2.2.228-dist.zip \
https://www.openssl.org/source/openssl-1.1.1d.tar.gz"
-MD5SUM_x86_64="861f0edd9d8da664dc6249cba916ca7f \
+MD5SUM_x86_64="296e3be923b9c4956e0a1070bb6b24b9 \
+ 2762a1e7f11cff2bb8f8e69997f11331 \
15c8ca1fd31e80e02b38064e835ddcd8 \
9e6c379e994d31f11945e90bbe7d93f4 \
e5e872b22e870f6834d49c1fb2d8a9fb \
- 8ea90ab711841aad4d846613305ca59e \
+ 945f0fc50f46e8f8310ff3184bcec0e7 \
ce9334cb93c3fb155b6395458935ad61 \
044bef3bf7f2ced9d8df7be47d3cfbde \
84057d292808553290f0b78f42c64bbe \
- d7e45e932d6e6649ac574a1ed77b4269 \
- 4f7b3da56c92e5874da2ff6689cf37e0 \
- a2eb8c411656a381bf9521f5cf8c8976 \
- 1220ee6a87862e6a95540f5014555ae5 \
+ adbb0d336b509d6472d3b095a0f1cf30 \
+ 9c4328d2ee4094052c368218de4a41ec \
+ 2f8847bfe27046376d25c8b64dce76d4 \
+ 13a08d09f7046ce7356b83ca5f1562ad \
00a0da0230a56bb34bce053f19ae1c95 \
3be209000dbc7e1b95bcdf47980a3baa"
-REQUIRES="python3 tox"
+REQUIRES="libxkbcommon krb5 python3 Pygments"
MAINTAINER="Alexander Verbovetsky"
EMAIL="alik@ejik.org"