2021-09-12 12:36:47 +02:00
|
|
|
# $NetBSD: Makefile,v 1.82 2021/09/12 10:36:47 leot Exp $
|
2017-09-04 11:35:26 +02:00
|
|
|
|
2021-09-12 12:36:47 +02:00
|
|
|
DISTNAME= gallery_dl-1.18.4
|
2017-09-04 11:35:26 +02:00
|
|
|
PKGNAME= ${DISTNAME:S/_/-/}
|
|
|
|
CATEGORIES= net python
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=g/gallery-dl/}
|
|
|
|
|
|
|
|
MAINTAINER= leot@NetBSD.org
|
|
|
|
HOMEPAGE= https://github.com/mikf/gallery-dl
|
|
|
|
COMMENT= Command-line program to download image galleries and collections
|
|
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
|
2018-10-01 22:07:23 +02:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
|
2019-04-12 11:48:41 +02:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-requests>=2.11.0:../../devel/py-requests
|
|
|
|
|
|
|
|
SUBST_CLASSES+= paths
|
|
|
|
SUBST_STAGE.paths= pre-configure
|
|
|
|
SUBST_MESSAGE.paths= Adjust hard-coded paths
|
|
|
|
SUBST_FILES.paths= setup.py
|
|
|
|
SUBST_SED.paths+= -e 's,etc/bash_completion\.d,share/bash_completion.d,'
|
|
|
|
SUBST_SED.paths+= -e 's,share/man,${PKGMANDIR},g'
|
2017-09-04 11:35:26 +02:00
|
|
|
|
|
|
|
USE_LANGUAGES= # none
|
2019-12-28 22:44:17 +01:00
|
|
|
|
|
|
|
# Only for Python 3
|
2017-09-04 11:35:26 +02:00
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|