pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/chat/py-matrix-common py-matrix-common: build as wheel...
details: https://anonhg.NetBSD.org/pkgsrc/rev/04bcb62b1535
branches: trunk
changeset: 372752:04bcb62b1535
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun Jan 30 10:24:44 2022 +0000
description:
py-matrix-common: build as wheel package
diffstat:
chat/py-matrix-common/Makefile | 10 +++++-----
chat/py-matrix-common/PLIST | 17 +++++++++--------
chat/py-matrix-common/files/setup.py | 3 ---
3 files changed, 14 insertions(+), 16 deletions(-)
diffs (59 lines):
diff -r acd9e2c8850a -r 04bcb62b1535 chat/py-matrix-common/Makefile
--- a/chat/py-matrix-common/Makefile Sun Jan 30 10:20:34 2022 +0000
+++ b/chat/py-matrix-common/Makefile Sun Jan 30 10:24:44 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2022/01/30 10:20:34 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2022/01/30 10:24:44 wiz Exp $
DISTNAME= matrix-python-common-${PKGVERSION_NOREV}
PKGNAME= ${PYPKGPREFIX}-matrix-common-1.0.0
@@ -14,12 +14,12 @@
LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-attrs-[0-9]*:../../devel/py-attrs
+BUILD_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
USE_LANGUAGES= # none
-EGG_NAME= matrix_common-${PKGVERSION_NOREV}
+WHEEL_NAME= matrix_common-${PKGVERSION_NOREV}
-post-extract:
- ${CP} ${FILESDIR}/setup.py ${WRKSRC}
+PYTHON_VERSIONS_INCOMPATIBLE= 27
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
diff -r acd9e2c8850a -r 04bcb62b1535 chat/py-matrix-common/PLIST
--- a/chat/py-matrix-common/PLIST Sun Jan 30 10:20:34 2022 +0000
+++ b/chat/py-matrix-common/PLIST Sun Jan 30 10:24:44 2022 +0000
@@ -1,13 +1,14 @@
-@comment $NetBSD: PLIST,v 1.1 2022/01/30 09:38:39 js Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.2 2022/01/30 10:24:44 wiz Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/matrix_common/__init__.py
${PYSITELIB}/matrix_common/__init__.pyc
-${PYSITELIB}/matrix_common/__init__.pyo
${PYSITELIB}/matrix_common/py.typed
${PYSITELIB}/matrix_common/regex.py
${PYSITELIB}/matrix_common/regex.pyc
-${PYSITELIB}/matrix_common/regex.pyo
diff -r acd9e2c8850a -r 04bcb62b1535 chat/py-matrix-common/files/setup.py
--- a/chat/py-matrix-common/files/setup.py Sun Jan 30 10:20:34 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-from setuptools import setup
-
-setup()
Home |
Main Index |
Thread Index |
Old Index