[arch-commits] Commit in sugar-activity-read/trunk (PKGBUILD)
Date: Monday, March 9, 2020 @ 20:38:08 Author: bgyorgy Revision: 593315 upgpkg: sugar-activity-read 123-1: Update to new version Modified: sugar-activity-read/trunk/PKGBUILD --+ PKGBUILD | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-03-09 20:34:17 UTC (rev 593314) +++ PKGBUILD2020-03-09 20:38:08 UTC (rev 593315) @@ -2,7 +2,7 @@ pkgname=sugar-activity-read _pkgname=Read -pkgver=122 +pkgver=123 pkgrel=1 pkgdesc="Sugar activity to read books" arch=('any') @@ -11,14 +11,9 @@ groups=('sugar-fructose') depends=('evince' 'sugar-toolkit-gtk3' 'webkit2gtk') source=(https://download.sugarlabs.org/sources/sucrose/fructose/$_pkgname/$_pkgname-$pkgver.tar.bz2) -sha256sums=('5cc9f1c14a4c156f8799035b32418cdb81742bb4c9f65b36c926e06de1ecfb33') +sha256sums=('755be60cfe2dfc495dd50276242836e792c6f82e3e7c58537a707af91afc3d7c') -prepare() { - cd $_pkgname-$pkgver - sed -i 's@^#!.*python$@#!/usr/bin/python2@' readdialog.py setup.py -} - package() { cd $_pkgname-$pkgver - python2 setup.py install --prefix "$pkgdir/usr" --skip-install-desktop-file + python setup.py install --prefix "$pkgdir/usr" --skip-install-desktop-file }
[arch-commits] Commit in sugar-activity-read/trunk (PKGBUILD)
Date: Saturday, March 9, 2019 @ 19:19:25 Author: bgyorgy Revision: 438638 upgpkg: sugar-activity-read 122-1 Update to new version Modified: sugar-activity-read/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-03-09 19:15:27 UTC (rev 438637) +++ PKGBUILD2019-03-09 19:19:25 UTC (rev 438638) @@ -2,7 +2,7 @@ pkgname=sugar-activity-read _pkgname=Read -pkgver=121 +pkgver=122 pkgrel=1 pkgdesc="Sugar activity to read books" arch=('any') @@ -9,9 +9,9 @@ url="https://wiki.sugarlabs.org/go/Activities/Read"; license=('GPL') groups=('sugar-fructose') -depends=('evince' 'sugar-toolkit-gtk3') +depends=('evince' 'sugar-toolkit-gtk3' 'webkit2gtk') source=(https://download.sugarlabs.org/sources/sucrose/fructose/$_pkgname/$_pkgname-$pkgver.tar.bz2) -sha256sums=('2d6c51b4e8ea8fe73b6e35100e75e4a7b299d55c59949844567b1a71195b6397') +sha256sums=('5cc9f1c14a4c156f8799035b32418cdb81742bb4c9f65b36c926e06de1ecfb33') prepare() { cd $_pkgname-$pkgver
[arch-commits] Commit in sugar-activity-read/trunk (PKGBUILD)
Date: Monday, September 10, 2018 @ 04:28:45 Author: bgyorgy Revision: 378961 upgpkg: sugar-activity-read 121-1 Update to new version Modified: sugar-activity-read/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-09-10 04:24:16 UTC (rev 378960) +++ PKGBUILD2018-09-10 04:28:45 UTC (rev 378961) @@ -3,7 +3,7 @@ pkgname=sugar-activity-read _pkgname=Read -pkgver=120 +pkgver=121 pkgrel=1 pkgdesc="Sugar activity to read books" arch=('any') @@ -12,7 +12,7 @@ groups=('sugar-fructose') depends=('evince' 'sugar-toolkit-gtk3') source=(https://download.sugarlabs.org/sources/sucrose/fructose/$_pkgname/$_pkgname-$pkgver.tar.bz2) -sha256sums=('f07fb5ef405a1adedf25fb90a13cd3041c65f001cab7536c124da93a46a564a8') +sha256sums=('2d6c51b4e8ea8fe73b6e35100e75e4a7b299d55c59949844567b1a71195b6397') prepare() { cd $_pkgname-$pkgver
[arch-commits] Commit in sugar-activity-read/trunk (PKGBUILD)
Date: Tuesday, April 10, 2018 @ 12:06:42 Author: bgyorgy Revision: 315581 upgpkg: sugar-activity-read 120-1 Update to new version Modified: sugar-activity-read/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-04-10 12:06:31 UTC (rev 315580) +++ PKGBUILD2018-04-10 12:06:42 UTC (rev 315581) @@ -3,7 +3,7 @@ pkgname=sugar-activity-read _pkgname=Read -pkgver=119 +pkgver=120 pkgrel=1 pkgdesc="Sugar activity to read books" arch=('any') @@ -12,7 +12,7 @@ groups=('sugar-fructose') depends=('evince' 'sugar-toolkit-gtk3') source=(https://download.sugarlabs.org/sources/sucrose/fructose/$_pkgname/$_pkgname-$pkgver.tar.bz2) -sha256sums=('2ffeb10f606a2a019f22bafe482e6593b8e8d5678cbb072a000e2b8c2ecf2ec7') +sha256sums=('f07fb5ef405a1adedf25fb90a13cd3041c65f001cab7536c124da93a46a564a8') prepare() { cd $_pkgname-$pkgver
[arch-commits] Commit in sugar-activity-read/trunk (PKGBUILD bs4-port.patch)
Date: Saturday, June 24, 2017 @ 21:12:06 Author: bgyorgy Revision: 240853 upgpkg: sugar-activity-read 118-2 Port to Beautiful Soup 4 Added: sugar-activity-read/trunk/bs4-port.patch Modified: sugar-activity-read/trunk/PKGBUILD + PKGBUILD | 13 + bs4-port.patch | 32 2 files changed, 41 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-06-24 20:24:45 UTC (rev 240852) +++ PKGBUILD2017-06-24 21:12:06 UTC (rev 240853) @@ -4,19 +4,24 @@ pkgname=sugar-activity-read _pkgname=Read pkgver=118 -pkgrel=1 +pkgrel=2 pkgdesc="Sugar activity to read books" arch=('any') url="https://wiki.sugarlabs.org/go/Activities/Read"; license=('GPL') groups=('sugar-fructose') -depends=('evince' 'python2-beautifulsoup3' 'sugar-toolkit-gtk3') -source=(https://download.sugarlabs.org/sources/sucrose/fructose/$_pkgname/$_pkgname-$pkgver.tar.bz2) -sha256sums=('652c66a08c0f6b98e25c1e4d51ac7caffd4a2beefae8c3fd1209e8a432ec0052') +depends=('evince' 'python2-beautifulsoup4' 'sugar-toolkit-gtk3') +source=(https://download.sugarlabs.org/sources/sucrose/fructose/$_pkgname/$_pkgname-$pkgver.tar.bz2 +bs4-port.patch) +sha256sums=('652c66a08c0f6b98e25c1e4d51ac7caffd4a2beefae8c3fd1209e8a432ec0052' +'dab39eb8658c850a684856a698934791e79e8e68b20132a462583da3f12c1d1c') prepare() { cd $_pkgname-$pkgver sed -i 's@^#!.*python$@#!/usr/bin/python2@' readdialog.py setup.py + + # Port to Beautiful Soup 4 + patch -Np1 -i ../bs4-port.patch } package() { Added: bs4-port.patch === --- bs4-port.patch (rev 0) +++ bs4-port.patch 2017-06-24 21:12:06 UTC (rev 240853) @@ -0,0 +1,32 @@ +From fb84b57f4300b32be2c8d96610e70efaf3c1ddf8 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Gy=C3=B6rgy=20Ball=C3=B3?= +Date: Sat, 24 Jun 2017 23:00:56 +0200 +Subject: [PATCH] Port to Beautiful Soup 4 + +It's a replacement for Beautiful Soup 3, which has no further development. +--- + epubview/jobs.py | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/epubview/jobs.py b/epubview/jobs.py +index 152455f..a877c47 100644 +--- a/epubview/jobs.py b/epubview/jobs.py +@@ -21,7 +21,7 @@ + import widgets + import math + import os.path +-import BeautifulSoup ++import bs4 + + import threading + +@@ -62,7 +62,7 @@ def _start_search(self): + return False + + def _searchfile(self, fileobj): +-soup = BeautifulSoup.BeautifulSoup(fileobj) ++soup = bs4.BeautifulSoup(fileobj) + body = soup.find('body') + tags = body.findChildren(True) + for tag in tags:
[arch-commits] Commit in sugar-activity-read/trunk (PKGBUILD)
Date: Saturday, June 17, 2017 @ 15:05:34 Author: bgyorgy Revision: 237935 upgpkg: sugar-activity-read 118-1 Update to new version Modified: sugar-activity-read/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-06-17 15:04:35 UTC (rev 237934) +++ PKGBUILD2017-06-17 15:05:34 UTC (rev 237935) @@ -3,7 +3,7 @@ pkgname=sugar-activity-read _pkgname=Read -pkgver=117 +pkgver=118 pkgrel=1 pkgdesc="Sugar activity to read books" arch=('any') @@ -12,7 +12,7 @@ groups=('sugar-fructose') depends=('evince' 'python2-beautifulsoup3' 'sugar-toolkit-gtk3') source=(https://download.sugarlabs.org/sources/sucrose/fructose/$_pkgname/$_pkgname-$pkgver.tar.bz2) -sha256sums=('8cd39b4060b7a36a9029eec1b771ce4831d94deb3074be3d2b7965f293da') +sha256sums=('652c66a08c0f6b98e25c1e4d51ac7caffd4a2beefae8c3fd1209e8a432ec0052') prepare() { cd $_pkgname-$pkgver