From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1312625-garchives=archives.gentoo.org@lists.gentoo.org>
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 439D5139360
	for <garchives@archives.gentoo.org>; Sat, 14 Aug 2021 02:00:11 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 8EB33E09EF;
	Sat, 14 Aug 2021 02:00:08 +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 45203E09EC
	for <gentoo-commits@lists.gentoo.org>; Sat, 14 Aug 2021 02:00:08 +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 56807340E2A
	for <gentoo-commits@lists.gentoo.org>; Sat, 14 Aug 2021 02:00:07 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 206EE8B9
	for <gentoo-commits@lists.gentoo.org>; Sat, 14 Aug 2021 02:00:03 +0000 (UTC)
From: "Anna Vyalkova" <cyber+gentoo@sysrq.in>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" <cyber+gentoo@sysrq.in>
Message-ID: <1628906374.95d6e3c1bd77dd6b02603588320690c64506ef91.cybertailor@gentoo>
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/sortedcollections/
X-VCS-Repository: repo/proj/guru
X-VCS-Files: dev-python/sortedcollections/Manifest dev-python/sortedcollections/metadata.xml dev-python/sortedcollections/sortedcollections-2.1.0.ebuild
X-VCS-Directories: dev-python/sortedcollections/
X-VCS-Committer: cybertailor
X-VCS-Committer-Name: Anna Vyalkova
X-VCS-Revision: 95d6e3c1bd77dd6b02603588320690c64506ef91
X-VCS-Branch: dev
Date: Sat, 14 Aug 2021 02:00:03 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 090b1190-aa93-4ea0-a124-f6864f8cc7f9
X-Archives-Hash: cfe72a7470fe3afa087f6fd1cd29b173

commit:     95d6e3c1bd77dd6b02603588320690c64506ef91
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat Aug 14 00:33:18 2021 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sat Aug 14 01:59:34 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=95d6e3c1

dev-python/sortedcollections: initial import

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/sortedcollections/Manifest              |  1 +
 dev-python/sortedcollections/metadata.xml          | 13 ++++++++
 .../sortedcollections-2.1.0.ebuild                 | 36 ++++++++++++++++++++++
 3 files changed, 50 insertions(+)

diff --git a/dev-python/sortedcollections/Manifest b/dev-python/sortedcollections/Manifest
new file mode 100644
index 000000000..ca3ac0622
--- /dev/null
+++ b/dev-python/sortedcollections/Manifest
@@ -0,0 +1 @@
+DIST sortedcollections-2.1.0.tar.gz 48563 BLAKE2B 5de36155858dc055c9412ff410bd70b489aba292a2956216db95641e10dcb249b98e5c005c4d7c4fd00b25c3315c65b3f43f404737591632ac223a4045b775b5 SHA512 7cb95af1791ab8f8c99847c1b9e0b8c1e7cc7dfe8a9df5db8bb3c96ceb2f15d7351ab4ff081d037d34dbb6c3108f4b575ca22c9e9e911a727d31b9ba3bf975f6

diff --git a/dev-python/sortedcollections/metadata.xml b/dev-python/sortedcollections/metadata.xml
new file mode 100644
index 000000000..ad76e650c
--- /dev/null
+++ b/dev-python/sortedcollections/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<upstream>
+		<doc>http://www.grantjenks.com/docs/sortedcollections/</doc>
+		<remote-id type="github">https://github.com/grantjenks/python-sortedcollections</remote-id>
+		<remote-id type="pypi">sortedcollections</remote-id>
+	</upstream>
+	<maintainer type="person">
+		<email>cyber+gentoo@sysrq.in</email>
+		<name>Anna</name>
+	</maintainer>
+</pkgmetadata>

diff --git a/dev-python/sortedcollections/sortedcollections-2.1.0.ebuild b/dev-python/sortedcollections/sortedcollections-2.1.0.ebuild
new file mode 100644
index 000000000..749cade41
--- /dev/null
+++ b/dev-python/sortedcollections/sortedcollections-2.1.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="Apache2 licensed Python sorted collections library"
+HOMEPAGE="
+	https://pypi.org/project/sortedcollections
+	https://github.com/grantjenks/python-sortedcollections
+"
+SRC_URI="https://github.com/grantjenks/python-${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/python-${PN}-${PV}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+RDEPEND="dev-python/sortedcontainers[${PYTHON_USEDEP}]"
+BDEPEND="doc? ( ${RDEPEND} )"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs
+
+src_prepare() {
+	# breaks pytest
+	rm tox.ini || die
+
+	distutils-r1_src_prepare
+}
+
+python_test() {
+	epytest --doctest-glob="*.rst"
+}