pkgsrc-Changes archive

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

CVS commit: pkgsrc/archivers/py-unrardll



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.

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@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"
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 <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