Date: Friday, April 7, 2023 @ 07:53:51
  Author: alerque
Revision: 1440886

archrelease: copy trunk to community-x86_64

Added:
  calibre/repos/community-x86_64/PKGBUILD
    (from rev 1440885, calibre/trunk/PKGBUILD)
  calibre/repos/community-x86_64/keys/
Deleted:
  calibre/repos/community-x86_64/PKGBUILD
  calibre/repos/community-x86_64/keys/
  calibre/repos/community-x86_64/user-agent-data.json

----------+
 PKGBUILD |  283 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 136 insertions(+), 147 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-07 07:53:29 UTC (rev 1440885)
+++ PKGBUILD    2023-04-07 07:53:51 UTC (rev 1440886)
@@ -1,147 +0,0 @@
-# Maintainer: Caleb Maclennan <[email protected]>
-# Contributor: Jelle van der Waa <[email protected]>
-# Contributor: Eli Schwartz <[email protected]>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-# Contributor: Giovanni Scafora <[email protected]>
-# Contributor: Petrov Roman <[email protected]>
-# Contributor: Andrea Fagiani <andfagiani _at_ gmail dot com>
-# Contributor: Larry Hajali <[email protected]>
-
-pkgname=calibre
-pkgver=6.14.1
-pkgrel=1
-pkgdesc='Ebook management application'
-arch=(x86_64)
-url=https://calibre-ebook.com
-license=(GPL3)
-_pydeps=(apsw
-         beautifulsoup4
-         cchardet
-         css-parser
-         cssselect
-         dateutil
-         dnspython
-         feedparser
-         html2text
-         html5-parser
-         jeepney
-         lxml
-         markdown
-         mechanize
-         msgpack
-         netifaces
-         pdftotext
-         pillow
-         psutil
-         py7zr
-         pychm
-         pycryptodome
-         pygments
-         pyqt6
-         pyqt6-webengine
-         regex
-         unrardll
-         zeroconf)
-depends=(hunspell
-         hyphen
-         icu
-         jxrlib
-         libmtp
-         libstemmer
-         libusb
-         libwmf
-         mathjax
-         mtdev
-         optipng
-         podofo
-         "${_pydeps[@]/#/python-}"
-         qt6-imageformats
-         qt6-svg
-         qt6-webengine
-         ttf-liberation
-         uchardet
-         udisks2)
-makedepends=(cmake
-             pyqt-builder
-             rapydscript-ng
-             sip
-             xdg-utils)
-optdepends=('poppler: required for converting pdf to html'
-            'speech-dispatcher: TTS support in the viewer')
-conflicts=(calibre-common
-           calibre-python3)
-replaces=("${conflicts[@]}")
-_archive="$pkgname-$pkgver"
-source=("https://download.calibre-ebook.com/$pkgver/$_archive.tar.xz";
-        "$url/signatures/$_archive.tar.xz.sig"
-        user-agent-data.json) # Regenerate with `python setup.py recent_uas` 
when bumping
-# TODO download translations repo as source
-sha256sums=('bb6708ad8184f496b0ae1bc263ab9ecbd16d945044dd86f5c550fa3a27e4ebf0'
-            'SKIP'
-            'd49e407119f74714864b29988860ff277ada05dd73ce22ad538b33bdeaa157db')
-validpgpkeys=('3CE1780F78DD88DF45194FD706BC317B515ACE7C') # Kovid Goyal (New 
longer key) <[email protected]>
-
-prepare(){
-       cd "$_archive"
-
-       # Desktop integration (e.g. enforce arch defaults)
-       # Use uppercase naming scheme, don't delete config files under fakeroot.
-       sed -e "/import config_dir/,/os.rmdir(config_dir)/d" \
-               -e "s/'ctc-posml'/'text' not in mt and 'pdf' not in mt and 
'xhtml'/" \
-               -e "s/^Name=calibre/Name=Calibre/g" \
-               -i  src/calibre/linux.py
-
-       # Remove unneeded files
-       rm -f resources/$pkgname-portable.*
-
-       # https://bugs.archlinux.org/task/77807
-       # https://bugs.launchpad.net/calibre/+bug/2011320
-       # Upstream bug is fixed but this saves an offline call to fetch 
resources,
-       # We'll stick with not running recent_uas here for the sake of 
reproducible builds
-       cp "$srcdir/user-agent-data.json" resources
-}
-
-build() {
-       cd "$_archive"
-       export LANG='en_US.UTF-8'
-       python setup.py build
-       python setup.py iso639
-       python setup.py iso3166
-       python setup.py translations
-       python setup.py liberation_fonts --system-liberation_fonts 
--path-to-liberation_fonts /usr/share/fonts/liberation
-       python setup.py mathjax --system-mathjax --path-to-mathjax 
/usr/share/mathjax
-       python setup.py gui
-       python setup.py resources
-}
-
-check() {
-       cd "$_archive"
-       export LANG='en_US.UTF-8'
-       python -m unittest discover
-}
-
-package() {
-       cd "$_archive"
-        export LANG='en_US.UTF-8'
-
-       # If this directory doesn't exist, zsh completion won't install.
-       install -d "${pkgdir}/usr/share/zsh/site-functions"
-
-       python setup.py install \
-               --staging-root="${pkgdir}/usr" \
-               --prefix=/usr \
-               --system-plugins-location=/usr/share/calibre/system-plugins
-
-       cp -a man-pages/ "${pkgdir}/usr/share/man"
-
-       # not needed at runtime
-       rm -r "${pkgdir}"/usr/share/calibre/rapydscript/
-
-       # Compiling bytecode FS#33392
-       # This is kind of ugly but removes traces of the build root.
-       while read -rd '' _file; do
-               _destdir="$(dirname "${_file#${pkgdir}}")"
-               python -m compileall -d "${_destdir}" "${_file}"
-               python -O -m compileall -d "${_destdir}" "${_file}"
-       done < <(find "${pkgdir}"/usr/lib/ -name '*.py' -print0)
-}

Copied: calibre/repos/community-x86_64/PKGBUILD (from rev 1440885, 
calibre/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-04-07 07:53:51 UTC (rev 1440886)
@@ -0,0 +1,136 @@
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: Jelle van der Waa <[email protected]>
+# Contributor: Eli Schwartz <[email protected]>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Giovanni Scafora <[email protected]>
+# Contributor: Petrov Roman <[email protected]>
+# Contributor: Andrea Fagiani <andfagiani _at_ gmail dot com>
+# Contributor: Larry Hajali <[email protected]>
+
+pkgname=calibre
+pkgver=6.15.0
+pkgrel=1
+pkgdesc='Ebook management application'
+arch=(x86_64)
+url=https://calibre-ebook.com
+license=(GPL3)
+_pydeps=(apsw
+         beautifulsoup4
+         cchardet
+         css-parser
+         cssselect
+         dateutil
+         dnspython
+         feedparser
+         html2text
+         html5-parser
+         jeepney
+         lxml
+         markdown
+         mechanize
+         msgpack
+         netifaces
+         pdftotext
+         pillow
+         psutil
+         py7zr
+         pychm
+         pycryptodome
+         pygments
+         pyqt6
+         pyqt6-webengine
+         regex
+         unrardll
+         zeroconf)
+depends=(hunspell
+         hyphen
+         icu
+         jxrlib
+         libmtp
+         libstemmer
+         libusb
+         libwmf
+         mathjax
+         mtdev
+         optipng
+         podofo
+         "${_pydeps[@]/#/python-}"
+         qt6-imageformats
+         qt6-svg
+         qt6-webengine
+         ttf-liberation
+         uchardet
+         udisks2)
+makedepends=(cmake
+             pyqt-builder
+             rapydscript-ng
+             sip
+             xdg-utils)
+optdepends=('poppler: required for converting pdf to html'
+            'speech-dispatcher: TTS support in the viewer')
+conflicts=(calibre-common
+           calibre-python3)
+replaces=("${conflicts[@]}")
+_archive="$pkgname-$pkgver"
+source=("https://download.calibre-ebook.com/$pkgver/$_archive.tar.xz";
+        "$url/signatures/$_archive.tar.xz.sig")
+sha256sums=('9b1c0c8fa7ead7fd76fbeaaaba7f2ed5c24f8ab59c01ac31cd5f14645dc760f6'
+            'SKIP')
+validpgpkeys=('3CE1780F78DD88DF45194FD706BC317B515ACE7C') # Kovid Goyal (New 
longer key) <[email protected]>
+
+prepare(){
+       cd "$_archive"
+
+       # Desktop integration (e.g. enforce arch defaults)
+       # Use uppercase naming scheme, don't delete config files under fakeroot.
+       sed -e "/import config_dir/,/os.rmdir(config_dir)/d" \
+               -e "s/'ctc-posml'/'text' not in mt and 'pdf' not in mt and 
'xhtml'/" \
+               -e "s/^Name=calibre/Name=Calibre/g" \
+               -i  src/calibre/linux.py
+
+       # Remove unneeded files
+       rm -f resources/$pkgname-portable.*
+}
+
+build() {
+       cd "$_archive"
+       export LANG='en_US.UTF-8'
+       python setup.py build
+       python setup.py iso639
+       python setup.py iso3166
+       python setup.py liberation_fonts --system-liberation_fonts 
--path-to-liberation_fonts /usr/share/fonts/liberation
+       python setup.py mathjax --system-mathjax --path-to-mathjax 
/usr/share/mathjax
+       python setup.py gui
+}
+
+check() {
+       cd "$_archive"
+       export LANG='en_US.UTF-8'
+       python -m unittest discover
+}
+
+package() {
+       cd "$_archive"
+        export LANG='en_US.UTF-8'
+
+       # If this directory doesn't exist, zsh completion won't install.
+       install -d "${pkgdir}/usr/share/zsh/site-functions"
+
+       python setup.py install \
+               --staging-root="${pkgdir}/usr" \
+               --prefix=/usr \
+               --system-plugins-location=/usr/share/calibre/system-plugins
+
+       cp -a man-pages/ "${pkgdir}/usr/share/man"
+
+       # not needed at runtime
+       rm -r "${pkgdir}"/usr/share/calibre/rapydscript/
+
+       # Compiling bytecode FS#33392
+       # This is kind of ugly but removes traces of the build root.
+       while read -rd '' _file; do
+               _destdir="$(dirname "${_file#${pkgdir}}")"
+               python -m compileall -d "${_destdir}" "${_file}"
+               python -O -m compileall -d "${_destdir}" "${_file}"
+       done < <(find "${pkgdir}"/usr/lib/ -name '*.py' -print0)
+}

Deleted: user-agent-data.json
===================================================================
(Binary files differ)

Reply via email to