From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-940347-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 D196E139694
	for <garchives@archives.gentoo.org>; Wed, 22 Mar 2017 16:37:15 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 2FFD921C1F9;
	Wed, 22 Mar 2017 16:37:15 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id F181721C1F9
	for <gentoo-commits@lists.gentoo.org>; Wed, 22 Mar 2017 16:37:14 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 2D4C034112A
	for <gentoo-commits@lists.gentoo.org>; Wed, 22 Mar 2017 16:37:14 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id C6E037136
	for <gentoo-commits@lists.gentoo.org>; Wed, 22 Mar 2017 16:37:12 +0000 (UTC)
From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" <marecki@gentoo.org>
Message-ID: <1490200551.c10f286b7c947e27c9aa10b4ec00b14b3d2326c1.marecki@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/dirq/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-python/dirq/Manifest dev-python/dirq/dirq-1.7.1.ebuild dev-python/dirq/metadata.xml
X-VCS-Directories: dev-python/dirq/
X-VCS-Committer: marecki
X-VCS-Committer-Name: Marek Szuba
X-VCS-Revision: c10f286b7c947e27c9aa10b4ec00b14b3d2326c1
X-VCS-Branch: master
Date: Wed, 22 Mar 2017 16:37:12 +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-Archives-Salt: a97929d3-427d-4b84-aef8-3733dd166aec
X-Archives-Hash: f4760bdeb626eeea15b617858fcdf503

commit:     c10f286b7c947e27c9aa10b4ec00b14b3d2326c1
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 22 16:34:01 2017 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed Mar 22 16:35:51 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c10f286b

dev-python/dirq: new package

A port of Perl module Directory-Queue, developed at CERN. Used by the CERN
Puppet librarian Jens.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-python/dirq/Manifest          |  1 +
 dev-python/dirq/dirq-1.7.1.ebuild | 24 ++++++++++++++++++++++++
 dev-python/dirq/metadata.xml      | 20 ++++++++++++++++++++
 3 files changed, 45 insertions(+)

diff --git a/dev-python/dirq/Manifest b/dev-python/dirq/Manifest
new file mode 100644
index 00000000000..4e1390434b7
--- /dev/null
+++ b/dev-python/dirq/Manifest
@@ -0,0 +1 @@
+DIST dirq-1.7.1.tar.gz 32645 SHA256 258eac86de81fd013f11f309582bdff9f26c76e572214cf291c65c1bc667864c SHA512 8865f395e6ef81131c5e1df9f97cf1768557af06d446a79ece29e23b83c228cbb158099a7e85360423013cd8e5ead8970c5160865f065d16fcc288c2ce9d176f WHIRLPOOL dcd86acf6830f2e843a7691d816115aef7d1c9b9fa0a796bff4559a9d211779ce24ab03ced8ac7b917a35082aa34b1d2de90d480e94ae3db97c4a0e9dea28dd6

diff --git a/dev-python/dirq/dirq-1.7.1.ebuild b/dev-python/dirq/dirq-1.7.1.ebuild
new file mode 100644
index 00000000000..e304075fa72
--- /dev/null
+++ b/dev-python/dirq/dirq-1.7.1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="Python port of Perl module Directory::Queue"
+HOMEPAGE="https://github.com/cern-mig/python-dirq"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="${RDEPEND}"
+
+# Note: as of 2017-03-22, dirq tests are known to fail in Docker containers
+python_test() {
+	esetup.py test
+}

diff --git a/dev-python/dirq/metadata.xml b/dev-python/dirq/metadata.xml
new file mode 100644
index 00000000000..2e025c6c071
--- /dev/null
+++ b/dev-python/dirq/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>marecki@gentoo.org</email>
+		<name>Marek Szuba</name>
+	</maintainer>
+	<longdescription lang="en">
+		The goal of this module is to offer a queue system using the underlying
+		filesystem for storage, security and to prevent race conditions via
+		atomic operations. It focuses on simplicity, robustness and scalability.
+
+		This module allows multiple concurrent readers and writers to interact
+		with the same queue.
+	</longdescription>
+	<upstream>
+		<remote-id type="github">cern-mig/python-dirq</remote-id>
+		<remote-id type="pypi">dirq</remote-id>
+	</upstream>
+</pkgmetadata>