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 2BDBB158451 for ; Sun, 7 Jan 2024 16:46:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 00652E29C9; Sun, 7 Jan 2024 16:46:14 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 D20D0E29C9 for ; Sun, 7 Jan 2024 16:46:13 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 13C6B3432DD for ; Sun, 7 Jan 2024 16:46:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 38DB111C5 for ; Sun, 7 Jan 2024 16:46:11 +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: <1704645757.f5f45281fddb0f14f96f27ca49e9e90fad31c01f.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-3.0.0.ebuild X-VCS-Directories: dev-python/xmlschema/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: f5f45281fddb0f14f96f27ca49e9e90fad31c01f X-VCS-Branch: master Date: Sun, 7 Jan 2024 16:46:11 +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: c57f3ef4-b527-4a1b-9d62-1b25b16324c0 X-Archives-Hash: 2ea0d1fa7ea7a5e3e0718a3d37c4035e commit: f5f45281fddb0f14f96f27ca49e9e90fad31c01f Author: Michał Górny gentoo org> AuthorDate: Sun Jan 7 16:42:37 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Jan 7 16:42:37 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5f45281 dev-python/xmlschema: Bump to 3.0.0 Signed-off-by: Michał Górny gentoo.org> dev-python/xmlschema/Manifest | 1 + dev-python/xmlschema/xmlschema-3.0.0.ebuild | 37 +++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/dev-python/xmlschema/Manifest b/dev-python/xmlschema/Manifest index 24d3afbd0632..0a7e837c19fc 100644 --- a/dev-python/xmlschema/Manifest +++ b/dev-python/xmlschema/Manifest @@ -1 +1,2 @@ DIST xmlschema-2.5.1.tar.gz 539267 BLAKE2B 6eae451f1331fd506e8f70b8d00505f6773b6aa82599bad5a94662704d045411a60e86e96f946b20d8c9d6c79b1bd61bfcac65f00ac0273eab89d27f75bdb73a SHA512 b968323581140a768d44cbd7fec08638f556204a4c75dc608b1f78868a68dc3fe3103a2c03dfa79601301043807478bc08ded63923ec26c4425ebdf48fdf0c7e +DIST xmlschema-3.0.0.tar.gz 560036 BLAKE2B 94555a6f1bbc95f6597392dad039ef7997d44139017457f76c6b6d302b92a1f563cd3d0c248a430af85350241204c9297f3db16151771ebdd273b9df07858c92 SHA512 c1b22d78e8773fe3c1b22b785e86e7890d9ef9d1dce3e59faacef40dd21e68b0099fc89ff6029f63e1ce1d272e37ce944e14758cb4033c8b446c19adc03a05ba diff --git a/dev-python/xmlschema/xmlschema-3.0.0.ebuild b/dev-python/xmlschema/xmlschema-3.0.0.ebuild new file mode 100644 index 000000000000..0ec0cd9bd33b --- /dev/null +++ b/dev-python/xmlschema/xmlschema-3.0.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="An XML Schema validator and decoder" +HOMEPAGE=" + https://github.com/sissaschool/xmlschema/ + https://pypi.org/project/xmlschema/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + =dev-python/elementpath-4.1.5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + ) +" + +python_test() { + "${EPYTHON}" tests/test_all.py -v || die "Tests fail with ${EPYTHON}" +}