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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B5FE913835A for ; Thu, 4 Mar 2021 22:21:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EF128E0895; Thu, 4 Mar 2021 22:21:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 BA7E3E0896 for ; Thu, 4 Mar 2021 22:21:18 +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 53DFE340E79 for ; Thu, 4 Mar 2021 22:21:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AAE38583 for ; Thu, 4 Mar 2021 22:21:15 +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: <1614896469.f543332f5d0454243d99adad66a7e4e020921c61.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/defusedxml/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/defusedxml/Manifest dev-python/defusedxml/defusedxml-0.7.0.ebuild X-VCS-Directories: dev-python/defusedxml/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: f543332f5d0454243d99adad66a7e4e020921c61 X-VCS-Branch: master Date: Thu, 4 Mar 2021 22:21:15 +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: 13320c6d-f5ae-4b96-895f-875c1c02ffea X-Archives-Hash: e646c7954ea5f1bde5f1f6709a02dc5c commit: f543332f5d0454243d99adad66a7e4e020921c61 Author: Michał Górny gentoo org> AuthorDate: Thu Mar 4 20:34:28 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Mar 4 22:21:09 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f543332f dev-python/defusedxml: Bump to 0.7.0 Signed-off-by: Michał Górny gentoo.org> dev-python/defusedxml/Manifest | 1 + dev-python/defusedxml/defusedxml-0.7.0.ebuild | 34 +++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/dev-python/defusedxml/Manifest b/dev-python/defusedxml/Manifest index c4b6e6e5a00..f7be7b523b7 100644 --- a/dev-python/defusedxml/Manifest +++ b/dev-python/defusedxml/Manifest @@ -1 +1,2 @@ DIST defusedxml-0.7.0.rc1.tar.gz 33950 BLAKE2B d2794d0d06ca7bd1faa0b33f3fa7e02fcfb8b7bb7bfba5e0cf4119f7341a618daf80b08e0a6949cad67c5d3ceb84a5d984d731ae129b9aed383b5b583b114013 SHA512 068a6610fcb791385dc1956d1ff1e8b17b143a0138e6a10a293b8f18153d733e160e924f52c565e2df503101faa9b2c3d4718b2980f0e5652034e250b8a82f55 +DIST defusedxml-0.7.0.tar.gz 34412 BLAKE2B 661003c15c4e22877ccbd5c746f782d662bf8ba16dfb998953d979867eed181df01fda51bbec0813497059a27665ab391db7c4d442f90f1f22faafa6a27fe500 SHA512 7738175dafb4092a61d1a73941aecf5d78840e3674e2ae6bbf45e4e0ab6c71a9c9abce8a5394a148d50d90fd6a20d4e02c65241212af2ba6b655c1935e432603 diff --git a/dev-python/defusedxml/defusedxml-0.7.0.ebuild b/dev-python/defusedxml/defusedxml-0.7.0.ebuild new file mode 100644 index 00000000000..3955f4c7014 --- /dev/null +++ b/dev-python/defusedxml/defusedxml-0.7.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} pypy3 ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 + +DESCRIPTION="XML bomb protection for Python stdlib modules, an xml serialiser" +HOMEPAGE="https://pypi.org/project/defusedxml/" +SRC_URI=" + https://github.com/tiran/defusedxml/archive/v${PV/_/.}.tar.gz + -> ${P/_/.}.tar.gz" +S=${WORKDIR}/${P/_/.} + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="examples" + +distutils_enable_tests setup.py + +src_prepare() { + default + + mv other examples || die +} + +python_install_all() { + use examples && dodoc -r examples/ + distutils-r1_python_install_all +}