diff options
author | Ian Delaney <idella4@gentoo.org> | 2013-05-02 03:50:42 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2013-05-02 03:50:42 +0000 |
commit | bd640dba2bf583ef4c6f296147af4d2d778a4ead (patch) | |
tree | 67e73ac45417fdf20770e269d94d75c74df6bd5f /dev-python/sqlalchemy | |
parent | Automake 1.13 fix #468134 (diff) | |
download | historical-bd640dba2bf583ef4c6f296147af4d2d778a4ead.tar.gz historical-bd640dba2bf583ef4c6f296147af4d2d778a4ead.tar.bz2 historical-bd640dba2bf583ef4c6f296147af4d2d778a4ead.zip |
bump
Package-Manager: portage-2.1.11.62/cvs/Linux x86_64
Manifest-Sign-Key: 0xB8072B0D
Diffstat (limited to 'dev-python/sqlalchemy')
-rw-r--r-- | dev-python/sqlalchemy/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/sqlalchemy/Manifest | 11 | ||||
-rw-r--r-- | dev-python/sqlalchemy/files/sqlalchemy-0.8.1-pypy-fixtests.patch | 50 | ||||
-rw-r--r-- | dev-python/sqlalchemy/sqlalchemy-0.8.1.ebuild | 82 |
4 files changed, 146 insertions, 5 deletions
diff --git a/dev-python/sqlalchemy/ChangeLog b/dev-python/sqlalchemy/ChangeLog index 9398beb781b8..0b9213df1840 100644 --- a/dev-python/sqlalchemy/ChangeLog +++ b/dev-python/sqlalchemy/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/sqlalchemy # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlalchemy/ChangeLog,v 1.100 2013/04/30 13:00:12 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlalchemy/ChangeLog,v 1.101 2013/05/02 03:50:11 idella4 Exp $ + +*sqlalchemy-0.8.1 (02 May 2013) + + 02 May 2013; Ian Delaney <idella4@gentoo.org> + +files/sqlalchemy-0.8.1-pypy-fixtests.patch, +sqlalchemy-0.8.1.ebuild: + bump 30 Apr 2013; Ian Delaney <idella4@gentoo.org> sqlalchemy-0.7.10.ebuild, sqlalchemy-0.8.0.ebuild: diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest index ef33f557be2e..fb2bf289b8dd 100644 --- a/dev-python/sqlalchemy/Manifest +++ b/dev-python/sqlalchemy/Manifest @@ -3,6 +3,7 @@ Hash: SHA256 AUX lru_cache_timestamping.patch 1088 SHA256 e4bbc35e94b5091f9abb1cede122d2773bfa3f96a21a62a090fb1c1733a9f0ac SHA512 9d7ad6990b312dec26ede2c1c0717447cb034c4d701435aa278dd9d0214115c6d94d02c6a608c0aab0e28da69c3bfa7cf8bc1c9d61b3bc3dfdca1eb47f63eda8 WHIRLPOOL 149302829080935d5f620c7d6f97cb939b027b944f24c5d5650e009cbbe1bdba8ce2f7172eb2ca761b5a3ab1513c078710f679ccd61b23909423e4b2c1b0ae10 AUX sqlalchemy-0.7-logging.handlers.patch 466 SHA256 3e2034457bbd4f4cd775f41cad156e27006c0b87cb3bec502b9b405a969d1099 SHA512 a09af91fdd6a1cc9f219c9b45fbe2fa5d9a675d2c2dc769545af52fda44ced40f673426975a09dd943e6ba5087cf0c0caa771c106e0eb755c3ed97c4ddc267fa WHIRLPOOL 8691dd7dbb09a45296dc6890644b06de63bd779cefbfe7b90d2d5753d7d752c5f6836151e26734090e69e928deb396b9a7c70fe8c980bf1a8442e623211ebdc6 +AUX sqlalchemy-0.8.1-pypy-fixtests.patch 1899 SHA256 b0ce43c79adf3aa04ec33b87780e4e3132379ee572bb29487eb02ac3f2fde439 SHA512 746e08c1b745fcb0c41be1e6df8e3d95fbe7a037dfbc7aae8b0178973c7977a78f6ffbca1900dbecc8854633a93dc13b34c5df5c50cef1b075e95a2ab3ed5715 WHIRLPOOL 2fb7c28d5f9aecd18217f072dd1a5fa23bdfd4a67b57854dc82cecd4eb0b1582baaa36278777d4f4c1fde736716bdbdd83a94a2650182256a57ac1d9d9219131 DIST SQLAlchemy-0.7.10.tar.gz 3541639 SHA256 77aa39d65c9d043eba6ba329b359ff867424fd6c403b7c0cb112b65e507e1d66 SHA512 631bc4ffb419defa531a66d82449fe48f93c88371ba0b8ab4217d900a0d1d90efe9699d8a9048d5c2ed33948c6d2f7cae46452ee45d442914018f3361e804367 WHIRLPOOL 74ffc17efbcbb2ac67712b9e11aa48431d18970f46ae5985aaa345aa8691f96e4acc4cf6fa37606699fbba83fcb7f74b0360fea2ac5e93a451585019e110f2ed DIST SQLAlchemy-0.7.4.tar.gz 2514647 SHA256 86157a5579dd67cb61600dcab9eb3edebe4cf344fa42e46e8f3edf1890cdfa87 SHA512 9ec00288a08bb4cc0ef8afc74c488fdff6db692eb86805b70ca4d0ed79b5fa2533b296dbfccf4a61f94272871010fd5530caec66f241a54431a2ca36e5f243cf WHIRLPOOL c934770d12a2098f7a211713811e0ea85b49d4df5b26f75fde160715190456598678a49e033252ddcd97c0f13619b472424acaa1d9150865b30e81e3f393aa4f DIST SQLAlchemy-0.7.5.tar.gz 2562719 SHA256 7e31190a15753694dcb6f4399ce7d02091b0bccf825272d6254e56144debfd18 SHA512 c49529fb13c7b6d705045352bdc2a7e077c85242179f5efb8902c97ad19e6175687c5ff2ef9446cc5b97eb94fc4be488a36ed3d7bccb8c50284fc93a842ed71c WHIRLPOOL e7756227c912dc231be056f2e88d838d5510fc2fe9c582b730e1b33e5664150df8d938c1f20e85931141d1ef31c2b5a0805baeb6cd8b8ff4d7d59255fceb8bbd @@ -11,6 +12,7 @@ DIST SQLAlchemy-0.7.7.tar.gz 2602780 SHA256 b405621bba1b2c1e760e670a9b06d7315aea DIST SQLAlchemy-0.7.8.tar.gz 2611374 SHA256 13daccf34a660ab4708766bb18f49b50368bdbd6a1a8b409104f725f7f562dc8 SHA512 976ffd18ca4c824debbbdb7c66d6eed377a7eda0850873334f8b238318a321556303353a2abd03fae2e82c6abb9fb79b8eb46102cfd6ac7932bcfd9a9864f381 WHIRLPOOL 1d0c690fec18adbbd747f3d9dd922aaaa43e94a14c74054b82991371634ff75fd6d72f8885f130f5bd6bf735576a589b711b32b139d1729fbf8a6f1c9af55f02 DIST SQLAlchemy-0.7.9.tar.gz 2649932 SHA256 4a89556cb55275d1af694dc4d5700d8bf0f83690bac16ab30340092ff25bb4d7 SHA512 b221bd854d33c6d59386c060e39594947761248108b8f7ddad16d243a70171bce93f6fa30e8d563d058f969fb2bd9f4c1b6bd5b8a2d097f0bbba8de860cb0e0f WHIRLPOOL a532e07e27fc676d32e184fc7ff0074dad44918985dbac82da404521e851cd2839785a2762826d47141c0091d3f84a938ae3aa074eb37c572fe08af1e30b3ca7 DIST SQLAlchemy-0.8.0.tar.gz 3751669 SHA256 8929dc6f3d4aedf4d8c59600cdefc99e7731791f346cbed605bb9779b0038129 SHA512 5d8089179f670e55cba993d690f0c4b7a63789a0da218fa6afeda6b3064a99aeaa0495cbf8c264f0c88ecd41938cf534eb115365a5f214458f5b5f34d0c49a1f WHIRLPOOL ee7c89a761fe86ff029f44f61f63b0acb046fe9392984aa08a526ec2fc57c09e6215e7dc7ec44fd802b50f0c6265056511af6e397674e1b1aa97eb2c1e6caf3b +DIST SQLAlchemy-0.8.1.tar.gz 3776304 SHA256 5646f87ab781755b116d718433637a341b74c8214999e606c2e4134279ba5bbb SHA512 61540df1f4248c5d5c52e413d917284cac4503f93bf275599ef0d6de95f6740979c1d420cc4bb6d05a657080060fdc051681509f4d6f694a7de7370fc0c51400 WHIRLPOOL fb666da56f17e9fb32729a210f186d542588ad8ca485bff4a93bbb7b879bb47a701151287b58c4c90ac90dc137c546251a69d9c8c10fc994fcc5d80db831078b EBUILD sqlalchemy-0.7.10.ebuild 1782 SHA256 0e2897637d09157f29e9903cade53a2e19460704558a6dc20585c69b239d4a9d SHA512 609c690f4135ca57b0993bae5cdfd7badd0442483e90a9126bf6365a984f823896173f71fbdbc7d08c202d704eb01485ff22cc35f2b30994292b16f06e675c86 WHIRLPOOL e2a3552cf574bc021b249bdfd033ec19fcb318464a3582aafb0fcdf0c3dd3ce656ec17d4a5605936eab2ed6584482b35955ae398cb57a95f20589952ed65b5e7 EBUILD sqlalchemy-0.7.4.ebuild 2397 SHA256 b67e5031f8c672b6ca31779771af997dd4e9f33d44008a0e0f6651a3b57d01e0 SHA512 59926ae932b99209a0534ae16397ebc40cf90e70fce0b193d3e7ee4efc784df41ae2e3820ac6b7ef6579c53e90666c0690e091bfc2bc2f17c0670f13a50e582f WHIRLPOOL 43c787cd0b69415287e4026e9a7452ef86161d191607f0e9ee397395f2e3516e26abec2160c45485c57b96e778f0b5911a7f5b549167a5d61325364744f28feb EBUILD sqlalchemy-0.7.5.ebuild 1869 SHA256 54700ee6aa0f3fbb53c0fcc72384a90ae441ec8c8e56cf80e24ef6330e102196 SHA512 8f56d0fb0532f58165ced51883294517adb3df286bc82bbe28bcf77717349c53f9ca09921607dd4ff41516d8b5e553c4a2bfb4c469d08544da15b5c8b9b6aebb WHIRLPOOL d81bfa8d998dfd3eb98e1a10c6fe417ab755a1425d4b63799bd95db1612e45f8db2acb44af6cc7ca4d30fd8d310f57127d1291a09b45cf4589cd5f652aa7585d @@ -19,12 +21,13 @@ EBUILD sqlalchemy-0.7.7.ebuild 1880 SHA256 40bd4517bf6a4533a91a3a151762a917c22f7 EBUILD sqlalchemy-0.7.8.ebuild 1910 SHA256 4fa40481cd84b3fcdc28f0e0c14270623279e3af4ff28ecadd4fef9189791366 SHA512 c50aa7d79db8e46fa2b09118d22da54c19fdf0cddcce89bbcc49f3e63892fcf695bbb8c45e6fcf4a51e1d649c6419aadc3b1c1bf05f84106e404b48702c67111 WHIRLPOOL 7f5b5a44ff27e81f9d146b291cb600be130c7a3abb8d82040c5f061119319d1f8919d0522ea4afc5df7c670d18d365b8bbca9b5708d0c1205dd0c14d00051fe9 EBUILD sqlalchemy-0.7.9.ebuild 1965 SHA256 47fd350c76b2dcb834ac8d75b677cdb27da09ec8e6b2b78b9df067fb997dd5a9 SHA512 6023a022a3e5836f4c6b94516870b580acb9602c42a59404b4eaefc1ad250b902032693c7425b8b3f3b047d8fcc4c772f71763bfc235df054a65c89b675c9839 WHIRLPOOL 69f562b311cfdca31b56fbaee3dd5b740c4014e74af2ed266f617c4ff661c2940d36f47128851e3f3c6c9dd12b500a60002ffde9593a41499ba00f4177dcfcaa EBUILD sqlalchemy-0.8.0.ebuild 2098 SHA256 878442ae368a27545dfedda073970e8c2523e7cebd2f2cf3ec3f60931259ebef SHA512 48ca088fabc9c92184d0c017410e548f25dad9c45badaa2135886942ac83cd8cf16a57db6a3acd2be239172afac5433bfef35ee3dedee5ce4c19b60d30c9b1e6 WHIRLPOOL f9e8c42679e4d26322ff6967c7f2d9072f78608151004136ef8f0c22117bd6b72123c77e63d55dc366b452398137f610e1e7cc996c6fffe153de9090abe7240b -MISC ChangeLog 15067 SHA256 fcebacec267d714e4d2a44ea3f261c3edc3c1d69ac04f5acdc0ab3abb4e17391 SHA512 1a07d090a9c5b3c07eca2e47f0a1b982b81d60f6227dc0b9bd5740f5901d301499cbaa52ab2caa5fc349de478770184d86e48656aa5eeb0172bc4487fd79580f WHIRLPOOL 24e4186cb9a7e1fb981b15d86bc6d9f2752003bc4b3572de45bc678ac7c09392a95fd9357bbefebb2170c0e31174ccb63fc7787d6a94d12c005cb22204851ff4 +EBUILD sqlalchemy-0.8.1.ebuild 2257 SHA256 cb843bb517d6c7bde020ba61b6d7275ea695dba98cfed73448bb61e149f78a0c SHA512 cb29d36aa0d007fd58e5e89369d749bec571db2772087224d736027cafd093775fa309af3b51710e3a1470183ee9c8dcc9974ebdb87d3a8672afd99bb2a451e9 WHIRLPOOL aed87eb10c39d58d37550f9fd5fd4503f633431c6862c55bec09ad4f784c20b6f491f42ee927e49649aaf510124ac903daa07a2edbc7013283cb2428de8efa26 +MISC ChangeLog 15229 SHA256 075b8ffffdf3c842430c397dc23c9999e957b742aabda285a47d4276ec7faa51 SHA512 4dcf2c0fd82fb84ec777169a370b9b5e74c21ca05b7d49558989767645eb1f94ddefd6b0b1c8827af6864b7a070a8b9a2d28280c3499db58032b8d3b8cf4fe84 WHIRLPOOL b805104d1354b593e2de070088d83f3afc9891a4b3f04007246b5b3b9ad102ce5237e5c3e3dce06a2960d65603e7ad471394121319598fdfc418f926e7fbf5e5 MISC metadata.xml 233 SHA256 77ca0910fec09997d5679f4de22c824a0b0de12d9ac12b253ad544ae7357f720 SHA512 1521eab2401d4b820c053a13680ec44b9bf4931516f4f4c1508ca92b288bf6cae2db36a875ddc5c2475e862c16d3e92cb662c093958950ead4eb72e463abcff6 WHIRLPOOL 9279e4a60e5c11a72f329dcc13bd9c18d3bbfc1fcaab98f46df1336835f407a8471b4a76b61e74a5fa1bb8e24156cd5e3c2e8418752a412479f37b6193b74ec6 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlF/wRUACgkQso7CE7gHKw3y0ACghpNLCsrRXOwGFUDNmxFgkNdz -87EAoIyQHrOtrjq4MhRiFsvqoP/j9rXe -=uAVs +iEYEAREIAAYFAlGCUqgACgkQso7CE7gHKw1efACfaXDselmGYk1lP6x1FfzfefZg +QEkAniZps623WgoNOV9ssQZdSEXrpQJ+ +=foEi -----END PGP SIGNATURE----- diff --git a/dev-python/sqlalchemy/files/sqlalchemy-0.8.1-pypy-fixtests.patch b/dev-python/sqlalchemy/files/sqlalchemy-0.8.1-pypy-fixtests.patch new file mode 100644 index 000000000000..39b0281c98fb --- /dev/null +++ b/dev-python/sqlalchemy/files/sqlalchemy-0.8.1-pypy-fixtests.patch @@ -0,0 +1,50 @@ +# http://www.sqlalchemy.org/trac/ticket/2719 +diff -ur SQLAlchemy-0.8.1.orig/test/ext/test_serializer.py SQLAlchemy-0.8.1/test/ext/test_serializer.py +--- test/ext/test_serializer.py 2013-04-28 05:24:34.000000000 +0800 ++++ test/ext/test_serializer.py 2013-05-02 01:02:25.376203511 +0800 +@@ -114,6 +114,7 @@ + Address(email='ed@lala.com'), + Address(email='ed@bettyboop.com')]) + ++ @testing.skip_if(lambda: util.pypy, "problems with pypy pickle reported") + def test_query_two(self): + q = \ + Session.query(User).join(User.addresses).\ +@@ -123,6 +124,7 @@ + eq_(q2.all(), [User(name='fred')]) + eq_(list(q2.values(User.id, User.name)), [(9, u'fred')]) + ++ @testing.skip_if(lambda: util.pypy, "problems with pypy pickle reported") + def test_query_three(self): + ua = aliased(User) + q = \ +@@ -136,6 +138,7 @@ + ua_2 = q2._entities[0].entity_zero.entity + eq_(list(q2.values(ua_2.id, ua_2.name)), [(9, u'fred')]) + ++ @testing.skip_if(lambda: util.pypy, "problems with pypy pickle reported") + def test_orm_join(self): + from sqlalchemy.orm.util import join + +diff -ur SQLAlchemy-0.8.1.orig/test/orm/test_manytomany.py SQLAlchemy-0.8.1/test/orm/test_manytomany.py +--- test/orm/test_manytomany.py 2013-04-28 05:24:34.000000000 +0800 ++++ test/orm/test_manytomany.py 2013-05-02 01:05:08.073213015 +0800 +@@ -233,6 +233,9 @@ + p2 = Place('place2') + p3 = Place('place3') + ++ sess = Session() ++ sess.add_all([p3, p1, t1, t2, p2, t3]) ++ + t1.inputs.append(p1) + t1.inputs.append(p2) + t1.outputs.append(p3) +@@ -240,8 +243,6 @@ + p2.inputs.append(t2) + p3.inputs.append(t2) + p1.outputs.append(t1) +- sess = Session() +- sess.add_all((t1, t2, t3, p1, p2, p3)) + sess.commit() + + self.assert_result([t1], diff --git a/dev-python/sqlalchemy/sqlalchemy-0.8.1.ebuild b/dev-python/sqlalchemy/sqlalchemy-0.8.1.ebuild new file mode 100644 index 000000000000..04222c1ea81d --- /dev/null +++ b/dev-python/sqlalchemy/sqlalchemy-0.8.1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlalchemy/sqlalchemy-0.8.1.ebuild,v 1.1 2013/05/02 03:50:11 idella4 Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_5,2_6,2_7,3_2,3_3} pypy{1_9,2_0} ) + +inherit distutils-r1 eutils flag-o-matic + +MY_PN="SQLAlchemy" +MY_P="${MY_PN}-${PV/_}" + +DESCRIPTION="Python SQL toolkit and Object Relational Mapper" +HOMEPAGE="http://www.sqlalchemy.org/ http://pypi.python.org/pypi/SQLAlchemy" +SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd \ + ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="doc examples +sqlite test" + +RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + sqlite? ( >=dev-db/sqlite-3.3.13 )" + +DEPEND="${RDEPEND} + test? ( + >=dev-db/sqlite-3.3.13 + >=dev-python/nose-0.10.4[${PYTHON_USEDEP}] + )" + +S="${WORKDIR}/${MY_P}" + +# Required for testsuite, mainly py3 +DISTUTILS_IN_SOURCE_BUILD=1 +PATCHES=( "${FILESDIR}"/${P}-pypy-fixtests.patch ) + +python_prepare() { + # Disable tests hardcoding function call counts specific to Python versions. + if [[ "${EPYTHON}" == 'python2.5' || "${EPYTHON}" == 'python2.6' ]]; then + rm -fr test/aaa_profiling + fi +} + +python_configure() { + if [[ "${EPYTHON}" != python3* ]]; then + append-flags -fno-strict-aliasing + fi +} + +python_test() { + local DISTUTILS_NO_PARALLEL_BUILD=1 + # No longer has postgresql support + if [[ "${EPYTHON}" == python3* ]]; then + "${PYTHON}" sa2to3.py --no-diffs -w lib test examples + fi + "${PYTHON}" sqla_nose.py -I test_postgresql || die "Testsuite failed under ${EPYTHON}" +} + +python_install_all() { + use doc && HTML_DOCS=( doc/. ) + + use examples && local EXAMPLES=( examples ) + + distutils-r1_python_install_all +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + if ! has_version dev-python/mysql-python; then + elog "For MySQL support, install dev-python/mysql-python" + fi + + if ! has_version dev-python/pymssql; then + elog "For mssql support, install dev-python/pymssql" + fi + + if ! has_version dev-python/psycopg:2; then + elog "For postgresql support, install dev-python/psycopg:2" + fi + fi +} |