pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/py-xattr



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Nov  5 13:32:18 UTC 2023

Modified Files:
        pkgsrc/sysutils/py-xattr: Makefile PLIST

Log Message:
py-xattr: convert to wheel.mk

Not for Python 2.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/sysutils/py-xattr/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/sysutils/py-xattr/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/py-xattr/Makefile
diff -u pkgsrc/sysutils/py-xattr/Makefile:1.23 pkgsrc/sysutils/py-xattr/Makefile:1.24
--- pkgsrc/sysutils/py-xattr/Makefile:1.23      Tue Dec  6 08:09:50 2022
+++ pkgsrc/sysutils/py-xattr/Makefile   Sun Nov  5 13:32:18 2023
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.23 2022/12/06 08:09:50 adam Exp $
+# $NetBSD: Makefile,v 1.24 2023/11/05 13:32:18 wiz Exp $
 
 DISTNAME=      xattr-0.10.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    sysutils python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=x/xattr/}
 
@@ -10,14 +11,16 @@ HOMEPAGE=   https://github.com/xattr/xattr
 COMMENT=       Python wrapper for extended filesystem attributes
 LICENSE=       mit
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel
 DEPENDS+=      ${PYPKGPREFIX}-cffi>=1.0.0:../../devel/py-cffi
 DEPENDS+=      ${PYPKGPREFIX}-cparser-[0-9]*:../../devel/py-cparser
 
-USE_PKG_RESOURCES=     yes
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} xattr xattr-${PYVERSSUFFIX} || ${TRUE}
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/sysutils/py-xattr/PLIST
diff -u pkgsrc/sysutils/py-xattr/PLIST:1.5 pkgsrc/sysutils/py-xattr/PLIST:1.6
--- pkgsrc/sysutils/py-xattr/PLIST:1.5  Sun Aug  4 11:24:52 2019
+++ pkgsrc/sysutils/py-xattr/PLIST      Sun Nov  5 13:32:18 2023
@@ -1,17 +1,15 @@
-@comment $NetBSD: PLIST,v 1.5 2019/08/04 11:24:52 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2023/11/05 13:32:18 wiz Exp $
 bin/xattr-${PYVERSSUFFIX}
-${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}/${WHEEL_INFODIR}/LICENSE.txt
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/xattr/__init__.py
 ${PYSITELIB}/xattr/__init__.pyc
 ${PYSITELIB}/xattr/__init__.pyo
-${PLIST.py2x}${PYSITELIB}/xattr/_lib.so
-${PLIST.py3x}${PYSITELIB}/xattr/_lib.abi3.so
+${PYSITELIB}/xattr/_lib.abi3.so
 ${PYSITELIB}/xattr/compat.py
 ${PYSITELIB}/xattr/compat.pyc
 ${PYSITELIB}/xattr/compat.pyo



Home | Main Index | Thread Index | Old Index