pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-pysrt



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue May  2 17:20:19 UTC 2023

Modified Files:
        pkgsrc/textproc/py-pysrt: Makefile

Log Message:
py-pysrt: not for Python 2


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/textproc/py-pysrt/Makefile

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

Modified files:

Index: pkgsrc/textproc/py-pysrt/Makefile
diff -u pkgsrc/textproc/py-pysrt/Makefile:1.5 pkgsrc/textproc/py-pysrt/Makefile:1.6
--- pkgsrc/textproc/py-pysrt/Makefile:1.5       Sun Jul  3 12:13:07 2022
+++ pkgsrc/textproc/py-pysrt/Makefile   Tue May  2 17:20:19 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2022/07/03 12:13:07 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2023/05/02 17:20:19 wiz Exp $
 
 DISTNAME=      pysrt-1.1.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -11,16 +11,17 @@ HOMEPAGE=   https://github.com/byroot/pysr
 COMMENT=       Python parser for SubRip (srt) files
 LICENSE=       gnu-gpl-v3
 
-PYTHON_VERSIONED_DEPENDENCIES+=        chardet
+DEPENDS+=      ${PYPKGPREFIX}-chardet-[0-9]*:../../converters/py-chardet
 
 USE_LANGUAGES= # none
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 USE_PKG_RESOURCES=     yes
 
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} srt srt-${PYVERSSUFFIX} || ${TRUE}
 
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index