diff options
author | Patrick Lauer <patrick@gentoo.org> | 2016-10-01 23:12:27 +0200 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2016-10-01 23:12:46 +0200 |
commit | efb88502fd8b252231c3ae34b0346d858f0febf8 (patch) | |
tree | 5a7b5e322b7c627521ff6e30fd5474c975c6709e | |
parent | dev-python/cryptography: Bump (diff) | |
download | gentoo-efb88502fd8b252231c3ae34b0346d858f0febf8.tar.gz gentoo-efb88502fd8b252231c3ae34b0346d858f0febf8.tar.bz2 gentoo-efb88502fd8b252231c3ae34b0346d858f0febf8.zip |
dev-python/sqlalchemy: Bump
Package-Manager: portage-2.3.0
-rw-r--r-- | dev-python/sqlalchemy/Manifest | 1 | ||||
-rw-r--r-- | dev-python/sqlalchemy/sqlalchemy-1.0.15.ebuild | 74 |
2 files changed, 75 insertions, 0 deletions
diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest index 8dc4eea686db..608ca4026c00 100644 --- a/dev-python/sqlalchemy/Manifest +++ b/dev-python/sqlalchemy/Manifest @@ -4,5 +4,6 @@ DIST SQLAlchemy-1.0.10.tar.gz 4705865 SHA256 963415bf4ea4fa13698893464bc6917d291 DIST SQLAlchemy-1.0.11.tar.gz 4708987 SHA256 0b24729787fa1455009770880ea32b1fa5554e75170763b1aef8b1eb470de8a3 SHA512 b7f4d97faffefad65bbfb0c16c1ac0e27addc28546637ad323273311cfe4ef17be6e77e6279331b575ffd6cfdc6e57634666e4898aa484b275142cf665ba4920 WHIRLPOOL 24f434d6baeffb478636517e9d5fbf49f8f5fd80dbd8ce7cdb065de61055cd873a79c5afbfb2be2fbb07a14bf65a91f33d93ca180b27f07c08cb5a4619adc9bf DIST SQLAlchemy-1.0.12.tar.gz 4748974 SHA256 6679e20eae780b67ba136a4a76f83bb264debaac2542beefe02069d0206518d1 SHA512 67878cd5dd43bebcf17ec40e6879084e661652d0cef3a848eaa3fbc89dcd499ba7bba595ae514a531889496c182a76cd78e2e7ea37ab366ce6b373cbe963c8af WHIRLPOOL fb9c9a8598338f58c837d7a3593244b9f7748495ee588162dae64b0fac2f053e36bfe436656f58aa0a8e671ccb04d01d52154a07bb149526d6a36f02de9e49ce DIST SQLAlchemy-1.0.14.tar.gz 4765726 SHA256 da4d1a39c1e99c7fecc2aaa3a050094b6aa7134de7d89f77e6216e7abd1705b3 SHA512 ae504f413ca8d803e90f4bb383a32196e9242764c966b42a0dcbac96aa75cd716079e9acd9ed2e4ab621a1224de4675af5407cacc95de47331a3befdbc1ab662 WHIRLPOOL 792d92b449070bae90d4b18b4b933b664f41dbb2bd3c5e2426b1ee89dc1ab8a8204eb0969d4b0d2aa67cbe7321a8fa868be2513073e3176d85f09350413e09db +DIST SQLAlchemy-1.0.15.tar.gz 4776213 SHA256 586f5ccf068211795a89ed22d196c5cc3006b6be00261bcac6f584c0b8e0845a SHA512 12ca4afc8d26a666d721c70399ae30a3c63087265ee0debc10261fd6f1a31b15d5e43c6203da1703f8803c449cf650357d631e12be42fce605311e7acdb2c135 WHIRLPOOL 2ea6f6645fc416f3118adb4d4746f028dcf0e8e9f6c1eb20fb853609fad9a2ab8de5c167b0d9d00dc8de62fd3d244a997b327b55f244172827d44820be646caf 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 diff --git a/dev-python/sqlalchemy/sqlalchemy-1.0.15.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.0.15.ebuild new file mode 100644 index 000000000000..243bc3f8fb09 --- /dev/null +++ b/dev-python/sqlalchemy/sqlalchemy-1.0.15.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 +} |