From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 84CB5158092 for ; Thu, 19 May 2022 12:54:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A3758E08BB; Thu, 19 May 2022 12:54:35 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5D296E08A0 for ; Thu, 19 May 2022 12:54:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 496E5341630 for ; Thu, 19 May 2022 12:54:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9E1B047B for ; Thu, 19 May 2022 12:54:32 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1652964822.006cdf16e6b7f5a770b49d67f4e35a0c44761758.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/smartypants/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/smartypants/smartypants-2.0.1-r1.ebuild X-VCS-Directories: dev-python/smartypants/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 006cdf16e6b7f5a770b49d67f4e35a0c44761758 X-VCS-Branch: master Date: Thu, 19 May 2022 12:54:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 802ffafc-a42c-44b2-a360-e13297d98b1f X-Archives-Hash: 3365893e133cb9599507d5285c2bba1c commit: 006cdf16e6b7f5a770b49d67f4e35a0c44761758 Author: Michał Górny gentoo org> AuthorDate: Thu May 19 12:52:16 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu May 19 12:53:42 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=006cdf16 dev-python/smartypants: Enable py3.11 Signed-off-by: Michał Górny gentoo.org> dev-python/smartypants/smartypants-2.0.1-r1.ebuild | 33 +++++++++++----------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/dev-python/smartypants/smartypants-2.0.1-r1.ebuild b/dev-python/smartypants/smartypants-2.0.1-r1.ebuild index c4a5c111cae5..826aa0e09c49 100644 --- a/dev-python/smartypants/smartypants-2.0.1-r1.ebuild +++ b/dev-python/smartypants/smartypants-2.0.1-r1.ebuild @@ -4,28 +4,29 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{6..10} ) - -MY_PN="${PN}.py" -MY_P="${MY_PN}-${PV}" +PYTHON_COMPAT=( python3_{8..11} ) inherit distutils-r1 +MY_P="${PN}.py-${PV}" DESCRIPTION="ASCII quote-dot-dash to HTML entity converter" -HOMEPAGE="https://pypi.python.org/pypi/smartypants/" - -if [[ ${PV} = 9999* ]]; then - EGIT_REPO_URI="https://github.com/leohemsted/smartypants.py.git" - EGIT_BRANCH="master" - inherit git-r3 -else - SRC_URI="https://github.com/leohemsted/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv sparc x86" - S="${WORKDIR}/${MY_P}" -fi +HOMEPAGE=" + https://pypi.org/project/smartypants/ + https://github.com/leohemsted/smartypants.py/ +" +SRC_URI=" + https://github.com/leohemsted/smartypants.py/archive/v${PV}.tar.gz + -> ${P}.tar.gz +" +S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv sparc x86" distutils_enable_sphinx docs -distutils_enable_tests setup.py +distutils_enable_tests unittest + +python_test() { + eunittest -s tests +}