pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/subliminal



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Nov 14 15:18:16 UTC 2021

Modified Files:
        pkgsrc/textproc/subliminal: Makefile

Log Message:
subliminal: mark as incompatible with Python 2.7


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/textproc/subliminal/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/subliminal/Makefile
diff -u pkgsrc/textproc/subliminal/Makefile:1.5 pkgsrc/textproc/subliminal/Makefile:1.6
--- pkgsrc/textproc/subliminal/Makefile:1.5     Fri Dec  4 20:45:45 2020
+++ pkgsrc/textproc/subliminal/Makefile Sun Nov 14 15:18:16 2021
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.5 2020/12/04 20:45:45 nia Exp $
+# $NetBSD: Makefile,v 1.6 2021/11/14 15:18:16 adam Exp $
 
 DISTNAME=      subliminal-2.1.0
 PKGREVISION=   1
-CATEGORIES=    textproc
+CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/subliminal/}
 
 MAINTAINER=    leot%NetBSD.org@localhost
-HOMEPAGE=      https://github.com/Diaoul/subliminal/
+HOMEPAGE=      https://github.com/Diaoul/subliminal
 COMMENT=       Video subtitles downloader
 LICENSE=       mit
 
@@ -25,16 +25,13 @@ DEPENDS+=   ${PYPKGPREFIX}-requests>=2.0:.
 DEPENDS+=      ${PYPKGPREFIX}-six>=1.9.0:../../lang/py-six
 DEPENDS+=      ${PYPKGPREFIX}-stevedore>=1.20.0:../../devel/py-stevedore
 
-.include "../../lang/python/egg.mk"
-
-.if ${_PYTHON_VERSION} < 33
-DEPENDS+=      ${PYPKGPREFIX}-futures>=3.0:../../devel/py-futures
-.endif
-
 USE_LANGUAGES= # none
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27 # py-dogpile-cache, py-stevedore
+
 post-install:
-       ${MV} ${DESTDIR}${PREFIX}/bin/subliminal ${DESTDIR}${PREFIX}/bin/subliminal-${PYVERSSUFFIX} || ${TRUE}
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} subliminal subliminal-${PYVERSSUFFIX} || ${TRUE}
 
-.include "../../lang/python/application.mk"
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index