diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-03 03:10:55 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-03 03:10:55 +0000 |
commit | 670a2ef95331c60f32a0831bfe79445340356b0b (patch) | |
tree | cca4590ecf2c13488c7ef6c478f3e49acec2922d /dev-python | |
parent | d05150f06fa67b115a83f822b1e285dca011e1b7 (diff) |
gentoo auto-resync : 03:11:2022 - 03:10:55
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/Manifest.gz | bin | 261801 -> 261790 bytes | |||
-rw-r--r-- | dev-python/boto/Manifest | 2 | ||||
-rw-r--r-- | dev-python/boto/boto-2.49.0-r5.ebuild | 63 | ||||
-rw-r--r-- | dev-python/boto/files/boto-2.49.0-mock-spec.patch | 12 | ||||
-rw-r--r-- | dev-python/ioflo/Manifest | 2 | ||||
-rw-r--r-- | dev-python/ioflo/ioflo-2.0.2-r3.ebuild | 41 | ||||
-rw-r--r-- | dev-python/pytest-salt-factories/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pytest-salt-factories/pytest-salt-factories-1.0.0_rc20-r1.ebuild | 77 | ||||
-rw-r--r-- | dev-python/pytest-system-statistics/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r1.ebuild | 49 | ||||
-rw-r--r-- | dev-python/pytest-tempdir/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pytest-tempdir/pytest-tempdir-2019.10.12-r1.ebuild | 18 | ||||
-rw-r--r-- | dev-python/yamlpath/Manifest | 2 | ||||
-rw-r--r-- | dev-python/yamlpath/yamlpath-3.6.8.ebuild | 50 |
14 files changed, 322 insertions, 0 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex f1d3c956e19d..193dcbfa18cf 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/boto/Manifest b/dev-python/boto/Manifest index 6d504b9d9d21..30f0c5ffb86d 100644 --- a/dev-python/boto/Manifest +++ b/dev-python/boto/Manifest @@ -1,3 +1,4 @@ +AUX boto-2.49.0-mock-spec.patch 694 BLAKE2B e9b3142dd9e15c2236bae155cdb5b0085db694c36b742b8b86c3465ee0af4a568a3c13c4d28750aaf77509cdb65d8efbab8020e9d386e575124429394fca225c SHA512 8ee698a9582593864abaff506fdad9611eee784840876fe089c355b624c64fa60e1904248ed6fa5aa7a6b4c505dabc80db90293145fd9f628bc29faeb4e666f4 AUX boto-2.49.0-py3-httplib-strict.patch 1244 BLAKE2B d37ff98891e4378bc869aaae7cde5596f1747a1851b6fbccc78ffcdac52d0583eba826cd1d101b3c04b4940ca982fd0ef8e1604d141bec170d63ec8049636f3e SHA512 fd1a7b4196918e43e88150ea5e633a537920202a51ede6381a0ebc23b8f1773e59ef7e6a4c4be2fc40356860aaf5b32d0069f93f4be165ab57d9f5334c7d9a93 AUX boto-2.49.0-py3-server-port.patch 1840 BLAKE2B d147459970a9e39fba8599c9dff6dcbe1842714bbd45cca008be6c49840c812bf4a5fb97099614f6fe931807725268601a889f85b111fa7e1e3072c938c67a69 SHA512 f05f5c152fd52425b63cd5788f603430c30d679db3ca5145dc174f455636562d730bca990a0507a5e497b388b559d3a9e03bd84313284bfa27acb4031ab151c3 AUX boto-2.49.0-py3-socket-binary.patch 2736 BLAKE2B b37879bf6ddf5e61df79cf482d8596e8aec42c929888f37a4fb8c4e1a47b8e12b89e26aa402cf90a768a159bef9daab1f2328a8fe5809fe343235ff9906fa411 SHA512 b89ec80242cbb10646d3c9995fa00438066569f77f39eccc7a8fd2a6d2b58977a9c252a8a4411438c7d89b69adcce28a9614f599488e53d3089722ddb1d6ea04 @@ -7,4 +8,5 @@ AUX boto-2.49.0-try-to-add-SNI-support-v3.patch 4727 BLAKE2B 197d4e6cc632e372fae AUX boto-2.49.0-unbundle-six.patch 1122 BLAKE2B bfaeaf7fea01e662d19caa6c040aaad9a2ce6544c105865a8b79255057d662c30478b6fb884b9a088f861c99a4d8399c0e503711e36e0581cbeeec3c5b2e1ba0 SHA512 7dd51b6a48f718475e18ac97584a508aee75b69dbfee9e91fa2955feec49cb1786662276a4519438cccc49b4d55a5d8536192bfe47a20a36a6a01f4bc3bfb9cc DIST boto-2.49.0.tar.gz 1478498 BLAKE2B 6a897ea162f5f4bd34a2d488a3e3897f7f2f5b8707dd0922c01b6a0b90ea577223bf3e588b6685bda1f2bc0e92af426711fcba67a70377183465a530065c6c84 SHA512 2175cf30cd25bbc05812e83e5ade7668c3e21b1bb09aa1b43f0f0ac7d6967a646394fb52c9be673ebb65618c5b33a52d6f31f6da702f5cd1d6c9a18169476dd4 EBUILD boto-2.49.0-r4.ebuild 1606 BLAKE2B 5cddf12e53600517055b4499b39ee0df2e44d2091101f3fafd33c0a869a8563616961055fca1797303e46abf1f73a49af98bf9c5154fd63183c69c2e0541ca34 SHA512 16ba3efc211c825cf17649c950c23d3e70d78555ce74ef7b1d2e09622dcf179442b89d6f3e3136214ceabe8eecdc2078f29937f50559e76671a343a9c8bafb14 +EBUILD boto-2.49.0-r5.ebuild 1624 BLAKE2B c551526f0b455b9e09a75d778d2cd3507a94d0de57cbacb91a721b592829ece7604c7b223050a3d6efbe7119aa25763755b157445bba30b9415c891312a14b55 SHA512 1b94e4e0838631426181044a881c5da5b240da44fd70560591d632501a7bce90008112e1ef36e6e03ef2de1853d2361feaecf85bff4edef666fb69092d29e62d MISC metadata.xml 445 BLAKE2B 69850f4bbb872a5770f7e79319e071cc78d5b4433c534595698696ea0a3db20500191c21fdb01fba7cbb212b46bdb658381914e9e08df677526a693ba57bae14 SHA512 aa512a8964ad197d0257187db54815478207b0829132e36895cd2e66f47338c8f9f2f1e614ded361170ce780775c085f493332f79889bd352d40952350e14c09 diff --git a/dev-python/boto/boto-2.49.0-r5.ebuild b/dev-python/boto/boto-2.49.0-r5.ebuild new file mode 100644 index 000000000000..565ac4250172 --- /dev/null +++ b/dev-python/boto/boto-2.49.0-r5.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 + +DESCRIPTION="Amazon Web Services API" +HOMEPAGE="https://github.com/boto/boto https://pypi.org/project/boto/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" + +PATCHES=( + # taken from https://bugs.debian.org/909545 + "${FILESDIR}"/${P}-try-to-add-SNI-support-v3.patch + "${FILESDIR}"/${P}-py38.patch + "${FILESDIR}"/${P}-py3-socket-binary.patch + "${FILESDIR}"/${P}-py3-httplib-strict.patch + "${FILESDIR}"/${P}-py3-server-port.patch + "${FILESDIR}"/${P}-unbundle-six.patch + "${FILESDIR}"/${P}-py310.patch + "${FILESDIR}"/${P}-mock-spec.patch +) + +RDEPEND=" + >=dev-python/six-1.12.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/httpretty[${PYTHON_USEDEP}] + dev-python/keyring[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/paramiko[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/rsa[${PYTHON_USEDEP}] + dev-python/selenium[${PYTHON_USEDEP}] + )" + +distutils_enable_tests nose + +src_prepare() { + # remove bundled libs. + rm -f "${S}"/boto/vendored/six.py || die + # broken, not worth fixing + rm tests/unit/cloudfront/test_signed_urls.py || die + # fix tests + mkdir -p "${HOME}"/.ssh || die + touch "${HOME}"/.ssh/known_hosts || die + + distutils-r1_src_prepare +} + +python_test() { + distutils-r1_python_test tests/unit +} diff --git a/dev-python/boto/files/boto-2.49.0-mock-spec.patch b/dev-python/boto/files/boto-2.49.0-mock-spec.patch new file mode 100644 index 000000000000..d8c8db2f1e9f --- /dev/null +++ b/dev-python/boto/files/boto-2.49.0-mock-spec.patch @@ -0,0 +1,12 @@ +diff -ur boto-2.49.0.orig/tests/unit/ec2/test_volume.py boto-2.49.0/tests/unit/ec2/test_volume.py +--- boto-2.49.0.orig/tests/unit/ec2/test_volume.py 2022-11-02 22:22:36.173725700 -0000 ++++ boto-2.49.0/tests/unit/ec2/test_volume.py 2022-11-02 22:24:26.502590025 -0000 +@@ -55,7 +55,7 @@ + @mock.patch("boto.resultset.ResultSet") + def test_startElement_with_name_tagSet_calls_ResultSet(self, ResultSet, startElement): + startElement.return_value = None +- result_set = mock.Mock(ResultSet([("item", Tag)])) ++ result_set = ResultSet([("item", Tag)]) + volume = Volume() + volume.tags = result_set + retval = volume.startElement("tagSet", None, None) diff --git a/dev-python/ioflo/Manifest b/dev-python/ioflo/Manifest index bce2cc2eaf3d..2dde7a5673af 100644 --- a/dev-python/ioflo/Manifest +++ b/dev-python/ioflo/Manifest @@ -2,6 +2,8 @@ AUX ioflo-1.7.8-network-test.patch 1090 BLAKE2B 37e6125a3d26b902e3938efe49162c6e AUX ioflo-2.0.2-py310.patch 2520 BLAKE2B fbb1b8b5d1d2d135abb21f7f2ff094d4c85bf4d8c005981356b13cca2860230542ab6b3c12f553feb84415be901c2a4660847561854cb6c86edb3a2c31ca84d2 SHA512 0917a402063453e5cbadf3cc830d0ec986c1abb7222af1a60aedd45264ed8a06eef6e27ff20ee6f9575752bcf5a18282518ed6368b3b0b7137108e4084718f7f AUX ioflo-2.0.2-python39.patch 3813 BLAKE2B a21f5829b5a2fd4200350949d66d4fd77f5ba2b21d5fdb95c7754745fc2cf41f18640d4c79f5e1037fc0d4ca016c7dac062567aa8662b0e41e702e4dd0a94931 SHA512 b588703d653848401fb8e13be949f6de4ff41143eae669ccdcae8edaaac1883be0a684112dacfdf11fa3f2842dbde0dce2b47a7680cb87761d30ffa4018569e8 AUX ioflo-2.0.2-tests.patch 1059 BLAKE2B a093cf0db0e00c4f06f0eeda76acee4515951e0dca1a77688e2cd4ccc33a3b10402228d76aa25f787cbfa8771d12f0613fe62e5fa38e09b6d8238870c2b25951 SHA512 5642963e6c29941c2803c6833d229b9fab62f60e7534fb6bfd7a101746eff1704dcfe3bdbbc72bfb466317562d995ede5a70a8ffc83ae9e76ab2d9c01bcab349 +DIST ioflo-2.0.2.gh.tar.gz 837382 BLAKE2B 1fe878c8a9a47a9be5083e392e15256f1a566433b4341e2ee234e84332bb72af0c426d04c77ccace33cfb05664745caaa63e910913c3d63bbb2e5d8360a1ec90 SHA512 7485924ce329889afb1c3e0555b54fdbfb11eafce48fb0ac15bacd229fea512c44fcc118bbc4368ebc7c770d62129ee6b895b982f73a269de7131ea37daac02b DIST ioflo-2.0.2.tar.gz 837382 BLAKE2B 1fe878c8a9a47a9be5083e392e15256f1a566433b4341e2ee234e84332bb72af0c426d04c77ccace33cfb05664745caaa63e910913c3d63bbb2e5d8360a1ec90 SHA512 7485924ce329889afb1c3e0555b54fdbfb11eafce48fb0ac15bacd229fea512c44fcc118bbc4368ebc7c770d62129ee6b895b982f73a269de7131ea37daac02b EBUILD ioflo-2.0.2-r2.ebuild 971 BLAKE2B 207fbdb926dc712dc361f96d44cd24da63375455203793e8011582ea6998c97b5bd6af7cf119a7128f83da4d27bbafb274026d0dfcd6fb7d005a5c4c5a94b4d6 SHA512 07bacfb51186f0f3f1410b97fc04c503f14b1197179690f076c15f4dc0ab5d9323e0bfea7ad5c806e742e5ae5949d3b0592ebec819acdb986fe4c7f1c21a6cc5 +EBUILD ioflo-2.0.2-r3.ebuild 1008 BLAKE2B b9d82e549c83d5b30f975fc9552578844c78118d94f99b1de489b0de3aa744f67dba971a088c1ff94ae7b65110544172cf33b28801f814b077ac55b9790edc5f SHA512 6f3c632e78fb1e58b895bc1d4e73723f93d9e21eadca918d0cd7f92510b7d7bae1c7610386bfeabc3adf1be20623a6177d0df07320600291dbdd9478033c7969 MISC metadata.xml 494 BLAKE2B dc398c0ee508c0c1cf9ee17712efcbf7f994ed053416da6bdd236fe80402b80ce251272824bebbdcc7ea79cf98b6b5dd812de11fca55eb625bf19e5cf93228e3 SHA512 7364c6b7a37dd8ed762fc7d609e71ff93cd3321f6f94f88d795bd0a3082749571644cbdfd3c9d63a916249122fdfb47ff5377907159782ddf5744c5ea4a13f39 diff --git a/dev-python/ioflo/ioflo-2.0.2-r3.ebuild b/dev-python/ioflo/ioflo-2.0.2-r3.ebuild new file mode 100644 index 000000000000..9a26bb1da6ea --- /dev/null +++ b/dev-python/ioflo/ioflo-2.0.2-r3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Automated Reasoning Engine and Flow Based Programming Framework" +HOMEPAGE="https://github.com/ioflo/ioflo/" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +IUSE="test" + +RDEPEND=" + $(python_gen_cond_dep '>=dev-lang/python-3.7.4' python3_7) +" +BDEPEND="${RDEPEND} + test? ( + dev-python/pytest-salt-factories[${PYTHON_USEDEP}] + app-admin/salt[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/ioflo-1.7.8-network-test.patch" + "${FILESDIR}/ioflo-2.0.2-python39.patch" + "${FILESDIR}/ioflo-2.0.2-tests.patch" + "${FILESDIR}/ioflo-2.0.2-py310.patch" +) + +distutils_enable_tests pytest + +python_prepare_all() { + sed -e 's:"setuptools_git[^"]*",::' -i setup.py || die + distutils-r1_python_prepare_all +} diff --git a/dev-python/pytest-salt-factories/Manifest b/dev-python/pytest-salt-factories/Manifest index 62b64d323b89..71bc15ce76df 100644 --- a/dev-python/pytest-salt-factories/Manifest +++ b/dev-python/pytest-salt-factories/Manifest @@ -3,8 +3,10 @@ AUX pytest-salt-factories-1.0.0_rc13-tests.patch 16967 BLAKE2B 804b5e2ce678e732f AUX pytest-salt-factories-1.0.0_rc20-tests.patch 17428 BLAKE2B e52c44dc43f08f7933fbcea60e4ba39351cdaae79dc4037a490ae222cd41286feb308c66abe90116417f72ac0aa3c968dc30afd914545f3c08ce5f4c75d43a85 SHA512 6ac3af11d518834125fd41e9e3b49a383079cdd48888044b3009eea4f0a066fe2b8b8d20a8fc7cf6331cd8269c98140d5203dcf0f5a64504c952d8a5bd652ef2 DIST pytest-salt-factories-0.121.1.tar.gz 102121 BLAKE2B 92cd5953b11377f1646f01b86a677a50216d16bcb944235a3f04176aecbb005974c415adcbf23cc391aab41b1ee9596984516ab61ecdd8c944d4ce707c39ab00 SHA512 32252695c6e8b17ef17d3330c4b0b38bdce89201d5573b4efa3531a72e826ee1fb26fea3ad0408401dec867cee405f21031804c32eb8fe6ceaa00925b17725a1 DIST pytest-salt-factories-1.0.0_rc13.tar.gz 148418 BLAKE2B 3688f05d137df23266ebc7e999bc3b3a8ec198173b38dc98bd4a1e2655b982a37485278691e970da0be700cee6f609c57933b041a6d8403e75fb197f5d23d5d4 SHA512 f3713410704540ee48b7263973d3a9bf3159fb63e53e5ef5002201aea3fdcf0b4eaf00e1dd1e67d869b42242985d8117a117568d63abf5ad366e247fb3e1d83f +DIST pytest-salt-factories-1.0.0_rc20.gh.tar.gz 160140 BLAKE2B 7ecd9af695626c465e5776ed218bd92f30a556394cf4af0c2b6fb87c182f8aaf2d8f998358a7eef95fae53c85a6be2d4ed5a6ff191496fcac62a97e25cf19063 SHA512 5677c6638b5dc7f90c01f2c2204e1910c2bf6ea2c10b714173d3443d4c682b5f515ad7881e2ceee66f6eaf619e399d6fa10052604fdc9c5157c58348b63c8f2b DIST pytest-salt-factories-1.0.0_rc20.tar.gz 160140 BLAKE2B 7ecd9af695626c465e5776ed218bd92f30a556394cf4af0c2b6fb87c182f8aaf2d8f998358a7eef95fae53c85a6be2d4ed5a6ff191496fcac62a97e25cf19063 SHA512 5677c6638b5dc7f90c01f2c2204e1910c2bf6ea2c10b714173d3443d4c682b5f515ad7881e2ceee66f6eaf619e399d6fa10052604fdc9c5157c58348b63c8f2b EBUILD pytest-salt-factories-0.121.1-r1.ebuild 1724 BLAKE2B 83786447369717e7f414a154abf586dd1c87581f5809ba313ed954767f65ffb176b31c2e7d50523524619a703b601f8643c0134e0b564a2bbfa97d99a51ecc82 SHA512 889d5bfba0d62b48a9fef8327f11f31f7683d6d9107e9b9b537fa51eea66b7aa37f598da10f1836f68c95ad86eedda0ed5c0649aefde063cfa38b8402776fd23 EBUILD pytest-salt-factories-1.0.0_rc13.ebuild 2004 BLAKE2B be652e742fdaa0885645a3f95f0c7789a5fbb7e5eec986fc26abecdcd191e9e0c7cef4e78a22c61d5e3703f3cb51153d1dfbebebacd9f8b1d76438a1766ddbb1 SHA512 354e0fb4e3a8aacd1ca2b4e3f13f7f24a882cb7b52e9fe4dde4a76172bb834db9232e17c296339cb67dafc7932fbd6ff04e66ebcaa5c468c5926c50f94e68a7e +EBUILD pytest-salt-factories-1.0.0_rc20-r1.ebuild 2105 BLAKE2B fdec02476a729e12dd894274c38f99ebb196174986b4b33833269d698c29a50a7c02dc73a5cf89cf6c7f65397dbfb6827f6a874252a5a37cab1807c7c35aa1db SHA512 1966782b120f710e287e6107502349b115b9c13a61bdc1d6df9f9aafd2690e3e8f5947c2bea91af0acf8070e5612eec7e9ae99b556b4c73d487b7fbe70538762 EBUILD pytest-salt-factories-1.0.0_rc20.ebuild 2012 BLAKE2B 77293f8c4e6a8839990b8510f0da1c2d60b4857c0ecf7ce24398519127c8ed4d8afa9193673d407f5876c42bcdf761ce83c1ddcfb539a6afb4620d813df87ea4 SHA512 52cf0336a5e83b27ddbcc2afab26735ce9643d38ccc21643e7e8aa7da6cf2735d88971d8e256ff4fbf5f2701e0dfd3b2b4ace959a7ad376583a308959589c29c MISC metadata.xml 358 BLAKE2B 0ca310e1a7269e532dfe3610bf5c9a1d93ff8dcc46ee3f26322cfb0ba1fb572b521359547f49b0deb3f463efd0321e3b3bee0403878df676e3c54dbcac14753a SHA512 8eaf37e98efe76ff401c536368d1537255d09db93b4f84254b7eb291b603f6ee83d80a65e9529c7bcea8324baaff708dc12f97662dd87c57fece36a1d5d8e1c9 diff --git a/dev-python/pytest-salt-factories/pytest-salt-factories-1.0.0_rc20-r1.ebuild b/dev-python/pytest-salt-factories/pytest-salt-factories-1.0.0_rc20-r1.ebuild new file mode 100644 index 000000000000..fbe06ce4f14a --- /dev/null +++ b/dev-python/pytest-salt-factories/pytest-salt-factories-1.0.0_rc20-r1.ebuild @@ -0,0 +1,77 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="The new generation of the pytest-salt Plugin" +HOMEPAGE="https://github.com/saltstack/pytest-salt-factories" +SRC_URI="https://github.com/saltstack/${PN}/archive/${PV//_/}.tar.gz -> ${P}.gh.tar.gz" +S=${WORKDIR}/${PN}-${PV//_/} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +IUSE="test" + +RDEPEND=" + dev-python/attrs[${PYTHON_USEDEP}] + dev-python/pytest-tempdir[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}] + dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}] + dev-python/pytest-skip-markers[${PYTHON_USEDEP}] + dev-python/pytest-system-statistics[${PYTHON_USEDEP}] + >=dev-python/pytest-shell-utilities-1.4.0[${PYTHON_USEDEP}] + dev-python/pyzmq[${PYTHON_USEDEP}] + dev-python/msgpack[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + >=app-admin/salt-3001.0[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/pyfakefs[${PYTHON_USEDEP}] + dev-python/pytest-subtests[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/pytest-salt-factories-1.0.0_rc20-tests.patch" +) + +distutils_enable_tests pytest + +python_prepare_all() { + sed -r -e "s:use_scm_version=True:version='${PV}', name='${PN//-/.}':" -i setup.py || die + sed -r -e '/(setuptools|setup_requires)/ d' -i setup.cfg || die + + sed -i 's:tool.setuptools_scm:tool.disabled:' pyproject.toml || die + printf '__version__ = "%s"\n' "${PV}" > src/saltfactories/version.py || die + distutils-r1_python_prepare_all +} + +python_test() { + local tempdir + + local -a disable_tests=( + testexcludetest + ) + local textexpr + testexpr=$(printf 'not %s and ' "${disable_tests[@]}") + + # ${T} is too long a path for the tests to work + tempdir="$(mktemp -du --tmpdir=/tmp salt-XXX)" || die + addwrite "${tempdir}" + + ( + cleanup() { rm -rf "${tempdir}" || die; } + + trap cleanup EXIT + export SHELL="/bin/bash" TMPDIR="${tempdir}" + epytest -vv -k "${testexpr%and }" + ) +} diff --git a/dev-python/pytest-system-statistics/Manifest b/dev-python/pytest-system-statistics/Manifest index bb6c3a8968a0..adb3e402a0c4 100644 --- a/dev-python/pytest-system-statistics/Manifest +++ b/dev-python/pytest-system-statistics/Manifest @@ -1,3 +1,5 @@ +DIST pytest-system-statistics-1.0.2.gh.tar.gz 55147 BLAKE2B 9b1217102a23e723090e04652fdd727818e2404bf110e4f54289251eb92f4abb59861ba6c6fc611c843960cf0595fa5cbd636071033327d4e602606e8ab63abf SHA512 1fab5038dde504ab0d5d0f4da851c9a8260849adb38a1196c6399131d77cc24a1926e68310dd0701ed001a20a7fcfb57c5202c5ebfd6de4c85aac4be49fc7347 DIST pytest-system-statistics-1.0.2.tar.gz 55147 BLAKE2B 9b1217102a23e723090e04652fdd727818e2404bf110e4f54289251eb92f4abb59861ba6c6fc611c843960cf0595fa5cbd636071033327d4e602606e8ab63abf SHA512 1fab5038dde504ab0d5d0f4da851c9a8260849adb38a1196c6399131d77cc24a1926e68310dd0701ed001a20a7fcfb57c5202c5ebfd6de4c85aac4be49fc7347 +EBUILD pytest-system-statistics-1.0.2-r1.ebuild 1292 BLAKE2B b61c167b3ff3b4227c03a2382db73d8fa177213ca371df3a6d9a8a5e572c69b25aaec1d28d39ff138996def7e77260fb0ee7fb703142ceb0ce1c1265b1ed0b14 SHA512 e9cce27bf919627881331f996aa17fed7593c9b313b6c2be16d348a77fa95026c8d126a7dd14d1a0e704089b402ba9e08f63c5d73bc2b1e5b38073cc3d061994 EBUILD pytest-system-statistics-1.0.2.ebuild 1287 BLAKE2B e022b0b1c59f0ad4c66194941c095fa790bb273cca566ca2beb9ac44365d81d789aba7246ab8bb2552867cdf6cc5e0fe17a71b3fc02cdbc16a77bb769fa017c4 SHA512 4d5ee20cb93e02e772bf4dc2b41ae98de0794013850cf69a3c947a699c0017c44e805f9dc83c607c0f8e51c490cadcf5d241386fb9a980a7b1610d7dc8b2349b MISC metadata.xml 337 BLAKE2B 00bcf31ed6a7b0b94fe3bc0f3031d64bdd682be4797a4f2878ac0d66012d8c026a7295c923f9081f9e7b1b2dc1fd7c6dc7a4e33dfcd97f80785a737815979313 SHA512 a28c702734f0907afdb667a42e8d2672ab938bb4802f4e55e69de872694176b5424cd7073a9b2caee7dbe856fa511e41447ed30e49cc64d053a14b9ad830766a diff --git a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r1.ebuild b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r1.ebuild new file mode 100644 index 000000000000..28c76f28eac4 --- /dev/null +++ b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 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="Pytest Plugin Which Reports System Usage Statistics" +HOMEPAGE=" + https://pypi.org/project/pytest-system-statistics/ + https://github.com/saltstack/pytest-system-statistics +" +SRC_URI="https://github.com/saltstack/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}] + dev-python/attrs[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + dev-python/pytest-skip-markers[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/wheel[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-subtests[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + sed -e "s/use_scm_version=True/version='${PV}'/" -i setup.py || die + sed -e "/setuptools_scm/ d" -i setup.cfg || die + sed -e "s/tool.setuptools_scm/tool.disabled/" -i pyproject.toml || die + + printf '__version__ = "${PV}"\n' > src/pytestsysstats/version.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest -k 'not proc_sys_stats' +} diff --git a/dev-python/pytest-tempdir/Manifest b/dev-python/pytest-tempdir/Manifest index 7b97ea635053..a9f981f1d5f7 100644 --- a/dev-python/pytest-tempdir/Manifest +++ b/dev-python/pytest-tempdir/Manifest @@ -1,3 +1,5 @@ +DIST pytest-tempdir-2019.10.12.gh.tar.gz 9859 BLAKE2B fe4d32d2de3d577952b90a811c38f1cfa0c16badf9115a1b70faf07f0123e29935c01bfc3c1b9c616a0eeb3e0da9f42a4415687a4862830e0edea505a99dfc04 SHA512 d6f8994423d9be90f4be20878f980ad4604475ccd4b65975cd3cad357c2d6a2a7bb8623e4ccd7441437ad72b7899d8b59ae19ca3a52c35a6c24456e44b7626de DIST pytest-tempdir-2019.10.12.tar.gz 9859 BLAKE2B fe4d32d2de3d577952b90a811c38f1cfa0c16badf9115a1b70faf07f0123e29935c01bfc3c1b9c616a0eeb3e0da9f42a4415687a4862830e0edea505a99dfc04 SHA512 d6f8994423d9be90f4be20878f980ad4604475ccd4b65975cd3cad357c2d6a2a7bb8623e4ccd7441437ad72b7899d8b59ae19ca3a52c35a6c24456e44b7626de +EBUILD pytest-tempdir-2019.10.12-r1.ebuild 537 BLAKE2B 7990a1cf0e038757fe2c3ab64697a378d9464e3cf87bf9566984b4bd80323d9fe06b27d1d6647e2f54c6f1c3b7991e9d7b377693b9631f9bfd2db8b2bfd32496 SHA512 0dfff40e35c3318f8bbf8c20b32f45af0405ed321d1e1243e1f381bbba58d298221d79304dfc386cd2dc424ba14b49c41e5d6791791c6e6226ecb5929730e026 EBUILD pytest-tempdir-2019.10.12.ebuild 510 BLAKE2B f88d5c7052b9f24f80566433a9083e2cc6bf73d4f21cb8f993edb48601e1f53a76b032f14874bc3ce6e4bc6a99949cc53b275dde7c236f213ffabd7059dd07e9 SHA512 57a555d0b5f4cf035aaefa93e9959222616dac812ece07b5d68828ae775f4351a2c8a14ce5fe8adca23405706768618803f499bfbf5ac5ee1ffeafeb5d900f81 MISC metadata.xml 327 BLAKE2B 0280ea518e1e366316adc1f2ee8f5ee2a787d190b409efccc1e7d001f95b39ce64f9ce4a2366172589e9128f541ad0312ee2d56d0f37f763def05ed8f0e12759 SHA512 7ba82ed730777df1be39f18030e1149819eb6a0e36dfea4dda4e2866920133ff584f6e4ec635a5fe05ea81739d02e3991c19e835ed769223d2d9a229ac48c570 diff --git a/dev-python/pytest-tempdir/pytest-tempdir-2019.10.12-r1.ebuild b/dev-python/pytest-tempdir/pytest-tempdir-2019.10.12-r1.ebuild new file mode 100644 index 000000000000..d96260f5663f --- /dev/null +++ b/dev-python/pytest-tempdir/pytest-tempdir-2019.10.12-r1.ebuild @@ -0,0 +1,18 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Pytest plugin to support for a predictable and repeatable temporary directory" +HOMEPAGE="https://github.com/saltstack/pytest-tempdir" +SRC_URI="https://github.com/saltstack/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +distutils_enable_tests pytest diff --git a/dev-python/yamlpath/Manifest b/dev-python/yamlpath/Manifest index e35b8de02b7a..1b50d9d08562 100644 --- a/dev-python/yamlpath/Manifest +++ b/dev-python/yamlpath/Manifest @@ -1,3 +1,5 @@ DIST yamlpath-3.6.7.gh.tar.gz 219770 BLAKE2B 779b94f6aff7e6430c89508145d85d2b7b5ddb4bc1070fd68d402e27b7bf596c7e68f1bfb8683791ea2572ef6d01fe5f2de4fd646be32b8ab266747371f61f36 SHA512 7313d3eaa9268d4c2acb1bc87052068498840943be503fa160833c03f372e5c6d7604572d277b70c551784fd8c9507e084f12dd651b5c4f600f69e8ee7cefb62 +DIST yamlpath-3.6.8.gh.tar.gz 220132 BLAKE2B dc2b3c54d6e09e1d273643fa52f7079c2734eda2145a9e31cda3c5f6ff20d5e423fae7228297849a78fc7539f0865fabbb4640c9520e280e58b28dab52eee89f SHA512 6e5e43e6a25cfaf4bd7618b3e84baf6ca1cf33bd2c0f6c5ce3f58c5f22e64728610f1bb462901f8b6bd8fe2ca3b5265624e72cc8958ffdd0c612dcccfef8bc7a EBUILD yamlpath-3.6.7.ebuild 1156 BLAKE2B eb66fdcd37a5ebf94857f9b26ec435a39cb70d854ac015a9b121151765a41d4132de395aef370eed51a40992cd801900a503eb95c979d921f5bc87302a374c43 SHA512 03798242ce9f91e09eb4f38b2c11fb84248b8da886f32564f4a0c3c51565580d5b79eddec42701c80a201521b00a9e6094c3d4e6223ea6197d970aae08ea64f7 +EBUILD yamlpath-3.6.8.ebuild 1156 BLAKE2B eb66fdcd37a5ebf94857f9b26ec435a39cb70d854ac015a9b121151765a41d4132de395aef370eed51a40992cd801900a503eb95c979d921f5bc87302a374c43 SHA512 03798242ce9f91e09eb4f38b2c11fb84248b8da886f32564f4a0c3c51565580d5b79eddec42701c80a201521b00a9e6094c3d4e6223ea6197d970aae08ea64f7 MISC metadata.xml 664 BLAKE2B cdf919f6a46dbc7ed8f2546509a623e0e784da711afaade20ec79b2861e8c83f54f755ce68ec2944bd0edb92f2e05b18a9c0ff93430c185574c41de2d789e03d SHA512 8020ca58f464e2aed71c01c29375b95dda238be6cdb94468a0abe50c7ce0270a42d723318f34cb4eb8728184cbe6769c7e666f43cffde37e6e9f42cab4d7292e diff --git a/dev-python/yamlpath/yamlpath-3.6.8.ebuild b/dev-python/yamlpath/yamlpath-3.6.8.ebuild new file mode 100644 index 000000000000..e236b9aeee0e --- /dev/null +++ b/dev-python/yamlpath/yamlpath-3.6.8.ebuild @@ -0,0 +1,50 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +inherit distutils-r1 + +DESCRIPTION="Command-line processors for YAML/JSON/Compatible data" +HOMEPAGE="https://github.com/wwkimball/yamlpath https://github.com/wwkimball/yamlpath/wiki" +SRC_URI=" + https://github.com/wwkimball/yamlpath/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/ruamel-yaml[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-console-scripts[${PYTHON_USEDEP}] + dev-ruby/hiera-eyaml + ) +" + +distutils_enable_tests --install pytest + +python_prepare_all() { + sed -e '/ruamel\.yaml/d' \ + -e '/pytest-cov/d' \ + -e "/find_packages/s/()/(exclude=\['tests'\])/" \ + -i setup.py || die + + distutils-r1_python_prepare_all +} + +python_install() { + distutils-r1_python_install + + # install and optimize yamlpath/patches/aliasstyle.py + local sitedir=$(python_get_sitedir) + [[ -d ${D}${sitedir} ]] || die "${D}${sitedir}: No such directory" + insinto "${sitedir}/yamlpath" + doins -r "${S}/yamlpath/patches" + python_optimize "${D}${sitedir}" +} |