summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2022-01-30 10:24:44 +0000
committerwiz <wiz@pkgsrc.org>2022-01-30 10:24:44 +0000
commit5ac4683e1abdc445e420986125f15148069905ae (patch)
tree1dc6a25b0d984827c344ed65345e86bfa3a5c055 /chat
parentb26b9282df9989d11c644f3ecf546f610beef6bd (diff)
downloadpkgsrc-5ac4683e1abdc445e420986125f15148069905ae.tar.gz
py-matrix-common: build as wheel package
Diffstat (limited to 'chat')
-rw-r--r--chat/py-matrix-common/Makefile10
-rw-r--r--chat/py-matrix-common/PLIST17
-rw-r--r--chat/py-matrix-common/files/setup.py3
3 files changed, 14 insertions, 16 deletions
diff --git a/chat/py-matrix-common/Makefile b/chat/py-matrix-common/Makefile
index bf34a96a381..46e8c9d09d1 100644
--- a/chat/py-matrix-common/Makefile
+++ b/chat/py-matrix-common/Makefile
@@ -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 @@ COMMENT= Common utilities for Synapse, Sydent and Sygnal
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 --git a/chat/py-matrix-common/PLIST b/chat/py-matrix-common/PLIST
index 9ef05410eb1..b78b9a42f94 100644
--- a/chat/py-matrix-common/PLIST
+++ b/chat/py-matrix-common/PLIST
@@ -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 --git a/chat/py-matrix-common/files/setup.py b/chat/py-matrix-common/files/setup.py
deleted file mode 100644
index 606849326a4..00000000000
--- a/chat/py-matrix-common/files/setup.py
+++ /dev/null
@@ -1,3 +0,0 @@
-from setuptools import setup
-
-setup()