From 183dec0f363cf525d3e2e7ae29e41e5704cea01f Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Tue, 18 Feb 2025 10:08:36 +0000 Subject: [PATCH] filesystems/py-dfvfs: update to 20240505 --- filesystems/py-dfvfs/Makefile | 12 ++++++------ filesystems/py-dfvfs/distinfo | 6 +++--- .../files/patch-dfvfs_lib_sqlite__database.py | 11 +++++++++++ 3 files changed, 20 insertions(+), 9 deletions(-) create mode 100644 filesystems/py-dfvfs/files/patch-dfvfs_lib_sqlite__database.py diff --git a/filesystems/py-dfvfs/Makefile b/filesystems/py-dfvfs/Makefile index cf96f98a9a0c..b8d79628df65 100644 --- a/filesystems/py-dfvfs/Makefile +++ b/filesystems/py-dfvfs/Makefile @@ -1,6 +1,5 @@ PORTNAME= dfvfs -PORTVERSION= 20231208 -PORTREVISION= 1 +PORTVERSION= 20240505 CATEGORIES= filesystems security devel python MASTER_SITES= https://github.com/log2timeline/dfvfs/releases/download/${PORTVERSION}/ \ LOCAL/antoine @@ -13,8 +12,12 @@ WWW= https://github.com/log2timeline/dfvfs LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= libbde>=a:filesystems/libbde \ + libcaes>=a:security/libcaes \ libewf>=0:devel/libewf \ + libfcrypto>=a:security/libfcrypto \ libfsapfs>=e:filesystems/libfsapfs \ libfsext>=e:filesystems/libfsext \ libfsfat>=e:filesystems/libfsfat \ @@ -45,7 +48,7 @@ RUN_DEPENDS= libbde>=a:filesystems/libbde \ USES= python USE_LOCALE= en_US.UTF-8 -USE_PYTHON= autoplist concurrent cryptography distutils +USE_PYTHON= autoplist cryptography pep517 DO_MAKE_TEST= ${SETENV} ${TEST_ENV} ${PYTHON_CMD} TEST_TARGET= run_tests.py @@ -54,7 +57,4 @@ NO_ARCH= yes # Upstream archive contains files with UTF-8 names EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar -post-patch: - ${REINPLACE_CMD} "/cffi/d" ${WRKSRC}/requirements.txt - .include diff --git a/filesystems/py-dfvfs/distinfo b/filesystems/py-dfvfs/distinfo index 7566b547002f..8d1f8d603842 100644 --- a/filesystems/py-dfvfs/distinfo +++ b/filesystems/py-dfvfs/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1707754540 -SHA256 (dfvfs-20231208.tar.gz) = 522e5225738c14b9134001a7147cf5688538efe4ca42c6536837bb650a204664 -SIZE (dfvfs-20231208.tar.gz) = 98086866 +TIMESTAMP = 1739783519 +SHA256 (dfvfs-20240505.tar.gz) = 5b60f302d57f5d771859c5718f2c7cba5bdaadba93b815a999c8e0a72f596d2e +SIZE (dfvfs-20240505.tar.gz) = 98086812 diff --git a/filesystems/py-dfvfs/files/patch-dfvfs_lib_sqlite__database.py b/filesystems/py-dfvfs/files/patch-dfvfs_lib_sqlite__database.py new file mode 100644 index 000000000000..f5f92d41fc37 --- /dev/null +++ b/filesystems/py-dfvfs/files/patch-dfvfs_lib_sqlite__database.py @@ -0,0 +1,11 @@ +--- dfvfs/lib/sqlite_database.py.orig 2023-12-03 10:56:43 UTC ++++ dfvfs/lib/sqlite_database.py +@@ -14,7 +14,7 @@ class SQLiteDatabaseFile(object): + _HAS_COLUMN_QUERY = 'PRAGMA table_info("{0:s}")' + + _HAS_TABLE_QUERY = ( +- 'SELECT name FROM sqlite_master WHERE type = "table"') ++ 'SELECT name FROM sqlite_master WHERE type = \'table\'') + + _HEADER_SIGNATURE = b'SQLite format 3' +