summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2016-05-02 02:26:54 -0700
committerZac Medico <zmedico@gentoo.org>2016-05-02 02:31:35 -0700
commit8abfc83beeba0c7f238216357e2ae676477be9a6 (patch)
treeaff16214a4df4dff3641e53480f41e43844cb5fa /dev-python/sqlalchemy-rqlite
parentmail-client/mutt: version bump to 1.6.1 (diff)
downloadgentoo-8abfc83beeba0c7f238216357e2ae676477be9a6.tar.gz
gentoo-8abfc83beeba0c7f238216357e2ae676477be9a6.tar.bz2
gentoo-8abfc83beeba0c7f238216357e2ae676477be9a6.zip
dev-python/sqlalchemy-rqlite: new package
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-python/sqlalchemy-rqlite')
-rw-r--r--dev-python/sqlalchemy-rqlite/Manifest1
-rw-r--r--dev-python/sqlalchemy-rqlite/metadata.xml10
-rw-r--r--dev-python/sqlalchemy-rqlite/sqlalchemy-rqlite-1.0.ebuild41
-rw-r--r--dev-python/sqlalchemy-rqlite/sqlalchemy-rqlite-9999.ebuild40
4 files changed, 92 insertions, 0 deletions
diff --git a/dev-python/sqlalchemy-rqlite/Manifest b/dev-python/sqlalchemy-rqlite/Manifest
new file mode 100644
index 000000000000..40c2c1b3ca99
--- /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 000000000000..06a5da5b3579
--- /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 000000000000..8d9e1c245b7a
--- /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 000000000000..c7e243cce471
--- /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"
+}