1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

deskutils/calibre: Update to 5.34.0

Import upstream patch to fix installation on FreeBSD. [1]

Obtained from:	dafa08e921 [1]
This commit is contained in:
Guido Falsi 2021-12-17 20:06:25 +01:00
parent 7ab82b7b49
commit 63d2247014
4 changed files with 16 additions and 5 deletions

View File

@ -1,8 +1,7 @@
# Created by: stas
PORTNAME= calibre
PORTVERSION= 5.33.2
PORTREVISION= 1
PORTVERSION= 5.34.0
CATEGORIES= deskutils python
MASTER_SITES= http://download.calibre-ebook.com/${PORTVERSION}/

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1638635716
SHA256 (calibre-5.33.2.tar.xz) = c2db77b9c09a16af702e4efd09e0b3db4b4c33a01b2ed6782e7e93c4ec7476f2
SIZE (calibre-5.33.2.tar.xz) = 37081104
TIMESTAMP = 1639726652
SHA256 (calibre-5.34.0.tar.xz) = d4d401eefadc534851df4f3ff247949ffac785dbc993901bd2938c3f2894d7e3
SIZE (calibre-5.34.0.tar.xz) = 37077184

View File

@ -0,0 +1,11 @@
--- setup/install.py.orig 2021-12-17 00:40:19 UTC
+++ setup/install.py
@@ -158,7 +158,7 @@ class Develop(Command):
import sysconfig
libdir = os.path.join(
self.opts.staging_root, sysconfig.get_config_var('PLATLIBDIR') or 'lib',
- sysconfig.get_python_version(), 'site-packages')
+ os.path.basename(sysconfig.get_config_var('DESTLIB') or sysconfig.get_config_var('LIBDEST') or f'python{sysconfig.get_python_version()}'), 'site-packages')
try:
if not os.path.exists(libdir):
os.makedirs(libdir)

View File

@ -1465,6 +1465,7 @@ lib/calibre/tinycss/version.py
%%DATADIR%%/catalog/stylesheet.css
%%DATADIR%%/catalog/template.xhtml
%%DATADIR%%/changelog.json
%%DATADIR%%/common-english-words.txt
%%DATADIR%%/content-server/calibre.png
%%DATADIR%%/content-server/empty.html
%%DATADIR%%/content-server/index-generated.html