head 1.16; access; symbols pkgsrc-2023Q4:1.14.0.16 pkgsrc-2023Q4-base:1.14 pkgsrc-2023Q3:1.14.0.14 pkgsrc-2023Q3-base:1.14 pkgsrc-2023Q2:1.14.0.12 pkgsrc-2023Q2-base:1.14 pkgsrc-2023Q1:1.14.0.10 pkgsrc-2023Q1-base:1.14 pkgsrc-2022Q4:1.14.0.8 pkgsrc-2022Q4-base:1.14 pkgsrc-2022Q3:1.14.0.6 pkgsrc-2022Q3-base:1.14 pkgsrc-2022Q2:1.14.0.4 pkgsrc-2022Q2-base:1.14 pkgsrc-2022Q1:1.14.0.2 pkgsrc-2022Q1-base:1.14 pkgsrc-2021Q4:1.13.0.18 pkgsrc-2021Q4-base:1.13 pkgsrc-2021Q3:1.13.0.16 pkgsrc-2021Q3-base:1.13 pkgsrc-2021Q2:1.13.0.14 pkgsrc-2021Q2-base:1.13 pkgsrc-2021Q1:1.13.0.12 pkgsrc-2021Q1-base:1.13 pkgsrc-2020Q4:1.13.0.10 pkgsrc-2020Q4-base:1.13 pkgsrc-2020Q3:1.13.0.8 pkgsrc-2020Q3-base:1.13 pkgsrc-2020Q2:1.13.0.6 pkgsrc-2020Q2-base:1.13 pkgsrc-2020Q1:1.13.0.2 pkgsrc-2020Q1-base:1.13 pkgsrc-2019Q4:1.13.0.4 pkgsrc-2019Q4-base:1.13 pkgsrc-2019Q3:1.12.0.12 pkgsrc-2019Q3-base:1.12 pkgsrc-2019Q2:1.12.0.10 pkgsrc-2019Q2-base:1.12 pkgsrc-2019Q1:1.12.0.8 pkgsrc-2019Q1-base:1.12 pkgsrc-2018Q4:1.12.0.6 pkgsrc-2018Q4-base:1.12 pkgsrc-2018Q3:1.12.0.4 pkgsrc-2018Q3-base:1.12 pkgsrc-2018Q2:1.12.0.2 pkgsrc-2018Q2-base:1.12 pkgsrc-2018Q1:1.11.0.4 pkgsrc-2018Q1-base:1.11 pkgsrc-2017Q4:1.11.0.2 pkgsrc-2017Q4-base:1.11 pkgsrc-2017Q3:1.10.0.4 pkgsrc-2017Q3-base:1.10 pkgsrc-2017Q2:1.9.0.2 pkgsrc-2017Q2-base:1.9 pkgsrc-2017Q1:1.8.0.6 pkgsrc-2017Q1-base:1.8 pkgsrc-2016Q4:1.8.0.4 pkgsrc-2016Q4-base:1.8 pkgsrc-2016Q3:1.8.0.2 pkgsrc-2016Q3-base:1.8 pkgsrc-2016Q2:1.7.0.2 pkgsrc-2016Q2-base:1.7 pkgsrc-2016Q1:1.2.0.4 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.2 pkgsrc-2015Q4-base:1.2; locks; strict; comment @# @; 1.16 date 2024.03.06.18.53.34; author adam; state Exp; branches; next 1.15; commitid kdxNq1wIf34kd81F; 1.15 date 2024.01.18.18.11.39; author adam; state Exp; branches; next 1.14; commitid 9NtwYHPo3QFtwXUE; 1.14 date 2022.01.04.20.52.31; author wiz; state Exp; branches; next 1.13; commitid CYyhdK9qtoffkmnD; 1.13 date 2019.12.11.13.46.46; author adam; state Exp; branches; next 1.12; commitid Izsl9moWvk7YeiOB; 1.12 date 2018.06.15.08.08.18; author adam; state Exp; branches; next 1.11; commitid TC3O4BDmunBXQlGA; 1.11 date 2017.10.16.07.42.02; author adam; state Exp; branches; next 1.10; commitid F7XEzIF4BBKmufbA; 1.10 date 2017.08.15.21.04.09; author wiz; state Exp; branches; next 1.9; commitid dQJMs3zZBdB4Vl3A; 1.9 date 2017.05.29.11.09.45; author jperkin; state Exp; branches; next 1.8; commitid ruuCkWAmOSHy8hTz; 1.8 date 2016.07.01.17.55.23; author jperkin; state Exp; branches; next 1.7; commitid VJEEuQC0WHEW2Ecz; 1.7 date 2016.06.08.17.49.19; author wiz; state Exp; branches; next 1.6; commitid q1ELf7ABYxjcLG9z; 1.6 date 2016.05.29.18.49.54; author wiz; state Exp; branches; next 1.5; commitid lDoZxWYiVWAXpp8z; 1.5 date 2016.05.22.13.32.18; author wiz; state Exp; branches; next 1.4; commitid Zd149RsgtcFQSt7z; 1.4 date 2016.05.22.13.15.43; author wiz; state Exp; branches; next 1.3; commitid RjpB2Jm2QAeeNt7z; 1.3 date 2016.05.21.05.28.59; author richard; state Exp; branches; next 1.2; commitid Y3XZswWvm4t9fj7z; 1.2 date 2015.12.07.09.18.30; author wiz; state Exp; branches; next 1.1; commitid cb8ixe05WBxGQZLy; 1.1 date 2015.12.02.15.14.05; author wiz; state Exp; branches; next ; commitid FESohFTBsV3FYnLy; desc @@ 1.16 log @py-libarchive-c: updated to 5.1 5.1 Fix the format_name property and move it from the ArchiveEntry class to the ArchiveRead class @ text @# $NetBSD: Makefile,v 1.15 2024/01/18 18:11:39 adam Exp $ DISTNAME= libarchive-c-5.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= archivers python MASTER_SITES= ${MASTER_SITE_PYPI:=l/libarchive-c/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/Changaco/python-libarchive-c COMMENT= Python interface to libarchive LICENSE= cc0-1.0-universal TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 .include "../../archivers/libarchive/buildlink3.mk" .include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk" @ 1.15 log @py-libarchive-c: updated to 5.0 5.0 Changes to the library: It is now possible to specify a codec for archive entry metadata (pathname, linkpath, uname and gname) BREAKING: If you use the archive_read_class and archive_write_class arguments, the classes you provide will receive a codec name as a second positional argument. The timestamp_nsec arguments of the legacy ArchiveEntry.set_{a,c,m}time methods are now optional Changes to the tests and packaging: Removed obsolete dependencies (mock and six) from tox.ini Always use UTF-8 when reading the PKG-INFO and README.rst files Replaced pytest-xdist with pytest-forked in tox.ini Dropped testing with Python 3.7. Added 3.10 and 3.11 4.0 BREAKING & SECURITY: The archive extraction functions now pass 3 security flags (SECURE_NODOTDOT, SECURE_NOABSOLUTEPATHS and SECURE_SYMLINKS) to libarchive by default, unless the current directory is the root. BREAKING: The ArchiveEntry properties atime, mtime, ctime, birthtime and size now have the value None instead of 0 when they're unset. BREAKING: The ArchiveEntry.pathname property now attempts to decode bytes using UTF-8. This breaks reading archives that contain file names which look like UTF-8 but aren't, if such a thing exists. Proper support of encodings will probably be added in the next version. Multiple entries from the same archive can now be kept in memory, however only the current entry's content can be read. The filetype, linkpath, size, mode, redvmajor, redvminor, uid and gid attributes of an archive entry can now be modified. The four time properties of archive entries now have setters, so for example entry.set_mtime(0, 0) can be replaced by entry.mtime = 0. Archive entries have 4 new properties: perm, rdev, uname and gname. When adding files to an archive, a destination path can now be specified. The ArchiveRead class now has a bytes_read property. The ArchiveWrite class now has a bytes_written property. Python 3.6 is no longer tested. The documentation has been improved. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2022/01/04 20:52:31 wiz Exp $ d3 1 a3 1 DISTNAME= libarchive-c-5.0 @ 1.14 log @*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2019/12/11 13:46:46 adam Exp $ d3 1 a3 1 DISTNAME= libarchive-c-2.9 a4 1 PKGREVISION= 1 d13 3 d18 2 d21 1 a21 1 .include "../../lang/python/egg.mk" @ 1.13 log @py-libarchive-c: updated to 2.9 2.9: Changes to the library: optimized the ArchiveEntry class added support for the zstd format fixed the top-level __all__ list (7b97d8b) updated the code to support Python 3.8 improved the add_file_from_memory method lowered the level of log messages from warning to info Tests: dropped testing with Python 3.4, added 3.7 and 3.8 fixed unicode handling in entry tests @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2018/06/15 08:08:18 adam Exp $ d5 1 @ 1.12 log @py-libarchive-c: updated to 2.8 Changes 2.8: add support for setting atime, ctime, mtime and birthtime tell libarchive when writing an archive is aborted due to an exception add support for getting uid and gid add support for high resolution timestamps add two new archive readers: stream_reader and custom_reader add missing archive extraction flags add the lz4 and warc formats add support for write options and uid/gid lookup @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2017/10/16 07:42:02 adam Exp $ d3 1 a3 1 DISTNAME= libarchive-c-2.8 d5 1 a5 1 CATEGORIES= devel python @ 1.11 log @py-libarchive-c: update to 2.7 2.7 only read regular files add support for atime and ctime @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2017/08/15 21:04:09 wiz Exp $ d3 1 a3 1 DISTNAME= libarchive-c-2.7 @ 1.10 log @Remove hack for finding libarchive that is not correct any longer. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2017/05/29 11:09:45 jperkin Exp $ d3 1 a3 1 DISTNAME= libarchive-c-2.4 d5 1 a5 2 PKGREVISION= 3 CATEGORIES= devel d13 2 @ 1.9 log @Recursive revision bump for archivers/libarchive. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2016/07/01 17:55:23 jperkin Exp $ d5 1 a5 1 PKGREVISION= 2 a13 7 SUBST_CLASSES+= libarchive # assume for now that only pkgsrc provides a new enough version SUBST_SED.libarchive+= -e "s,find_library('archive'),'${PREFIX}/lib/libarchive.so'," SUBST_FILES.libarchive+= libarchive/ffi.py SUBST_MESSAGE.libarchive= Fix path to libarchive. SUBST_STAGE.libarchive= post-configure @ 1.8 log @The recent libarchive update changed the library major. Increase the ABI depends and perform a PKGREVISION bump for dependents. Noticed by OSX binary package users. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2016/06/08 17:49:19 wiz Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.7 log @Switch to MASTER_SITE_PYPI. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2016/05/29 18:49:54 wiz Exp $ d5 1 @ 1.6 log @Updated py-libarchive-c to 2.4. This is a fix release that doesn't change the library code. Details: fixed file permissions in PyPI archives (#30) fixed Travis CI builds (#32) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2016/05/22 13:32:18 wiz Exp $ d6 1 a6 1 MASTER_SITES= https://pypi.python.org/packages/78/99/c962cfa81a0acff3cb569564349f0a3c249c2435e543bc75a79a8b7fcf03/ @ 1.5 log @Update py-libarchive-c to 2.3: License changed to cc0. Add link to upstream bug report about permissions problem. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2016/05/22 13:15:43 wiz Exp $ d3 1 a3 1 DISTNAME= libarchive-c-2.3 d6 1 a6 1 MASTER_SITES= ${MASTER_SITE_PYPI:=l/libarchive-c/} a19 5 # permissions are usually wrong # https://github.com/Changaco/python-libarchive-c/issues/30 post-install: ${CHMOD} ${SHAREMODE} ${DESTDIR}${PREFIX}/${PYSITELIB}/${EGG_INFODIR}/* @ 1.4 log @Revert previous, permissions fixup is still needed here. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2016/05/21 05:28:59 richard Exp $ d3 1 a3 1 DISTNAME= libarchive-c-2.2 a4 1 PKGREVISION= 1 d11 1 a11 1 LICENSE= gnu-lgpl-v2 d21 1 @ 1.3 log @post-install chmod no longer necessary @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2015/12/07 09:18:30 wiz Exp $ d21 4 @ 1.2 log @Fix permissions of meta files. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2015/12/02 15:14:05 wiz Exp $ a20 4 # permissions are usually wrong post-install: ${CHMOD} ${SHAREMODE} ${DESTDIR}${PREFIX}/${PYSITELIB}/${EGG_INFODIR}/* @ 1.1 log @Import py-libarchive-c-2.2 as archivers/py-libarchive-c. A Python interface to libarchive. It uses the standard ctypes module to dynamically load and access the C library. @ text @d1 1 a1 1 # $NetBSD$ d5 1 d21 4 @