git: c4d0e5f74b9b - main - devel/py-scholarly: add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 20 Nov 2024 10:07:18 UTC
The branch main has been updated by driesm:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c4d0e5f74b9b7fbbf4ff9741072e25eb5cb8afa7
commit c4d0e5f74b9b7fbbf4ff9741072e25eb5cb8afa7
Author: Matthew Wener <matthew@wener.org>
AuthorDate: 2024-11-20 10:03:27 +0000
Commit: Dries Michiels <driesm@FreeBSD.org>
CommitDate: 2024-11-20 10:06:50 +0000
devel/py-scholarly: add new port
Simple access to Google Scholar authors and citations.
PR: 282846
---
devel/Makefile | 1 +
devel/py-scholarly/Makefile | 33 +++++++++++++++++++++++++++++++++
devel/py-scholarly/distinfo | 3 +++
devel/py-scholarly/pkg-descr | 3 +++
4 files changed, 40 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index ec9094788842..56e9462ce08c 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5835,6 +5835,7 @@
SUBDIR += py-scheduler
SUBDIR += py-schema
SUBDIR += py-schematics-patched
+ SUBDIR += py-scholarly
SUBDIR += py-scikit-base
SUBDIR += py-scikit-build
SUBDIR += py-scikit-build-core
diff --git a/devel/py-scholarly/Makefile b/devel/py-scholarly/Makefile
new file mode 100644
index 000000000000..b38c323ca86a
--- /dev/null
+++ b/devel/py-scholarly/Makefile
@@ -0,0 +1,33 @@
+PORTNAME= scholarly
+PORTVERSION= 1.7.11
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= matthew@wener.org
+COMMENT= Simple access to Google Scholar authors and citations
+WWW= https://github.com/scholarly-python-package/scholarly
+
+LICENSE= UNLICENSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}arrow>=0:devel/py-arrow@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=0:www/py-beautifulsoup@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}bibtexparser>=0:textproc/py-bibtexparser@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}deprecated>=0:devel/py-deprecated@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}fake-useragent>=0:www/py-fake-useragent@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}free-proxy>=0:www/py-free-proxy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}httpx>=0:www/py-httpx@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}python-dotenv>=0:www/py-python-dotenv@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}selenium>=0:www/py-selenium@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}stem>=0:security/py-stem@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-scholarly/distinfo b/devel/py-scholarly/distinfo
new file mode 100644
index 000000000000..2397f1d909a2
--- /dev/null
+++ b/devel/py-scholarly/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1724809518
+SHA256 (scholarly-1.7.11.tar.gz) = 2c983dd44d9d9398a6f2605102ae6e5586023b41ebbaec1461917ee48eb153f0
+SIZE (scholarly-1.7.11.tar.gz) = 38819
diff --git a/devel/py-scholarly/pkg-descr b/devel/py-scholarly/pkg-descr
new file mode 100644
index 000000000000..5efbc5da8dee
--- /dev/null
+++ b/devel/py-scholarly/pkg-descr
@@ -0,0 +1,3 @@
+scholarly is a module that allows you to retrieve author and
+publication information from Google Scholar in a friendly,
+Pythonic way without having to solve CAPTCHAs.