dev-python/readtime: New package, v3.0.0

New dependency of dev-python/mkdocs-material.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-08-23 09:47:53 +02:00
parent 9782ee2b12
commit 6b7aff0d8a
3 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST readtime-3.0.0.gh.tar.gz 10836 BLAKE2B 84a94833b45b5b9e208717bff58f2585f1b3c01bc1fb085e81e787aab3b7c6da2f6b043eb710aa5a97f548331f2c996e5bb236759a30bbcde710a66e702e7ae0 SHA512 b92fc74249b31c97a2f94e617bf5cb31900172a4816c6029c5966a37073f32f4fa033f39ad0494eb01b17775be37aa09867d0e459f71de51387b88d612bbb66e

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="github">alanhamlett/readtime</remote-id>
<remote-id type="pypi">readtime</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,31 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3 python3_{10..12} )
inherit distutils-r1
DESCRIPTION="Calculates the time some text takes the average human to read"
HOMEPAGE="
https://github.com/alanhamlett/readtime/
https://pypi.org/project/readtime/
"
SRC_URI="
https://github.com/alanhamlett/readtime/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/beautifulsoup4-4.0.1[${PYTHON_USEDEP}]
>=dev-python/markdown2-2.4.3[${PYTHON_USEDEP}]
>=dev-python/pyquery-1.2[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest