pkgsrc-WIP-changes archive

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

py-xopen: Sync improvements from devel/py-xopen



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <bacon%NetBSD.org@localhost>
Pushed By:	outpaddling
Date:		Wed Feb 7 08:43:39 2024 -0600
Changeset:	1ecdddb4c74ef4474d2882058242cd93141f167d

Modified Files:
	py-xopen/DESCR
	py-xopen/Makefile

Log Message:
py-xopen: Sync improvements from devel/py-xopen

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1ecdddb4c74ef4474d2882058242cd93141f167d

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

diffstat:
 py-xopen/DESCR    |  8 ++++----
 py-xopen/Makefile | 13 ++++++++-----
 2 files changed, 12 insertions(+), 9 deletions(-)

diffs:
diff --git a/py-xopen/DESCR b/py-xopen/DESCR
index 39c2bcac74..ac3d68f936 100644
--- a/py-xopen/DESCR
+++ b/py-xopen/DESCR
@@ -1,4 +1,4 @@
-This small Python module provides an xopen function that works like the
-built-in open function, but can also deal with compressed files. Supported
-compression formats are gzip, bzip2 and xz. They are automatically recognized
-by their file extensions .gz, .bz2 or .xz.
+This small Python module provides an xopen function that works like
+the built-in open function, but can also deal with compressed files.
+Supported compression formats are gzip, bzip2 and xz. They are
+automatically recognized by their file extensions .gz, .bz2 or .xz.
diff --git a/py-xopen/Makefile b/py-xopen/Makefile
index 3f66fb7512..19ef8afdf9 100644
--- a/py-xopen/Makefile
+++ b/py-xopen/Makefile
@@ -6,19 +6,22 @@ CATEGORIES=	devel python
 MASTER_SITES=	${MASTER_SITE_PYPI:=x/xopen/}
 
 MAINTAINER=	bacon%NetBSD.org@localhost
-HOMEPAGE=	https://github.com/marcelm/xopen
+HOMEPAGE=	https://github.com/pycompression/xopen
 COMMENT=	Open compressed files transparently
 LICENSE=	mit
 
-BUILD_DEPENDS+=	${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools_scm>=6.2:../../devel/py-setuptools_scm
+TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+DEPENDS+=	pbzip2-[0-9]*:../../archivers/pbzip2
 DEPENDS+=	pigz-[0-9]*:../../archivers/pigz
+DEPENDS+=	xz-[0-9]*:../../archivers/xz
 DEPENDS+=	${PYPKGPREFIX}-zstandard-[0-9]*:../../archivers/py-zstandard
-TEST_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+=	${PYPKGPREFIX}-test-timeout-[0-9]*:../../devel/py-test-timeout
 
 USE_LANGUAGES=	# none
 
-do-test:
-	cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
+PYTHON_VERSIONS_INCOMPATIBLE=	27
 
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index