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 9944115800F for ; Thu, 16 Feb 2023 20:18:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DCB43E089C; Thu, 16 Feb 2023 20:18:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C3D81E089C for ; Thu, 16 Feb 2023 20:18:48 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E43F43410A4 for ; Thu, 16 Feb 2023 20:18:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 61E818A7 for ; Thu, 16 Feb 2023 20:18:46 +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: <1676578697.9bc718ae40c761b45cbeda5d516ae9402acb5850.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/micawber/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/micawber/Manifest dev-python/micawber/micawber-0.5.4-r1.ebuild X-VCS-Directories: dev-python/micawber/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9bc718ae40c761b45cbeda5d516ae9402acb5850 X-VCS-Branch: master Date: Thu, 16 Feb 2023 20:18:46 +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: 8a984be1-f861-49fb-a77d-31662a744c92 X-Archives-Hash: 5f92b17774587d23a3a697565996e170 commit: 9bc718ae40c761b45cbeda5d516ae9402acb5850 Author: Michał Górny gentoo org> AuthorDate: Thu Feb 16 19:32:32 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Feb 16 20:18:17 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bc718ae dev-python/micawber: PEP517, py3.11 Signed-off-by: Michał Górny gentoo.org> dev-python/micawber/Manifest | 1 + dev-python/micawber/micawber-0.5.4-r1.ebuild | 37 ++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/dev-python/micawber/Manifest b/dev-python/micawber/Manifest index 5805135c869e..e427104d9cc3 100644 --- a/dev-python/micawber/Manifest +++ b/dev-python/micawber/Manifest @@ -1 +1,2 @@ +DIST micawber-0.5.4.gh.tar.gz 34963 BLAKE2B 1c311e2d1c8f32f81be466893bf1eb34f8c38901b168a97c88f2043aba1624fa8b6d12460c7470c3bbd720ae29af23ab808a9464b13ebf5ec193f5818b6f3aa1 SHA512 26879174071256fd3f95e92b0ea01b11a44eab767aa7bb43ff62221212ea0ab1ad33b67060e2dec33963abad599b864573f6a9d5a98fcd8f1a6633a3c73d7c80 DIST micawber-0.5.4.tar.gz 34963 BLAKE2B 1c311e2d1c8f32f81be466893bf1eb34f8c38901b168a97c88f2043aba1624fa8b6d12460c7470c3bbd720ae29af23ab808a9464b13ebf5ec193f5818b6f3aa1 SHA512 26879174071256fd3f95e92b0ea01b11a44eab767aa7bb43ff62221212ea0ab1ad33b67060e2dec33963abad599b864573f6a9d5a98fcd8f1a6633a3c73d7c80 diff --git a/dev-python/micawber/micawber-0.5.4-r1.ebuild b/dev-python/micawber/micawber-0.5.4-r1.ebuild new file mode 100644 index 000000000000..4732cd4e2b88 --- /dev/null +++ b/dev-python/micawber/micawber-0.5.4-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="A small library for extracting rich content from urls" +HOMEPAGE=" + https://github.com/coleifer/micawber/ + https://pypi.org/project/micawber/ +" +SRC_URI=" + https://github.com/coleifer/micawber/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] + ) +" + +python_test() { + "${EPYTHON}" runtests.py || die "Tests failed with ${EPYTHON}" +}