commit: 1425549ac1059387d47ca89b77dadb7e3b1fc501
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 12 18:29:41 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jan 12 18:39:52 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1425549a
dev-python/typogrify: Bump to 2.1.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/typogrify/Manifest | 1 +
dev-python/typogrify/typogrify-2.1.0.ebuild | 31 +++++++++++++++++++++++++++++
2 files changed, 32 insertions(+)
diff --git a/dev-python/typogrify/Manifest b/dev-python/typogrify/Manifest
index f55f3ea5ae75..6bf3facbfc00 100644
--- a/dev-python/typogrify/Manifest
+++ b/dev-python/typogrify/Manifest
@@ -1 +1,2 @@
DIST typogrify-2.0.7.tar.gz 12903 BLAKE2B
e08b27a531f21e99d5a35c47c1deb94bc7f67e31a47789ba4750520c893633966b1319a731c81ab2435e7024aea1e8fd0b46a52bbb73a050cdf83a1588644d18
SHA512
6212024a88372f1b14e5932c0541ec4d5a2ada7514c1327dc8f3775cd7adf3372cae0037c4310ed4a03fd0657a91eb4c0d114b74172190f7f84d82908441ddd0
+DIST typogrify-2.1.0.tar.gz 28622 BLAKE2B
b3ca5fa5c518bcbf508bd30bfca665c222809e8760e04b0aaec34e87e1dc137391b66bbf99d601b168c7178bd10273625d209ba5bcbddb9742b3c4cc9b2161f8
SHA512
25d7e52f370928b542d5202bd64dfd461f4ba81a92c8ca74423faa8bf852ad859fc5291847a0b3c69252d671257249474aa4639f032c6a9635f42e35b82af48e
diff --git a/dev-python/typogrify/typogrify-2.1.0.ebuild
b/dev-python/typogrify/typogrify-2.1.0.ebuild
new file mode 100644
index 000000000000..da55e13a799e
--- /dev/null
+++ b/dev-python/typogrify/typogrify-2.1.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2021-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Filters for web typography, supporting Django & Jinja templates"
+HOMEPAGE="
+ https://github.com/mintchaos/typogrify/
+ https://pypi.org/project/typogrify/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64
~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+ >=dev-python/smartypants-1.8.3[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ epytest --doctest-modules \
+ typogrify/filters.py \
+ typogrify/packages/titlecase/tests.py
+}