pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/subliminal subliminal: mark as incompatible w...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b18dc2b6f5f8
branches: trunk
changeset: 769395:b18dc2b6f5f8
user: adam <adam%pkgsrc.org@localhost>
date: Sun Nov 14 15:18:16 2021 +0000
description:
subliminal: mark as incompatible with Python 2.7
diffstat:
textproc/subliminal/Makefile | 21 +++++++++------------
1 files changed, 9 insertions(+), 12 deletions(-)
diffs (42 lines):
diff -r 0121b4bafe35 -r b18dc2b6f5f8 textproc/subliminal/Makefile
--- a/textproc/subliminal/Makefile Sun Nov 14 15:16:19 2021 +0000
+++ b/textproc/subliminal/Makefile Sun Nov 14 15:18:16 2021 +0000
@@ -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}-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
-post-install:
- ${MV} ${DESTDIR}${PREFIX}/bin/subliminal ${DESTDIR}${PREFIX}/bin/subliminal-${PYVERSSUFFIX} || ${TRUE}
+PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-dogpile-cache, py-stevedore
-.include "../../lang/python/application.mk"
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} subliminal subliminal-${PYVERSSUFFIX} || ${TRUE}
+
+.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index