Import of pkgsrc-2014Q1
This commit is contained in:
@@ -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).
|
||||
@@ -0,0 +1,29 @@
|
||||
# $NetBSD: Makefile,v 1.6 2014/03/21 14:06:01 wiz Exp $
|
||||
|
||||
DISTNAME= v0.7.2
|
||||
PROPERNAME= ${DISTNAME:S/v/xattr-/}
|
||||
PKGNAME= ${PYPKGPREFIX}-${PROPERNAME}
|
||||
PKGREVISION= 2
|
||||
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.8.1:../../devel/py-cffi
|
||||
DEPENDS+= ${PYPKGPREFIX}-cparser-[0-9]*:../../devel/py-cparser
|
||||
|
||||
DIST_SUBDIR= xattr
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PROPERNAME}
|
||||
EGG_NAME= ${PROPERNAME}
|
||||
USE_LANGUAGES= c
|
||||
REPLACE_PYTHON= xattr/tool.py
|
||||
|
||||
PYTHON_VERSIONS_INCOMPATIBLE= 33
|
||||
|
||||
.include "../../lang/python/application.mk"
|
||||
.include "../../lang/python/egg.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
@@ -0,0 +1,19 @@
|
||||
@comment $NetBSD: PLIST,v 1.3 2014/03/21 14:06:01 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/lib.py
|
||||
${PYSITELIB}/xattr/lib.pyc
|
||||
${PYSITELIB}/xattr/lib.pyo
|
||||
${PYSITELIB}/xattr/tool.py
|
||||
${PYSITELIB}/xattr/tool.pyc
|
||||
${PYSITELIB}/xattr/tool.pyo
|
||||
${PYSITELIB}/xattr/xattr.so
|
||||
@@ -0,0 +1,6 @@
|
||||
$NetBSD: distinfo,v 1.2 2014/03/21 14:06:01 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
|
||||
SHA1 (patch-xattr_lib.py) = 1b83f0ab0e8820e8a76c5ad00ed1b71d95803cf6
|
||||
@@ -0,0 +1,15 @@
|
||||
$NetBSD: patch-xattr_lib.py,v 1.1 2014/03/21 14:06:01 wiz Exp $
|
||||
|
||||
Set modulename so cffi doesn't have to invent them.
|
||||
|
||||
--- xattr/lib.py.orig 2013-07-22 20:10:15.000000000 +0000
|
||||
+++ xattr/lib.py
|
||||
@@ -589,7 +589,7 @@ static ssize_t xattr_flistxattr(int fd,
|
||||
#ifndef XATTR_NOSECURITY
|
||||
#define XATTR_NOSECURITY 0x0008
|
||||
#endif
|
||||
-""", ext_package='xattr')
|
||||
+""", ext_package='xattr', modulename='xattr')
|
||||
|
||||
XATTR_NOFOLLOW = lib.XATTR_NOFOLLOW
|
||||
XATTR_CREATE = lib.XATTR_CREATE
|
||||
Reference in New Issue
Block a user