summaryrefslogtreecommitdiff
path: root/dev-python/readtime
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-08-23 09:48:32 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-08-23 09:48:32 +0100
commit7795d9198ccb546ad792af2694399b516fc244ac (patch)
tree0f80cd898370b3bbd31dad1b53588d38064793c6 /dev-python/readtime
parent76639e956cb332de1bfbf50143f11084d2686c65 (diff)
gentoo auto-resync : 23:08:2023 - 09:48:32
Diffstat (limited to 'dev-python/readtime')
-rw-r--r--dev-python/readtime/Manifest3
-rw-r--r--dev-python/readtime/metadata.xml12
-rw-r--r--dev-python/readtime/readtime-3.0.0.ebuild31
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/readtime/Manifest b/dev-python/readtime/Manifest
new file mode 100644
index 000000000000..322dc74b2b60
--- /dev/null
+++ b/dev-python/readtime/Manifest
@@ -0,0 +1,3 @@
+DIST readtime-3.0.0.gh.tar.gz 10836 BLAKE2B 84a94833b45b5b9e208717bff58f2585f1b3c01bc1fb085e81e787aab3b7c6da2f6b043eb710aa5a97f548331f2c996e5bb236759a30bbcde710a66e702e7ae0 SHA512 b92fc74249b31c97a2f94e617bf5cb31900172a4816c6029c5966a37073f32f4fa033f39ad0494eb01b17775be37aa09867d0e459f71de51387b88d612bbb66e
+EBUILD readtime-3.0.0.ebuild 698 BLAKE2B d7d704cdab6a3d6861723298843a20d5135b091ae15f08a224a2dd170049e91ff7e2fb7e4ba765c5ac9ac169d1666769d95d4b228ff9dc00fe3af31688df692d SHA512 fadbef51471ef641e4a158289780e38f950510cfa301d02c300aecef6fe19c7fe8871a41740e89efd36e6adccf4da422ba8e8563f6166c9d61b29a4f9a98bb32
+MISC metadata.xml 374 BLAKE2B ce004b70454cf75d8d35014b4fdb057c8d6323704de764963e74fd97e0002d3d5fb0b2e6072bc5a872e94c41a9d4f5ab55dac1fad12fd2d87c2c5751ea2e091f SHA512 bdaebc87ea5571eff8abb6561ad17a77d8de2b0e7e92fb2e8020503792c1ad191b1f33c9ffd8497aa0356d8763abe6ac51198199be7734b43e280a3e5c8b47dc
diff --git a/dev-python/readtime/metadata.xml b/dev-python/readtime/metadata.xml
new file mode 100644
index 000000000000..b5676911c8fd
--- /dev/null
+++ b/dev-python/readtime/metadata.xml
@@ -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>
diff --git a/dev-python/readtime/readtime-3.0.0.ebuild b/dev-python/readtime/readtime-3.0.0.ebuild
new file mode 100644
index 000000000000..94984537bd1c
--- /dev/null
+++ b/dev-python/readtime/readtime-3.0.0.ebuild
@@ -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