From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-935015-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 92DB3139697
	for <garchives@archives.gentoo.org>; Mon, 27 Feb 2017 02:51:35 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id C404CE0CA5;
	Mon, 27 Feb 2017 02:51:33 +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 8CC95E0CA2
	for <gentoo-commits@lists.gentoo.org>; Mon, 27 Feb 2017 02:51:33 +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 F3FD8340BEA
	for <gentoo-commits@lists.gentoo.org>; Mon, 27 Feb 2017 02:51:31 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 056B855E8
	for <gentoo-commits@lists.gentoo.org>; Mon, 27 Feb 2017 02:51:30 +0000 (UTC)
From: "Matt Thode" <prometheanfire@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, "Matt Thode" <prometheanfire@gentoo.org>
Message-ID: <1488162586.f775207fedfa05a449a98e35b3762a2a7ae1644a.prometheanfire@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-sqlparse/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-python/python-sqlparse/Manifest dev-python/python-sqlparse/python-sqlparse-0.2.2.ebuild
X-VCS-Directories: dev-python/python-sqlparse/
X-VCS-Committer: prometheanfire
X-VCS-Committer-Name: Matt Thode
X-VCS-Revision: f775207fedfa05a449a98e35b3762a2a7ae1644a
X-VCS-Branch: master
Date: Mon, 27 Feb 2017 02:51:30 +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: 7b09afee-df18-4b4d-8b52-6ca28f8a42c2
X-Archives-Hash: 81d3ecb2f9b076f74175a7bcc8408b48

commit:     f775207fedfa05a449a98e35b3762a2a7ae1644a
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 27 02:29:46 2017 +0000
Commit:     Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Mon Feb 27 02:29:46 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f775207f

dev-python/python-sqlparse: bup

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-python/python-sqlparse/Manifest                |  1 +
 .../python-sqlparse/python-sqlparse-0.2.2.ebuild   | 56 ++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/dev-python/python-sqlparse/Manifest b/dev-python/python-sqlparse/Manifest
index c3ee2c4ee3..7e73f24b0f 100644
--- a/dev-python/python-sqlparse/Manifest
+++ b/dev-python/python-sqlparse/Manifest
@@ -6,3 +6,4 @@ DIST sqlparse-0.1.16.tar.gz 58418 SHA256 678c6c36ca4b01405177da8b84eecf92ec92c9f
 DIST sqlparse-0.1.18.tar.gz 58594 SHA256 39b196c4a06f76d6ac82f029457ca961f662a8bbbb2694eb1dfe4f2b68a2d7cf SHA512 78d20af3945140ff82d9ac9411eed57e0515a755ecafa407fbd7cdcca27b06a72b4e67f1fa22ccadcaa59827814f0ef58db68f236ca142b5663236d31c80820e WHIRLPOOL 129176182f532886cfeebce6a9512bfba6068e4728372761d97ac7214202577df1b1464f188be302827f2b7264c9596027475282bc81f9d8cee4506405627890
 DIST sqlparse-0.1.19.tar.gz 58132 SHA256 d896be1a1c7f24bffe08d7a64e6f0176b260e281c5f3685afe7826f8bada4ee8 SHA512 805e737c004eec721bc1fbdea0b89516de7172cb4431736817a2b5b44e2a1f0e5e23a09b07bcd9455679db9bf586f0baf9e3f0c50c389c4b80f116b662d407ed WHIRLPOOL 13befd5bdcc06ee7a543a0d31cf4f1764a6fc07f93214dc13508df0779fa98672c623fb73bf3cc3d3741311daab1596cb3e2202cbf9fe0440fc94b7f6f483b5e
 DIST sqlparse-0.2.1.tar.gz 53463 SHA256 1c98a2bdffe67f1bb817b72a7ba4d38be592e0f07c5acea4adebcec12c4377d1 SHA512 8f70677c73cb3bb2ac11d6b90fd86f6f874b3ba4b402bb776f716d75103c3768c385dbe403290c167f76874e92c36ac4deb1ca3c5d5f6fbc69bed0935505d5ef WHIRLPOOL 65c5ee607e98deda807443b2aa92a05d9fe9087e0fd0f353b77b36bbc1064e5aa25639b4351ed104254821b012d0b5718d5df777a277be4f0d16dd35109e2b69
+DIST sqlparse-0.2.2.tar.gz 57965 SHA256 d446296b2c26f9466860dd85fa32480bec523ab96bda8879262c38e8e8fbba21 SHA512 8d812067364897e96c6ece28bae51983d5560db2be2ed23c6f16e718a9fea220fd9941970208bfbd64becae78f1a1e1c2603c4f3246319ec120ada71515ef5a1 WHIRLPOOL b2f9575748e2ae5599844648bf39da205de9662462cb201b5e1d9187250bef6a6117a2f519281dfc471b72383478df04123d3bea2b09bdf274bc329dac783f42

diff --git a/dev-python/python-sqlparse/python-sqlparse-0.2.2.ebuild b/dev-python/python-sqlparse/python-sqlparse-0.2.2.ebuild
new file mode 100644
index 0000000000..f2275fc709
--- /dev/null
+++ b/dev-python/python-sqlparse/python-sqlparse-0.2.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5} pypy )
+
+inherit distutils-r1
+
+MY_PN="${PN##python-}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A non-validating SQL parser module for Python"
+HOMEPAGE="https://code.google.com/p/python-sqlparse/ https://github.com/andialbrecht/sqlparse"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+LICENSE="BSD-2"
+IUSE="doc test"
+
+REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )"
+
+DEPEND="
+	dev-python/setuptools[${PYTHON_USEDEP}]
+	doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+	test? (
+		dev-python/pytest[${PYTHON_USEDEP}]
+		dev-python/pytest-cov[${PYTHON_USEDEP}]
+		)"
+# Required for running tests
+DISTUTILS_IN_SOURCE_BUILD=1
+
+S="${WORKDIR}"/${P#python-}
+
+pkg_setup() {
+	use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' )
+}
+
+python_compile_all() {
+	use doc && emake -C docs html
+}
+
+python_test() {
+	if python_is_python3; then
+		2to3 -w --no-diffs -n tests/ sqlparse/
+		py.test ./tests || die "testsuite failed ${EPYTHON}"
+	else
+		py.test tests || die "testsuite failed under ${EPYTHON}"
+	fi
+}
+
+python_install_all() {
+	use doc && local HTML_DOCS=( docs/build/html/. )
+	distutils-r1_python_install_all
+}