git: 2ea7a0e4f28a - main - devel/py-goodreads: add new port

From: Dries Michiels <driesm_at_FreeBSD.org>
Date: Tue, 19 Nov 2024 15:18:58 UTC
The branch main has been updated by driesm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2ea7a0e4f28a90a9876076ef193ade400e8e227f

commit 2ea7a0e4f28a90a9876076ef193ade400e8e227f
Author:     Matthew Wener <matthew@wener.org>
AuthorDate: 2024-11-19 15:14:26 +0000
Commit:     Dries Michiels <driesm@FreeBSD.org>
CommitDate: 2024-11-19 15:14:26 +0000

    devel/py-goodreads: add new port
    
    Python interface for the Goodreads API.
    
    PR:     282848
---
 devel/Makefile               |  1 +
 devel/py-goodreads/Makefile  | 21 +++++++++++++++++++++
 devel/py-goodreads/distinfo  |  3 +++
 devel/py-goodreads/pkg-descr |  3 +++
 4 files changed, 28 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index b3383c95b3f1..ec9094788842 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4921,6 +4921,7 @@
     SUBDIR += py-glob2
     SUBDIR += py-glom
     SUBDIR += py-gobject3
+    SUBDIR += py-goodreads
     SUBDIR += py-google-cloud-iam
     SUBDIR += py-google-crc32c
     SUBDIR += py-google-i18n-address
diff --git a/devel/py-goodreads/Makefile b/devel/py-goodreads/Makefile
new file mode 100644
index 000000000000..ceb404475048
--- /dev/null
+++ b/devel/py-goodreads/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	Goodreads
+PORTVERSION=	0.3.2
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	goodreads-${PORTVERSION}
+
+MAINTAINER=	matthew@wener.org
+COMMENT=	Python interface for the Goodreads API
+WWW=		https://github.com/sefakilic/goodreads/
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}rauth>=0:devel/py-rauth@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}xmltodict>=0:devel/py-xmltodict@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/devel/py-goodreads/distinfo b/devel/py-goodreads/distinfo
new file mode 100644
index 000000000000..c30d35904d12
--- /dev/null
+++ b/devel/py-goodreads/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1724809518
+SHA256 (goodreads-0.3.2.tar.gz) = 3a0b311a0b1a6b35bbff09b9e67e80a76ecb77720b2e81a682ac5e018ad35445
+SIZE (goodreads-0.3.2.tar.gz) = 12619
diff --git a/devel/py-goodreads/pkg-descr b/devel/py-goodreads/pkg-descr
new file mode 100644
index 000000000000..cb8ab61ad9f3
--- /dev/null
+++ b/devel/py-goodreads/pkg-descr
@@ -0,0 +1,3 @@
+This package provides a Python interface for the Goodreads API.
+Using it, you can do pretty much anything that Goodreads allows to
+do with their own data.