pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/py-unrardll archivers/py-unrardll: new package



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5969c5cfb12c
branches:  trunk
changeset: 372018:5969c5cfb12c
user:      rhialto <rhialto%pkgsrc.org@localhost>
date:      Mon Jan 17 17:47:52 2022 +0000

description:
archivers/py-unrardll: new package

to be used with misc/calibre.

diffstat:

 archivers/py-unrardll/DESCR                                  |   1 +
 archivers/py-unrardll/Makefile                               |  16 ++++++++++++
 archivers/py-unrardll/PLIST                                  |   9 ++++++
 archivers/py-unrardll/distinfo                               |   6 ++++
 archivers/py-unrardll/patches/patch-src_unrardll_wrapper.cpp |  15 +++++++++++
 5 files changed, 47 insertions(+), 0 deletions(-)

diffs (67 lines):

diff -r a2cc83a21915 -r 5969c5cfb12c archivers/py-unrardll/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/py-unrardll/DESCR       Mon Jan 17 17:47:52 2022 +0000
@@ -0,0 +1,1 @@
+Wrap the Unrar shared library to enable unraring of files in python.
diff -r a2cc83a21915 -r 5969c5cfb12c archivers/py-unrardll/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/py-unrardll/Makefile    Mon Jan 17 17:47:52 2022 +0000
@@ -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@localhost
+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"
diff -r a2cc83a21915 -r 5969c5cfb12c archivers/py-unrardll/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/py-unrardll/PLIST       Mon Jan 17 17:47:52 2022 +0000
@@ -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
diff -r a2cc83a21915 -r 5969c5cfb12c archivers/py-unrardll/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/py-unrardll/distinfo    Mon Jan 17 17:47:52 2022 +0000
@@ -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
diff -r a2cc83a21915 -r 5969c5cfb12c archivers/py-unrardll/patches/patch-src_unrardll_wrapper.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/py-unrardll/patches/patch-src_unrardll_wrapper.cpp      Mon Jan 17 17:47:52 2022 +0000
@@ -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 <unistd.h>
+ #endif
+-#include <unrar/dll.hpp>
++#include <dll.hpp>
+ #include <errno.h>
+ 
+ #define CALLBACK_ERROR_SZ 256



Home | Main Index | Thread Index | Old Index