diff options
author | wiz <wiz@pkgsrc.org> | 2013-10-18 11:57:35 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2013-10-18 11:57:35 +0000 |
commit | 5c247dbc91b7486130fe0aacd9363f749c3d24fc (patch) | |
tree | cb05ad2d5d27081d146acbf85e334a14a1893a2c /sysutils | |
parent | cabd12b4779f4db58643cc77218e84b989a451f2 (diff) | |
download | pkgsrc-5c247dbc91b7486130fe0aacd9363f749c3d24fc.tar.gz |
Fix packaging for python-2.6.x.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/py-xattr/Makefile | 10 | ||||
-rw-r--r-- | sysutils/py-xattr/PLIST | 4 |
2 files changed, 11 insertions, 3 deletions
diff --git a/sysutils/py-xattr/Makefile b/sysutils/py-xattr/Makefile index 2f52d578d7c..ada2f148292 100644 --- a/sysutils/py-xattr/Makefile +++ b/sysutils/py-xattr/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2013/10/02 11:44:42 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2013/10/18 11:57:35 wiz Exp $ DISTNAME= v0.7.2 PROPERNAME= ${DISTNAME:S/v/xattr-/} @@ -21,6 +21,14 @@ EGG_NAME= ${PROPERNAME} USE_LANGUAGES= c REPLACE_PYTHON= xattr/tool.py +.include "../../lang/python/pyversion.mk" + +.if ${PYPKGPREFIX} == "py27" +PLIST_SUBST+= SONAME=_cffi__x2654de55x6ee6f75 +.elif ${PYPKGPREFIX} == "py26" +PLIST_SUBST+= SONAME=_cffi__x41f6a9d5x6ee6f75 +.endif + .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 index 90a854b171d..91bafa81d02 100644 --- a/sysutils/py-xattr/PLIST +++ b/sysutils/py-xattr/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1 2013/09/30 17:25:51 wiz Exp $ +@comment $NetBSD: PLIST,v 1.2 2013/10/18 11:57:35 wiz Exp $ bin/xattr ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt @@ -10,7 +10,7 @@ ${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/${SONAME}.so ${PYSITELIB}/xattr/lib.py ${PYSITELIB}/xattr/lib.pyc ${PYSITELIB}/xattr/lib.pyo |