From d1e3d830a481be7ae18aceee41814eb74e34d9fe Mon Sep 17 00:00:00 2001 From: skmpz Date: Thu, 25 Mar 2021 12:27:30 +0400 Subject: [PATCH 1/3] New package: python3-py7zr --- srcpkgs/python3-py7zr/template | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 srcpkgs/python3-py7zr/template diff --git a/srcpkgs/python3-py7zr/template b/srcpkgs/python3-py7zr/template new file mode 100644 index 000000000000..a3e5f1bd1df1 --- /dev/null +++ b/srcpkgs/python3-py7zr/template @@ -0,0 +1,16 @@ +# Template file for 'python3-py7zr' +pkgname=python3-py7zr +version=0.15.0 +revision=1 +wrksrc="py7zr-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools_scm" +depends="python3-pycryptodome python3-texttable" +short_desc="Pure python 7-zip library" +maintainer="skmpz " +license="LGPL-2.1-or-later" +homepage="https://github.com/miurahr/py7zr" +distfiles="${PYPI_SITE}/p/py7zr/py7zr-${version}.tar.gz" +checksum=118f036d7e50ed8cbee8287734b77757c3dfb6bf7adcd97fb16b3b17bdbcfcef +# missing multiple pytest packages +make_check=no From 98171d8a270029624cef0c967b45650f6550b143 Mon Sep 17 00:00:00 2001 From: skmpz Date: Thu, 25 Mar 2021 12:27:44 +0400 Subject: [PATCH 2/3] 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 247e8c43422cc0a91cb7a33dfe72d5ef78e713b8 Mon Sep 17 00:00:00 2001 From: skmpz Date: Thu, 25 Mar 2021 12:36:15 +0400 Subject: [PATCH 3/3] 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..3d6003afd83c 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 python3-py7zr 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 missing ppmd 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() {