commit: e97aa55358563ba4ed561fae1448988ca6c21738 Author: Gabriel Linder <linder.gabriel <AT> gmail <DOT> com> AuthorDate: Sat Oct 5 11:24:17 2019 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Sat Nov 30 07:48:54 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e97aa553
dev-python/pgspecial: bump to version 1.11.7. Closes: https://bugs.gentoo.org/696642 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Gabriel Linder <linder.gabriel <AT> gmail.com> Closes: https://github.com/gentoo/gentoo/pull/13154 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> dev-python/pgspecial/Manifest | 1 + dev-python/pgspecial/pgspecial-1.11.7.ebuild | 33 ++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/dev-python/pgspecial/Manifest b/dev-python/pgspecial/Manifest index db2a65c0260..3e29f80f793 100644 --- a/dev-python/pgspecial/Manifest +++ b/dev-python/pgspecial/Manifest @@ -1 +1,2 @@ DIST pgspecial-1.11.5.tar.gz 43649 BLAKE2B f9b8956cfcd81bba946e0323d584668c82e6fc18a0aa08012c3236636d0ad801f10f786b71707daadafc1274d5733adecf9233871b13bded8fe8e8f41fad0fc9 SHA512 984a09a10a705d91d9b97142eb2502b44b2a79d95cc1ed8596dd2f7f31515028f4c34cc54383d762a73fdefd6e59418f677b020181740b82cebb5d8e77bbc234 +DIST pgspecial-1.11.7.tar.gz 44874 BLAKE2B 2d3afd7983a31347a4b0f59fd095684c2fb83e85def027f633734a672c3df1ed21584e2620932efacbdc27a579ea35e810e727456191e02811c81e906373ac5b SHA512 dbcfe996cb67af292c90bec431d918c3e78aa4fb90fcbfc9d5ef36ed0c5c7de58505704df277b586990efcc7110e1395af1476003aafaf359257f0665e4d9a19 diff --git a/dev-python/pgspecial/pgspecial-1.11.7.ebuild b/dev-python/pgspecial/pgspecial-1.11.7.ebuild new file mode 100644 index 00000000000..06f5ead2917 --- /dev/null +++ b/dev-python/pgspecial/pgspecial-1.11.7.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} ) +inherit distutils-r1 + +DESCRIPTION="Python implementation of postgres meta commands" +HOMEPAGE="https://github.com/dbcli/pgspecial" +SRC_URI="https://github.com/dbcli/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/click-4.1[${PYTHON_USEDEP}] + >=dev-python/psycopg-2.7.4[${PYTHON_USEDEP}] + >=dev-python/python-sqlparse-0.1.19[${PYTHON_USEDEP}] +" +DEPEND=" + test? ( + ${RDEPEND} + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_test() { + # tests/test_special.py require local postgres instance + pytest -vv tests/test_internal.py || die +}