From 623ee73d661e5ed8475cb264511f683407d87365 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 12 Apr 2020 03:41:30 +0100 Subject: gentoo Easter resync : 12.04.2020 --- dev-python/sqlparse/Manifest | 5 ++++ dev-python/sqlparse/metadata.xml | 12 ++++++++++ dev-python/sqlparse/sqlparse-0.3.0.ebuild | 40 +++++++++++++++++++++++++++++++ dev-python/sqlparse/sqlparse-0.3.1.ebuild | 23 ++++++++++++++++++ 4 files changed, 80 insertions(+) create mode 100644 dev-python/sqlparse/Manifest create mode 100644 dev-python/sqlparse/metadata.xml create mode 100644 dev-python/sqlparse/sqlparse-0.3.0.ebuild create mode 100644 dev-python/sqlparse/sqlparse-0.3.1.ebuild (limited to 'dev-python/sqlparse') diff --git a/dev-python/sqlparse/Manifest b/dev-python/sqlparse/Manifest new file mode 100644 index 000000000000..1ab569cc8ca6 --- /dev/null +++ b/dev-python/sqlparse/Manifest @@ -0,0 +1,5 @@ +DIST sqlparse-0.3.0.tar.gz 64072 BLAKE2B fbee74c7222fa50c5d627959d5c8652dcd85ab5b5b771e3c8375cadc6e009c2fb1adc3c2428e27d769c210e7976c350bfab367cb7aa44dd7b4183ad9722a4ca6 SHA512 596d25f5fa2c797fe5652e36e9633397e7867586ff0959f52d1ff861c16d0e7c73644daf03d74169dd20255e802b7369d4dace0a44a3d94c15bd67faa41df551 +DIST sqlparse-0.3.1.tar.gz 67572 BLAKE2B 27c9267de1a269a4574019d457a3dad53ad805e56a57ba73e294c229a7852b7ca04557fb45d07566e94eba7593257ad7eb413b1e0ec04d1044838d5039dc8ba8 SHA512 4c56a528b43578a7a48fc31cee369215b15761d9903ea1d8e034c69f0eb6431dd15362aab13af25a36fccb361436f1cba746bcbb515cbab5d30319629dd2ddfb +EBUILD sqlparse-0.3.0.ebuild 968 BLAKE2B 91e2d7dde49f9c32ba6a5269e68441b2df5563a37931dd48a0d8f22c9ce5981c86bc44084afc8595009ec0569ef0b48069edade3e98d10ee02db3da36d409849 SHA512 c4d340255b8bbc4d34f7283dee99ca3965a50f5bd8e9a724c29caf35214f661e4c1cc9f22ad10ed40c845ea6744405dd8ca33e56d8cb7a3f685809a697926a7e +EBUILD sqlparse-0.3.1.ebuild 648 BLAKE2B c21680a2b64b1d927c9e0c3a15da6bf5f17eacf22b4267ca2f45a1dd9f70dfc4a295bf273a65f7d03855e7df37be8acdb2eee99a17de001b3e5cfe2f55e5e080 SHA512 6ff360b8109b7b8bb2b6702852f7f59e44932f1a1ccf81ca13df2c4541d60e84b9a6b35f2145337e0e3633141580ac9e76d41b0c5ab92cba73534806984a89a4 +MISC metadata.xml 384 BLAKE2B b35ba3bdebba668141b296a8e2c0d54b68015d6a6fbb0daa682e115ae0544da0fd588b3197dbc26e798214e5caf09dd01a46cbad9ced306a1052912826c41f08 SHA512 b54567937860fe8b488bdc27710f66692efe134520e32070734fcee1fcdb25e96a09117f43a5edc9f70bc6d7213814344fecb98b5576cf46ea85a3b5fd90b51f 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 @@ + + + + + python@gentoo.org + Python + + + sqlparse + andialbrecht/sqlparse + + 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..b009b59c5486 --- /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 -- cgit v1.2.3