svn commit: r546857 - in head/www: . gallery-dl
Jan Beich
jbeich at FreeBSD.org
Sat Aug 29 00:38:30 UTC 2020
Author: jbeich
Date: Sat Aug 29 00:38:27 2020
New Revision: 546857
URL: https://svnweb.freebsd.org/changeset/ports/546857
Log:
www/gallery-dl: add new port
gallery-dl is a command-line program to download image-galleries and
-collections from several image hosting sites. It is a cross-platform
tool with many configuration options and powerful filenaming
capabilities.
https://github.com/mikf/gallery-dl
Added:
head/www/gallery-dl/
head/www/gallery-dl/Makefile (contents, props changed)
head/www/gallery-dl/distinfo (contents, props changed)
head/www/gallery-dl/pkg-descr (contents, props changed)
Modified:
head/www/Makefile (contents, props changed)
Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile Sat Aug 29 00:38:21 2020 (r546856)
+++ head/www/Makefile Sat Aug 29 00:38:27 2020 (r546857)
@@ -173,6 +173,7 @@
SUBDIR += fusionpbx
SUBDIR += g-cows
SUBDIR += g-gcl
+ SUBDIR += gallery-dl
SUBDIR += gallery2
SUBDIR += gatling
SUBDIR += gauche-makiki
Added: head/www/gallery-dl/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/gallery-dl/Makefile Sat Aug 29 00:38:27 2020 (r546857)
@@ -0,0 +1,36 @@
+# $FreeBSD$
+
+PORTNAME= gallery-dl
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.14.4
+CATEGORIES= www
+
+# Implicit approval to commit trivial version updates.
+MAINTAINER= jbeich at FreeBSD.org
+COMMENT= Command-line program to download image galleries and collections
+
+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
+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
+
+do-test:
+ @${PYTHON_CMD} -m unittest discover -vs ${TEST_WRKSRC}
+
+.include <bsd.port.mk>
Added: head/www/gallery-dl/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/gallery-dl/distinfo Sat Aug 29 00:38:27 2020 (r546857)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1597519742
+SHA256 (mikf-gallery-dl-v1.14.4_GH0.tar.gz) = 4215c2d4fe373552b61acb941bd08bb979df068a2bacea7b709a1bb2f928e72f
+SIZE (mikf-gallery-dl-v1.14.4_GH0.tar.gz) = 319657
Added: head/www/gallery-dl/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/gallery-dl/pkg-descr Sat Aug 29 00:38:27 2020 (r546857)
@@ -0,0 +1,6 @@
+gallery-dl is a command-line program to download image-galleries and
+-collections from several image hosting sites. It is a cross-platform
+tool with many configuration options and powerful filenaming
+capabilities.
+
+WWW: https://github.com/mikf/gallery-dl
More information about the svn-ports-all
mailing list