pkgsrc-WIP-changes archive

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

py-cython-legacy: Attempt to resolve conflicts with cython 3



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <bacon%NetBSD.org@localhost>
Pushed By:	outpaddling
Date:		Thu Dec 21 16:07:40 2023 -0600
Changeset:	49ab951b3c46a0ea1c8eccc5024304ffde9d7cb2

Modified Files:
	py-cython-legacy/ALTERNATIVES
	py-cython-legacy/DESCR
	py-cython-legacy/Makefile
	py-cython-legacy/PLIST
	py-cython-legacy/buildlink3.mk

Log Message:
py-cython-legacy: Attempt to resolve conflicts with cython 3

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

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

diffstat:
 py-cython-legacy/ALTERNATIVES  |  6 +++---
 py-cython-legacy/DESCR         | 14 +++++++-------
 py-cython-legacy/Makefile      |  4 +---
 py-cython-legacy/PLIST         |  6 +++---
 py-cython-legacy/buildlink3.mk |  2 +-
 5 files changed, 15 insertions(+), 17 deletions(-)

diffs:
diff --git a/py-cython-legacy/ALTERNATIVES b/py-cython-legacy/ALTERNATIVES
index dfa9d97938..06441895fe 100644
--- a/py-cython-legacy/ALTERNATIVES
+++ b/py-cython-legacy/ALTERNATIVES
@@ -1,3 +1,3 @@
-bin/cygdb @PREFIX@/bin/cygdb-@PYVERSSUFFIX@
-bin/cython @PREFIX@/bin/cython-@PYVERSSUFFIX@
-bin/cythonize @PREFIX@/bin/cythonize-@PYVERSSUFFIX@
+bin/cygdb0 @PREFIX@/bin/cygdb0-@PYVERSSUFFIX@
+bin/cython0 @PREFIX@/bin/cython0-@PYVERSSUFFIX@
+bin/cythonize0 @PREFIX@/bin/cythonize0-@PYVERSSUFFIX@
diff --git a/py-cython-legacy/DESCR b/py-cython-legacy/DESCR
index d5982e9ead..17f41c4180 100644
--- a/py-cython-legacy/DESCR
+++ b/py-cython-legacy/DESCR
@@ -8,11 +8,11 @@ the well-known Pyrex, but supports more cutting edge functionality and
 optimizations.
 
 The Cython language is very close to the Python language (and most
-Python code is also valid Cython code), but Cython additionally supports
-calling C functions and declaring C types on variables and class
-attributes. This allows the compiler to generate very efficient C code
-from Cython code.
+Python code is also valid Cython code), but Cython additionally
+supports calling C functions and declaring C types on variables and
+class attributes. This allows the compiler to generate very efficient
+C code from Cython code.
 
-This makes Cython the ideal language for writing glue code for external
-C libraries, and for fast C modules that speed up the execution of
-Python code.
+This makes Cython the ideal language for writing glue code for
+external C libraries, and for fast C modules that speed up the
+execution of Python code.
diff --git a/py-cython-legacy/Makefile b/py-cython-legacy/Makefile
index b80b2e8c49..1fc107ca4e 100644
--- a/py-cython-legacy/Makefile
+++ b/py-cython-legacy/Makefile
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.84 2023/07/05 12:29:28 adam Exp $
 
 DISTNAME=	Cython-0.29.36
-PKGNAME=	${PYPKGPREFIX}-${DISTNAME:tl}
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME:tl}-legacy
 CATEGORIES=	devel python
 MASTER_SITES=	${MASTER_SITE_PYPI:=C/Cython/}
 
@@ -17,8 +17,6 @@ REPLACE_PYTHON+=	cython.py
 
 USE_PKG_RESOURCES=	yes
 
-# for test only
-#USE_LANGUAGES=	c c++
 do-test:
 	cd ${WRKSRC} && ${PYTHONBIN} runtests.py
 
diff --git a/py-cython-legacy/PLIST b/py-cython-legacy/PLIST
index a88db0513d..b9343e7fc5 100644
--- a/py-cython-legacy/PLIST
+++ b/py-cython-legacy/PLIST
@@ -1,7 +1,7 @@
 @comment $NetBSD: PLIST,v 1.28 2021/02/21 12:50:44 adam Exp $
-bin/cygdb-${PYVERSSUFFIX}
-bin/cython-${PYVERSSUFFIX}
-bin/cythonize-${PYVERSSUFFIX}
+bin/cygdb0-${PYVERSSUFFIX}
+bin/cython0-${PYVERSSUFFIX}
+bin/cythonize0-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
diff --git a/py-cython-legacy/buildlink3.mk b/py-cython-legacy/buildlink3.mk
index 65b5cb485a..7d48391346 100644
--- a/py-cython-legacy/buildlink3.mk
+++ b/py-cython-legacy/buildlink3.mk
@@ -6,7 +6,7 @@ BUILDLINK_TREE+=	py-cython
 PY_CYTHON_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.py-cython+=	${PYPKGPREFIX}-cython>=0.12.1
-BUILDLINK_PKGSRCDIR.py-cython?=		../../devel/py-cython
+BUILDLINK_PKGSRCDIR.py-cython?=		../../wip/py-cython-legacy
 .endif	# PY_CYTHON_BUILDLINK3_MK
 
 BUILDLINK_TREE+=	-py-cython


Home | Main Index | Thread Index | Old Index