Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 0F8961A9239 for ; Mon, 17 Jan 2022 17:47:55 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 559C184E5F; Mon, 17 Jan 2022 17:47:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 9107584DA9 for ; Mon, 17 Jan 2022 17:47:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id zOpL0I6DEbmU for ; Mon, 17 Jan 2022 17:47:53 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id E6F4884D28 for ; Mon, 17 Jan 2022 17:47:52 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id E2EE2FB24; Mon, 17 Jan 2022 17:47:52 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1642441672204370" MIME-Version: 1.0 Date: Mon, 17 Jan 2022 17:47:52 +0000 From: "Olaf Seibert" Subject: CVS commit: pkgsrc/archivers/py-unrardll To: pkgsrc-changes@NetBSD.org Reply-To: rhialto@netbsd.org X-Mailer: log_accum Message-Id: <20220117174752.E2EE2FB24@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1642441672204370 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: rhialto Date: Mon Jan 17 17:47:52 UTC 2022 Added Files: pkgsrc/archivers/py-unrardll: DESCR Makefile PLIST distinfo pkgsrc/archivers/py-unrardll/patches: patch-src_unrardll_wrapper.cpp Log Message: archivers/py-unrardll: new package to be used with misc/calibre. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 pkgsrc/archivers/py-unrardll/DESCR \ pkgsrc/archivers/py-unrardll/Makefile pkgsrc/archivers/py-unrardll/PLIST \ pkgsrc/archivers/py-unrardll/distinfo cvs rdiff -u -r0 -r1.1 \ pkgsrc/archivers/py-unrardll/patches/patch-src_unrardll_wrapper.cpp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1642441672204370 Content-Disposition: inline Content-Length: 3003 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Added files: Index: pkgsrc/archivers/py-unrardll/DESCR diff -u /dev/null pkgsrc/archivers/py-unrardll/DESCR:1.1 --- /dev/null Mon Jan 17 17:47:52 2022 +++ pkgsrc/archivers/py-unrardll/DESCR Mon Jan 17 17:47:52 2022 @@ -0,0 +1 @@ +Wrap the Unrar shared library to enable unraring of files in python. Index: pkgsrc/archivers/py-unrardll/Makefile diff -u /dev/null pkgsrc/archivers/py-unrardll/Makefile:1.1 --- /dev/null Mon Jan 17 17:47:52 2022 +++ pkgsrc/archivers/py-unrardll/Makefile Mon Jan 17 17:47:52 2022 @@ -0,0 +1,16 @@ +# $NetBSD: Makefile,v 1.1 2022/01/17 17:47:52 rhialto Exp $ + +DISTNAME= unrardll-0.1.5 +CATEGORIES= archivers python +MASTER_SITES= ${MASTER_SITE_PYPI:=u/unrardll/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://pypi.org/project/unrardll +COMMENT= Python bindings for libunrar +LICENSE= modified-bsd + +USE_LANGUAGES+= c c++ + +.include "../../lang/python/egg.mk" +.include "../../archivers/libunrar/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/archivers/py-unrardll/PLIST diff -u /dev/null pkgsrc/archivers/py-unrardll/PLIST:1.1 --- /dev/null Mon Jan 17 17:47:52 2022 +++ pkgsrc/archivers/py-unrardll/PLIST Mon Jan 17 17:47:52 2022 @@ -0,0 +1,9 @@ +@comment $NetBSD: PLIST,v 1.1 2022/01/17 17:47:52 rhialto Exp $ +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/unrardll/__init__.py +${PYSITELIB}/unrardll/__init__.pyc +${PYSITELIB}/unrardll/__init__.pyo +${PYSITELIB}/unrardll/unrar.so Index: pkgsrc/archivers/py-unrardll/distinfo diff -u /dev/null pkgsrc/archivers/py-unrardll/distinfo:1.1 --- /dev/null Mon Jan 17 17:47:52 2022 +++ pkgsrc/archivers/py-unrardll/distinfo Mon Jan 17 17:47:52 2022 @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2022/01/17 17:47:52 rhialto Exp $ + +BLAKE2s (unrardll-0.1.5.tar.gz) = b84f8b31e63f41cf19979cc55c8ce5a02656971cfce69d630599735a6bfa447c +SHA512 (unrardll-0.1.5.tar.gz) = 6a3bce6dba9475969135306c0c3f3df36bbbbdd0fd7a30c963ae848d81f205a6918e47a6c83a87a9a0f8ce762c27d93006e4e283e7a0645b4a93b40c4a1a6315 +Size (unrardll-0.1.5.tar.gz) = 10777613 bytes +SHA1 (patch-src_unrardll_wrapper.cpp) = 433fdae1f60c8340e97efa91b57c93529693838c Index: pkgsrc/archivers/py-unrardll/patches/patch-src_unrardll_wrapper.cpp diff -u /dev/null pkgsrc/archivers/py-unrardll/patches/patch-src_unrardll_wrapper.cpp:1.1 --- /dev/null Mon Jan 17 17:47:52 2022 +++ pkgsrc/archivers/py-unrardll/patches/patch-src_unrardll_wrapper.cpp Mon Jan 17 17:47:52 2022 @@ -0,0 +1,15 @@ +$NetBSD: patch-src_unrardll_wrapper.cpp,v 1.1 2022/01/17 17:47:52 rhialto Exp $ + +Strangely enough, libunrar headers are not installed in a subdirectory. + +--- src/unrardll/wrapper.cpp.orig 2020-11-07 08:29:50.000000000 +0000 ++++ src/unrardll/wrapper.cpp +@@ -16,7 +16,7 @@ + #else + #include + #endif +-#include ++#include + #include + + #define CALLBACK_ERROR_SZ 256 --_----------=_1642441672204370--