diff options
Diffstat (limited to 'dev-python/sqlalchemy')
-rw-r--r-- | dev-python/sqlalchemy/Manifest | 4 | ||||
-rw-r--r-- | dev-python/sqlalchemy/sqlalchemy-1.3.11.ebuild | 2 | ||||
-rw-r--r-- | dev-python/sqlalchemy/sqlalchemy-1.3.17.ebuild | 59 |
3 files changed, 63 insertions, 2 deletions
diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest index 2d2705c19902..5849e7879df1 100644 --- a/dev-python/sqlalchemy/Manifest +++ b/dev-python/sqlalchemy/Manifest @@ -1,4 +1,6 @@ AUX sqlalchemy-pytest-deprecation.patch 2695 BLAKE2B d71c791e39a6caf9d8e67dc61ede490749ee7774c8719238b9291dfdd1e0fd591f278baaa47b7b61b4729b9aa1017bebd2b2d6dee4d15a47b2ad6d1f3829ca0e SHA512 709c0f80bfef99a1ef42446cad94a9518535b07697de21a7b4a83ce22a2fd30df495747e8ce31dfed21291f8ffc56867ccc0b0eff4b38de41ef26c99685a46d1 DIST SQLAlchemy-1.3.11.tar.gz 6007784 BLAKE2B c889ea28ae08fcb83d338ab01a64533142428ee91a6c11b9a7f2116f99161c066e66f49d76bdd2c7600f1a7f86a2add217f49dda4cf97566a875f28d3d4b24be SHA512 c691539db4edd62af749087728dfd424010bfb3ca2cc8503a4b96c1625d059d4c2a748b9a35cc870cc99ca9df61966cce406f9b570b25e55c3632a99b8621e74 -EBUILD sqlalchemy-1.3.11.ebuild 1597 BLAKE2B 5249e620fb57fb233de665afefc7b5a1386328d9f593803a7b635d3cacb5231ee73653f9ecca62eee76abdc1e32b6d0e902c158b54dc26562565fa66bcb4fd62 SHA512 917441c2a4621ee1e96a7b42cf889983a4d6be002acb5b7d474e609543747c1e3e3621cc680c47a361109b5ae31a1f5a314b0815449eb01875f00942cd7f95ff +DIST SQLAlchemy-1.3.17.tar.gz 5979141 BLAKE2B f0fa46493461f532ebca9420fc9f49a2c04af888aa99653946a5bb563d40b8bb714a03301300ebb80cca76a99f8226ddfcde4216e8fc2593d3a161b5072276ab SHA512 6f6d54b9018ece6c289f28a3a41ffb1b2216206edee08c49f387e9f30740969dfe0f8272654ce4efca159a2a6619e76c41b2ad2b10c391cdd64681ac17d0bc79 +EBUILD sqlalchemy-1.3.11.ebuild 1598 BLAKE2B 6fe7989cee639c1299f36553fb1af8c2b94968622db2ce909d3a7af2443fe9ee8875dd5ea2c0fd862a62a42e58e18425c7ce3f7b7db74e3244f6f2cec85edc80 SHA512 c18a8f06666afd03c7852e5bbd5ea380ac28684f26af01b656cdbe8589754cf0ad6dbd57a2a059616a0bc55c02dad0130afdc265ed86d7ec41b3c7e37e1791fb +EBUILD sqlalchemy-1.3.17.ebuild 1482 BLAKE2B fa70e305f72f28afffbc8a9cc258ad48a0543d5f154d98b500f6ac861b03cc45f96e9d36495978d3a36488cfcbfe298517d8b01615308378c21df2485fd780f5 SHA512 dbe8cb4d6aec2c8a664a1ab1f4bdc1283b33163d0fe2e2b4fec2b430f44590e0fe3b2459619680f0aec4c0ca86f409d1cc61ea359c908a2ead6e57ac084b8115 MISC metadata.xml 313 BLAKE2B 71212a9a3076b472b488bdb4e12fef98e16881a32a8383c5fa6a9008353d2e043dfe64cb536ecef145ba74ba77ef3a6c43d705d5072d1b56e11eacfadd1d0edd SHA512 ef6298f9e38312117a0d1ab1e63f2fb21ae51ff149053603c19437b90d954827858579ab8f021cb52919aff4474a27f5a598d8515a7e5a9f2e7e35aee53c5326 diff --git a/dev-python/sqlalchemy/sqlalchemy-1.3.11.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.3.11.ebuild index 51afd67393d6..d2b10bbb28f3 100644 --- a/dev-python/sqlalchemy/sqlalchemy-1.3.11.ebuild +++ b/dev-python/sqlalchemy/sqlalchemy-1.3.11.ebuild @@ -12,7 +12,7 @@ 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/" +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" diff --git a/dev-python/sqlalchemy/sqlalchemy-1.3.17.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.3.17.ebuild new file mode 100644 index 000000000000..9f7ad07d19fd --- /dev/null +++ b/dev-python/sqlalchemy/sqlalchemy-1.3.17.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) +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" +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0" +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 )" + +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx doc + +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_install_all() { + 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 +} |