diff options
author | Virgil Dupras <vdupras@gentoo.org> | 2019-04-01 13:30:18 -0400 |
---|---|---|
committer | Virgil Dupras <vdupras@gentoo.org> | 2019-04-01 13:50:03 -0400 |
commit | 8200741ceab7d593e6a92e91877a18a714661d03 (patch) | |
tree | d494cc079754aca8bfc3b3e4b1022c1eea6e435a /dev-python/sqlparse/sqlparse-0.3.0.ebuild | |
parent | dev-python/django: bump to 2.1.8 (diff) | |
download | gentoo-8200741ceab7d593e6a92e91877a18a714661d03.tar.gz gentoo-8200741ceab7d593e6a92e91877a18a714661d03.tar.bz2 gentoo-8200741ceab7d593e6a92e91877a18a714661d03.zip |
dev-python/sqlparse: new package
Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'dev-python/sqlparse/sqlparse-0.3.0.ebuild')
-rw-r--r-- | dev-python/sqlparse/sqlparse-0.3.0.ebuild | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-python/sqlparse/sqlparse-0.3.0.ebuild b/dev-python/sqlparse/sqlparse-0.3.0.ebuild new file mode 100644 index 000000000000..17294f018af1 --- /dev/null +++ b/dev-python/sqlparse/sqlparse-0.3.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) +inherit distutils-r1 + +DESCRIPTION="A non-validating SQL parser module for Python" +HOMEPAGE="https://github.com/andialbrecht/sqlparse" +SRC_URI="https://github.com/andialbrecht/sqlparse/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND="${DEPEND}" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest )" + +python_test() { + pytest -vv || die "Tests fail with ${EPYTHON}" +} |