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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B5EFA158087 for ; Thu, 28 Oct 2021 07:18:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C7419E087F; Thu, 28 Oct 2021 07:18:52 +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 99392E087F for ; Thu, 28 Oct 2021 07:18:52 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5676E343C3F for ; Thu, 28 Oct 2021 07:18:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 02D87163 for ; Thu, 28 Oct 2021 07:18:50 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1635405520.b4f4efb8211bfb51820e67a6c57054a09b457b4b.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-xmlsec/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/python-xmlsec/Manifest dev-python/python-xmlsec/python-xmlsec-1.3.12.ebuild X-VCS-Directories: dev-python/python-xmlsec/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b4f4efb8211bfb51820e67a6c57054a09b457b4b X-VCS-Branch: master Date: Thu, 28 Oct 2021 07:18:50 +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: 79e590f0-1284-4811-b319-146ae8cdadb5 X-Archives-Hash: f8c1d6f68c89b255e3f70c927241097b commit: b4f4efb8211bfb51820e67a6c57054a09b457b4b Author: Sam James gentoo org> AuthorDate: Thu Oct 28 07:18:40 2021 +0000 Commit: Sam James gentoo org> CommitDate: Thu Oct 28 07:18:40 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4f4efb8 dev-python/python-xmlsec: add 1.3.12 Signed-off-by: Sam James gentoo.org> dev-python/python-xmlsec/Manifest | 1 + .../python-xmlsec/python-xmlsec-1.3.12.ebuild | 43 ++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-python/python-xmlsec/Manifest b/dev-python/python-xmlsec/Manifest index 8b21cbd0881..d283c819e1c 100644 --- a/dev-python/python-xmlsec/Manifest +++ b/dev-python/python-xmlsec/Manifest @@ -1 +1,2 @@ DIST python-xmlsec-1.3.11.tar.gz 75023 BLAKE2B 87fe4b47a9df6bc2fb2f1a459fa20240d9d5c92e0f7fa9bfc466e1fbfc0e3f12d90d01f5c7a6eac1389ea3252b8267a545203edf34c30117573bada9a7f5481a SHA512 fe0144d67edcad366b1d0f4615983f5630afd8f22aa056f46d1e6564f1c3114c0a469675e64a06591540515b0d12b5bf9304845f5138b24e15acaf4e5b861961 +DIST python-xmlsec-1.3.12.tar.gz 77722 BLAKE2B b5ecece8063b823cdbe4d58967d10026bdc6f3774954021a3739d579ba3c5a08130af1792921c7892e6bc3d00f88ac83ab30e862775e419e0dad40b990b10cbe SHA512 19c5e3bf58b4b0f8a1cca3e60c08348b02ae298620f8c02b8cfb325aecf0313cb2bd1af89507b754ebe4c35af3b031e232d15ddcd42deae0821c9c0d7571aa7c diff --git a/dev-python/python-xmlsec/python-xmlsec-1.3.12.ebuild b/dev-python/python-xmlsec/python-xmlsec-1.3.12.ebuild new file mode 100644 index 00000000000..0d81ac88bf6 --- /dev/null +++ b/dev-python/python-xmlsec/python-xmlsec-1.3.12.ebuild @@ -0,0 +1,43 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="Python bindings for the XML Security Library" +HOMEPAGE="https://github.com/mehcode/python-xmlsec" +SRC_URI="https://github.com/mehcode/python-xmlsec/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" + +RDEPEND="dev-libs/xmlsec:= + dev-python/lxml[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" +BDEPEND="dev-python/pkgconfig[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + )" + +PATCHES=( + "${FILESDIR}/${PN}-1.3.11-fix-xml-testfail.patch" +) + +EPYTEST_DESELECT=( + # Fragile based on black version? + tests/test_type_stubs.py::test_xmlsec_constants_stub +) + +distutils_enable_tests --install pytest + +python_prepare_all() { + sed -e "s:use_scm_version=.*:version='${PV}',:" \ + -e "/setup_requires/ d" \ + -i setup.py || die + + distutils-r1_python_prepare_all +}