commit: 7d33c7974578c291da715a1ca47ed9902a3b8da7 Author: Chris Mayo <aklhfex <AT> gmail <DOT> com> AuthorDate: Wed Apr 7 18:31:57 2021 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Mon May 3 22:39:41 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d33c797
dev-python/typogrify: new ebuild Closes: https://github.com/gentoo/gentoo/pull/20186 Closes: https://github.com/gentoo/gentoo/pull/20670 Signed-off-by: Chris Mayo <aklhfex <AT> gmail.com> Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> dev-python/typogrify/Manifest | 1 + dev-python/typogrify/metadata.xml | 14 ++++++++++++++ dev-python/typogrify/typogrify-2.0.7.ebuild | 27 +++++++++++++++++++++++++++ 3 files changed, 42 insertions(+) diff --git a/dev-python/typogrify/Manifest b/dev-python/typogrify/Manifest new file mode 100644 index 00000000000..f55f3ea5ae7 --- /dev/null +++ b/dev-python/typogrify/Manifest @@ -0,0 +1 @@ +DIST typogrify-2.0.7.tar.gz 12903 BLAKE2B e08b27a531f21e99d5a35c47c1deb94bc7f67e31a47789ba4750520c893633966b1319a731c81ab2435e7024aea1e8fd0b46a52bbb73a050cdf83a1588644d18 SHA512 6212024a88372f1b14e5932c0541ec4d5a2ada7514c1327dc8f3775cd7adf3372cae0037c4310ed4a03fd0657a91eb4c0d114b74172190f7f84d82908441ddd0 diff --git a/dev-python/typogrify/metadata.xml b/dev-python/typogrify/metadata.xml new file mode 100644 index 00000000000..288c408a5ef --- /dev/null +++ b/dev-python/typogrify/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>[email protected]</email> + <name>Python</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="pypi">typogrify</remote-id> + <remote-id type="github">mintchaos/typogrify</remote-id> + <bugs-to>https://github.com/mintchaos/typogrify/issues/</bugs-to> + </upstream> +</pkgmetadata> diff --git a/dev-python/typogrify/typogrify-2.0.7.ebuild b/dev-python/typogrify/typogrify-2.0.7.ebuild new file mode 100644 index 00000000000..9b24bf19f43 --- /dev/null +++ b/dev-python/typogrify/typogrify-2.0.7.ebuild @@ -0,0 +1,27 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +inherit distutils-r1 + +DESCRIPTION="Filters for web typography, supporting Django & Jinja templates" +HOMEPAGE="https://github.com/mintchaos/typogrify/ https://pypi.org/project/typogrify/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + ${PYTHON_DEPS} + >=dev-python/smartypants-1.8.3[${PYTHON_USEDEP}] +" +RDEPEND="${DEPEND}" + +distutils_enable_tests pytest + +python_test() { + epytest --doctest-modules typogrify/filters.py typogrify/packages/titlecase/tests.py +}
