From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-879400-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id DF3FB138216
	for <garchives@archives.gentoo.org>; Mon,  2 May 2016 07:36:13 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 373E121C00F;
	Mon,  2 May 2016 07:36:11 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(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 B604021C00F
	for <gentoo-commits@lists.gentoo.org>; Mon,  2 May 2016 07:36:10 +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 53F6E340B27
	for <gentoo-commits@lists.gentoo.org>; Mon,  2 May 2016 07:36:09 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 2608B338
	for <gentoo-commits@lists.gentoo.org>; Mon,  2 May 2016 07:36:07 +0000 (UTC)
From: "Zac Medico" <zmedico@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, "Zac Medico" <zmedico@gentoo.org>
Message-ID: <1462174555.6bd2a4d9ba6b29eefe87203ea6961e42942146fa.zmedico@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyrqlite/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-python/pyrqlite/Manifest dev-python/pyrqlite/metadata.xml dev-python/pyrqlite/pyrqlite-2.0.ebuild dev-python/pyrqlite/pyrqlite-9999.ebuild
X-VCS-Directories: dev-python/pyrqlite/
X-VCS-Committer: zmedico
X-VCS-Committer-Name: Zac Medico
X-VCS-Revision: 6bd2a4d9ba6b29eefe87203ea6961e42942146fa
X-VCS-Branch: master
Date: Mon,  2 May 2016 07:36:07 +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: 400e0c76-0dd1-4353-8737-915753be5979
X-Archives-Hash: 9df83908f04c015b98a7818d28dbda92

commit:     6bd2a4d9ba6b29eefe87203ea6961e42942146fa
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Mon May  2 07:35:10 2016 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon May  2 07:35:55 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bd2a4d9

dev-python/pyrqlite: new package

Package-Manager: portage-2.2.28

 dev-python/pyrqlite/Manifest             |  1 +
 dev-python/pyrqlite/metadata.xml         | 10 ++++++++
 dev-python/pyrqlite/pyrqlite-2.0.ebuild  | 39 ++++++++++++++++++++++++++++++++
 dev-python/pyrqlite/pyrqlite-9999.ebuild | 38 +++++++++++++++++++++++++++++++
 4 files changed, 88 insertions(+)

diff --git a/dev-python/pyrqlite/Manifest b/dev-python/pyrqlite/Manifest
new file mode 100644
index 0000000..a39876d
--- /dev/null
+++ b/dev-python/pyrqlite/Manifest
@@ -0,0 +1 @@
+DIST pyrqlite-2.0.tar.gz 7224 SHA256 7d924a66e05087f5a0d768c8727d271ab0005d7f312036000ffdf11378d5fd32 SHA512 9d284161e492683955000dd3e3f0593b79e69ba5eb087bee4d3ffc1e4be9de1c362212936b10e1781538eacd838e6ed22adfc82e8cc0dd00e1d3318a4dc14720 WHIRLPOOL 1ef58c2abda36758cf4379bbf8064068004a5907af373303877a84181db681e74ec3dd3c8726e21d261e9e0095219393d493353c5bd574cc4a1a24d923e9c7e4

diff --git a/dev-python/pyrqlite/metadata.xml b/dev-python/pyrqlite/metadata.xml
new file mode 100644
index 0000000..7a0a25f
--- /dev/null
+++ b/dev-python/pyrqlite/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>zmedico@gentoo.org</email>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">rqlite/pyrqlite</remote-id>
+  </upstream>
+</pkgmetadata>

diff --git a/dev-python/pyrqlite/pyrqlite-2.0.ebuild b/dev-python/pyrqlite/pyrqlite-2.0.ebuild
new file mode 100644
index 0000000..3f58fe1
--- /dev/null
+++ b/dev-python/pyrqlite/pyrqlite-2.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_{4,5}} )
+
+inherit distutils-r1
+
+if [[ ${PV} == *9999* ]]; then
+	inherit git-r3
+fi
+
+DESCRIPTION="Python client for rqlite"
+EGIT_REPO_URI="https://github.com/rqlite/pyrqlite.git"
+HOMEPAGE="${EGIT_REPO_URI%.git}/"
+SRC_URI="${EGIT_REPO_URI%.git}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+	test? (
+		dev-python/pytest[${PYTHON_USEDEP}]
+		dev-python/pytest-cov[${PYTHON_USEDEP}]
+		dev-python/pylint[${PYTHON_USEDEP}]
+	)"
+
+src_prepare() {
+	sed -e "s:^__version__ = .*:__version__ = '${PV}':" -i src/${PN}/constants.py || die
+	distutils-r1_src_prepare
+}
+
+python_test() {
+	esetup.py test || die "tests failed"
+	esetup.py lint -f text -E || die "pylint failed"
+}

diff --git a/dev-python/pyrqlite/pyrqlite-9999.ebuild b/dev-python/pyrqlite/pyrqlite-9999.ebuild
new file mode 100644
index 0000000..cef3352
--- /dev/null
+++ b/dev-python/pyrqlite/pyrqlite-9999.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_{4,5}} )
+
+inherit distutils-r1
+
+if [[ ${PV} == *9999* ]]; then
+	inherit git-r3
+fi
+
+DESCRIPTION="Python client for rqlite"
+EGIT_REPO_URI="https://github.com/rqlite/pyrqlite.git"
+HOMEPAGE="${EGIT_REPO_URI%.git}/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+	test? (
+		dev-python/pytest[${PYTHON_USEDEP}]
+		dev-python/pytest-cov[${PYTHON_USEDEP}]
+		dev-python/pylint[${PYTHON_USEDEP}]
+	)"
+
+src_prepare() {
+	sed -e "s:^__version__ = .*:__version__ = '${PV}':" -i src/${PN}/constants.py || die
+	distutils-r1_src_prepare
+}
+
+python_test() {
+	esetup.py test || die "tests failed"
+	esetup.py lint -f text -E || die "pylint failed"
+}