From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C1BAD138216 for ; Mon, 2 May 2016 09:32:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 32FD021C006; Mon, 2 May 2016 09:32:03 +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 6B92E21C006 for ; Mon, 2 May 2016 09:32:02 +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 41712340B6E for ; Mon, 2 May 2016 09:32:01 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 51928329 for ; Mon, 2 May 2016 09:31:56 +0000 (UTC) From: "Zac Medico" 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" Message-ID: <1462181495.8abfc83beeba0c7f238216357e2ae676477be9a6.zmedico@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sqlalchemy-rqlite/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/sqlalchemy-rqlite/Manifest dev-python/sqlalchemy-rqlite/metadata.xml dev-python/sqlalchemy-rqlite/sqlalchemy-rqlite-1.0.ebuild dev-python/sqlalchemy-rqlite/sqlalchemy-rqlite-9999.ebuild X-VCS-Directories: dev-python/sqlalchemy-rqlite/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 8abfc83beeba0c7f238216357e2ae676477be9a6 X-VCS-Branch: master Date: Mon, 2 May 2016 09:31:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f23336c5-015a-4aab-832a-dba063c36ec9 X-Archives-Hash: aacea4aa696805627c4f46dbc00da634 commit: 8abfc83beeba0c7f238216357e2ae676477be9a6 Author: Zac Medico gentoo org> AuthorDate: Mon May 2 09:26:54 2016 +0000 Commit: Zac Medico gentoo org> CommitDate: Mon May 2 09:31:35 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8abfc83b dev-python/sqlalchemy-rqlite: new package Package-Manager: portage-2.2.28 dev-python/sqlalchemy-rqlite/Manifest | 1 + dev-python/sqlalchemy-rqlite/metadata.xml | 10 ++++++ .../sqlalchemy-rqlite/sqlalchemy-rqlite-1.0.ebuild | 41 ++++++++++++++++++++++ .../sqlalchemy-rqlite-9999.ebuild | 40 +++++++++++++++++++++ 4 files changed, 92 insertions(+) diff --git a/dev-python/sqlalchemy-rqlite/Manifest b/dev-python/sqlalchemy-rqlite/Manifest new file mode 100644 index 0000000..40c2c1b --- /dev/null +++ b/dev-python/sqlalchemy-rqlite/Manifest @@ -0,0 +1 @@ +DIST sqlalchemy-rqlite-1.0.tar.gz 3910 SHA256 69505027aa6c3e8c7d8ac95bc33635c92641970b46b1399e53d5ca65462d40ef SHA512 794d0a1d80803f624af4b530efe277947d3a8fa7001df2177de6bdb34ffc9fc76e22c8b73caad7cda02429ddc251fdcbdd8e95ea286a6540054efb28ee53d2bb WHIRLPOOL de38d8d234d55c0ea3cd86568e1cd6961b97a2ae6f77e74615781267070a692faf55b1bd98dc80bb9b05e2ca62be49efb91f1c4d28f9d680c5e268464a50b396 diff --git a/dev-python/sqlalchemy-rqlite/metadata.xml b/dev-python/sqlalchemy-rqlite/metadata.xml new file mode 100644 index 0000000..06a5da5 --- /dev/null +++ b/dev-python/sqlalchemy-rqlite/metadata.xml @@ -0,0 +1,10 @@ + + + + + rqlite/sqlalchemy-rqlite + + + zmedico@gentoo.org + + diff --git a/dev-python/sqlalchemy-rqlite/sqlalchemy-rqlite-1.0.ebuild b/dev-python/sqlalchemy-rqlite/sqlalchemy-rqlite-1.0.ebuild new file mode 100644 index 0000000..8d9e1c2 --- /dev/null +++ b/dev-python/sqlalchemy-rqlite/sqlalchemy-rqlite-1.0.ebuild @@ -0,0 +1,41 @@ +# 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="A SQLAlchemy dialect for rqlite" +EGIT_REPO_URI="https://github.com/rqlite/sqlalchemy-rqlite.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}] + dev-python/pyrqlite[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${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/sqlalchemy_rqlite/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/sqlalchemy-rqlite/sqlalchemy-rqlite-9999.ebuild b/dev-python/sqlalchemy-rqlite/sqlalchemy-rqlite-9999.ebuild new file mode 100644 index 0000000..c7e243c --- /dev/null +++ b/dev-python/sqlalchemy-rqlite/sqlalchemy-rqlite-9999.ebuild @@ -0,0 +1,40 @@ +# 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="A SQLAlchemy dialect for rqlite" +EGIT_REPO_URI="https://github.com/rqlite/sqlalchemy-rqlite.git" +HOMEPAGE="${EGIT_REPO_URI%.git}/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" +IUSE="test" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/pyrqlite[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${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/sqlalchemy_rqlite/constants.py || die + distutils-r1_src_prepare +} + +python_test() { + esetup.py test || die "tests failed" + esetup.py lint -f text -E || die "pylint failed" +}