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 9D3B215808B for ; Mon, 11 Apr 2022 08:58:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 668D3E0A98; Mon, 11 Apr 2022 08:58:05 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 746CDE0A98 for ; Mon, 11 Apr 2022 08:58:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 45C833418C4 for ; Mon, 11 Apr 2022 08:58:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 78075342 for ; Mon, 11 Apr 2022 08:57:58 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1649667469.93e681cb00ce6ce70d38feea81ee7e961de615a9.flow@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/poezio/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-im/poezio/Manifest net-im/poezio/poezio-0.14.ebuild net-im/poezio/poezio-9999.ebuild X-VCS-Directories: net-im/poezio/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 93e681cb00ce6ce70d38feea81ee7e961de615a9 X-VCS-Branch: master Date: Mon, 11 Apr 2022 08:57:58 +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: 582b10cc-90d2-492d-b1e4-cd3c45b47368 X-Archives-Hash: 5fedd58e2444a2f9b5bdf02836c23564 commit: 93e681cb00ce6ce70d38feea81ee7e961de615a9 Author: Florian Schmaus gentoo org> AuthorDate: Mon Apr 11 08:55:51 2022 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Mon Apr 11 08:57:49 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93e681cb net-im/poezio: add 0.14, update live ebuild Thanks to Michał Górny for helping with python_test(). Signed-off-by: Florian Schmaus gentoo.org> net-im/poezio/Manifest | 1 + .../{poezio-9999.ebuild => poezio-0.14.ebuild} | 20 ++++++++++++++------ net-im/poezio/poezio-9999.ebuild | 18 +++++++++++++----- 3 files changed, 28 insertions(+), 11 deletions(-) diff --git a/net-im/poezio/Manifest b/net-im/poezio/Manifest index 8c63c9fa1b81..02b8eba1a8a6 100644 --- a/net-im/poezio/Manifest +++ b/net-im/poezio/Manifest @@ -1 +1,2 @@ DIST poezio-0.13.1.tar.gz 632572 BLAKE2B e8d3d34c5ca8d236a5a434b4b339cab5ea7286c60db3ef5a6012d406848537b587e834b86f7b6049ee8e637a82e883b2d874134bc1f7d64106e0b0f81aab218f SHA512 6c211ef0fa2fc4bd4cce6ab896166eec6bcdc16ad9e774f4d6bf261b404c9ef68b18d934097da0e165b0cce9bd7779da520ac9c3eac30ccf8280f98ef6aa19c6 +DIST poezio-0.14.tar.gz 662379 BLAKE2B 467741d82945c084c79811d41ff85358ad236d0dcefca7e6f1f8ed5d78aa127f800d2370d624ebaf9e2eb20e1038f280c2e874694ea2b86965fe329b82c4b7d8 SHA512 6e68954a918c645592e2d2f8a265e2f2445a39e256c0525a5517e758a90cc404e066cc08d67ad0f8a3c7d6f3efd61f13a776737d110dd23df7a5f7fab54fc6b5 diff --git a/net-im/poezio/poezio-9999.ebuild b/net-im/poezio/poezio-0.14.ebuild similarity index 74% copy from net-im/poezio/poezio-9999.ebuild copy to net-im/poezio/poezio-0.14.ebuild index 608644fde1b2..81e2f3ab9a0b 100644 --- a/net-im/poezio/poezio-9999.ebuild +++ b/net-im/poezio/poezio-0.14.ebuild @@ -1,16 +1,16 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{7..10} ) +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 optfeature xdg DESCRIPTION="Console XMPP client that looks like most famous IRC clients" HOMEPAGE="https://poez.io/" -LICENSE="ZLIB" +LICENSE="GPL-3+" SLOT="0" if [[ "${PV}" == "9999" ]]; then @@ -28,7 +28,7 @@ RDEPEND=" dev-python/aiodns[${PYTHON_USEDEP}] dev-python/pyasn1-modules[${PYTHON_USEDEP}] dev-python/pyasn1[${PYTHON_USEDEP}] - >=dev-python/slixmpp-1.7.1[${PYTHON_USEDEP}] + >=dev-python/slixmpp-1.8.2[${PYTHON_USEDEP}] " PATCHES=( @@ -51,6 +51,14 @@ src_compile() { fi } +# Poezio provides its own Python C extension 'poopt', which needs to be +# correctly discovered to run the tests. See +# https://projects.gentoo.org/python/guide/test.html#importerrors-for-c-extensions +python_test() { + cd "${T}" || die + epytest "${S}"/test +} + src_install() { distutils-r1_src_install diff --git a/net-im/poezio/poezio-9999.ebuild b/net-im/poezio/poezio-9999.ebuild index 608644fde1b2..162044b8bbf3 100644 --- a/net-im/poezio/poezio-9999.ebuild +++ b/net-im/poezio/poezio-9999.ebuild @@ -1,16 +1,16 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -DISTUTILS_USE_SETUPTOOLS=rdepend +DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{7..10} ) inherit distutils-r1 optfeature xdg DESCRIPTION="Console XMPP client that looks like most famous IRC clients" HOMEPAGE="https://poez.io/" -LICENSE="ZLIB" +LICENSE="GPL-3+" SLOT="0" if [[ "${PV}" == "9999" ]]; then @@ -28,7 +28,7 @@ RDEPEND=" dev-python/aiodns[${PYTHON_USEDEP}] dev-python/pyasn1-modules[${PYTHON_USEDEP}] dev-python/pyasn1[${PYTHON_USEDEP}] - >=dev-python/slixmpp-1.7.1[${PYTHON_USEDEP}] + >=dev-python/slixmpp-1.8.2[${PYTHON_USEDEP}] " PATCHES=( @@ -51,6 +51,14 @@ src_compile() { fi } +# Poezio provides its own Python C extension 'poopt', which needs to be +# correctly discovered to run the tests. See +# https://projects.gentoo.org/python/guide/test.html#importerrors-for-c-extensions +python_test() { + cd "${T}" || die + epytest "${S}"/test +} + src_install() { distutils-r1_src_install