summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2013-09-30 17:25:51 +0000
committerwiz <wiz@pkgsrc.org>2013-09-30 17:25:51 +0000
commitd21150b17073cf1cd93b3c3dc595e8c38b231a99 (patch)
treebfe80847bceba4054376d7bb74d4f3ceb3a85c44
parenta7d715a92bbf3895d8b537e197403ab3313e3057 (diff)
downloadpkgsrc-d21150b17073cf1cd93b3c3dc595e8c38b231a99.tar.gz
Import py27-xattr-0.7.2 as sysutils/py-xattr.
xattr is a Python wrapper for extended filesystem attributes. Extended attributes extend the basic attributes of files and directories in the file system. They are stored as name:data pairs associated with file system objects (files, directories, symlinks, etc).
-rw-r--r--sysutils/py-xattr/DESCR6
-rw-r--r--sysutils/py-xattr/Makefile26
-rw-r--r--sysutils/py-xattr/PLIST19
-rw-r--r--sysutils/py-xattr/distinfo5
4 files changed, 56 insertions, 0 deletions
diff --git a/sysutils/py-xattr/DESCR b/sysutils/py-xattr/DESCR
new file mode 100644
index 00000000000..aac501843a2
--- /dev/null
+++ b/sysutils/py-xattr/DESCR
@@ -0,0 +1,6 @@
+xattr is a Python wrapper for extended filesystem attributes.
+
+Extended attributes extend the basic attributes of files and
+directories in the file system. They are stored as name:data pairs
+associated with file system objects (files, directories, symlinks,
+etc).
diff --git a/sysutils/py-xattr/Makefile b/sysutils/py-xattr/Makefile
new file mode 100644
index 00000000000..4156c975f53
--- /dev/null
+++ b/sysutils/py-xattr/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2013/09/30 17:25:51 wiz Exp $
+
+DISTNAME= v0.7.2
+PROPERNAME= ${DISTNAME:S/v/xattr-/}
+PKGNAME= ${PYPKGPREFIX}-${PROPERNAME}
+CATEGORIES= sysutils
+MASTER_SITES= https://github.com/xattr/xattr/archive/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/xattr/xattr/
+COMMENT= Python wrapper for extended filesystem attributes
+LICENSE= mit
+
+DEPENDS+= ${PYPKGPREFIX}-cffi-[0-9]*:../../nih/py-cffi
+DEPENDS+= ${PYPKGPREFIX}-cparser-[0-9]*:../../nih/py-cparser
+
+DIST_SUBDIR= xattr
+
+WRKSRC= ${WRKDIR}/${PROPERNAME}
+EGG_NAME= ${PROPERNAME}
+USE_LANGUAGES= c
+REPLACE_PYTHON= xattr/tool.py
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/py-xattr/PLIST b/sysutils/py-xattr/PLIST
new file mode 100644
index 00000000000..90a854b171d
--- /dev/null
+++ b/sysutils/py-xattr/PLIST
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1 2013/09/30 17:25:51 wiz Exp $
+bin/xattr
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/xattr/__init__.py
+${PYSITELIB}/xattr/__init__.pyc
+${PYSITELIB}/xattr/__init__.pyo
+${PYSITELIB}/xattr/_cffi__x2654de55x6ee6f75.so
+${PYSITELIB}/xattr/lib.py
+${PYSITELIB}/xattr/lib.pyc
+${PYSITELIB}/xattr/lib.pyo
+${PYSITELIB}/xattr/tool.py
+${PYSITELIB}/xattr/tool.pyc
+${PYSITELIB}/xattr/tool.pyo
diff --git a/sysutils/py-xattr/distinfo b/sysutils/py-xattr/distinfo
new file mode 100644
index 00000000000..cb3d65ad9c8
--- /dev/null
+++ b/sysutils/py-xattr/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/09/30 17:25:51 wiz Exp $
+
+SHA1 (xattr/v0.7.2.tar.gz) = 9345898f5bc992f0c82e2552368908ee84decb52
+RMD160 (xattr/v0.7.2.tar.gz) = 950630c21d86c534fcffea093d9578a6963be18c
+Size (xattr/v0.7.2.tar.gz) = 9515 bytes