Date: Thu, 30 Nov 2017 06:53:08 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r455171 - in head/www: . py-ddgr py-ddgr/files Message-ID: <201711300653.vAU6r8aA046541@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Thu Nov 30 06:53:07 2017 New Revision: 455171 URL: https://svnweb.freebsd.org/changeset/ports/455171 Log: New port: www/py-ddgr: Command line tool for performing DuckDuckGo web searches PR: 223976 Submitted by: jsmith@resonatingmedia.com Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D13299 Added: head/www/py-ddgr/ head/www/py-ddgr/Makefile (contents, props changed) head/www/py-ddgr/distinfo (contents, props changed) head/www/py-ddgr/files/ head/www/py-ddgr/files/patch-Makefile (contents, props changed) head/www/py-ddgr/pkg-descr (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Thu Nov 30 06:43:49 2017 (r455170) +++ head/www/Makefile Thu Nov 30 06:53:07 2017 (r455171) @@ -1556,6 +1556,7 @@ SUBDIR += py-cssmin SUBDIR += py-cssselect SUBDIR += py-cssutils + SUBDIR += py-ddgr SUBDIR += py-django SUBDIR += py-django-allauth SUBDIR += py-django-annotations Added: head/www/py-ddgr/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-ddgr/Makefile Thu Nov 30 06:53:07 2017 (r455171) @@ -0,0 +1,34 @@ +# $FreeBSD$ + +PORTNAME= ddgr +DISTVERSIONPREFIX= v +DISTVERSION= 1.1 +CATEGORIES= www +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= jsmith@resonatingmedia.com +COMMENT= Command line tool for performing DuckDuckGo web searches + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.4.3:www/py3-requests + +USES= python:3.3+ shebangfix +USE_GITHUB= yes +GH_ACCOUNT= jarun +USE_PYTHON= concurrent requests +NO_BUILD= yes +NO_ARCH= yes +SHEBANG_FILES= ${PORTNAME} +python_OLD_CMD= "/usr/bin/env python3" # see bug#223980 + +MAKE_ARGS= DOCDIR=${STAGEDIR}${DOCSDIR} FREEBSD_PYTHON_VER=${PYTHON_VER} + +OPTIONS_DEFINE= DOCS + +PLIST_FILES= bin/ddgr \ + share/man/man1/ddgr-${PYTHON_VER}.1.gz +PORTDOCS= README.md + +.include <bsd.port.mk> Added: head/www/py-ddgr/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-ddgr/distinfo Thu Nov 30 06:53:07 2017 (r455171) @@ -0,0 +1,3 @@ +TIMESTAMP = 1511990479 +SHA256 (jarun-ddgr-v1.1_GH0.tar.gz) = 6fbf7a638e3e4c0db57ef4a86f253b5810e5755b88727444b17d4528e3a4f5d8 +SIZE (jarun-ddgr-v1.1_GH0.tar.gz) = 38553 Added: head/www/py-ddgr/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-ddgr/files/patch-Makefile Thu Nov 30 06:53:07 2017 (r455171) @@ -0,0 +1,11 @@ +--- Makefile.orig 2017-11-29 12:33:58 UTC ++++ Makefile +@@ -13,7 +13,7 @@ install: + install -m755 -d $(DOCDIR) + gzip -c ddgr.1 > ddgr.1.gz + install -m755 ddgr $(BINDIR) +- install -m644 ddgr.1.gz $(MANDIR) ++ install -m644 ddgr.1.gz $(MANDIR)/ddgr-${FREEBSD_PYTHON_VER}.1.gz + install -m644 README.md $(DOCDIR) + rm -f ddgr.1.gz + Added: head/www/py-ddgr/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-ddgr/pkg-descr Thu Nov 30 06:53:07 2017 (r455171) @@ -0,0 +1,7 @@ +ddgr is a cmdline utility to search DuckDuckGo from the terminal. +Unlike the web interface, you can specify the number of search results +you would like to see per page. It's more convenient than skimming +through 30-odd search results per page. The default interface is +carefully designed to use minimum space without sacrificing readability. + +WWW: https://github.com/jarun/ddgr
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711300653.vAU6r8aA046541>