git: 367a59fb1a6f - main - misc/py-vaderSentiment: New port: VADER sentiment analysis

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 31 Dec 2023 23:02:44 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=367a59fb1a6f3e8e03ef4390e88eb131369f50ef

commit 367a59fb1a6f3e8e03ef4390e88eb131369f50ef
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-12-31 22:59:45 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-12-31 23:02:34 +0000

    misc/py-vaderSentiment: New port: VADER sentiment analysis
---
 misc/Makefile                    |  1 +
 misc/py-vaderSentiment/Makefile  | 21 +++++++++++++++++++++
 misc/py-vaderSentiment/distinfo  |  3 +++
 misc/py-vaderSentiment/pkg-descr |  3 +++
 4 files changed, 28 insertions(+)

diff --git a/misc/Makefile b/misc/Makefile
index 38e69d1d7d80..613bee3e1416 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -499,6 +499,7 @@
     SUBDIR += py-tqdm
     SUBDIR += py-tvm
     SUBDIR += py-uhi
+    SUBDIR += py-vaderSentiment
     SUBDIR += py-wandb
     SUBDIR += py-wurlitzer
     SUBDIR += py-xgboost
diff --git a/misc/py-vaderSentiment/Makefile b/misc/py-vaderSentiment/Makefile
new file mode 100644
index 000000000000..bec47055c3b2
--- /dev/null
+++ b/misc/py-vaderSentiment/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	vaderSentiment
+DISTVERSION=	3.3.2
+CATEGORIES=	misc python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	VADER sentiment analysis
+WWW=		https://github.com/cjhutto/vaderSentiment
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	distutils autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/misc/py-vaderSentiment/distinfo b/misc/py-vaderSentiment/distinfo
new file mode 100644
index 000000000000..979c126047b7
--- /dev/null
+++ b/misc/py-vaderSentiment/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1704052754
+SHA256 (vaderSentiment-3.3.2.tar.gz) = 5d7c06e027fc8b99238edb0d53d970cf97066ef97654009890b83703849632f9
+SIZE (vaderSentiment-3.3.2.tar.gz) = 2466783
diff --git a/misc/py-vaderSentiment/pkg-descr b/misc/py-vaderSentiment/pkg-descr
new file mode 100644
index 000000000000..03af4fdd901c
--- /dev/null
+++ b/misc/py-vaderSentiment/pkg-descr
@@ -0,0 +1,3 @@
+VADER (Valence Aware Dictionary and sEntiment Reasoner) is a lexicon and
+rule-based sentiment analysis tool that is specifically attuned to sentiments
+expressed in social media.