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 6C2FA1382C5 for ; Tue, 16 Jun 2020 08:19:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9432DE0AD1; Tue, 16 Jun 2020 08:19:01 +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 5A3D4E0AD1 for ; Tue, 16 Jun 2020 08:19:01 +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 1E49934F291 for ; Tue, 16 Jun 2020 08:19:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 023432A4 for ; Tue, 16 Jun 2020 08:18:58 +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: <1592295529.9b5ac4d70a587caa7b468abcc8297f896dbfe266.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/xmlschema/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/xmlschema/Manifest dev-python/xmlschema/xmlschema-1.2.2.ebuild X-VCS-Directories: dev-python/xmlschema/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9b5ac4d70a587caa7b468abcc8297f896dbfe266 X-VCS-Branch: master Date: Tue, 16 Jun 2020 08:18: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: 8298ab78-e54a-43a4-817b-f3d2d649e207 X-Archives-Hash: 56665933614f8d8299125b5d30301ce4 commit: 9b5ac4d70a587caa7b468abcc8297f896dbfe266 Author: Michał Górny gentoo org> AuthorDate: Tue Jun 16 06:53:28 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Jun 16 08:18:49 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b5ac4d7 dev-python/xmlschema: Bump to 1.2.2 Signed-off-by: Michał Górny gentoo.org> dev-python/xmlschema/Manifest | 1 + dev-python/xmlschema/xmlschema-1.2.2.ebuild | 37 +++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/dev-python/xmlschema/Manifest b/dev-python/xmlschema/Manifest index ad28e3b8333..5c0c673c923 100644 --- a/dev-python/xmlschema/Manifest +++ b/dev-python/xmlschema/Manifest @@ -1,3 +1,4 @@ DIST xmlschema-1.1.3.tar.gz 298490 BLAKE2B 70c24424fd6a5e87e07591451db920d22c1bf2c63c1908e008401eafe210b759894ba508011ee58e2c242ca5b3d424c86cdf7a65312e9df1cda426802af8e861 SHA512 df277cd75058e10b8e0505db51fc167c688fe4c3d319de289ac77faa37913f60d2697f4456e00d637c4a3c3f83d164619e0ce1b849e8c8ea3b5e1932b56044dc DIST xmlschema-1.2.0.tar.gz 314580 BLAKE2B d42b221d2730d2b5cdab655269f7b885c72bce1794f12111b4110a80a1288e1996633ef5f00e9fc3ef7cd66a4267baffbdb6a906d0a0c3caf418d31abda93016 SHA512 1a6644b02e96beeea68bd737a4a66fd02693b4cb3c36a07e569a2b2c3e2b0db4fe01a475fcc3c4e5372c6000b27ef824ba5859215a03212fe4c0f2ec61f7103b DIST xmlschema-1.2.1.tar.gz 318674 BLAKE2B 686b94846b9cc8bc3dabfea9c9171a186561a0ad568a2806f5575a0c5808d3542f4e2cb7c01096036f5a54fb839cbdd95077fee9febad4cd7a82ead445228e62 SHA512 6d27ea5aea227e35f25a34a651b27084844bca015ae60d096fe1879150efb681141c368cd38cf376a2f0ea28b265cb844f1de82d2d7f704e3c2db67683f2af9b +DIST xmlschema-1.2.2.tar.gz 318829 BLAKE2B 5ebb8749d56491e65a2c09b56e965ea6b3e9be3d453a01671fa0da065389ca4bf44993693517bed4ef9df22cb94b9398660a7a838405c1757ee1c6f40aedacd3 SHA512 51be4317530cd1055438a4bf8e484b70d8a9414da5507fd30ed506271317859e5255fc729ed9fa5df2230e2af049ff40e693c67a5062e61fda43a1329ef2138d diff --git a/dev-python/xmlschema/xmlschema-1.2.2.ebuild b/dev-python/xmlschema/xmlschema-1.2.2.ebuild new file mode 100644 index 00000000000..e6e1d1a243d --- /dev/null +++ b/dev-python/xmlschema/xmlschema-1.2.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="An XML Schema validator and decoder" +HOMEPAGE="https://github.com/sissaschool/xmlschema https://pypi.org/project/xmlschema/" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + =dev-python/elementpath-1.4*[${PYTHON_USEDEP}]" +BDEPEND="${RDEPEND} + test? ( + dev-python/lxml[${PYTHON_USEDEP}] + )" + +src_prepare() { + # https://github.com/sissaschool/xmlschema/issues/197 + sed -i -e 's:test_schema_resource_access:_&:' \ + tests/test_resources.py || die + distutils-r1_src_prepare +} + +python_test() { + "${EPYTHON}" tests/test_all.py -v || + die "Tests fail with ${EPYTHON}" +}