diff options
author | Patrick Lauer <patrick@gentoo.org> | 2017-06-29 10:21:46 +0200 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2017-07-04 09:35:32 +0200 |
commit | 4fec270883da5c1a68cd83d3cdf6f31ea30d4d0e (patch) | |
tree | 0d75be43b79632bbef01e629061d258a10e73148 /dev-python/sqlalchemy | |
parent | media-sound/flacon: verbump to 3.0.0. (diff) | |
download | gentoo-4fec270883da5c1a68cd83d3cdf6f31ea30d4d0e.tar.gz gentoo-4fec270883da5c1a68cd83d3cdf6f31ea30d4d0e.tar.bz2 gentoo-4fec270883da5c1a68cd83d3cdf6f31ea30d4d0e.zip |
dev-python/sqlalchemy: Bump
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-python/sqlalchemy')
-rw-r--r-- | dev-python/sqlalchemy/Manifest | 1 | ||||
-rw-r--r-- | dev-python/sqlalchemy/sqlalchemy-1.1.11.ebuild | 73 |
2 files changed, 74 insertions, 0 deletions
diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest index 08bc4b95d1f4..199a06a8ab4b 100644 --- a/dev-python/sqlalchemy/Manifest +++ b/dev-python/sqlalchemy/Manifest @@ -1,5 +1,6 @@ DIST SQLAlchemy-0.7.10.tar.gz 3541639 SHA256 77aa39d65c9d043eba6ba329b359ff867424fd6c403b7c0cb112b65e507e1d66 SHA512 631bc4ffb419defa531a66d82449fe48f93c88371ba0b8ab4217d900a0d1d90efe9699d8a9048d5c2ed33948c6d2f7cae46452ee45d442914018f3361e804367 WHIRLPOOL 74ffc17efbcbb2ac67712b9e11aa48431d18970f46ae5985aaa345aa8691f96e4acc4cf6fa37606699fbba83fcb7f74b0360fea2ac5e93a451585019e110f2ed DIST SQLAlchemy-0.9.8.tar.gz 4080098 SHA256 de3ac04ecab0a7e0af64eee30a71e723ba5886b958205f7354dd62439da60389 SHA512 3df7d7a64cdfe7b684be98e7e9d6836da54c391343bb047224a11df888041034bcc54cc30d15dc3d56b5d397b35e6aabe5732e7ca8fbf553bd8d98731c249ea5 WHIRLPOOL 2cedf7713753a6cf8838741fcf06c5510387aa4e661ea3c0ecc2bb7bdb5b03fb90f072ccd1a5671f03943952340c6c3525836e1ebe9246506143b055a1ca1991 DIST SQLAlchemy-1.0.17.tar.gz 4787165 SHA256 4352b8ddc625fe648e9e93929fa217c234d7b1a1a2412a3021924b5c2bd95194 SHA512 18fc00bd80d136a65d5ad6929dac97a67514e001baaeaa57e95b31243cfe11aab9ab62ba8f7e68a5e833fbf024507c4908f99277445c8c3c9a3314981567978c WHIRLPOOL 7bfe9479f8cd8290d8065bc62d4ecd6ee1fdc17ada0ebc056ae2a90643a7c8e361b4456f8b93fc9cffa1e72316146975b0fe4f3ce44a8e4f76cb0994fe052a13 +DIST SQLAlchemy-1.1.11.tar.gz 5197520 SHA256 76f76965e9a968ba3aecd2a8bc0d991cea04fd9a182e6c95c81f1551487b0211 SHA512 322ec0baa6360099eb000ddd36e28267f64019eb72201ecf60fc478591679e0dd5d2b1139a93036d2ec0165c588ea5836a67ed21dbf7c423b64432589bd73de4 WHIRLPOOL cebae426ff588ccf59e940fb11812abe60cf53fa1f67da954bbdbe06f558c5185f548e9446149e3187219608b1c9782af82c14bb41606b083f58103583d055bb DIST SQLAlchemy-1.1.5.tar.gz 5134252 SHA256 68fb40049690e567ebda7b270176f5abf0d53d9fbd515fec4e43326f601119b6 SHA512 94cfa2a94c21a7f40a34f7bebacf74cafcd8cfc24cabd5a79e0ed28a7a6d0c4182c9ceb076b07e1ee5ca1bd01a38a25ca264bbfdf5344c40e0c59b59582eb043 WHIRLPOOL 2264a5f23e91854d9ad6dcdabc2622658e900be560e7f6f5461357850c445574a982ea81c9ae1b5fb35bea70c419b98f8f3ab6dd4ef1990b9ac647d7f7e80ef5 DIST SQLAlchemy-1.1.9.tar.gz 5164787 SHA256 b65cdc73cd348448ef0164f6c77d45a9f27ca575d3c5d71ccc33adf684bc6ef0 SHA512 95df08e6bca0013ddc7e61aa82d7d51eb133a9b34aa430a785bd8cec8eb79a2b6e1503c1757a71487b09e2f292b5916e6797efb2026d43175e34a52b68cf81c6 WHIRLPOOL c5ee51e72f4364d5c2c0bef0603212019d7f6d62f6cd153c88c31477f5363c37922e86e98821a17d0597ab1d360110629f53ec1257cc859204fcb7d05b3cb55e diff --git a/dev-python/sqlalchemy/sqlalchemy-1.1.11.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.1.11.ebuild new file mode 100644 index 000000000000..1e0a6318de86 --- /dev/null +++ b/dev-python/sqlalchemy/sqlalchemy-1.1.11.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} 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 ~arm64 ~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 +} |