aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Staroszczyk <piotr.staroszczyk@get24.org>2020-03-18 11:51:36 +0100
committerPiotr Staroszczyk <piotr.staroszczyk@get24.org>2020-03-18 11:51:36 +0100
commit495be87a14e8533f2d77c253cafb0e2b68a23a39 (patch)
treed4e85a15e35dfa506bd4945754d3bec3debf3731 /dev-python/aiopg
parentdev-python/exam: remove package, it's in ::gentoo (diff)
downloadguru-495be87a14e8533f2d77c253cafb0e2b68a23a39.tar.gz
guru-495be87a14e8533f2d77c253cafb0e2b68a23a39.tar.bz2
guru-495be87a14e8533f2d77c253cafb0e2b68a23a39.zip
dev-python/databases: new package with deps dev-python/aiomysql dev-python/aiopg dev-python/aiosqlite dev-python/asyncpg
Signed-off-by: Piotr Staroszczyk <piotr.staroszczyk@get24.org>
Diffstat (limited to 'dev-python/aiopg')
-rw-r--r--dev-python/aiopg/Manifest1
-rw-r--r--dev-python/aiopg/aiopg-1.0.0.ebuild37
-rw-r--r--dev-python/aiopg/metadata.xml9
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/aiopg/Manifest b/dev-python/aiopg/Manifest
new file mode 100644
index 000000000..641b3e01c
--- /dev/null
+++ b/dev-python/aiopg/Manifest
@@ -0,0 +1 @@
+DIST aiopg-1.0.0.tar.gz 31894 BLAKE2B d50f817cbf74e49ac48137744c90b58762ded28ba71bb35f7bdb14a80838159c4e78814e050ce23c9aa5c47a98c4ea254a40714e06cb2e6ace9aeefca3f0ae4e SHA512 59d360dbe270a39985aabcc926177f7c70a9a408998959f0d2a18c86f7b36f8aae01d42d8e99e2c11305dbc0d44b45e377c84c2e2e49b68a6b94995b1a3b3b98
diff --git a/dev-python/aiopg/aiopg-1.0.0.ebuild b/dev-python/aiopg/aiopg-1.0.0.ebuild
new file mode 100644
index 000000000..2e2c015c8
--- /dev/null
+++ b/dev-python/aiopg/aiopg-1.0.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+
+inherit distutils-r1
+
+DESCRIPTION="aiopg is a library for accessing a PostgreSQL database from the asyncio"
+HOMEPAGE="
+ https://aiopg.readthedocs.io
+ https://github.com/aio-libs/aiopg
+"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-python/psycopg[${PYTHON_USEDEP}]"
+
+DEPEND="test? ( dev-python/coverage[${PYTHON_USEDEP}]
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ dev-python/tox[${PYTHON_USEDEP}]
+ dev-python/isort[${PYTHON_USEDEP}]
+ dev-python/pytest-cov[${PYTHON_USEDEP}]
+ dev-python/pytest-timeout[${PYTHON_USEDEP}]
+ dev-python/sqlalchemy[${PYTHON_USEDEP}]
+ dev-python/flake8[${PYTHON_USEDEP}]
+ dev-python/sphinxcontrib-asyncio[${PYTHON_USEDEP}] )"
+
+pkg_postinst() {
+ optfeature "sqlalchemy support" dev-python/sqlalchemy
+}
+
+distutils_enable_tests pytest
diff --git a/dev-python/aiopg/metadata.xml b/dev-python/aiopg/metadata.xml
new file mode 100644
index 000000000..a507be0a7
--- /dev/null
+++ b/dev-python/aiopg/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <maintainer type="person">
+ <email>piotr.staroszczyk@get24.org</email>
+ <name>Piotr Staroszczyk</name>
+ </maintainer>
+</pkgmetadata>