From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 25F5D1395E1 for ; Mon, 31 Oct 2016 22:39:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BDB84E0B91; Mon, 31 Oct 2016 22:39:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 910D9E0B91 for ; Mon, 31 Oct 2016 22:39:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5CB2934108B for ; Mon, 31 Oct 2016 22:39:09 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BEEA624B0 for ; Mon, 31 Oct 2016 22:39:07 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1477953535.a30566a8e0b1a1cf23846f79c2bd04de66c45541.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sqlalchemy/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/sqlalchemy/Manifest dev-python/sqlalchemy/sqlalchemy-1.1.3.ebuild X-VCS-Directories: dev-python/sqlalchemy/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: a30566a8e0b1a1cf23846f79c2bd04de66c45541 X-VCS-Branch: master Date: Mon, 31 Oct 2016 22:39:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 96092b99-516f-4cd6-b673-c1cee818b018 X-Archives-Hash: 103a3823e961e50cd01028f276540879 commit: a30566a8e0b1a1cf23846f79c2bd04de66c45541 Author: Lars Wendler gentoo org> AuthorDate: Mon Oct 31 21:57:24 2016 +0000 Commit: Lars Wendler gentoo org> CommitDate: Mon Oct 31 22:38:55 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a30566a8 dev-python/sqlalchemy: Bump to version 1.1.3 Package-Manager: portage-2.3.2 Signed-off-by: Lars Wendler gentoo.org> dev-python/sqlalchemy/Manifest | 1 + dev-python/sqlalchemy/sqlalchemy-1.1.3.ebuild | 74 +++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest index a3c45e1..6da8175 100644 --- a/dev-python/sqlalchemy/Manifest +++ b/dev-python/sqlalchemy/Manifest @@ -8,3 +8,4 @@ DIST SQLAlchemy-1.0.15.tar.gz 4776213 SHA256 586f5ccf068211795a89ed22d196c5cc300 DIST SQLAlchemy-1.0.8.tar.gz 4627601 SHA256 950c79c0abf9e9f99c43c627c51d40d14a946810a90c35e7cd827bfd0bffe46f SHA512 921f847a20548095cb1f41fe6147b393110e08f8f3ff0aee6081e7811e7c15b3c03583afd41ddf5aacdc1dde090c0512afb94c7cc33d9c27135a5525ed121e74 WHIRLPOOL 757f2a3832c8fefd5789cd981eb1b2028419362ed2714927198df6b91742236896d4ab0131969afa08e5508843e32e018a1361e28df3f22a15f811d78275f8cf DIST SQLAlchemy-1.0.9.tar.gz 4662673 SHA256 c3d37501e36ec5d74c2d7b4a3764719db86a9cdab4a24431bf58b386743ab10e SHA512 5032977e4fd3ff12d7ae10ca87f0ec9cd2d9eb5d200020b74faad1309eb1de5bacc9b4f5e53cb1b0b0b9c7f59b923a87a12ba050b37a631f9c77af2b896eb076 WHIRLPOOL 5e824f8581b98ac26f47d0bc8ae706783602ebe6bf921c6767f46db83b8322b022ea51603d1002017052144946256583c4fd9d2a92742c752333b530ed356121 DIST SQLAlchemy-1.1.2.tar.gz 5104171 SHA256 1692c35bc0f7026d20cabd43b0f6f265e855129f44eb4574fea361e3c5cc89a5 SHA512 5b7b8af5e7e96c844ee5e9b85314ede7dbdfd411ff88bc32517661108abcc2338fe1949a1378b135e2be6c5943de168dfe735bcd74d0581df95d98fe40a03c4a WHIRLPOOL 24b02311535db62ed7d932cc4f582b3f3a17633a726f0d4230890116a18516e4eac5a39eace2701d05fe51c71cc089113ace71b426051c9f3ab3275bd650b989 +DIST SQLAlchemy-1.1.3.tar.gz 5111411 SHA256 8b0ed90292a294e17d24482c9328abe69eb8e3143e2bd7103b6fadae2562638f SHA512 b35994f5dc005db7ddc82b353f1cec639e081f5965177e83f7b834af34fdcdfabcf35b45ac6aea3366168c7b0a0d3e95e86b7e84e715e1483039806e976f9e48 WHIRLPOOL 3fcf0a7971e4e81dc346d809e07e1993720b88770300f81a916d799afd29aedbc8742a196a4bf4f922d8015f40bb7da0332801027cba24a985a76d0f2b0c9ae4 diff --git a/dev-python/sqlalchemy/sqlalchemy-1.1.3.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.1.3.ebuild new file mode 100644 index 00000000..243bc3f --- /dev/null +++ b/dev-python/sqlalchemy/sqlalchemy-1.1.3.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy ) +PYTHON_REQ_USE="sqlite?" + +inherit distutils-r1 eutils flag-o-matic + +MY_PN="SQLAlchemy" +MY_P="${MY_PN}-${PV/_beta/b}" + +DESCRIPTION="Python SQL toolkit and Object Relational Mapper" +HOMEPAGE="http://www.sqlalchemy.org/ https://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 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="doc examples +sqlite test" + +REQUIRED_USE="test? ( sqlite )" + +RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy) + )" + +S="${WORKDIR}/${MY_P}" + +python_prepare_all() { + # Disable tests hardcoding function call counts specific to Python versions. + rm -r test/aaa_profiling || die + distutils-r1_python_prepare_all +} + +python_compile() { + if ! python_is_python3; then + local CFLAGS=${CFLAGS} + append-cflags -fno-strict-aliasing + fi + distutils-r1_python_compile +} + +python_test() { + # Create copies of necessary files in BUILD_DIR. + # https://bitbucket.org/zzzeek/sqlalchemy/issue/3144/ + cp -pR examples sqla_nose.py setup.cfg test "${BUILD_DIR}" || die + pushd "${BUILD_DIR}" > /dev/null || die + if [[ "${EPYTHON}" == "python3.2" ]]; then + 2to3 --no-diffs -w test || die + fi + # Recently upstream elected to make the testsuite also pytest capable + # "${PYTHON}" sqla_nose.py || die "Testsuite failed under ${EPYTHON}" + py.test --verbose test || die "Testsuite failed under ${EPYTHON}" + popd > /dev/null +} + +python_install_all() { + use doc && HTML_DOCS=( doc/. ) + use examples && dodoc -r examples + + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "MySQL support" dev-python/mysql-python dev-python/mysql-connector-python + optfeature "mssql support" dev-python/pymssql + optfeature "postgresql support" dev-python/psycopg:2 +}