pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/py-magic Import py27-magic-0.4.6 as sysutils/...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/63a201fa0f21
branches:  trunk
changeset: 635243:63a201fa0f21
user:      rodent <rodent%pkgsrc.org@localhost>
date:      Mon Jun 02 00:12:59 2014 +0000

description:
Import py27-magic-0.4.6 as sysutils/py-magic.

This module uses ctypes to access the libmagic file type identification
library. It makes use of the local magic database and supports both textual and
MIME-type output.

diffstat:

 sysutils/py-magic/DESCR    |   3 +++
 sysutils/py-magic/Makefile |  18 ++++++++++++++++++
 sysutils/py-magic/PLIST    |   8 ++++++++
 sysutils/py-magic/distinfo |   5 +++++
 4 files changed, 34 insertions(+), 0 deletions(-)

diffs (50 lines):

diff -r 2368184fed98 -r 63a201fa0f21 sysutils/py-magic/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-magic/DESCR   Mon Jun 02 00:12:59 2014 +0000
@@ -0,0 +1,3 @@
+This module uses ctypes to access the libmagic file type identification
+library. It makes use of the local magic database and supports both textual and
+MIME-type output.
diff -r 2368184fed98 -r 63a201fa0f21 sysutils/py-magic/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-magic/Makefile        Mon Jun 02 00:12:59 2014 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2014/06/02 00:12:59 rodent Exp $
+
+DISTNAME=      python-magic-0.4.6
+PKGNAME=       ${DISTNAME:S/python/${PYPKGPREFIX}/1}
+CATEGORIES=    python sysutils
+MASTER_SITES=  http://pypi.python.org/packages/source/p/python-magic/
+
+MAINTAINER=    khorben%defora.org@localhost
+HOMEPAGE=      http://github.com/ahupp/python-magic
+COMMENT=       File type identification using libmagic
+LICENSE=       python-software-foundation
+
+EGG_NAME=      ${DISTNAME:S/-magic/_magic/}
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 2368184fed98 -r 63a201fa0f21 sysutils/py-magic/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-magic/PLIST   Mon Jun 02 00:12:59 2014 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2014/06/02 00:12:59 rodent Exp $
+${PYSITELIB}/magic.py
+${PYSITELIB}/magic.pyc
+${PYSITELIB}/magic.pyo
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
diff -r 2368184fed98 -r 63a201fa0f21 sysutils/py-magic/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-magic/distinfo        Mon Jun 02 00:12:59 2014 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/06/02 00:12:59 rodent Exp $
+
+SHA1 (python-magic-0.4.6.tar.gz) = 5e1d120cf5a8f0a743be998aaf7dcabd5564506c
+RMD160 (python-magic-0.4.6.tar.gz) = b1af3f7e06dabbb1657bbf43ad0fef225e2f5f14
+Size (python-magic-0.4.6.tar.gz) = 3462 bytes



Home | Main Index | Thread Index | Old Index