diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-03-08 09:21:42 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-03-08 09:25:09 +0100 |
commit | 02f6c40b44bac39232f728e7bc3b7b67f3cba6a6 (patch) | |
tree | 4f60b8c0d5a1f9164b1a591abf480e73b1ccc9fe /dev-python/sqlparse | |
parent | dev-python/python-sqlparse: Remove redundant versions (diff) | |
download | gentoo-02f6c40b44bac39232f728e7bc3b7b67f3cba6a6.tar.gz gentoo-02f6c40b44bac39232f728e7bc3b7b67f3cba6a6.tar.bz2 gentoo-02f6c40b44bac39232f728e7bc3b7b67f3cba6a6.zip |
Move dev-python/{python-sqlparse → sqlparse}
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/sqlparse')
-rw-r--r-- | dev-python/sqlparse/Manifest | 2 | ||||
-rw-r--r-- | dev-python/sqlparse/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/sqlparse/sqlparse-0.3.0.ebuild | 40 | ||||
-rw-r--r-- | dev-python/sqlparse/sqlparse-0.3.1.ebuild | 23 |
4 files changed, 77 insertions, 0 deletions
diff --git a/dev-python/sqlparse/Manifest b/dev-python/sqlparse/Manifest new file mode 100644 index 000000000000..d76094aa5465 --- /dev/null +++ b/dev-python/sqlparse/Manifest @@ -0,0 +1,2 @@ +DIST sqlparse-0.3.0.tar.gz 64072 BLAKE2B fbee74c7222fa50c5d627959d5c8652dcd85ab5b5b771e3c8375cadc6e009c2fb1adc3c2428e27d769c210e7976c350bfab367cb7aa44dd7b4183ad9722a4ca6 SHA512 596d25f5fa2c797fe5652e36e9633397e7867586ff0959f52d1ff861c16d0e7c73644daf03d74169dd20255e802b7369d4dace0a44a3d94c15bd67faa41df551 +DIST sqlparse-0.3.1.tar.gz 67572 BLAKE2B 27c9267de1a269a4574019d457a3dad53ad805e56a57ba73e294c229a7852b7ca04557fb45d07566e94eba7593257ad7eb413b1e0ec04d1044838d5039dc8ba8 SHA512 4c56a528b43578a7a48fc31cee369215b15761d9903ea1d8e034c69f0eb6431dd15362aab13af25a36fccb361436f1cba746bcbb515cbab5d30319629dd2ddfb diff --git a/dev-python/sqlparse/metadata.xml b/dev-python/sqlparse/metadata.xml new file mode 100644 index 000000000000..13cb8d15beee --- /dev/null +++ b/dev-python/sqlparse/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">sqlparse</remote-id> + <remote-id type="github">andialbrecht/sqlparse</remote-id> + </upstream> +</pkgmetadata> 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..09e5c942bc32 --- /dev/null +++ b/dev-python/sqlparse/sqlparse-0.3.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +inherit distutils-r1 + +MY_PN="${PN##python-}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A non-validating SQL parser module for Python" +HOMEPAGE="https://github.com/andialbrecht/sqlparse" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux" +LICENSE="BSD-2" +IUSE="doc test" +RESTRICT="!test? ( test )" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +S="${WORKDIR}"/${P#python-} + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + pytest tests || die "testsuite failed under ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/build/html/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/sqlparse/sqlparse-0.3.1.ebuild b/dev-python/sqlparse/sqlparse-0.3.1.ebuild new file mode 100644 index 000000000000..d03098e3f4d8 --- /dev/null +++ b/dev-python/sqlparse/sqlparse-0.3.1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8} ) +inherit distutils-r1 + +MY_PN="${PN##python-}" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="A non-validating SQL parser module for Python" +HOMEPAGE="https://github.com/andialbrecht/sqlparse" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}"/${P#python-} + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +LICENSE="BSD-2" +IUSE="doc" + +distutils_enable_sphinx docs +distutils_enable_tests pytest |