From aa8b34b9d72247e4bfe0ecd9198eac51a616c2f1 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Mon, 21 Feb 2022 13:40:25 +0000 Subject: Adding metadata --- .../GridDataFormats/GridDataFormats-0.7.0.ebuild | 26 ++++++ dev-python/GridDataFormats/Manifest | 1 + dev-python/coverage/Manifest | 1 + dev-python/coverage/coverage-6.3.2.ebuild | 54 +++++++++++ dev-python/hypothesis/Manifest | 1 + dev-python/hypothesis/hypothesis-6.37.1.ebuild | 65 +++++++++++++ dev-python/ipyparallel/ipyparallel-8.2.0.ebuild | 2 +- dev-python/jaraco-itertools/Manifest | 1 + .../jaraco-itertools/jaraco-itertools-6.2.1.ebuild | 42 +++++++++ dev-python/makefun/Manifest | 1 + .../files/makefun-1.13.1-no_pytest-runner.patch | 10 ++ dev-python/makefun/makefun-1.13.1.ebuild | 25 +++++ dev-python/makefun/metadata.xml | 13 +++ dev-python/mrcfile/Manifest | 1 + dev-python/mrcfile/metadata.xml | 13 +++ dev-python/mrcfile/mrcfile-1.3.0.ebuild | 29 ++++++ dev-python/notebook/Manifest | 2 - dev-python/notebook/notebook-6.4.6.ebuild | 101 --------------------- dev-python/notebook/notebook-6.4.7.ebuild | 101 --------------------- dev-python/pyspnego/Manifest | 1 + dev-python/pyspnego/pyspnego-0.5.0.ebuild | 44 +++++++++ dev-python/requests-credssp/Manifest | 1 + .../requests-credssp/requests-credssp-2.0.0.ebuild | 25 +++++ dev-python/symengine/Manifest | 1 + dev-python/symengine/symengine-0.8.1-r1.ebuild | 55 +++++++++++ dev-python/symengine/symengine-0.8.1.ebuild | 55 ----------- dev-python/symengine/symengine-0.9.1.ebuild | 54 +++++++++++ dev-python/tldextract/Manifest | 1 + dev-python/tldextract/tldextract-3.2.0.ebuild | 33 +++++++ dev-python/tree-sitter/Manifest | 2 - .../tree-sitter-0.19.0_p20210506-r1.ebuild | 50 ---------- .../tree-sitter-0.19.0_p20210506.ebuild | 51 ----------- dev-python/websockets/Manifest | 1 + dev-python/websockets/websockets-10.2.ebuild | 29 ++++++ 34 files changed, 529 insertions(+), 363 deletions(-) create mode 100644 dev-python/GridDataFormats/GridDataFormats-0.7.0.ebuild create mode 100644 dev-python/coverage/coverage-6.3.2.ebuild create mode 100644 dev-python/hypothesis/hypothesis-6.37.1.ebuild create mode 100644 dev-python/jaraco-itertools/jaraco-itertools-6.2.1.ebuild create mode 100644 dev-python/makefun/Manifest create mode 100644 dev-python/makefun/files/makefun-1.13.1-no_pytest-runner.patch create mode 100644 dev-python/makefun/makefun-1.13.1.ebuild create mode 100644 dev-python/makefun/metadata.xml create mode 100644 dev-python/mrcfile/Manifest create mode 100644 dev-python/mrcfile/metadata.xml create mode 100644 dev-python/mrcfile/mrcfile-1.3.0.ebuild delete mode 100644 dev-python/notebook/notebook-6.4.6.ebuild delete mode 100644 dev-python/notebook/notebook-6.4.7.ebuild create mode 100644 dev-python/pyspnego/pyspnego-0.5.0.ebuild create mode 100644 dev-python/requests-credssp/requests-credssp-2.0.0.ebuild create mode 100644 dev-python/symengine/symengine-0.8.1-r1.ebuild delete mode 100644 dev-python/symengine/symengine-0.8.1.ebuild create mode 100644 dev-python/symengine/symengine-0.9.1.ebuild create mode 100644 dev-python/tldextract/tldextract-3.2.0.ebuild delete mode 100644 dev-python/tree-sitter/tree-sitter-0.19.0_p20210506-r1.ebuild delete mode 100644 dev-python/tree-sitter/tree-sitter-0.19.0_p20210506.ebuild create mode 100644 dev-python/websockets/websockets-10.2.ebuild (limited to 'dev-python') diff --git a/dev-python/GridDataFormats/GridDataFormats-0.7.0.ebuild b/dev-python/GridDataFormats/GridDataFormats-0.7.0.ebuild new file mode 100644 index 000000000000..3bbdea8770d4 --- /dev/null +++ b/dev-python/GridDataFormats/GridDataFormats-0.7.0.ebuild @@ -0,0 +1,26 @@ +# 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_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Reading and writing of data on regular grids in Python" +HOMEPAGE="https://pypi.org/project/GridDataFormats/ https://github.com/MDAnalysis/GridDataFormats" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="LGPL-3" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/mrcfile[${PYTHON_USEDEP}] + >=dev-python/numpy-1.0.3[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/GridDataFormats/Manifest b/dev-python/GridDataFormats/Manifest index 906a7d567813..59f7da9a87bb 100644 --- a/dev-python/GridDataFormats/Manifest +++ b/dev-python/GridDataFormats/Manifest @@ -1 +1,2 @@ DIST GridDataFormats-0.6.0.tar.gz 1984859 BLAKE2B b53e6a43a06fdcb42fbef4c10dbdb1b5740fc04fff468b666c687ba5a839b8129b49358d54c6d7e4229ebaa67af01d897fe960f87a868950657bbcbb85ec7487 SHA512 b876eacd7b1d3a7dd6fe35e2092783183fb0ffadf7fbf583773e6a3401bef51bd33ebb2e73f8b4ec9cd404c153c30ce09dfb75d5e4aacba53915d085f090d0ea +DIST GridDataFormats-0.7.0.tar.gz 2159247 BLAKE2B 7969f80960b5a29c44a645725a53dc6eb7c99d02e4fe1369700aaff85e4b98f3c7636768340c95b4ac44f6971558ab2efc5dc4e4968fb410e90e2228635e19ee SHA512 333c7f77c9c65f6be788c58efb0822eb05580893e96522c0bef04d84d3c5deae5498c1721353ece2ecd4ed8785acb6413b43123c0d895a855f0ee59e44b1d310 diff --git a/dev-python/coverage/Manifest b/dev-python/coverage/Manifest index cdb48039c1e4..303f86376f8e 100644 --- a/dev-python/coverage/Manifest +++ b/dev-python/coverage/Manifest @@ -1,3 +1,4 @@ DIST coverage-6.2.tar.gz 678664 BLAKE2B 98fe2e5d85db042d95a791838b121a4aeb0edc09f15e5454943d6d1ca3cafdbf0127e8683ddcb5c1f6372b18205bf92e24a803533f19d1bdd5e0477b669cf99f SHA512 e8ef5f2483b2e6d12f0f9801d63a0cd0b81395ea0c88b3cdaf6f6758e1fc1b381f803b0f58345c94007de175d0c2a24559dec93f51db8786f801a2a2d48d6b8f DIST coverage-6.3.1.tar.gz 707088 BLAKE2B 4253f2973fec34dd5737878c6977c4b7cd273d7786f5e34877b2061774a5177cf7905472e6c578f3292120dc9123e74387c2fe71723206efcf9a257563918a28 SHA512 aa91f7f45510ce8120081aef6367bc3f39f56480901b57f8e2c3f26c921b5d2c15c44c1ed628eefdd2f1d2360a2c62063004aeb19d287a50c4b33304f8eae5b7 +DIST coverage-6.3.2.tar.gz 709294 BLAKE2B 2da96731ee0065fb6139af7db073284a83efa135e7379d2a6d6e571cdf58c888cf72719fbddadb1bd8f62b0b155b8420a84377068c40e4c813533b3ad6b190a8 SHA512 d9ea3a93eefe2dbb723ed1eadb09dc1165c4f46e7186889ce3615411283baac1d80f04a3831208a164f99accea5d246d4613a7c2e909d2e63d3c714620432a16 DIST coverage-6.3.tar.gz 705131 BLAKE2B bd2905f2872cd6b691fc1db3852ad84a27613a8a4c28158b7469408e8c38af5f1b8f6362a91d31c7d0ca9a20dbac0b7d1d8646322cd298f0284c6a5c2ab31050 SHA512 d011d479f49fa5e0036ab68d64361c1060468c3b20e791b18277edaf647858138417d35edaf2688232670f446df33d7a28b71f92467c08ae9b8923ef14eb3e7e diff --git a/dev-python/coverage/coverage-6.3.2.ebuild b/dev-python/coverage/coverage-6.3.2.ebuild new file mode 100644 index 000000000000..18166f86540b --- /dev/null +++ b/dev-python/coverage/coverage-6.3.2.ebuild @@ -0,0 +1,54 @@ +# 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_{7,8,9,10} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite(+)" + +inherit distutils-r1 + +DESCRIPTION="Code coverage measurement for Python" +HOMEPAGE="https://coverage.readthedocs.io/en/latest/ https://pypi.org/project/coverage/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +#IUSE="test" +# The tests are impossible to appease. Please run them externally +# via tox. Or fix the ebuild if you have hours of time to spend +# on something utterly useless. +RESTRICT="test" + +#BDEPEND=" +# test? ( +# dev-python/PyContracts[${PYTHON_USEDEP}] +# dev-python/flaky[${PYTHON_USEDEP}] +# dev-python/hypothesis[${PYTHON_USEDEP}] +# dev-python/mock[${PYTHON_USEDEP}] +# dev-python/pytest[${PYTHON_USEDEP}] +# >=dev-python/unittest-mixins-1.4[${PYTHON_USEDEP}] +# ) +#" + +src_prepare() { + # avoid the dep on xdist + sed -i -e '/^addopts/s:-q -n auto::' setup.cfg || die + distutils-r1_src_prepare +} + +python_test() { + "${EPYTHON}" igor.py zip_mods || die + "${EPYTHON}" igor.py test_with_tracer py || die + + # No C extensions under pypy + if [[ ${EPYTHON} != pypy* ]]; then + cp -l -- "${TEST_DIR}"/lib/*/coverage/*.so coverage/ || die + "${EPYTHON}" igor.py test_with_tracer c || die + fi + + # clean up leftover "egg1" directory + rm -rf build/lib/egg1 || die +} diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index cf645cd4ff1d..f26631ae5924 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -2,3 +2,4 @@ DIST hypothesis-python-6.35.1.tar.gz 9179056 BLAKE2B 3667ed7fe2a5402a3055941c44a DIST hypothesis-python-6.36.1.tar.gz 9179567 BLAKE2B 67c5e33667287107b80684011076448d3761f09759592eeb42c4763080a23c9bdcffd21d0566282b856f55cc3b527e365f5b91f12abf0de77aee842ef2da719d SHA512 53a2054cfad778e59d56b483075a2de0cb3b15c80be3d2101607c593eb4e997516c350a44e542ec4ecf6b265058733d0362d557b908d58a934e57369b08334be DIST hypothesis-python-6.36.2.tar.gz 9179500 BLAKE2B e627ddfbef2e0955df0f4d8a388157352779aa73ca422f6372ba966b4b815bef26822f664983de089c9036eef05ae810deefd76615b37dffe5561fef9862495f SHA512 e2dd6ca73a72c30c0f0a6b3bdce44ef070f0497400f1de6758ab2daf948185afd607d34ffb604c8f55746beec60dca1289f9c4d71fc666b7904f7dcbe0d66cd7 DIST hypothesis-python-6.37.0.tar.gz 9179770 BLAKE2B 914968515c65b52cfa7fd4908c7132c36e2b3639a48a5f9131fdf0dc9f0230f3b3e9cc47e5f45896fd37faaa6b9822f8232df6bbb4b12b1d62e8498c35ba777e SHA512 44b200cb583c006c44a551b7f0e859d193bb4ae68233ca8903bc89259b7a7b57e751458034d3c46223481e5862fb046d546c0331501fe926d645ccb0fcd2a455 +DIST hypothesis-python-6.37.1.tar.gz 9179835 BLAKE2B 316b4bd4143d8bd403bac2fcc713c49c0a1f5f713d78335845f77c7ac9dac852cce367ac618999265ab4c68e848037920b2be6e18f68bd1f3d6982b1e7f5e297 SHA512 7b5e961339672cf853d181f4a3963ab753fe0bd7af599247996629de2b8e62159b3cfe6ce8663b2499e2e4e2dbdcc99fc99c5a582a73102c5637e82ce4624c64 diff --git a/dev-python/hypothesis/hypothesis-6.37.1.ebuild b/dev-python/hypothesis/hypothesis-6.37.1.ebuild new file mode 100644 index 000000000000..5eb94ce96458 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.37.1.ebuild @@ -0,0 +1,65 @@ +# 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_{7,8,9,10} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 multiprocessing optfeature + +DESCRIPTION="A library for property based testing" +HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/" +SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz" +S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' python3_{8..10}) + ) +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!=dev-python/jaraco-packaging-3.2' \ + '>=dev-python/rst-linker-1.9' +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + # create a pkgutil-style __init__.py in order to fix pytest's + # determination of package paths + cat > jaraco/__init__.py <<-EOF || die + __path__ = __import__('pkgutil').extend_path(__path__, __name__) + EOF + epytest --doctest-modules +} diff --git a/dev-python/makefun/Manifest b/dev-python/makefun/Manifest new file mode 100644 index 000000000000..e64a9b497cde --- /dev/null +++ b/dev-python/makefun/Manifest @@ -0,0 +1 @@ +DIST makefun-1.13.1.tar.gz 72170 BLAKE2B b1b5e76277e742ef51bcdf2bf6f1d1e761010d75bc3f20d7a8c079b368972b90775bd3bb23cf1787911a8d858549d72d4a2c9379675e59f359486bf1c49566e2 SHA512 ae103d3827673c4124d051e3c76d3d0d126c783ac7a1ea09de3801fd695439eaa549c297bd5c262184a3ee6fdf7b046065081fa3183642778148c2134d7bfc06 diff --git a/dev-python/makefun/files/makefun-1.13.1-no_pytest-runner.patch b/dev-python/makefun/files/makefun-1.13.1-no_pytest-runner.patch new file mode 100644 index 000000000000..659717903361 --- /dev/null +++ b/dev-python/makefun/files/makefun-1.13.1-no_pytest-runner.patch @@ -0,0 +1,10 @@ +--- a/setup.cfg ++++ b/setup.cfg +@@ -27,7 +27,6 @@ + [options] + setup_requires = + setuptools_scm +- pytest-runner + install_requires = + funcsigs;python_version<'3.3' + tests_require = diff --git a/dev-python/makefun/makefun-1.13.1.ebuild b/dev-python/makefun/makefun-1.13.1.ebuild new file mode 100644 index 000000000000..a2e4ba26de91 --- /dev/null +++ b/dev-python/makefun/makefun-1.13.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 + +DESCRIPTION="Small library to dynamically create Python functions" +HOMEPAGE="https://pypi.org/project/makefun/ https://github.com/smarie/python-makefun" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]" + +PATCHES=( + "${FILESDIR}"/${PN}-1.13.1-no_pytest-runner.patch +) + +distutils_enable_tests pytest diff --git a/dev-python/makefun/metadata.xml b/dev-python/makefun/metadata.xml new file mode 100644 index 000000000000..9ebe70f325a1 --- /dev/null +++ b/dev-python/makefun/metadata.xml @@ -0,0 +1,13 @@ + + + + + marecki@gentoo.org + Marek Szuba + + + makefun + + gentoo-staging + + \ No newline at end of file diff --git a/dev-python/mrcfile/Manifest b/dev-python/mrcfile/Manifest new file mode 100644 index 000000000000..3b4864e0e13d --- /dev/null +++ b/dev-python/mrcfile/Manifest @@ -0,0 +1 @@ +DIST mrcfile-1.3.0.gh.tar.gz 148140808 BLAKE2B 8ede240df4a3d0132a3bfa230377f496db84c56074450e5744c696158b2afd2c091719fbb314a04eff7f21f10eaeaa9cc6347e45bf82b0c4972db4ecc4a111a4 SHA512 57fff6e7c71b41681c94c60fbb69d0712ec7e342329624d8c20e212560eaa0f2b573d02ec5fcce39b9b7077e66d9bab463afc227d6b1f24134eddb17e56fdff1 diff --git a/dev-python/mrcfile/metadata.xml b/dev-python/mrcfile/metadata.xml new file mode 100644 index 000000000000..e5f030ea379b --- /dev/null +++ b/dev-python/mrcfile/metadata.xml @@ -0,0 +1,13 @@ + + + + + python@gentoo.org + Python + + + mrcfile + + gentoo-staging + + \ No newline at end of file diff --git a/dev-python/mrcfile/mrcfile-1.3.0.ebuild b/dev-python/mrcfile/mrcfile-1.3.0.ebuild new file mode 100644 index 000000000000..b54573fdd627 --- /dev/null +++ b/dev-python/mrcfile/mrcfile-1.3.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="MRC2014 file format I/O library" +HOMEPAGE=" + https://pypi.org/project/mrcfile/ + https://github.com/ccpem/mrcfile/ +" +SRC_URI=" + https://github.com/ccpem/mrcfile/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/numpy-1.12.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest diff --git a/dev-python/notebook/Manifest b/dev-python/notebook/Manifest index 6e36f5df8ce9..3550849f0100 100644 --- a/dev-python/notebook/Manifest +++ b/dev-python/notebook/Manifest @@ -1,3 +1 @@ -DIST notebook-6.4.6.tar.gz 14342345 BLAKE2B cc9d5968d05d9f75f60f02adfb5ef35f39e4a5de027356af73c6dfb1f3aebc271e5b3bc639eb8605748abd30d43bfaab662d41b3b764c91cc545c2d1848881f4 SHA512 92b10bdc041bc0f3af1b42ad219abda37402e0fa4ea16ddcfd2ffc450cc7f49ce1d770cb477160c3fa58c387f85d22ca3f4e4c6507a5cbf7a92bc5268baf661e -DIST notebook-6.4.7.tar.gz 14347832 BLAKE2B 3430aed18e2748005a98ba8e369d3aeda1925098ea1cb59fd6c5b4fc559a9f3ad41dc3fa655a7cce05a6be7fb44c6fe1b2a6e676a7e3933a658bc2f86a603efc SHA512 8a546360948bde566f6853ad63b38f6fbbdd5cfe8bb6b74379e3feae9aeb0f71c1bd7f1e90798cd95c0203e696d73e2797bdb73160106ae4b9ec661f65b860a0 DIST notebook-6.4.8.tar.gz 14347639 BLAKE2B c2201562f0d672f16d6ae2388a443fcd87e81ae7de78c3a42acef82ff3e78c8e94e2be61e6156f622a9339138a2f14edef5057a3e601a7c15c8793f56d1071e2 SHA512 0e87aa155635ae536eb5a152c46cadbf85907a5af2ca15d063e718ff566ac6b76f4ce0f06f8adacae3be05ea970f1059d793e3121be855efd6c9072e9aa51719 diff --git a/dev-python/notebook/notebook-6.4.6.ebuild b/dev-python/notebook/notebook-6.4.6.ebuild deleted file mode 100644 index cd8da57e880b..000000000000 --- a/dev-python/notebook/notebook-6.4.6.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 xdg-utils - -DESCRIPTION="Jupyter Interactive Notebook" -HOMEPAGE="https://jupyter.org" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc x86" - -RDEPEND=" - >=dev-libs/mathjax-2.4 - dev-python/argon2-cffi[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - >=dev-python/terminado-0.8.3[${PYTHON_USEDEP}] - >=www-servers/tornado-6.0[${PYTHON_USEDEP}] - dev-python/ipython_genutils[${PYTHON_USEDEP}] - >=dev-python/traitlets-4.2.1[${PYTHON_USEDEP}] - >=dev-python/jupyter_core-4.6.1[${PYTHON_USEDEP}] - >=dev-python/pyzmq-17[${PYTHON_USEDEP}] - >=dev-python/jupyter_client-5.3.4[${PYTHON_USEDEP}] - dev-python/nbformat[${PYTHON_USEDEP}] - >=dev-python/nbconvert-4.2.0[${PYTHON_USEDEP}] - >=dev-python/nest_asyncio-1.5[${PYTHON_USEDEP}] - dev-python/ipykernel[${PYTHON_USEDEP}] - >=dev-python/send2trash-1.8.0[${PYTHON_USEDEP}] - dev-python/prometheus_client[${PYTHON_USEDEP}]" - -# sphinx 2+ seems to have a problem with its github plugin. temporarily adding -# a version constraint. -BDEPEND=" - test? ( - dev-python/requests[${PYTHON_USEDEP}] - dev-python/requests-unixsocket[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}/${PN}"-5.7.0-no-mathjax.patch -) - -distutils_enable_tests --install pytest - -python_prepare_all() { - # disable bundled mathjax - sed -i 's/^.*MathJax.*$//' bower.json || die - - distutils-r1_python_prepare_all -} - -python_test() { - local deselect=( - # trash doesn't seem to work for us - notebook/services/contents/tests/test_contents_api.py::APITest::test_checkpoints_follow_file - notebook/services/contents/tests/test_contents_api.py::APITest::test_delete - notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_checkpoints_follow_file - notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_delete - notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_delete_dirs - notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_delete_non_empty_dir - notebook/services/contents/tests/test_manager.py::TestContentsManager::test_delete - notebook/services/contents/tests/test_manager.py::TestContentsManagerNoAtomic::test_delete - # TODO - notebook/services/kernels/tests/test_kernels_api.py::KernelAPITest::test_connections - notebook/services/kernels/tests/test_kernels_api.py::AsyncKernelAPITest::test_connections - notebook/services/kernels/tests/test_kernels_api.py::KernelCullingTest::test_culling - ) - - # selenium tests require geckodriver - epytest --ignore notebook/tests/selenium ${deselect[@]/#/--deselect } -} - -python_install() { - distutils-r1_python_install - - ln -sf \ - "${EPREFIX}/usr/share/mathjax" \ - "${D}$(python_get_sitedir)/notebook/static/components/MathJax" || die -} - -pkg_preinst() { - # remove old mathjax folder if present - rm -rf "${EROOT}"/usr/lib*/python*/site-packages/notebook/static/components/MathJax || die -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_icon_cache_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_icon_cache_update -} diff --git a/dev-python/notebook/notebook-6.4.7.ebuild b/dev-python/notebook/notebook-6.4.7.ebuild deleted file mode 100644 index 27837f5bebc2..000000000000 --- a/dev-python/notebook/notebook-6.4.7.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 xdg-utils - -DESCRIPTION="Jupyter Interactive Notebook" -HOMEPAGE="https://jupyter.org" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - >=dev-libs/mathjax-2.4 - dev-python/argon2-cffi[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - >=dev-python/terminado-0.8.3[${PYTHON_USEDEP}] - >=www-servers/tornado-6.0[${PYTHON_USEDEP}] - dev-python/ipython_genutils[${PYTHON_USEDEP}] - >=dev-python/traitlets-4.2.1[${PYTHON_USEDEP}] - >=dev-python/jupyter_core-4.6.1[${PYTHON_USEDEP}] - >=dev-python/pyzmq-17[${PYTHON_USEDEP}] - >=dev-python/jupyter_client-5.3.4[${PYTHON_USEDEP}] - dev-python/nbformat[${PYTHON_USEDEP}] - >=dev-python/nbconvert-4.2.0[${PYTHON_USEDEP}] - >=dev-python/nest_asyncio-1.5[${PYTHON_USEDEP}] - dev-python/ipykernel[${PYTHON_USEDEP}] - >=dev-python/send2trash-1.8.0[${PYTHON_USEDEP}] - dev-python/prometheus_client[${PYTHON_USEDEP}]" - -# sphinx 2+ seems to have a problem with its github plugin. temporarily adding -# a version constraint. -BDEPEND=" - test? ( - dev-python/requests[${PYTHON_USEDEP}] - dev-python/requests-unixsocket[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}/${PN}"-5.7.0-no-mathjax.patch -) - -distutils_enable_tests --install pytest - -python_prepare_all() { - # disable bundled mathjax - sed -i 's/^.*MathJax.*$//' bower.json || die - - distutils-r1_python_prepare_all -} - -python_test() { - local deselect=( - # trash doesn't seem to work for us - notebook/services/contents/tests/test_contents_api.py::APITest::test_checkpoints_follow_file - notebook/services/contents/tests/test_contents_api.py::APITest::test_delete - notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_checkpoints_follow_file - notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_delete - notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_delete_dirs - notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_delete_non_empty_dir - notebook/services/contents/tests/test_manager.py::TestContentsManager::test_delete - notebook/services/contents/tests/test_manager.py::TestContentsManagerNoAtomic::test_delete - # TODO - notebook/services/kernels/tests/test_kernels_api.py::KernelAPITest::test_connections - notebook/services/kernels/tests/test_kernels_api.py::AsyncKernelAPITest::test_connections - notebook/services/kernels/tests/test_kernels_api.py::KernelCullingTest::test_culling - ) - - # selenium tests require geckodriver - epytest --ignore notebook/tests/selenium ${deselect[@]/#/--deselect } -} - -python_install() { - distutils-r1_python_install - - ln -sf \ - "${EPREFIX}/usr/share/mathjax" \ - "${D}$(python_get_sitedir)/notebook/static/components/MathJax" || die -} - -pkg_preinst() { - # remove old mathjax folder if present - rm -rf "${EROOT}"/usr/lib*/python*/site-packages/notebook/static/components/MathJax || die -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_icon_cache_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_icon_cache_update -} diff --git a/dev-python/pyspnego/Manifest b/dev-python/pyspnego/Manifest index 47b1e3fd4b58..4340a7e374d7 100644 --- a/dev-python/pyspnego/Manifest +++ b/dev-python/pyspnego/Manifest @@ -1,2 +1,3 @@ DIST pyspnego-0.3.1.tar.gz 308888 BLAKE2B 23d77718bcb3deb807764ef3098c8f25b487c18b022ba9e48bc46bbab8f77de82ddc4a2bd66485041b1012958304d77236f54e9f87150e68631045bd50ca2a0a SHA512 2f46c727dbb29e1b9a7e4912c14fe49f47595ef7134358eae03e0645cce927e69e3612d11b1b5986fbb945f684e87d6eddf08bc6153af9d29325718a6207e3a1 DIST pyspnego-0.4.0.tar.gz 324322 BLAKE2B 97ef46ba072df46f873a9f2bdf4dd440a37395a87856da92b5438af8ed05aad381189eb86b6fe031ab77158c482f91a3fb12dde69082decfbe328c150d8210f0 SHA512 e110bffebf746e7ef1c1bd74e071ec7b224c30cf7be12f6c1101feb58d85fa6f4fa48e946e1a620115b2857dcad07c77986800d623cc1a94b24a253d3205b9ea +DIST pyspnego-0.5.0.tar.gz 325693 BLAKE2B 7674f498624e9b3c463db9ee60e9c5edf84cefd3642c9fe2cf0df58364c96b0643cf962d00edf1a6be9d8452e344e920cc1edec70bc39e8f65a6428204c36328 SHA512 4abb5726f9432366453069d32344b2be2169301cb0a6f96bcaac3f49f807c2ba819ad85a50f7979e920ddf3a4dcd13f6fc868e8d72c3c00cd3b9ffc97692b4c8 diff --git a/dev-python/pyspnego/pyspnego-0.5.0.ebuild b/dev-python/pyspnego/pyspnego-0.5.0.ebuild new file mode 100644 index 000000000000..e203c081a8e2 --- /dev/null +++ b/dev-python/pyspnego/pyspnego-0.5.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Library to handle SPNEGO and CredSSP authentication" +HOMEPAGE="https://pypi.org/project/pyspnego/ https://github.com/jborean93/pyspnego" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + dev-python/cryptography[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/gssapi[${PYTHON_USEDEP}] + >=dev-python/krb5-0.3.0[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # https://github.com/jborean93/pyspnego/issues/33 + 'tests/test_auth.py::test_kerberos_auth_keytab[negotiate-False]' + 'tests/test_auth.py::test_kerberos_auth_keytab[negotiate-True]' + 'tests/test_auth.py::test_kerberos_auth_ccache[negotiate-False]' + 'tests/test_auth.py::test_kerberos_auth_env_cache[negotiate-False]' +) + +pkg_postinst() { + optfeature "Kerberos authentication" "dev-python/gssapi >=dev-python/krb5-0.3.0" + optfeature "YAML output support" "dev-python/ruamel-yaml" +} diff --git a/dev-python/requests-credssp/Manifest b/dev-python/requests-credssp/Manifest index 0a4085ab7a57..d89f4a3ee0f5 100644 --- a/dev-python/requests-credssp/Manifest +++ b/dev-python/requests-credssp/Manifest @@ -1,2 +1,3 @@ DIST requests-credssp-1.3.0.tar.gz 23666 BLAKE2B 3ab7db4c06a65483b26012b282a85174a50c9e9449fc33b90a22f7963bcd33c2b4642ce83f0632383e8c1fbc8dd4761fc00bc6d1adccb5cee020f0d67971f225 SHA512 6281ecd5d7e14792bd175603dfbb95237b990d5cad6e4c7252fd503b76c579590217194ecd3eb3120cb33cc4f2958be459e63fa3fa8d7411a8aa40d1666276b7 DIST requests-credssp-1.3.1.tar.gz 23672 BLAKE2B e1c0134c02c3779301a8a8a803a6cc500779e9bfc319d3fa3f53bf5b8f5ce9f2624b5961d7586b205f3c1b005305d15b909ae05387a8af7448012ebe3f45bfbe SHA512 ff051b63705fca755a65202b930f622b6a3037455d43bdd2d1bb8726ed4a3a47f76b2d73c005d75d39f7c21048ac91a06abfdd5e88c014ea686a966d37535657 +DIST requests-credssp-2.0.0.tar.gz 15225 BLAKE2B 3cd2a6bafcef5803d89ab13c42385709308998187eda514a598d262ab5e8c94bc3c0e9b9bf3756de1454d570012863a01f650b4fc6e3a17fb2845d8e52f0bf3b SHA512 d11a76bc9577f3054e5955aad513ee27ff2cf3a70414a1d4a81e721a7b40510d45fa33abc5957724ead6c04958a009153f670e154f38f32f2331cc14dd44ee27 diff --git a/dev-python/requests-credssp/requests-credssp-2.0.0.ebuild b/dev-python/requests-credssp/requests-credssp-2.0.0.ebuild new file mode 100644 index 000000000000..3e90d3051827 --- /dev/null +++ b/dev-python/requests-credssp/requests-credssp-2.0.0.ebuild @@ -0,0 +1,25 @@ +# 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_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="HTTPS CredSSP authentication with the requests library" +HOMEPAGE="https://pypi.org/project/requests-credssp/ https://github.com/jborean93/requests-credssp" +SRC_URI="https://github.com/jborean93/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv" + +RDEPEND="dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/gssapi[${PYTHON_USEDEP}] + dev-python/krb5[${PYTHON_USEDEP}] + >=dev-python/pyspnego-0.5.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.0.0[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest diff --git a/dev-python/symengine/Manifest b/dev-python/symengine/Manifest index 283b375f1542..86bc2d457b81 100644 --- a/dev-python/symengine/Manifest +++ b/dev-python/symengine/Manifest @@ -1 +1,2 @@ DIST symengine.py-0.8.1.tar.gz 108857 BLAKE2B ff721982af3448d63074e599d56d38eef3002b4e8073fc22740ae61b288b863ed856d849675cbb1286f1b9bdd2263aa1e531635a0b074a7de6909a604e6b57e9 SHA512 73af12f686dcb495aef06964c76e6f31ef242bbba2e3b2fd545594fbf1902487edd021cc25b0a8324a7ac014e90ee85f64e388e092d36e8796db4c1ed53e75c7 +DIST symengine.py-0.9.1.tar.gz 110693 BLAKE2B 16ac7a36ebf7ef6642f8fde1b8463b63177753db3c5d87ed3cacc547c94561df504e5ae92af0e121010cabf70f6b123c73f5eb8e77809bed1de779dbf18f2e7c SHA512 560c809b0a5628752aefe4be5aaa8f1f8482abcbb50d018d9ffee395d7c956b4f5cedd13953f0641594d468fcbbe0465576d16543d22dbbc84b270b285970786 diff --git a/dev-python/symengine/symengine-0.8.1-r1.ebuild b/dev-python/symengine/symengine-0.8.1-r1.ebuild new file mode 100644 index 000000000000..abb902746802 --- /dev/null +++ b/dev-python/symengine/symengine-0.8.1-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +MY_P=${PN}.py-${PV} +DESCRIPTION="Python wrappers to the symengine C++ library" +HOMEPAGE="https://github.com/symengine/symengine.py/" +SRC_URI=" + https://github.com/symengine/symengine.py/archive/v${PV}.tar.gz + -> ${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux" + +BDEPEND=" + dev-util/cmake + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-python/sympy[${PYTHON_USEDEP}] + ) +" +# See bug #786582 for symengine constraint +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + >=sci-libs/symengine-$(ver_cut 1-2):= +" + +distutils_enable_tests pytest + +# the C library installs the same docs +DOCS=() + +src_prepare() { + default + + # Don't install tests + > "${S}/symengine/tests/CMakeLists.txt" || die +} + +python_test() { + cd "${BUILD_DIR}" || die + epytest +} + +python_install() { + distutils-r1_python_install + python_optimize +} diff --git a/dev-python/symengine/symengine-0.8.1.ebuild b/dev-python/symengine/symengine-0.8.1.ebuild deleted file mode 100644 index da5dcdd90652..000000000000 --- a/dev-python/symengine/symengine-0.8.1.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -MY_P=${PN}.py-${PV} -DESCRIPTION="Python wrappers to the symengine C++ library" -HOMEPAGE="https://github.com/symengine/symengine.py/" -SRC_URI=" - https://github.com/symengine/symengine.py/archive/v${PV}.tar.gz - -> ${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux" - -BDEPEND=" - dev-util/cmake - dev-python/cython[${PYTHON_USEDEP}] - test? ( - dev-python/sympy[${PYTHON_USEDEP}] - ) -" -# See bug #786582 for symengine constraint -RDEPEND=" - dev-python/numpy[${PYTHON_USEDEP}] - >=sci-libs/symengine-$(ver_cut 1-2) -" - -distutils_enable_tests pytest - -# the C library installs the same docs -DOCS=() - -src_prepare() { - default - - # Don't install tests - > "${S}/symengine/tests/CMakeLists.txt" || die -} - -python_test() { - cd "${BUILD_DIR}" || die - epytest -} - -python_install() { - distutils-r1_python_install - python_optimize -} diff --git a/dev-python/symengine/symengine-0.9.1.ebuild b/dev-python/symengine/symengine-0.9.1.ebuild new file mode 100644 index 000000000000..3ce2ee3304fb --- /dev/null +++ b/dev-python/symengine/symengine-0.9.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10} ) +DISTUTILS_PEP517_MODE=setuptools +inherit distutils-r1 + +MY_P=${PN}.py-${PV} +DESCRIPTION="Python wrappers to the symengine C++ library" +HOMEPAGE="https://github.com/symengine/symengine.py/" +SRC_URI=" + https://github.com/symengine/symengine.py/archive/v${PV}.tar.gz + -> ${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +BDEPEND="dev-util/cmake + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-python/sympy[${PYTHON_USEDEP}] + )" +# See bug #786582 for symengine constraint +# See also https://github.com/symengine/symengine.py/blob/master/symengine_version.txt +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + >=sci-libs/symengine-$(ver_cut 1-2):=" +DEPEND="${RDEPEND}" + +distutils_enable_tests pytest + +# the C library installs the same docs +DOCS=() + +src_prepare() { + default + + # Don't install tests + > "${S}/symengine/tests/CMakeLists.txt" || die +} + +python_test() { + cd "${BUILD_DIR}" || die + epytest +} + +python_install() { + distutils-r1_python_install + python_optimize +} diff --git a/dev-python/tldextract/Manifest b/dev-python/tldextract/Manifest index 3cae18775728..cfd8205d34b6 100644 --- a/dev-python/tldextract/Manifest +++ b/dev-python/tldextract/Manifest @@ -1 +1,2 @@ DIST tldextract-3.1.2.tar.gz 103248 BLAKE2B 5612016be7e8cd9b75dc5225f87ebc28635d66a7cacee54af2bd8db6ed6bb26ffe6ee5b4ab9b24473f19f0ad8d9d536e24236106288cd82cf635abef81f9babd SHA512 2c2340a9142d49aa7c0db71b5a7fb1a63e19354a5da8edd7de923e55c8ec03d8a8551f4710c66d6d1aece1d0d78701229ef5ed2ed49bcce44972b7b96747bd77 +DIST tldextract-3.2.0.tar.gz 103653 BLAKE2B 74b85da2e5a8c953075636f908bd32ba825c53fbea145a691cb681596376318b63729e2c6b7291f1ef21a55fa927d48e31cf0db241bb94be47f706fb68239515 SHA512 4e0731792793eb0a6d0da8387d15e8b9de17f20108361230703fd9f66f2aaad6260073b611e27135e571b1899844b271f3dae4e77122186cc78fbb05f3b3f237 diff --git a/dev-python/tldextract/tldextract-3.2.0.ebuild b/dev-python/tldextract/tldextract-3.2.0.ebuild new file mode 100644 index 000000000000..9c41e5e693f2 --- /dev/null +++ b/dev-python/tldextract/tldextract-3.2.0.ebuild @@ -0,0 +1,33 @@ +# 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_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Accurately separate the TLD from the registered domain and subdomains of a URL" +HOMEPAGE="https://pypi.org/project/tldextract/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/filelock[${PYTHON_USEDEP}] + dev-python/idna[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-file[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/tree-sitter/Manifest b/dev-python/tree-sitter/Manifest index f138bb032f14..573505a8fd88 100644 --- a/dev-python/tree-sitter/Manifest +++ b/dev-python/tree-sitter/Manifest @@ -1,5 +1,3 @@ DIST py-tree-sitter-4f39f6919ca3be8efb420a338fd2cf9b8b68b156.tar.gz 14075 BLAKE2B b9a7a2247114c34e211f5098f04c456b25a3aee6cfde6d75bdd83427a379c5f339f1e897a3246ef7dafb2b512442bd0e7da18f391bc8283545e060dd00481421 SHA512 21629a147cda0c95a054c31223b082afa2d12491fee7a0d720187e5c390d9771c2e9b7d85fd35a56a2cf97a7addfa5332b58b3a36893aab2d7487f9522c5cddc -DIST py-tree-sitter-b4db17e4d43f27a040b4bf087695cc200512e4ea.tar.gz 13411 BLAKE2B fa7e7f969a9136286ef18220f5776def84404121f9b7cce35422c925e194380d4a5a3fadc3da50d2d52d85f4100abeab1456e9749f93be20af9f3dd0854d5177 SHA512 4de7084928990ae61628599a8d6440606d70589b8becef6ee58ffdc1ac632660d050cab3947727dab6161dd74ccf6b9f74e83bfe4ff30c41d01caf25fbf6b8e5 -DIST tree-sitter-0.19.5.gh.tar.gz 2871077 BLAKE2B 487b846ac6ea4177d2b61721484cbde63636dde2dca0c15a35d4c4f0e18a9167aa11b750584d711632c2f42d67712b0818b57fb5815f62d95025022ecbc8cde9 SHA512 5d8669a2de6d261dfb083f0df07697156a703f56fea282babcaa7d391ef5538891b2c1103494a788bcb850cf494c184b05df5152f9276befab16f0fe6b23a9a9 DIST tree-sitter-javascript-0.19.0.tar.gz 257637 BLAKE2B dc28bcbb003d623f5930dbf575f94f51c00eb008a77ba080f05e730fae63fb24d29c02ebb62d179a59d0f9cb8a02dbd3971440f299d952b1ec29b25bc6d21e34 SHA512 ef842787742e76d2534528ec710800df91958feaa4ba351558b5315f58a4bd85c729d088d139e15e0395726a690a97c05e03846c9176af0fd482777ae57087ed DIST tree-sitter-python-0.19.0.tar.gz 129336 BLAKE2B 8a37b0d74ab89aa56d7164bd38ac527b7b9676cafd8f53faaee3d10316f91decd30c02078b1bb785a474615ae58e6edba1b28bc3311e6ff094435e5f53d64cd6 SHA512 df7c72f988a62af0774df1b3a60c86397725aaeb1e2ffaa9b1295ab22eec09bffaf391cad20fb0d08a20914b22af430c2248c26cad179fd68c9f2b32419c0b60 diff --git a/dev-python/tree-sitter/tree-sitter-0.19.0_p20210506-r1.ebuild b/dev-python/tree-sitter/tree-sitter-0.19.0_p20210506-r1.ebuild deleted file mode 100644 index bc8ebe9b71ea..000000000000 --- a/dev-python/tree-sitter/tree-sitter-0.19.0_p20210506-r1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -EGIT_COMMIT="b4db17e4d43f27a040b4bf087695cc200512e4ea" -MY_P=py-tree-sitter-${EGIT_COMMIT} -FIXTURE_PV=0.19.0 - -DESCRIPTION="Python bindings to the Tree-sitter parsing library" -HOMEPAGE="https://github.com/tree-sitter/py-tree-sitter/" -SRC_URI=" - https://github.com/tree-sitter/py-tree-sitter/archive/${EGIT_COMMIT}.tar.gz - -> ${MY_P}.tar.gz - test? ( - https://github.com/tree-sitter/tree-sitter-javascript/archive/v${FIXTURE_PV}.tar.gz - -> tree-sitter-javascript-${FIXTURE_PV}.tar.gz - https://github.com/tree-sitter/tree-sitter-python/archive/v${FIXTURE_PV}.tar.gz - -> tree-sitter-python-${FIXTURE_PV}.tar.gz - )" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND="dev-libs/tree-sitter:=" -DEPEND=${RDEPEND} - -distutils_enable_tests setup.py - -PATCHES=( - "${FILESDIR}"/${P}-unbundle.patch -) - -src_unpack() { - default - rmdir "${S}/tree_sitter/core" || die - - if use test; then - mkdir "${S}/tests/fixtures" || die - local f - for f in tree-sitter-{javascript,python}; do - mv "${f}-${FIXTURE_PV}" "${S}/tests/fixtures/${f}" || die - done - fi -} diff --git a/dev-python/tree-sitter/tree-sitter-0.19.0_p20210506.ebuild b/dev-python/tree-sitter/tree-sitter-0.19.0_p20210506.ebuild deleted file mode 100644 index 3d6c360a427d..000000000000 --- a/dev-python/tree-sitter/tree-sitter-0.19.0_p20210506.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -EGIT_COMMIT="b4db17e4d43f27a040b4bf087695cc200512e4ea" -MY_P=py-tree-sitter-${EGIT_COMMIT} - -# TODO: unbundle -TS_PV=0.19.5 -FIXTURE_PV=0.19.0 - -DESCRIPTION="Python bindings to the Tree-sitter parsing library" -HOMEPAGE="https://github.com/tree-sitter/py-tree-sitter/" -SRC_URI=" - https://github.com/tree-sitter/py-tree-sitter/archive/${EGIT_COMMIT}.tar.gz - -> ${MY_P}.tar.gz - https://github.com/tree-sitter/tree-sitter/archive/v${TS_PV}.tar.gz - -> tree-sitter-${TS_PV}.gh.tar.gz - test? ( - https://github.com/tree-sitter/tree-sitter-javascript/archive/v${FIXTURE_PV}.tar.gz - -> tree-sitter-javascript-${FIXTURE_PV}.tar.gz - https://github.com/tree-sitter/tree-sitter-python/archive/v${FIXTURE_PV}.tar.gz - -> tree-sitter-python-${FIXTURE_PV}.tar.gz - )" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" -IUSE="test" -RESTRICT="!test? ( test )" - -distutils_enable_tests setup.py - -src_unpack() { - default - rmdir "${S}/tree_sitter/core" || die - mv "tree-sitter-${TS_PV}" "${S}/tree_sitter/core" || die - - if use test; then - mkdir "${S}/tests/fixtures" || die - local f - for f in tree-sitter-{javascript,python}; do - mv "${f}-${FIXTURE_PV}" "${S}/tests/fixtures/${f}" || die - done - fi -} diff --git a/dev-python/websockets/Manifest b/dev-python/websockets/Manifest index de724b503ed6..71abe54223dd 100644 --- a/dev-python/websockets/Manifest +++ b/dev-python/websockets/Manifest @@ -1,2 +1,3 @@ DIST websockets-10.0-src.tar.gz 276231 BLAKE2B 6170f0540bc33be3d9a71f596ffee58e6e43c2173239a8fffe4f0c2a7555f8ce26849d85ed7865a5df6a4401f01bb0c928a341598916487cc79152a5031e9bbc SHA512 532289dc411d11cffc6e5aa07013cdad9655f124fbbd5dbdfe92985caf554644976a521466b1d3cbe124de11809e395b5e83195eac87495585779591b189c4d7 DIST websockets-10.1-src.tar.gz 299315 BLAKE2B 425e7c8597f081874127ac75003aed11ebb2cf647ce9fed9e17c955e485a7a59c95d1112524d3f0d747b796b0cc41972258661c9fc9c7972f68aaebe3223b596 SHA512 c284ec92bc133c7083a72d4f364d9ace13d3eb6d7355ae46084d8097c137cdec3933cae9d5ab72d8a517af38328cea6c39877f747f5386df54a7362271cc7e7b +DIST websockets-10.2-src.tar.gz 302766 BLAKE2B 2313bab904de3671f973191f1c43d275ede44c87811d82f22c6bd76145610ba5d4ba4d7a1b3a564bfc8c4a9b7921b2edc640af9304733e85deac1e728f0050f3 SHA512 b8c7fbe627e1c411112b0d66e561aa9bcf15d6de07a9cccd203211e0e6af49762774e09f8c5f4523fe214731ae7a96ed4b63639c7ed66fee062cdda3e5fba350 diff --git a/dev-python/websockets/websockets-10.2.ebuild b/dev-python/websockets/websockets-10.2.ebuild new file mode 100644 index 000000000000..ec1f74471738 --- /dev/null +++ b/dev-python/websockets/websockets-10.2.ebuild @@ -0,0 +1,29 @@ +# 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_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Library for building WebSocket servers and clients in Python" +HOMEPAGE="https://websockets.readthedocs.io/" +SRC_URI=" + https://github.com/aaugustin/${PN}/archive/${PV}.tar.gz -> ${P}-src.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" + +distutils_enable_tests unittest + +src_prepare() { + # these fail due to timeouts on slower hardware + sed -e 's:test_keepalive_ping_with_no_ping_timeout:_&:' \ + -e 's:test_keepalive_ping(:_&:' \ + -i tests/legacy/test_protocol.py || die + distutils-r1_src_prepare +} -- cgit v1.3