2020-12-04 21:44:57 +01:00
|
|
|
# $NetBSD: Makefile,v 1.5 2020/12/04 20:45:45 nia Exp $
|
2017-04-14 16:17:45 +02:00
|
|
|
|
2020-05-02 18:32:01 +02:00
|
|
|
DISTNAME= subliminal-2.1.0
|
2020-12-04 21:44:57 +01:00
|
|
|
PKGREVISION= 1
|
2017-04-14 16:17:45 +02:00
|
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=s/subliminal/}
|
|
|
|
|
|
|
|
MAINTAINER= leot@NetBSD.org
|
|
|
|
HOMEPAGE= https://github.com/Diaoul/subliminal/
|
|
|
|
COMMENT= Video subtitles downloader
|
|
|
|
LICENSE= mit
|
|
|
|
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-appdirs>=1.3:../../devel/py-appdirs
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-babelfish>=0.5.2:../../textproc/py-babelfish
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-beautifulsoup4>=4.4.0:../../www/py-beautifulsoup4
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-chardet>=2.3.0:../../converters/py-chardet
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-click>=4.0:../../devel/py-click
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-dogpile-cache>=0.6.0:../../devel/py-dogpile-cache
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-enzyme>=0.4.1:../../multimedia/py-enzyme
|
2020-05-02 18:32:01 +02:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-guessit>=3.0.0:../../textproc/py-guessit
|
2017-04-14 16:17:45 +02:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-pysrt>=1.0.1:../../textproc/py-pysrt
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-pytz>=2012c:../../time/py-pytz
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-rarfile>=2.7:../../archivers/py-rarfile
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-requests>=2.0:../../devel/py-requests
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-six>=1.9.0:../../lang/py-six
|
2020-05-02 18:32:01 +02:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-stevedore>=1.20.0:../../devel/py-stevedore
|
2017-04-14 16:17:45 +02:00
|
|
|
|
|
|
|
.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}
|
|
|
|
|
|
|
|
.include "../../lang/python/application.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|