Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/typogrify/
Date: Thu, 19 May 2022 12:54:38
Message-Id: 1652964823.0fe756e44d2574b9f717a1a95f2887688e7a44b9.mgorny@gentoo
1 commit: 0fe756e44d2574b9f717a1a95f2887688e7a44b9
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 19 12:53:13 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu May 19 12:53:43 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fe756e4
7
8 dev-python/typogrify: Use PEP517 build
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/typogrify/typogrify-2.0.7-r1.ebuild | 32 ++++++++++++++++++++++++++
13 1 file changed, 32 insertions(+)
14
15 diff --git a/dev-python/typogrify/typogrify-2.0.7-r1.ebuild b/dev-python/typogrify/typogrify-2.0.7-r1.ebuild
16 new file mode 100644
17 index 000000000000..b826d6039fcb
18 --- /dev/null
19 +++ b/dev-python/typogrify/typogrify-2.0.7-r1.ebuild
20 @@ -0,0 +1,32 @@
21 +# Copyright 2021-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +DISTUTILS_USE_PEP517=setuptools
27 +PYTHON_COMPAT=( python3_{8..10} )
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="Filters for web typography, supporting Django & Jinja templates"
32 +HOMEPAGE="
33 + https://github.com/mintchaos/typogrify/
34 + https://pypi.org/project/typogrify/
35 +"
36 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
37 +
38 +LICENSE="BSD"
39 +SLOT="0"
40 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~sparc ~x86"
41 +
42 +RDEPEND="
43 + >=dev-python/smartypants-1.8.3[${PYTHON_USEDEP}]
44 +"
45 +
46 +distutils_enable_tests pytest
47 +
48 +python_test() {
49 + epytest --doctest-modules \
50 + typogrify/filters.py \
51 + typogrify/packages/titlecase/tests.py
52 +}