summaryrefslogtreecommitdiff
path: root/textproc/subliminal/Makefile
blob: 29ed80997162103b5a23c1b4613b01042eabb96f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# $NetBSD: Makefile,v 1.8 2022/01/05 15:41:27 wiz Exp $

DISTNAME=	subliminal-2.1.0
PKGREVISION=	3
CATEGORIES=	textproc python
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
DEPENDS+=	${PYPKGPREFIX}-guessit>=3.0.0:../../textproc/py-guessit
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
DEPENDS+=	${PYPKGPREFIX}-stevedore>=1.20.0:../../devel/py-stevedore

USE_LANGUAGES=	# none

PYTHON_VERSIONS_INCOMPATIBLE=	27 # py-dogpile-cache, py-stevedore

USE_PKG_RESOURCES=	yes

post-install:
	cd ${DESTDIR}${PREFIX}/bin && \
	${MV} subliminal subliminal-${PYVERSSUFFIX} || ${TRUE}

.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"