diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-26 15:55:57 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-26 15:55:57 +0100 |
commit | 533ce9c954925ca2a6bccd1f52f266e81e61a678 (patch) | |
tree | ef0ef849f69e60394f4bbbab166e6b83848f609c /dev-python | |
parent | 9a8514e070a40648dbc8e28ad6457d925542b79a (diff) |
gentoo auto-resync : 26:10:2022 - 15:55:57
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/Manifest.gz | bin | 261429 -> 261425 bytes | |||
-rw-r--r-- | dev-python/nose/Manifest | 2 | ||||
-rw-r--r-- | dev-python/nose/nose-1.3.7_p20221026.ebuild | 58 | ||||
-rw-r--r-- | dev-python/psycopg/Manifest | 2 | ||||
-rw-r--r-- | dev-python/psycopg/psycopg-3.1.4.ebuild | 75 |
5 files changed, 137 insertions, 0 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 49c8e786dac2..d214a16f933a 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/nose/Manifest b/dev-python/nose/Manifest index 68d4a7fb045a..d7a7e1417648 100644 --- a/dev-python/nose/Manifest +++ b/dev-python/nose/Manifest @@ -1,3 +1,5 @@ DIST nose-1.3.7_p20211111_p1.gh.tar.gz 327855 BLAKE2B acddcaa0718f23f281ea34a977354b3ef88c95d4ef712afd8354effe6df7883d473b50caaa3b5c79fcc4c36a9d45bee4eb5865a6ef66e371dae12ed1a0a0418a SHA512 752eb1337fd481a1b8498ead330d716cf4180c18faabde257e9a1139928b9fa38e2e145d36c1ea8e3867a36d4843134ee26e9e9f83ff84d21f0fe246d2392d15 +DIST nose-1.3.7_p20221026.gh.tar.gz 325421 BLAKE2B 3762e1703a6a9c90d1569d21efa9ba100f52a8b3660022694133a763d995e19a6eef2398f5013b4827e4c334a2d5e3cd14a9704a50cd822c2d554a0ed6008f2c SHA512 3cb97b58525bee0cf88328ba865dc039bf3b76c56b4b42dd9dcf68f7b7585a91fb7e9b0c419668eccc0e242b2bcbb77eb197a0954ee9ad50051ef3af1a81dac3 EBUILD nose-1.3.7_p20211111_p1-r1.ebuild 1485 BLAKE2B 277e62799964afef8e41b237d2642170568c5f8f333ea9395fc90147c86dd6390a3abb1e442358f619c4637673b7738ad7079f78aa423530e5729f5468a6f854 SHA512 6687bc5e75b2899ade13a066cc60819070ea2cdf692f2da46661dd42f6282eb2cbf543f773df50aa208dcbf88f5916edf83e4fd28b6cf53a01c6d78dde0c8129 +EBUILD nose-1.3.7_p20221026.ebuild 1493 BLAKE2B bc37ccc8d1c7bcc4dcf43569aa2915069a91f2e57805c4430a585f333fc3fc5af8d28800945b7b831f67e56da80503acf374e8297623742e4a9c261397bf75fb SHA512 63892324788ee3b34b5a112fa800eb600ac7a44292f0efdc299774c295073172ff27567027de3ccaf9adf2f97fc9ec5d27889b32700b72adfabb59195470aaf8 MISC metadata.xml 399 BLAKE2B bccd250e005dc4b4921b8affffa56c918069576663c44671189d40dea344c0fb880fcf41656b1c9c5043cea9a0203b3ad3b980f7920ecebab82b4c71f75214d4 SHA512 15fd9ea9d0c09833f25497e2715a15cb2b2dbcbe042e0a3fa24525455eaeb470d6c799fddcd635a5197c984252649a26352713fcd069123fe2546edc20566fa6 diff --git a/dev-python/nose/nose-1.3.7_p20221026.ebuild b/dev-python/nose/nose-1.3.7_p20221026.ebuild new file mode 100644 index 000000000000..83b354dadcd7 --- /dev/null +++ b/dev-python/nose/nose-1.3.7_p20221026.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +EGIT_COMMIT="8def1b4dcf2ef6b4a34bffdfacea0018a78b06b6" +DESCRIPTION="Unittest extension with automatic test suite discovery and easy test authoring" +HOMEPAGE=" + https://pypi.org/project/nose/ + https://nose.readthedocs.io/en/latest/ + https://github.com/nose-devs/nose +" +SRC_URI=" + https://github.com/arthurzam/nose/archive/${EGIT_COMMIT}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${PN}-${EGIT_COMMIT}" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="examples test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + $(python_gen_cond_dep ' + !hppa? ( dev-python/coverage[${PYTHON_USEDEP}] ) + ' python3_{8..10} pypy3) + $(python_gen_cond_dep ' + dev-python/twisted[${PYTHON_USEDEP}] + ' python3_{8..10}) + ) +" + +src_prepare() { + # failing to find configuration file + sed -e 's/test_cover_options_config_file/_&/' \ + -i unit_tests/test_cover_plugin.py || die + + distutils-r1_src_prepare +} + +python_test() { + "${EPYTHON}" -m nose -v -a "!network" || + die "Tests fail with ${EPYTHON}" +} + +src_install() { + distutils-r1_src_install + use examples && dodoc -r examples +} diff --git a/dev-python/psycopg/Manifest b/dev-python/psycopg/Manifest index 6a341cb76b8e..fc85559f30ac 100644 --- a/dev-python/psycopg/Manifest +++ b/dev-python/psycopg/Manifest @@ -1,9 +1,11 @@ DIST psycopg-3.1.2.gh.tar.gz 467017 BLAKE2B 5e13156ff05a356bb59ebae77e8ad3d3e35ab669a43102fa7751927e0ecfbebd1b30db7d62bd0865f426c2e6362a98a6d9cad19c9001abf29b6d030b4dd0204b SHA512 3e412ec91a337012086b1260527b2179883f6b44a26c5e8437c92351ca39594c4430f251abdfbc52e4b2c69d5e91ba09883578b177e836691cd295b6e8464fdf DIST psycopg-3.1.3.gh.tar.gz 468400 BLAKE2B 5df0414d1afef4a09a319453e2d9cebd6177af507c30e69aac64dc1d476cf7a0d182c72b81e46d95e3167ee503fa9756ba82ad1092419eea0d6fc3c6e9ba972c SHA512 83ca6dc81cff841c9e22ad8ae86500be0012ee0edbc50b8ab97dcdcbe9d17a8b32feb637275bbaef8333f252aeb961fc5f1f9d2c66dcb1e92b0a1b67223624fb +DIST psycopg-3.1.4.gh.tar.gz 469317 BLAKE2B a6df49a5adefbeb310602473e950ef77f0c613d8a33d41ee37dbfec544dfd014dba8dae5f78ce2bc89f2d9531ccbdd6ea07665ca638f29a4a7d0d1006bc0d778 SHA512 2bf49d6eb7e20c6f22adf47cef6dce691f38f4b310f2fbf3986f3ad14c7d390d53b9edeb3365bbf096941cc2d2affe2ddd542fe93ef37c41109742c9f9af4ba7 DIST psycopg2-2.9.3.tar.gz 380611 BLAKE2B 78099da7378dcfa8b7f28aae4d533a7e890cdb7ae4c0cc718a9411e630fd07b56f074760fc29de8fe08fe727328cca39414a5f297fb92ed2f7471a24e633d18d SHA512 048184d1d162a371fc0fba711448a6fa8a6aac193421f4484c7f7b91c39065d5b632fa34fc15a901eca055d597302b1f9e38330b248ed0e4653dcdc544b0d660 DIST psycopg2-2.9.4.tar.gz 384017 BLAKE2B 4bc0afcc890c8a257c1ccd5c6e4e5301857a80f8b1428aa46c1473c9e18f5d2914a2e592c13336b06106217bb334d9b0321835bdd123f1627cbeb29dedf97bf7 SHA512 259088e42e0ab0d8a1a0ccf04f5e560f32c6179b4a0a0059e91bcf269baa8f4b0f1f949c332c640a2438c927a29b2c144078a861f8e18ba9c764da7c93c73b8d EBUILD psycopg-2.9.3.ebuild 1306 BLAKE2B 166f519f6e4694fb2725e0f4e736a9ab907dc398c4fadee579da96e37f29faf6f6fe735e56dc9156eefa74302bc516915499d827b3762655863bda1162716e19 SHA512 ecb1f931618b74393cace6f850b35c7512fe5902bdf97eadf0cc1f54e60797c863fe558cda3117ca8a5cd025bd6a761545d6fc1d837aed8ec095c48e98cd7c1b EBUILD psycopg-2.9.4.ebuild 1348 BLAKE2B 15b9a3244a73a769cda7236d9bc85f36eee993498672911b121973196f1462f88a7175e26d24e1f772c4f099f2f43b3cc07c603821e13844a103de73abaf7cc7 SHA512 7e63185760b05025ebe0b1eb53673926a4f68d242f4ec2e28a7e1192e72dd876b1982e85f7418a22efada373486edaa2ccd6bd8ff3bebfd2a77d39c295fc1ee8 EBUILD psycopg-3.1.2.ebuild 1725 BLAKE2B c78cc5299f68452a34fedef960e3ad1bab4d2ab350e06717813bb6972bc0b71c138d1b7d8da12fbea9c36d6b107d9be137e278d43e3a31e74a9fb0df09cbb404 SHA512 2efabffff8d9ae101f2207e694f60bb47daa54454274c8c7abfd69e7b21189628c088e9f8b2677a8bb2a9dde4a345abb165a538a35be7c7dc436a0f886b88ed0 EBUILD psycopg-3.1.3.ebuild 1732 BLAKE2B 346e6e31a3be765833c4a1d75009d3c8e7347aea9a4a38d35d0cc5c7da722d23abfc41c5b4943331a008b19238a7544c0b181eec83a23a68ae1bc68e5748757f SHA512 f808046857d7400d55ebd1e10ab5f090c26f78b181ded703798acd5a9531bff61bbb450350f904533e265f0fcd2c5032db53a9c1503ced826dc26002cc2a844e +EBUILD psycopg-3.1.4.ebuild 1732 BLAKE2B 346e6e31a3be765833c4a1d75009d3c8e7347aea9a4a38d35d0cc5c7da722d23abfc41c5b4943331a008b19238a7544c0b181eec83a23a68ae1bc68e5748757f SHA512 f808046857d7400d55ebd1e10ab5f090c26f78b181ded703798acd5a9531bff61bbb450350f904533e265f0fcd2c5032db53a9c1503ced826dc26002cc2a844e MISC metadata.xml 369 BLAKE2B 042788638a82318248d4e4ea1e12bf1631af6ffc435fc0110e13849dad600854e8b57f5ba3397c4d4e5d103e165b342f8aba869e72e9b63efc500382d3423414 SHA512 5b216575e8cae847f71a09ed6b676a73fccf2070f3bea3b35f1bfbde95fb0154b2fbb356948e112cc9f2298fc9868ac3994a139e72939f80d59c084ec58d80bf diff --git a/dev-python/psycopg/psycopg-3.1.4.ebuild b/dev-python/psycopg/psycopg-3.1.4.ebuild new file mode 100644 index 000000000000..8bd1346c397b --- /dev/null +++ b/dev-python/psycopg/psycopg-3.1.4.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="PostgreSQL database adapter for Python" +HOMEPAGE=" + https://www.psycopg.org/psycopg3/ + https://github.com/psycopg/psycopg/ + https://pypi.org/project/psycopg/ +" +SRC_URI=" + https://github.com/psycopg/psycopg/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/${P}/psycopg + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris" + +DEPEND=" + >=dev-db/postgresql-8.1:* +" +RDEPEND=" + ${DEPEND} + $(python_gen_cond_dep ' + >=dev-python/backports-zoneinfo-0.2.0[${PYTHON_USEDEP}] + ' 3.8) + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.1[${PYTHON_USEDEP}] + ' 3.8 3.9 3.10) +" +BDEPEND=" + test? ( + >=dev-db/postgresql-8.1[server] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/dnspython[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # tests for the psycopg_pool package + tests/pool + # some broken mypy magic + tests/test_module.py::test_version + tests/test_module.py::test_version_c + tests/test_typing.py + tests/crdb/test_typing.py + # TODO, relying on undefined ordering in Python? + tests/test_dns_srv.py::test_srv +) + +src_test() { + # tests are lurking in top-level directory + cd .. || die + + initdb -D "${T}"/pgsql || die + # TODO: random port + pg_ctl -w -D "${T}"/pgsql start \ + -o "-h '' -k '${T}'" || die + createdb -h "${T}" test || die + + local -x PSYCOPG_TEST_DSN="host=${T} dbname=test" + distutils-r1_src_test + + pg_ctl -w -D "${T}"/pgsql stop || die +} |