| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/www/gallery-dl/ |
Upload File : |
PORTNAME= gallery-dl
DISTVERSIONPREFIX= v
DISTVERSION= 1.23.5
CATEGORIES= www
# Implicit approval to commit trivial version updates.
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Command-line program to download image galleries and collections
WWW= https://github.com/mikf/gallery-dl
LICENSE= GPLv2
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.11.0:www/py-requests@${PY_FLAVOR}
NO_ARCH= yes
USES= python:3.4+
USE_GITHUB= yes
USE_PYTHON= autoplist distutils unittest
GH_ACCOUNT= mikf
post-patch:
@${REINPLACE_CMD} 's,/etc,${PREFIX}&,' \
${WRKSRC}/gallery_dl/config.py \
${WRKSRC}/scripts/man.py
post-build:
# USE_GITHUB archive doesn't have generated files
@${DO_MAKE_BUILD} -C ${BUILD_WRKSRC} PYTHON="${PYTHON_CMD}" man completion
.include <bsd.port.mk>