summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2014-01-23 04:55:30 +0000
committerIan Delaney <idella4@gentoo.org>2014-01-23 04:55:30 +0000
commit822926a2a2cedd692268dff554aaf155c051c352 (patch)
treeb01eb6f4046818c324c0adf19073ea0e12273307 /dev-python/python-sqlparse
parentVersion bump (bug #498918). (diff)
downloadhistorical-822926a2a2cedd692268dff554aaf155c051c352.tar.gz
historical-822926a2a2cedd692268dff554aaf155c051c352.tar.bz2
historical-822926a2a2cedd692268dff554aaf155c051c352.zip
bump; drop py2.6, add py3 support, add pytest to tun tests, unrestrict test phase, re-write of test phase
Package-Manager: portage-2.2.8/cvs/Linux x86_64 Manifest-Sign-Key: 0xB8072B0D
Diffstat (limited to 'dev-python/python-sqlparse')
-rw-r--r--dev-python/python-sqlparse/ChangeLog9
-rw-r--r--dev-python/python-sqlparse/Manifest22
-rw-r--r--dev-python/python-sqlparse/python-sqlparse-0.1.10.ebuild33
3 files changed, 48 insertions, 16 deletions
diff --git a/dev-python/python-sqlparse/ChangeLog b/dev-python/python-sqlparse/ChangeLog
index 5a51df6efdbb..c35ca0404fec 100644
--- a/dev-python/python-sqlparse/ChangeLog
+++ b/dev-python/python-sqlparse/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-python/python-sqlparse
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-sqlparse/ChangeLog,v 1.20 2014/01/06 08:22:54 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-sqlparse/ChangeLog,v 1.21 2014/01/23 04:55:09 idella4 Exp $
+
+*python-sqlparse-0.1.10 (23 Jan 2014)
+
+ 23 Jan 2014; Ian Delaney <idella4@gentoo.org> +python-sqlparse-0.1.10.ebuild,
+ python-sqlparse-0.1.5-r1.ebuild:
+ bump; drop py2.6, add py3 support, add pytest to tun tests, unrestrict test
+ phase, re-write of test phase
06 Jan 2014; Justin Lecher <jlec@gentoo.org> -python-sqlparse-0.1.3.ebuild,
-python-sqlparse-0.1.4.ebuild, -python-sqlparse-0.1.5.ebuild:
diff --git a/dev-python/python-sqlparse/Manifest b/dev-python/python-sqlparse/Manifest
index d2f3bf647720..9f23757667ef 100644
--- a/dev-python/python-sqlparse/Manifest
+++ b/dev-python/python-sqlparse/Manifest
@@ -1,24 +1,16 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA256
+DIST python-sqlparse-0.1.10.tar.gz 151351 SHA256 8bac29a6e21ed64ec69703971cd9ac0fa50e7e01f62a6d826fd2ce76f3191199 SHA512 8b30ac752f0208d8247b353d71e56e67a6a874384999ce35e4391f4a8a8919e8c59fa1d3bb53cf676164fb3a677fc4791fd57330ff52613fc8d2f6e85d8b528b WHIRLPOOL c31f024bf04985054a8efabe80c05e15f8caed7188a73a5749c3e1150711a504bff111b4d3504118e455e358cead8cde5e7a0cf480a7cf0b7ea70a1312b7b6c7
DIST sqlparse-0.1.5.tar.gz 46138 SHA256 dfbbbf50e86147ea2a2f32c2c4bc0743faec1edd02d3201b4e9a32ffa41e00a7 SHA512 9bccf67e53c8c40bc315d8998db00cb70dd145698313196287c31be321a6fc96f8ac44fb74ee581e87e8b9af484354019fb6296d750ac9efd080ddc55c6cb4f5 WHIRLPOOL 89c595569bec70c7cc561d193acb38048ed8c22abeb42cbc8bacbb832a3aef6b20845d2c499afd04c75574fa4016e10242a966481b1c55a455d32997098ed819
+EBUILD python-sqlparse-0.1.10.ebuild 1067 SHA256 802625131f2f8b6f40653585df7d09fb1ec920f648249e884aa72e871b3c0933 SHA512 d8c3dd552c6a261c977707404998393a4f50e58e6d138442de26061983b0f8a8d82f0a6dab66a42d25bdeaed62b13298de7aa5429621069627e319dc3016a3c3 WHIRLPOOL 0784f166d6fca84e510c06b67ee0633d8c124b3800e29f40b6714a57b8bdb0028f20028a278971a4aa84f7cb413f9087dfc4fe5c3f4ab9e0c4207b36b69b1f19
EBUILD python-sqlparse-0.1.5-r1.ebuild 814 SHA256 40f97913eb7d8df2c1da34250c1b96b4289285d4377f5415198deeaca9fc116a SHA512 a21b07f843d9a63ba805b035313e9ba5cec25146e166f2adef7dfc4b99db1240b42376be9c62dde164156a6ce3e587cd9e74d3d7e2f082663dc05af88e67ace3 WHIRLPOOL 2d4cdd81752587963de59d49e02f7244c53beb8c3311b03ae48c6139b6e3751cc0154ff9bf9671221cf0191bf3089fe389cfeeaf7c0eb90ca0083bcac2e221eb
-MISC ChangeLog 2671 SHA256 e6f423cfc545980c6681586877339bdaac7583d49ff41689a0a22d6627fc306b SHA512 006ee285b32899afcb903498cd0372e789e38d800c5e25eb231f265dde4a5d907d1129d4f7164bda234005565a5e0b1168cfdb8b67198910db3544753f2cae5c WHIRLPOOL 1156c727d9a523f33acda814cb07cd31e53619dde6fdbefae2a055915dfc9e2caf015e890eb3a3d8a86a7e7fd56f8f2ec717fa12156cc77f1543337f1e14ba0d
+MISC ChangeLog 2939 SHA256 ed4a09816837babc1cea33610db43365c172bc5cd737744409f68219338b2aca SHA512 abd9f113547828cb113ce287838ff49cbdfd68aa38aee0c799aac581ac26ff5cbf8d58254e8d9dfa0a4fe76a8647c0fddb75dd4ce8d481300f8853a255ec44a1 WHIRLPOOL 9ac55c92fdb10b31b514ff302b9655dcde41356fc4780c56db12947014578089b32400f82a35fa14b5f4e3cf37d34ad11ab172b82f5c2051d0b1510a9823f854
MISC metadata.xml 316 SHA256 ac49fe2205a8a2f4aeb698c1f614f8e382119b3297b0af5d3268090cbcffdbfd SHA512 d84cd678a787471a98778cdaca6f08d60d2b7f3a49ae0d426bc4988d6321373279020bb77fb15b576289351a48806e1cb40899dd3c70d05ab85a04e6757c7820 WHIRLPOOL db92cc101475066c70f738b88ce6dd3bc07324efc0ad35901149bea12c37f775e2bfbcc5e3dda600bcef3ea4f3dc139ce3a1413832d3cf4557995218f3214790
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCgAGBQJSymffAAoJELnU8jG9FVirCCkP/RwmYu9yRkmK6y5cT2hhZsgr
-t3CFggMvWHQbUfn5tgd/X97oNCL6SIMumb0ujLkBJOKM7GRj6gdhmK35zPmY875J
-CR/ZL1WouvwHC0ZmA6llDwRfKx7Png4f4MxZkSbuznP82TECm5Z8415MXAVC507D
-cdFm1UGYG1XgW3HqZDohKy3C3W4F/Ts7dKbLorf15PosiIuxhZjkow67axAjh/Uj
-yuDxsm0K4ejTu0zxHN0J2W+LjXLhQ4m+b+PWB9sPkfsIum7vBaQAftrQDv3NL6Tm
-6UyudtwPge7VuY585xRuJEzEispeXaOhJMbAeuSx39pFnwVOPQHJRY0F8YnB7/MY
-0Mz4qTF55ZC6BmvjuGpIkRZpJczWRBkNjnRi+laRnv3lAXFi4DVScL9ygkkACEj5
-qrtqkmD4YS+375vtgyP/Z0x/AoB+H5uJGlfCc2ZPWSCwXj1IEbSiiQ3yxZZvkI8+
-eg2zWB8pvo1SP7mIb4uiFmC2QOUaNbFD5CGeHaDDunJCygZfEj3z5sFzJQFWrVdL
-PSigpuzBu2LZCnTMbfFUmYBuJX3Csgncvi3AS5BTDTlwtG8rRkiVdvgu2nw+6Z+V
-7XI6dTQ03t+u6Kg4sFqSkBKJv4Rr0VfZ8vdDegZFNg46+LEsh9VG5Tk66h9wv/66
-PD0rA7rJA14wTBWmcknd
-=qUaX
+iEYEAREIAAYFAlLgoLoACgkQso7CE7gHKw2sEQCg1pc03A9OeKX7yD3QKe68KPap
+ra8AoIudFYTFkupCQzMyErXL2y6jWIzW
+=M6at
-----END PGP SIGNATURE-----
diff --git a/dev-python/python-sqlparse/python-sqlparse-0.1.10.ebuild b/dev-python/python-sqlparse/python-sqlparse-0.1.10.ebuild
new file mode 100644
index 000000000000..f0b6bf673d61
--- /dev/null
+++ b/dev-python/python-sqlparse/python-sqlparse-0.1.10.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-sqlparse/python-sqlparse-0.1.10.ebuild,v 1.1 2014/01/23 04:55:09 idella4 Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_2,3_3} )
+
+inherit distutils-r1
+
+DESCRIPTION="A non-validating SQL parser module for Python"
+HOMEPAGE="http://code.google.com/p/python-sqlparse/ https://github.com/andialbrecht/sqlparse"
+SRC_URI="https://github.com/andialbrecht/sqlparse/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+LICENSE="BSD-2"
+IUSE="test"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+DISTUTILS_IN_SOURCE_BUILD=1 # Required for running tests
+
+S="${WORKDIR}"/${P#python-}
+
+python_test() {
+ if python_is_python3; then
+ 2to3 -w --no-diffs -n tests/ sqlparse/
+ py.test ./tests || die "testsuite failed ${EPYTHON}"
+ else
+ py.test tests || die "testsuite failed under ${EPYTHON}"
+ fi
+}