From b8f391157673a8a615c96f25d2773bc8ce320a17 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Thu, 29 Aug 2024 16:23:05 +0200 Subject: dev-python/orderly-set: New package, v5.2.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit New NIH dependency for dev-python/deepdiff. Signed-off-by: Michał Górny --- dev-python/orderly-set/Manifest | 1 + dev-python/orderly-set/metadata.xml | 12 +++++++++ dev-python/orderly-set/orderly-set-5.2.2.ebuild | 35 +++++++++++++++++++++++++ 3 files changed, 48 insertions(+) create mode 100644 dev-python/orderly-set/Manifest create mode 100644 dev-python/orderly-set/metadata.xml create mode 100644 dev-python/orderly-set/orderly-set-5.2.2.ebuild (limited to 'dev-python') diff --git a/dev-python/orderly-set/Manifest b/dev-python/orderly-set/Manifest new file mode 100644 index 000000000000..358b3bb944d6 --- /dev/null +++ b/dev-python/orderly-set/Manifest @@ -0,0 +1 @@ +DIST orderly-set-5.2.2.gh.tar.gz 21460 BLAKE2B 5660d7550d5c79351fcc66e611ba776d6340d0fc1f3a5344f308cbc00a7b2c47045a1cfe8c6ac76c7976a65b17953362e91d60d87a7fbb02f36a5d67f074dfe9 SHA512 d480677c04f32e69cc9361dff383765fe2c9df971ad77cdcbab3b650a0bad27b9bd99144cd406d5185440d674bc838acb1c2ba3a4b115fcff2eba34c19589637 diff --git a/dev-python/orderly-set/metadata.xml b/dev-python/orderly-set/metadata.xml new file mode 100644 index 000000000000..7d4c31d1ff3b --- /dev/null +++ b/dev-python/orderly-set/metadata.xml @@ -0,0 +1,12 @@ + + + + + python@gentoo.org + + + + seperman/orderly-set + orderly-set + + diff --git a/dev-python/orderly-set/orderly-set-5.2.2.ebuild b/dev-python/orderly-set/orderly-set-5.2.2.ebuild new file mode 100644 index 000000000000..8b0953ce7def --- /dev/null +++ b/dev-python/orderly-set/orderly-set-5.2.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="A package containing multiple implementations of Ordered Set" +HOMEPAGE=" + https://github.com/seperman/orderly-set/ + https://pypi.org/project/orderly-set/ +" +# incomplete test directory +# https://github.com/seperman/orderly-set/pull/3 +SRC_URI=" + https://github.com/seperman/orderly-set/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # unconditional mypy dep for a test that is not even run + # https://github.com/seperman/orderly-set/pull/5 + sed -i -e '/mypy\.api/d' tests/*.py || die +} -- cgit v1.2.3-65-gdbad