dev-python/sqlalchemy: Bump
authorPatrick Lauer <patrick@gentoo.org>
Tue, 7 Nov 2017 06:55:44 +0000 (06:55 +0000)
committerPatrick Lauer <patrick@gentoo.org>
Tue, 7 Nov 2017 06:56:08 +0000 (06:56 +0000)
Package-Manager: Portage-2.3.13, Repoman-2.3.4

dev-python/sqlalchemy/Manifest
dev-python/sqlalchemy/sqlalchemy-0.9.10.ebuild [new file with mode: 0644]
dev-python/sqlalchemy/sqlalchemy-1.0.19.ebuild [new file with mode: 0644]
dev-python/sqlalchemy/sqlalchemy-1.1.15.ebuild [new file with mode: 0644]

index 7ef66a692c2c82b42d055b258d3355e611729548..ca97ad2455969c56393c153c2bb4ba04e1a9197d 100644 (file)
@@ -1,9 +1,12 @@
 DIST SQLAlchemy-0.7.10.tar.gz 3541639 SHA256 77aa39d65c9d043eba6ba329b359ff867424fd6c403b7c0cb112b65e507e1d66 SHA512 631bc4ffb419defa531a66d82449fe48f93c88371ba0b8ab4217d900a0d1d90efe9699d8a9048d5c2ed33948c6d2f7cae46452ee45d442914018f3361e804367 WHIRLPOOL 74ffc17efbcbb2ac67712b9e11aa48431d18970f46ae5985aaa345aa8691f96e4acc4cf6fa37606699fbba83fcb7f74b0360fea2ac5e93a451585019e110f2ed
+DIST SQLAlchemy-0.9.10.tar.gz 4274855 SHA256 445cba2d5e36b9334aa06c06e00fbedb71f1b1dd03d1d2763b6cf77b9cd6163b SHA512 484f414a7133c51f231aeca3980fc088c8f952bc0a1f6cc5b6cc3c5aa6623fbe372381ce179e4cd588adcc515f6d73b52b7d8952e1f0faf0495956b364e14554 WHIRLPOOL f8b4d4a50b191747a54e5ec575e3fa3118cc731fbb6265f35edd5b066382192565122c979ce38d469b5d1d3f1cae9308cf6dde98bc822f1f1ede12b8e6ba8919
 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.0.19.tar.gz 4788659 SHA256 7dbca608466796816fda85282b9c90b9e0897805f4210450f18f9c2c8eee9eb5 SHA512 57d51fecb40e349b05da027bf39375a81c1d98e6d47f4dd076b9c7e2e3c8b6bdf8317e7b3e88c015cbd0d7858324ba0499a21a8ac39568c9ec95326e02af97bb WHIRLPOOL e0e2b18769444cd66412ddcef453dd546859d5bb61c6f7eef193fdd9143d1394ac44c093581af17263668534bff49a5a2777fc56656cb5e42c6a5857653b172a
 DIST SQLAlchemy-1.1.11.tar.gz 5197520 SHA256 76f76965e9a968ba3aecd2a8bc0d991cea04fd9a182e6c95c81f1551487b0211 SHA512 322ec0baa6360099eb000ddd36e28267f64019eb72201ecf60fc478591679e0dd5d2b1139a93036d2ec0165c588ea5836a67ed21dbf7c423b64432589bd73de4 WHIRLPOOL cebae426ff588ccf59e940fb11812abe60cf53fa1f67da954bbdbe06f558c5185f548e9446149e3187219608b1c9782af82c14bb41606b083f58103583d055bb
 DIST SQLAlchemy-1.1.12.tar.gz 5178158 SHA256 d501527319f51a3d9eb639b654222c6f67287228a98ba102b1d0b598eb3266c9 SHA512 f9d14b3d4eab049e9d7377008cf11678c1413e204baad898093282d1812d242a544bbb6606b4e9a83b37d5c17bcec3c115ffe402dda8b6a84d0d5186415645e3 WHIRLPOOL b6ab34dfb6eaf57d2440cc2edadc518785896b82b1c72b3cd2e3cf5296cb7db13e6705b11387412fd02db40a29380c04260dae84d774a4de1d5990ebb3ac385e
 DIST SQLAlchemy-1.1.13.tar.gz 5179952 SHA256 2a98ac87b30eaa2bee1f1044848b9590e476e7f93d033c6542e60b993a5cf898 SHA512 556222ff6b8218e7c3b892bf15ee24966aea366bf9d4e94db9762c56120aac3cde8eb174763a1edc1686744dd5c10f16791ac83111cb9d3da15f0ca5bdfad377 WHIRLPOOL a8a8ab2b18beb23164c26a42ef542fc8da3345657a67944d70885da632ef2bc1523144c5c8e280f74c767308f58db261cfc6f1a30ecbd2e53f4da1d046fb1ed1
 DIST SQLAlchemy-1.1.14.tar.gz 5183519 SHA256 f1191e29e35b6fe1aef7175a09b1707ebb7bd08d0b17cb0feada76c49e5a2d1e SHA512 82b9a97553a27e8d366401b1b99ebc884ee3a95f7ccefc27dae50bc335e30a4c019906caf07238c2a91b7b89a4a5a5e1118defb11e6a2719b631ca0d1e0905a1 WHIRLPOOL 9649bb860a09829b45a8ffc2097491d6853337258c14f8a7496ed8d177add425da183dc69e0f7cb926ef9706a7ccee4158eb11969a0b00048155d10d6e97f880
+DIST SQLAlchemy-1.1.15.tar.gz 5197858 SHA256 8b79a5ed91cdcb5abe97b0045664c55c140aec09e5dd5c01303e23de5fe7a95a SHA512 a88ad65b8b0506f4a86cea1da183ecc9279cf8ce9b9b0f3eb2a512e46130d4bc58d38d86abd803029044d5fc80a6e0a80180094934720990caad209b0a98e115 WHIRLPOOL 414ae5543ff6e7650cf9c38f80928503d347b6bd6d92cc5c64f8da628caaac96fd4434fa8798cdd590ab8648f83dabd9b0c69139f1782493f05b96ad68eadc4c
 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-0.9.10.ebuild b/dev-python/sqlalchemy/sqlalchemy-0.9.10.ebuild
new file mode 100644 (file)
index 0000000..425b8f1
--- /dev/null
@@ -0,0 +1,87 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_4} pypy )
+PYTHON_REQ_USE="sqlite?"
+
+# known failures #574728
+RESTRICT="test"
+
+inherit distutils-r1 flag-o-matic
+
+MY_PN="SQLAlchemy"
+MY_P="${MY_PN}-${PV/_}"
+
+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
+       if [[ "${EPYTHON}" == "python3.2" ]]; then
+               2to3 --no-diffs -w test
+       fi
+       # Recently upstream elected to make the testsuite also pytest capable
+       # "${PYTHON}" sqla_nose.py || die "Testsuite failed under ${EPYTHON}"
+       py.test test || die "Testsuite failed under ${EPYTHON}"
+       popd > /dev/null
+}
+
+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
+
+       elog "mysql backend support can be enabled by installing mysql-python for cpython py2.7 only,"
+       elog "or mysql-connector-python for support of cpythons 2.7 3.3 and 3.4"
+}
diff --git a/dev-python/sqlalchemy/sqlalchemy-1.0.19.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.0.19.ebuild
new file mode 100644 (file)
index 0000000..1e0a631
--- /dev/null
@@ -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
+}
diff --git a/dev-python/sqlalchemy/sqlalchemy-1.1.15.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.1.15.ebuild
new file mode 100644 (file)
index 0000000..3bce72a
--- /dev/null
@@ -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 ~x64-solaris"
+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
+}