diff options
author | wiz <wiz@pkgsrc.org> | 2015-12-02 15:14:05 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2015-12-02 15:14:05 +0000 |
commit | 49b2fb0025a938ec561eb2c8cadb807c9c94bcbf (patch) | |
tree | 4cabf295a2697fefe1921aa4ee2f25858acf6f3a | |
parent | 3d7e6085b28bccf4d6cb3dc0dac7f3ad2c72086f (diff) | |
download | pkgsrc-49b2fb0025a938ec561eb2c8cadb807c9c94bcbf.tar.gz |
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.
-rw-r--r-- | archivers/py-libarchive-c/DESCR | 2 | ||||
-rw-r--r-- | archivers/py-libarchive-c/Makefile | 22 | ||||
-rw-r--r-- | archivers/py-libarchive-c/PLIST | 26 | ||||
-rw-r--r-- | archivers/py-libarchive-c/distinfo | 6 |
4 files changed, 56 insertions, 0 deletions
diff --git a/archivers/py-libarchive-c/DESCR b/archivers/py-libarchive-c/DESCR new file mode 100644 index 00000000000..1d204468395 --- /dev/null +++ b/archivers/py-libarchive-c/DESCR @@ -0,0 +1,2 @@ +A Python interface to libarchive. It uses the standard ctypes module +to dynamically load and access the C library. diff --git a/archivers/py-libarchive-c/Makefile b/archivers/py-libarchive-c/Makefile new file mode 100644 index 00000000000..538d92c6e19 --- /dev/null +++ b/archivers/py-libarchive-c/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1 2015/12/02 15:14:05 wiz Exp $ + +DISTNAME= libarchive-c-2.2 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= devel +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= gnu-lgpl-v2 + +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 + +.include "../../archivers/libarchive/buildlink3.mk" +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/archivers/py-libarchive-c/PLIST b/archivers/py-libarchive-c/PLIST new file mode 100644 index 00000000000..9dc8f9f0c5a --- /dev/null +++ b/archivers/py-libarchive-c/PLIST @@ -0,0 +1,26 @@ +@comment $NetBSD: PLIST,v 1.1 2015/12/02 15:14:05 wiz Exp $ +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/libarchive/__init__.py +${PYSITELIB}/libarchive/__init__.pyc +${PYSITELIB}/libarchive/__init__.pyo +${PYSITELIB}/libarchive/entry.py +${PYSITELIB}/libarchive/entry.pyc +${PYSITELIB}/libarchive/entry.pyo +${PYSITELIB}/libarchive/exception.py +${PYSITELIB}/libarchive/exception.pyc +${PYSITELIB}/libarchive/exception.pyo +${PYSITELIB}/libarchive/extract.py +${PYSITELIB}/libarchive/extract.pyc +${PYSITELIB}/libarchive/extract.pyo +${PYSITELIB}/libarchive/ffi.py +${PYSITELIB}/libarchive/ffi.pyc +${PYSITELIB}/libarchive/ffi.pyo +${PYSITELIB}/libarchive/read.py +${PYSITELIB}/libarchive/read.pyc +${PYSITELIB}/libarchive/read.pyo +${PYSITELIB}/libarchive/write.py +${PYSITELIB}/libarchive/write.pyc +${PYSITELIB}/libarchive/write.pyo diff --git a/archivers/py-libarchive-c/distinfo b/archivers/py-libarchive-c/distinfo new file mode 100644 index 00000000000..5b1edfca049 --- /dev/null +++ b/archivers/py-libarchive-c/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2015/12/02 15:14:05 wiz Exp $ + +SHA1 (libarchive-c-2.2.tar.gz) = fed7380d59b41a44598bc557164d5b1cf42f3ccd +RMD160 (libarchive-c-2.2.tar.gz) = 6a148157716341b1e98890cd87b34b824fb01071 +SHA512 (libarchive-c-2.2.tar.gz) = 59ff5c5299c33e0672c5c9571076ecf7ee1f8e9f2a67aedf3fb2cd7de88ba65e72f5c4d7d89dc5c0c07fb3ada985bda110799b2d2dbafa8f465ea96950fed2be +Size (libarchive-c-2.2.tar.gz) = 7076 bytes |