From 1189f3c52d7714a451ef47aee91834bceac1a857 Mon Sep 17 00:00:00 2001 From: skmpz Date: Thu, 25 Mar 2021 12:27:44 +0400 Subject: [PATCH 1/2] New package: python3-cchardet --- srcpkgs/python3-cchardet/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/python3-cchardet/template diff --git a/srcpkgs/python3-cchardet/template b/srcpkgs/python3-cchardet/template new file mode 100644 index 000000000000..27c0903bdcde --- /dev/null +++ b/srcpkgs/python3-cchardet/template @@ -0,0 +1,15 @@ +# Template file for 'python3-cchardet' +pkgname=python3-cchardet +version=2.1.7 +revision=1 +wrksrc="cchardet-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-Cython" +makedepends="python3-devel" +depends="python3" +short_desc="Universal encoding detector faster than chardet" +maintainer="skmpz " +license="MPL-1.1" +homepage="https://github.com/PyYoshi/cChardet" +distfiles="${PYPI_SITE}/c/cchardet/cchardet-${version}.tar.gz" +checksum=c428b6336545053c2589f6caf24ea32276c6664cb86db817e03a94c60afa0eaf From d8f7b7614746816c979025636d45932d705af7ea Mon Sep 17 00:00:00 2001 From: skmpz Date: Thu, 25 Mar 2021 12:36:15 +0400 Subject: [PATCH 2/2] calibre: update to 5.14.0. --- srcpkgs/calibre/template | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/srcpkgs/calibre/template b/srcpkgs/calibre/template index 166f5d9c9ecf..ec8a9466d446 100644 --- a/srcpkgs/calibre/template +++ b/srcpkgs/calibre/template @@ -1,7 +1,7 @@ # Template file for 'calibre' pkgname=calibre -version=5.9.0 -revision=3 +version=5.14.0 +revision=1 build_style=python3-module pycompile_dirs="/usr/lib/calibre/" hostmakedepends="pkg-config python3-BeautifulSoup4 python3-Pillow python3-PyQt5-svg @@ -18,16 +18,16 @@ depends="desktop-file-utils optipng poppler-utils python3-BeautifulSoup4 python3-css-parser python3-cssselect python3-dateutil python3-dbus python3-dnspython python3-feedparser python3-html5-parser python3-mechanize python3-msgpack python3-netifaces python3-psutil python3-regex python3-html2text - python3-pychm qt5-webengine speech-dispatcher" + python3-pychm python3-cchardet qt5-webengine speech-dispatcher" # should check if python3-pycryptodome is still needed checkdepends="${depends} libjpeg-turbo-tools jxrlib python3-pycryptodome" short_desc="Ebook management application" maintainer="skmpz " license="GPL-3.0-only" homepage="https://calibre-ebook.com" -changelog="https://raw.githubusercontent.com/kovidgoyal/calibre/master/Changelog.yaml" +changelog="https://raw.githubusercontent.com/kovidgoyal/calibre/master/Changelog.txt" distfiles="https://download.calibre-ebook.com/${version}/calibre-${version}.tar.xz" -checksum=a71196af15372054c4a25697534a2df1ef6dd732b9db07aaecaac7a86d9b3a0a +checksum=186cce57b6990af0b014282fa1d3d914fffc11e40d8495ea43d91485534e1271 lib32disabled=yes nocross=yes @@ -53,10 +53,12 @@ do_check() { # disabled for now # unrar test fails because python3-unrardll isn't packaged # searching test case fails (non-deterministic) + # 7z tests disabled (missing python-py7zr dependencies) python3 setup.py test \ --exclude-test-name unrar \ --exclude-test-name qt \ - --exclude-test-name searching + --exclude-test-name searching \ + --exclude-test-name 7z } do_install() {