cleanup sqlalchemy

This commit is contained in:
Andreas Billmeier 2020-09-05 18:21:15 +02:00 committed by Andreas Billmeier
parent 38615a8854
commit 3ebcb2fa67
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
11 changed files with 70 additions and 309 deletions

View File

@ -46,7 +46,8 @@
* rework jsonrpc-websocket
* rework jsonrpc-base
* rework python-jose, remove jose, rename, and remove from newer ebuilds (did not find a ref)
* update gTTS-token-1.1.3-r2
* cleanup sqlalchemy
2020-09-01
* bump xknx-0.13.0

View File

@ -1,17 +1,11 @@
DIST SQLAlchemy-1.3.10.tar.gz 5967223 BLAKE2B 987b74d1ebdf13974e278bb593e0080a5ec99b420be3f19544de3061422b67b28d4aacbb082f5686ad288b0842c7b43cea2b63234ea8bb1dbae00735a4d86453 SHA512 d4ea7c56b1a2e487f596db2d0968e2312cee2a7a0b68a9a98b5d9439974e79fcd21b7dda4cbdffd5013172ad4bdadf7283cade62b2c26875905fbeb318d0e83b
DIST SQLAlchemy-1.3.12.tar.gz 6020509 BLAKE2B 18bced954c4821e5ac3095a374bbd0c20c99738e42b54eb53b85322e5221689e047b4e462fe6b9144463e9da95d52d4fb3a840f50f9c31af769e2b80b77b4c29 SHA512 2748d945f0cabdb35fe1277045a32ef6e030f07c761715b6c02228af35ec470b829b29ade481d3b96a6da54329575d6e79c62539420800b4f5e3f56dcb2f7326
DIST SQLAlchemy-1.3.13.tar.gz 6040899 BLAKE2B 0b2f4cf74ff70eb95fc5f57f709e5113a24e2e5f90f060d250490f7749514cfaee6d647704dae6813a23d5c42484d374392961a7139668d5936237def34055d3 SHA512 43ed4fe3505dab775996dc4b01ea729069dee3969f72188f130a942212252d97acb721e51e1a974a2756fdd62b8bf2c626a33f6913d585f669154212da3b783a
DIST SQLAlchemy-1.3.15.tar.gz 6060775 BLAKE2B 383b98a45c0ca330b58326b5055e1e690c0c928c63e1e7b7878b4799b03a1f2b2ae1ce9f9a0e2326ed21e2d73bee05b711800118af88df57f9ce0f55e813dab4 SHA512 ec9abb05866325be6b6381cd5c1d5c2139acea21185320e6918803c81d807839aab886f07505b3581bf6701f310b1942a52e56e024e6d457106343ee0e9ccd59
DIST SQLAlchemy-1.3.16.tar.gz 6085722 BLAKE2B 874562df1bb291b006c6536267db1105891380be524d2b3f4886c94fd252fd72d1b034d5643c9e61b282e649f2bc248888e117a152c55abfd517fc1bb9ac1e1c SHA512 8eae306fc21f22da7411badd678f31129ecac18f9a4d8526101ecd0fa8c77e30a4b7a8e4361fff3fc08b031d90cd82343321c1ea9175ad187fe28a25ad9ea6d8
DIST SQLAlchemy-1.3.17.tar.gz 5979141 BLAKE2B f0fa46493461f532ebca9420fc9f49a2c04af888aa99653946a5bb563d40b8bb714a03301300ebb80cca76a99f8226ddfcde4216e8fc2593d3a161b5072276ab SHA512 6f6d54b9018ece6c289f28a3a41ffb1b2216206edee08c49f387e9f30740969dfe0f8272654ce4efca159a2a6619e76c41b2ad2b10c391cdd64681ac17d0bc79
DIST SQLAlchemy-1.3.18.tar.gz 6039792 BLAKE2B 90cf3b0b42b9b34ba96b9e548639e4d3a250c038a61abec69e6bb8f743fe7da3810dfe0c8e8831b674cd931e877da7745f4461149f3cb0bfc28a6f864e7aaf03 SHA512 8a358fa9fea35ecc89a2f566d5873668923dc3999508fb6bf314972b78fd9dd06eca227b992f4388ba0d7e9cad39783166b57184fe69eb5dcec6d9adb828f0ec
DIST SQLAlchemy-1.3.19.tar.gz 6197860 BLAKE2B 157bfeee904cd4521ce21a7e7c5232eb1d31ab971eb3b262db6b31bae940045ca9976e840282b5cb12174fe1a6d6727d611b781b34617140a91381b4108c48a6 SHA512 acd3d7c130970dfcc5792243b3f0f28f72b750bad0a3898358aeee9ac72ba38fd4298734ec481abf0fc5ebe1e1398c16672a6c327bac5b7821d08c67508690c8
EBUILD sqlalchemy-1.3.10-r1.ebuild 1596 BLAKE2B 85c06d2d02481ab17ed685d92d2b82f0149b25c109ec32d69c829c9171c50b2bdbbe985abc436625c95a9a10be879f0a5deb4c47c5a95df1edc613ad01a26a1d SHA512 b7081e66587608bbfca476d24c590db79f41e7296030f461da81121d6828359a76d2a32047a923c7c600274e43e2fa5f805b8dae2859168ba59cc1a7797b3645
EBUILD sqlalchemy-1.3.12.ebuild 1607 BLAKE2B d4cde8fb225026cfeb71cbe9b5dba066a8230676e09eb1d84131cd0d51fb4ccbd25e43e190b58423fff59cb6d2138a3a0809bd73b3569b1a0925ecda2d663371 SHA512 d052d880695d11b4945f90a97fffe239d1af30953e67ce18a54efe3e7fcacbdb1d5076e28fb0e9061a5468285c0699db00918018670a2f1cb13a5f0bf5f1ebfd
EBUILD sqlalchemy-1.3.13.ebuild 1609 BLAKE2B 3a3af0ea996d22812066a3e571f2280e106cb03b73e8107ad3705448adfdd8fc5e0c9854bac14293f05aed2914e3d49a46b97de41e350fbca8fba1156a33768f SHA512 ec690fdcee1670833427062ff06a38415b53681777d36282be7aa95d6de3b25bb5f664660043c2fcc5573efa759b57ec6fe87db515773d535c7ab88b0ee01160
EBUILD sqlalchemy-1.3.15.ebuild 1609 BLAKE2B 3a3af0ea996d22812066a3e571f2280e106cb03b73e8107ad3705448adfdd8fc5e0c9854bac14293f05aed2914e3d49a46b97de41e350fbca8fba1156a33768f SHA512 ec690fdcee1670833427062ff06a38415b53681777d36282be7aa95d6de3b25bb5f664660043c2fcc5573efa759b57ec6fe87db515773d535c7ab88b0ee01160
EBUILD sqlalchemy-1.3.16.ebuild 1609 BLAKE2B 3a3af0ea996d22812066a3e571f2280e106cb03b73e8107ad3705448adfdd8fc5e0c9854bac14293f05aed2914e3d49a46b97de41e350fbca8fba1156a33768f SHA512 ec690fdcee1670833427062ff06a38415b53681777d36282be7aa95d6de3b25bb5f664660043c2fcc5573efa759b57ec6fe87db515773d535c7ab88b0ee01160
EBUILD sqlalchemy-1.3.17.ebuild 1609 BLAKE2B 3a3af0ea996d22812066a3e571f2280e106cb03b73e8107ad3705448adfdd8fc5e0c9854bac14293f05aed2914e3d49a46b97de41e350fbca8fba1156a33768f SHA512 ec690fdcee1670833427062ff06a38415b53681777d36282be7aa95d6de3b25bb5f664660043c2fcc5573efa759b57ec6fe87db515773d535c7ab88b0ee01160
EBUILD sqlalchemy-1.3.18.ebuild 1609 BLAKE2B 3a3af0ea996d22812066a3e571f2280e106cb03b73e8107ad3705448adfdd8fc5e0c9854bac14293f05aed2914e3d49a46b97de41e350fbca8fba1156a33768f SHA512 ec690fdcee1670833427062ff06a38415b53681777d36282be7aa95d6de3b25bb5f664660043c2fcc5573efa759b57ec6fe87db515773d535c7ab88b0ee01160
EBUILD sqlalchemy-1.3.19.ebuild 1609 BLAKE2B 3a3af0ea996d22812066a3e571f2280e106cb03b73e8107ad3705448adfdd8fc5e0c9854bac14293f05aed2914e3d49a46b97de41e350fbca8fba1156a33768f SHA512 ec690fdcee1670833427062ff06a38415b53681777d36282be7aa95d6de3b25bb5f664660043c2fcc5573efa759b57ec6fe87db515773d535c7ab88b0ee01160
MISC metadata.xml 252 BLAKE2B 507e0ddc9d50b879ff374b903b142f85d020dfd6c486aba2af84fe082c878e780edbb79188ae10104d57db0eb775c86814cc8c06891a3854c9da840a4d377050 SHA512 9470ac9c8a5a4f80e3f767e7aa198addc7b21866c63b2a310e9f41ce65817672fb77423117bdd619e99cb62322025aeadf50717e23eafabf99080fcc106820af
EBUILD sqlalchemy-1.3.15.ebuild 1463 BLAKE2B 46a4a523d014fe7b948f04b2d4fff22ea68dedbe54230fa721e2a1eaf4f6b25dc91158016c2b450b095597a383451162c0b18e4be0fd69dd7431789b67ccb2aa SHA512 560b879d1eb17684e7a5d53d93a2c771b7839868e7fc5fe7cca903898d44d675384b97375ee4b54569d4ece9c768e1c7a269ed8ef22cd72d984864b17b899f0c
EBUILD sqlalchemy-1.3.16.ebuild 1463 BLAKE2B 46a4a523d014fe7b948f04b2d4fff22ea68dedbe54230fa721e2a1eaf4f6b25dc91158016c2b450b095597a383451162c0b18e4be0fd69dd7431789b67ccb2aa SHA512 560b879d1eb17684e7a5d53d93a2c771b7839868e7fc5fe7cca903898d44d675384b97375ee4b54569d4ece9c768e1c7a269ed8ef22cd72d984864b17b899f0c
EBUILD sqlalchemy-1.3.17.ebuild 1463 BLAKE2B 46a4a523d014fe7b948f04b2d4fff22ea68dedbe54230fa721e2a1eaf4f6b25dc91158016c2b450b095597a383451162c0b18e4be0fd69dd7431789b67ccb2aa SHA512 560b879d1eb17684e7a5d53d93a2c771b7839868e7fc5fe7cca903898d44d675384b97375ee4b54569d4ece9c768e1c7a269ed8ef22cd72d984864b17b899f0c
EBUILD sqlalchemy-1.3.18.ebuild 1463 BLAKE2B 46a4a523d014fe7b948f04b2d4fff22ea68dedbe54230fa721e2a1eaf4f6b25dc91158016c2b450b095597a383451162c0b18e4be0fd69dd7431789b67ccb2aa SHA512 560b879d1eb17684e7a5d53d93a2c771b7839868e7fc5fe7cca903898d44d675384b97375ee4b54569d4ece9c768e1c7a269ed8ef22cd72d984864b17b899f0c
EBUILD sqlalchemy-1.3.19.ebuild 1463 BLAKE2B 46a4a523d014fe7b948f04b2d4fff22ea68dedbe54230fa721e2a1eaf4f6b25dc91158016c2b450b095597a383451162c0b18e4be0fd69dd7431789b67ccb2aa SHA512 560b879d1eb17684e7a5d53d93a2c771b7839868e7fc5fe7cca903898d44d675384b97375ee4b54569d4ece9c768e1c7a269ed8ef22cd72d984864b17b899f0c
MISC metadata.xml 457 BLAKE2B e4599b11f70da60c6b551ef67e5bfe628472f5ca86f4d2aaaf3c03dec502f52838081abedda0e7e8baf77778cc67282dd899ad709d411f72d5335f361e444c58 SHA512 e5e4a1cc64cd74767e2f85e12387d775173e691cdb4a020f94d7d7718e67d367d54b6f4e764fba4d68c45a1652c32832ff03d3d0e46aaf0d0b04255f466e61e5

View File

@ -5,4 +5,11 @@
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">SQLAlchemy</remote-id>
<maintainer status="unknown">
<email>mike_mp@zzzcomputing.com</email>
<name>Mike Bayer</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -1,67 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=( python3_{6,7} )
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="https://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="amd64 x86 amd64-linux x86-linux"
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
}

View File

@ -1,67 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=( python3_{6,7} )
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="https://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="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
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
}

View File

@ -1,67 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=( python3_{6,7,8} )
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="https://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="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
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
}

View File

@ -1,9 +1,9 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
PYTHON_COMPAT=( python3_{6..9} pypy3 )
PYTHON_REQ_USE="sqlite?"
inherit distutils-r1 eutils flag-o-matic
@ -14,26 +14,23 @@ MY_P="${MY_PN}-${PV/_beta/b}"
DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
HOMEPAGE="https://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/"
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples +sqlite test"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
IUSE="examples +sqlite test"
REQUIRED_USE="test? ( sqlite )"
RDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="
${RDEPEND}
BDEPEND="
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)
)"
dev-python/mock[${PYTHON_USEDEP}]
)
"
S="${WORKDIR}/${MY_P}"
distutils_enable_tests pytest
distutils_enable_sphinx doc
python_prepare_all() {
# Disable tests hardcoding function call counts specific to Python versions.
@ -49,12 +46,7 @@ python_compile() {
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

View File

@ -1,9 +1,9 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
PYTHON_COMPAT=( python3_{6..9} pypy3 )
PYTHON_REQ_USE="sqlite?"
inherit distutils-r1 eutils flag-o-matic
@ -14,26 +14,23 @@ MY_P="${MY_PN}-${PV/_beta/b}"
DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
HOMEPAGE="https://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/"
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples +sqlite test"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
IUSE="examples +sqlite test"
REQUIRED_USE="test? ( sqlite )"
RDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="
${RDEPEND}
BDEPEND="
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)
)"
dev-python/mock[${PYTHON_USEDEP}]
)
"
S="${WORKDIR}/${MY_P}"
distutils_enable_tests pytest
distutils_enable_sphinx doc
python_prepare_all() {
# Disable tests hardcoding function call counts specific to Python versions.
@ -49,12 +46,7 @@ python_compile() {
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

View File

@ -1,9 +1,9 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
PYTHON_COMPAT=( python3_{6..9} pypy3 )
PYTHON_REQ_USE="sqlite?"
inherit distutils-r1 eutils flag-o-matic
@ -14,26 +14,23 @@ MY_P="${MY_PN}-${PV/_beta/b}"
DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
HOMEPAGE="https://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/"
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples +sqlite test"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
IUSE="examples +sqlite test"
REQUIRED_USE="test? ( sqlite )"
RDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="
${RDEPEND}
BDEPEND="
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)
)"
dev-python/mock[${PYTHON_USEDEP}]
)
"
S="${WORKDIR}/${MY_P}"
distutils_enable_tests pytest
distutils_enable_sphinx doc
python_prepare_all() {
# Disable tests hardcoding function call counts specific to Python versions.
@ -49,12 +46,7 @@ python_compile() {
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

View File

@ -1,9 +1,9 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
PYTHON_COMPAT=( python3_{6..9} pypy3 )
PYTHON_REQ_USE="sqlite?"
inherit distutils-r1 eutils flag-o-matic
@ -14,26 +14,23 @@ MY_P="${MY_PN}-${PV/_beta/b}"
DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
HOMEPAGE="https://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/"
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples +sqlite test"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
IUSE="examples +sqlite test"
REQUIRED_USE="test? ( sqlite )"
RDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="
${RDEPEND}
BDEPEND="
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)
)"
dev-python/mock[${PYTHON_USEDEP}]
)
"
S="${WORKDIR}/${MY_P}"
distutils_enable_tests pytest
distutils_enable_sphinx doc
python_prepare_all() {
# Disable tests hardcoding function call counts specific to Python versions.
@ -49,12 +46,7 @@ python_compile() {
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

View File

@ -1,9 +1,9 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
PYTHON_COMPAT=( python3_{6..9} pypy3 )
PYTHON_REQ_USE="sqlite?"
inherit distutils-r1 eutils flag-o-matic
@ -14,26 +14,23 @@ MY_P="${MY_PN}-${PV/_beta/b}"
DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
HOMEPAGE="https://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/"
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples +sqlite test"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
IUSE="examples +sqlite test"
REQUIRED_USE="test? ( sqlite )"
RDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="
${RDEPEND}
BDEPEND="
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)
)"
dev-python/mock[${PYTHON_USEDEP}]
)
"
S="${WORKDIR}/${MY_P}"
distutils_enable_tests pytest
distutils_enable_sphinx doc
python_prepare_all() {
# Disable tests hardcoding function call counts specific to Python versions.
@ -49,12 +46,7 @@ python_compile() {
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