summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-09-15 21:49:07 +0200
committerMichał Górny <mgorny@gentoo.org>2021-09-15 22:25:58 +0200
commit391fd172113e261d4f7f40d97b4f98cb3e608977 (patch)
treeebed2f826a282c0cc408361802bd57899cd3fb64 /dev-python
parentgui-libs/libhandy: bump to 1.4.0 (diff)
downloadgentoo-391fd172113e261d4f7f40d97b4f98cb3e608977.tar.gz
gentoo-391fd172113e261d4f7f40d97b4f98cb3e608977.tar.bz2
gentoo-391fd172113e261d4f7f40d97b4f98cb3e608977.zip
dev-python/agate-sql: Bump to 0.5.8
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/agate-sql/Manifest1
-rw-r--r--dev-python/agate-sql/agate-sql-0.5.8.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/agate-sql/Manifest b/dev-python/agate-sql/Manifest
index 64da99d361e5..550bbfd0fd4b 100644
--- a/dev-python/agate-sql/Manifest
+++ b/dev-python/agate-sql/Manifest
@@ -1 +1,2 @@
DIST agate-sql-0.5.7.tar.gz 14975 BLAKE2B 7890d5c21d89dd216a7a4c906189e1e44111bd96ef3476f0e6dc4c842dc3f25d537ee398f3c8e720d43e64001fa0ea93940d4a54ee31605eea9e8ae9aa4dec37 SHA512 df7e1d5975d9af0722f4bfa67f1e8679ed46759f8aaa5c76614ed5280c8347f727517568ba377c21dd8eb349f93b7a6d308959ae69bfedd125e6d99bd7bd9dcf
+DIST agate-sql-0.5.8.tar.gz 15182 BLAKE2B 4228c5cbb8fd35b9cd97ffb590fa603e290eb2e5ace9676156ff388f653419080691b29caa4a76c16ea585c91d8126bae3dd500e8438b450737ae55309cf77f7 SHA512 1a793a24561061f5100f24834af65dca943c964cf4aed1504336cafed3d52a95b4787f21ba804b0f2265d5670cabfaa40b7f3d02c120486186cf6e03e7a2938e
diff --git a/dev-python/agate-sql/agate-sql-0.5.8.ebuild b/dev-python/agate-sql/agate-sql-0.5.8.ebuild
new file mode 100644
index 000000000000..d72c933f0ab0
--- /dev/null
+++ b/dev-python/agate-sql/agate-sql-0.5.8.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="Adds SQL read/write support to agate."
+HOMEPAGE="https://github.com/wireservice/agate-sql https://pypi.org/project/agate-sql/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+xml"
+
+# Other packages have BDEPEND="test? ( dev-python/agate-sql[xml] )"
+AGATE_VERSION_DEP=">=dev-python/agate-1.5.0"
+TEST_AGAINST_RDEPEND="xml? ( ${AGATE_VERSION_DEP}[xml,${PYTHON_USEDEP}] )"
+RDEPEND="
+ ${AGATE_VERSION_DEP}[${PYTHON_USEDEP}]
+ >=dev-python/sqlalchemy-1.0.8[${PYTHON_USEDEP}]
+
+ ${TEST_AGAINST_RDEPEND}
+"
+BDEPEND="test? ( ${AGATE_VERSION_DEP}[xml,${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # requires crate
+ tests/test_agatesql.py::TestSQL::test_to_sql_create_statement_with_dialects
+)