aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcpm <cpm@FreeBSD.org>2016-06-25 07:04:24 +0800
committercpm <cpm@FreeBSD.org>2016-06-25 07:04:24 +0800
commit5f7d8aa02f85ecaf9cc1f43afab6b8332ecc4a72 (patch)
tree9968a73486d0c4bff068fa390786ab58cbbcb7af
parent0f9b9ff14d1a763526078efd1aed6e2e5220eee7 (diff)
downloadfreebsd-ports-gnome-5f7d8aa02f85ecaf9cc1f43afab6b8332ecc4a72.tar.gz
freebsd-ports-gnome-5f7d8aa02f85ecaf9cc1f43afab6b8332ecc4a72.tar.zst
freebsd-ports-gnome-5f7d8aa02f85ecaf9cc1f43afab6b8332ecc4a72.zip
New port: misc/py-socli
Stack overflow command line client written in python. Using SoCLI you can search and browse stack overflow without leaving the terminal. WWW: https://pypi.python.org/pypi/socli/ Submitted by: me Reviewed by: amdmi3, feld (mentors) Approved by: amdmi3, feld (mentors) Differential Revision: D6939
-rw-r--r--misc/Makefile1
-rw-r--r--misc/py-socli/Makefile24
-rw-r--r--misc/py-socli/distinfo3
-rw-r--r--misc/py-socli/pkg-descr4
4 files changed, 32 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index ac290fa637d1..28cae8ee2823 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -380,6 +380,7 @@
SUBDIR += py-qt4-doc
SUBDIR += py-qt5-demo
SUBDIR += py-qt5-doc
+ SUBDIR += py-socli
SUBDIR += py-spdx
SUBDIR += py-spdx-lookup
SUBDIR += py-tqdm
diff --git a/misc/py-socli/Makefile b/misc/py-socli/Makefile
new file mode 100644
index 000000000000..184adb486422
--- /dev/null
+++ b/misc/py-socli/Makefile
@@ -0,0 +1,24 @@
+# Created by: Carlos J. Puga Medina <cpm@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= socli
+PORTVERSION= 1.3a
+CATEGORIES= misc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= cpm@FreeBSD.org
+COMMENT= Stack overflow command line interface
+
+LICENSE= BSD3CLAUSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup4>=0:textproc/py-beautifulsoup4 \
+ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests
+
+USES= python:3 zip
+USE_PYTHON= autoplist distutils
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/a//g}
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/misc/py-socli/distinfo b/misc/py-socli/distinfo
new file mode 100644
index 000000000000..296c71875e66
--- /dev/null
+++ b/misc/py-socli/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1466691313
+SHA256 (socli-1.3a.zip) = 1bfecc38132e51c140179b44999b964a87ef6a23989fb3b8d8024b739dd1bafa
+SIZE (socli-1.3a.zip) = 5463
diff --git a/misc/py-socli/pkg-descr b/misc/py-socli/pkg-descr
new file mode 100644
index 000000000000..d3c6ded731a8
--- /dev/null
+++ b/misc/py-socli/pkg-descr
@@ -0,0 +1,4 @@
+Stack overflow command line client written in python. Using SoCLI you can
+search and browse stack overflow without leaving the terminal.
+
+WWW: https://pypi.python.org/pypi/socli/