summaryrefslogtreecommitdiff
path: root/dev-python/sqlalchemy
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/sqlalchemy')
-rw-r--r--dev-python/sqlalchemy/Manifest2
-rw-r--r--dev-python/sqlalchemy/sqlalchemy-1.2.9.ebuild67
2 files changed, 69 insertions, 0 deletions
diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest
index 27cb9847ec70..bf6395a0a289 100644
--- a/dev-python/sqlalchemy/Manifest
+++ b/dev-python/sqlalchemy/Manifest
@@ -10,6 +10,7 @@ DIST SQLAlchemy-1.2.0.tar.gz 5451303 BLAKE2B 273edad173583d47d6ebdb4d3efddddb6e8
DIST SQLAlchemy-1.2.2.tar.gz 5460157 BLAKE2B 60c5066a2993d9878f5d3abec1a6a9a4d0a3dc5878df71baee895e5278b95696b775e16000da0ba4c2c358b0a90e70faff0b5733a4f00255b0ec0d605cdd07c6 SHA512 060ce803b8b621d51aa69100c598c424c36f051bdce1e2df3f4d837815f91cb55c4e089db5375b01832ec28bf42332311009c51c1b5e7aae92aea001ee880db5
DIST SQLAlchemy-1.2.4.tar.gz 5555033 BLAKE2B 5301d365cf6462b8a61deb3f01dcf86897c0070fe80f570b91f94a02e1830088b558004d915d17589dfaea1e5fd382fdf88c44020f3b3b94974db773b5ed2db6 SHA512 a12d17f222cc5fc4360c439e19cae67a013af07e2c22b1f55511c4862d718578249e6bf83151eefe35957e530dbf18a565b08cded3a5e45dd21103201f4d24e8
DIST SQLAlchemy-1.2.7.tar.gz 5571719 BLAKE2B 995c977cd5bf22b464e5316d579a3bd5b15f2c2600230c729381f3dbecd1dd6a728ee08d5e8afa8e212bdc7e5272d8723706daed1db0ec353e3b56f5b9c614d7 SHA512 c592916dae177bcda7b3d7111af4269815d555273b548e35b58caaf518f7a5dc2256e5b98601cbbf0bbc95405fadd89f8e6b977e0d8104ce4e216d5c6924eda2
+DIST SQLAlchemy-1.2.9.tar.gz 5606090 BLAKE2B 7aade70c37a6e9afb1e459c88ea0d1ef927541d3ff8c64a634f81ba871fb9d0d14841e1c7a1ed28c12cb7a4d84d6ede6bf132f54d47019967fec8acd55757c33 SHA512 88ef57b9e456d7047bd7b5fd9607c87a473a9917d662960b0614fbfc40891002309eda55e66e42a6a280c6d6e7e8e6921349901a19c1caaedace2d532b32af22
EBUILD sqlalchemy-0.7.10.ebuild 1580 BLAKE2B 6860bdd76eef99dd397c69450f1fea1af0ec7b1c6b07088b35887342161dfe6a67052a2ff8514ae00f1f5e4323766a8235af2cdb1b4739967e32c8334845e219 SHA512 9c405ee96b959895ab7eb155352186ea5a49a263053a819369cc672f2c835dc64a06d6d41d2bf2ca5a245e986a788d9cc80b679674e4f6f16988e88d7bcab876
EBUILD sqlalchemy-0.9.8.ebuild 2456 BLAKE2B 83af89e3bb505cd470afc72d293da07b3efa92f583cd6016ab0a649cfce27d116e0b1a924373dc684abbb0e3969b447ef17a9967915da859662abbfceea12ea3 SHA512 12cc7ac62c6a44eb9dfd58bb3ebaf4a3e93402b0027231d686a8e2205c0ad1177a0cafbbf19462aef2b825e455d059a86fd959f653b6af1dd30f3426deef3fcd
EBUILD sqlalchemy-1.0.17.ebuild 2136 BLAKE2B c45fb52040c9674836a28c1b89663254b615d624a4dc353fa0f1e0dbd9c00d0e59120659f521133eb80e2a7df46c627041a3f472850105d425a219db9eaf7b6e SHA512 82cf12046128af4fa9d97666d6c1625e1745487bc30911e9964b43e875511a56c8b86ef60581d6bd5a0922d48327e24e82b98591725d9019434edec0704a52cf
@@ -21,4 +22,5 @@ EBUILD sqlalchemy-1.2.0.ebuild 2155 BLAKE2B c4fa48856128d226d496998ddfe18aca58a8
EBUILD sqlalchemy-1.2.2.ebuild 2172 BLAKE2B 6c6e47e4d87e01e4a5c16671d826172c0e672d9b97e2878fe157673238c238cb2f047a441db55167841e4fb68f4dc9feace089e536b4691ab4509d051508703d SHA512 9e5bc879a87d7ed0f201c7d7747ac8d2322937880f50b176c7bbd3c78c4deb098f300a5d5e9aff971690356425abc7887897a40255deaa594d27eb89ea7a41e6
EBUILD sqlalchemy-1.2.4.ebuild 2205 BLAKE2B c02b00eef5ff4289b74dd1ada0efc98a3739cb5cc0326f14c55197e7b257c3cd1f96b975ec9a94098cff01908c6d87f1acfc244bc94deaf8ccf2b8b5b20e4f8e SHA512 da638532674c839393b7c4af35a2d3bd0b5beab8ec28dd0142f64617e961ab3db6e53e82ac4bfd8e2e8db6c83f7d09f1db3dcf7084033b6be42de11e244d72c3
EBUILD sqlalchemy-1.2.7.ebuild 2208 BLAKE2B 127338ba650840a0b99e57cbd41d261ae195d32395aa6b03bc16dd105f9f2ac156e4813e8508abd9d06f7ee2f2f994ac5d05726597a500192c4a7be7c8c2e94e SHA512 911d22c550de6e37ec025dd54d2034ab224fdbb664c4ab7c569444ef5fca699ec70809131905653be0094b062d9bd42ae27831431cd18b8a4e1c98d3ab9a3345
+EBUILD sqlalchemy-1.2.9.ebuild 1755 BLAKE2B f24d82f5bd0358b7adc72384acade88ee113b698fbcb4909da9e548462ec992067a576a8351f9e56c10149b783e58d53125f6a719272f5d88b5d5037173c71f6 SHA512 721591adb9b9d6081de47f9d26baa7d565b64c5b2c0cfac3a4badc4682c8a6ecaece85214a6313665c207e912210ac92e49259bad0836d9a19e37d9573d6d4df
MISC metadata.xml 313 BLAKE2B 71212a9a3076b472b488bdb4e12fef98e16881a32a8383c5fa6a9008353d2e043dfe64cb536ecef145ba74ba77ef3a6c43d705d5072d1b56e11eacfadd1d0edd SHA512 ef6298f9e38312117a0d1ab1e63f2fb21ae51ff149053603c19437b90d954827858579ab8f021cb52919aff4474a27f5a598d8515a7e5a9f2e7e35aee53c5326
diff --git a/dev-python/sqlalchemy/sqlalchemy-1.2.9.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.2.9.ebuild
new file mode 100644
index 000000000000..4a8b2a2bac4f
--- /dev/null
+++ b/dev-python/sqlalchemy/sqlalchemy-1.2.9.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} )
+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.org/project/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 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
+IUSE="doc examples +sqlite test"
+
+REQUIRED_USE="test? ( sqlite )"
+
+RDEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+DEPEND="
+ ${RDEPEND}
+ test? (
+ <dev-python/pluggy-0.7s[${PYTHON_USEDEP}]
+ 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() {
+ pytest -vv test || die "Testsuite failed under ${EPYTHON}"
+}
+
+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
+}