From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1278024-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 554AA1382C5 for <garchives@archives.gentoo.org>; Mon, 3 May 2021 22:39:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 57992E0895; Mon, 3 May 2021 22:39:51 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3F8B1E0895 for <gentoo-commits@lists.gentoo.org>; Mon, 3 May 2021 22:39:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5E81F33BE14 for <gentoo-commits@lists.gentoo.org>; Mon, 3 May 2021 22:39:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BBE0363D for <gentoo-commits@lists.gentoo.org>; Mon, 3 May 2021 22:39:48 +0000 (UTC) From: "Matt Turner" <mattst88@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" <mattst88@gentoo.org> Message-ID: <1620081581.7d33c7974578c291da715a1ca47ed9902a3b8da7.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/typogrify/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/typogrify/Manifest dev-python/typogrify/metadata.xml dev-python/typogrify/typogrify-2.0.7.ebuild X-VCS-Directories: dev-python/typogrify/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 7d33c7974578c291da715a1ca47ed9902a3b8da7 X-VCS-Branch: master Date: Mon, 3 May 2021 22:39:48 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ae956b66-baa1-41b6-af3c-d6cfd4585d82 X-Archives-Hash: 203c156689d6a1f6b6e10c9ed8c34c36 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>python@gentoo.org</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 +}