View | Details | Raw Unified | Return to bug 273364 | Differences between
and this patch

Collapse All | Expand All

(-)b/textproc/py-readtime/Makefile (+23 lines)
Added Link Here
1
PORTNAME=	readtime
2
DISTVERSION=	3.0.0
3
CATEGORIES=	textproc python
4
MASTER_SITES=	PYPI
5
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
6
7
MAINTAINER=	kai@FreeBSD.org
8
COMMENT=	Calculates the time some text takes the average human to read
9
WWW=		https://github.com/alanhamlett/readtime
10
11
LICENSE=	BSD2CLAUSE
12
LICENSE_FILE=	${WRKSRC}/LICENSE
13
14
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.0.1:www/py-beautifulsoup@${PY_FLAVOR} \
15
		${PYTHON_PKGNAMEPREFIX}markdown2>=2.4.3:textproc/py-markdown2@${PY_FLAVOR} \
16
		${PYTHON_PKGNAMEPREFIX}pyquery>=1.2:devel/py-pyquery@${PY_FLAVOR}
17
18
USES=		python
19
USE_PYTHON=	autoplist distutils
20
21
NO_ARCH=	yes
22
23
.include <bsd.port.mk>
(-)b/textproc/py-readtime/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1693484825
2
SHA256 (readtime-3.0.0.tar.gz) = 76c5a0d773ad49858c53b42ba3a942f62fbe20cc8c6f07875797ac7dc30963a9
3
SIZE (readtime-3.0.0.tar.gz) = 6271
(-)b/textproc/py-readtime/pkg-descr (+12 lines)
Added Link Here
1
Calculates the time some text takes the average human to read, based on
2
Medium's read time forumula.
3
4
Medium's Help Center says:
5
6
"Read time is based on the average reading speed of an adult (roughly 265 WPM).
7
 We take the total word count of a post and translate it into minutes, with an
8
 adjustment made for images. For posts in Chinese, Japanese and Korean, it's a
9
 function of number of characters (500 characters/min) with an adjustment made
10
 for images."
11
12
Source: https://help.medium.com/hc/en-us/articles/214991667-Read-time

Return to bug 273364