public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sqlalchemy-rqlite/
Date: Mon,  2 May 2016 09:31:56 +0000 (UTC)	[thread overview]
Message-ID: <1462181495.8abfc83beeba0c7f238216357e2ae676477be9a6.zmedico@gentoo> (raw)

commit:     8abfc83beeba0c7f238216357e2ae676477be9a6
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Mon May  2 09:26:54 2016 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<upstream>
+		<remote-id type="github">rqlite/sqlalchemy-rqlite</remote-id>
+	</upstream>
+	<maintainer>
+		<email>zmedico@gentoo.org</email>
+	</maintainer>
+</pkgmetadata>

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"
+}


             reply	other threads:[~2016-05-02  9:32 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-02  9:31 Zac Medico [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-05-02 10:02 [gentoo-commits] repo/gentoo:master commit in: dev-python/sqlalchemy-rqlite/ Zac Medico
2018-04-13  9:53 Zac Medico
2018-06-26 18:09 Pacho Ramos
2020-04-26 12:51 Michał Górny
2020-10-15  1:44 Zac Medico
2020-10-15  1:44 Zac Medico
2021-02-28 15:34 Zac Medico
2021-02-28 20:19 Zac Medico
2021-02-28 20:19 Zac Medico
2021-12-21 17:37 Zac Medico
2022-05-16 13:30 Michał Górny
2023-02-18  7:56 Sam James
2023-03-16 16:35 Michał Górny
2023-05-12  6:22 Zac Medico
2023-07-24 11:34 Michał Górny
2023-11-05 15:21 Michał Górny
2023-11-05 15:21 Michał Górny
2024-06-07  5:01 Zac Medico

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1462181495.8abfc83beeba0c7f238216357e2ae676477be9a6.zmedico@gentoo \
    --to=zmedico@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox