diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-11-04 01:51:33 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-11-04 01:51:33 +0000 |
| commit | bee52d5a581bb7b977ef9be16abfb88c2de62655 (patch) | |
| tree | b1dd0c3d9605ca5aa0fb0d3105f69c510e9eaaad /dev-python | |
| parent | 2fbf908778d10043f7ee7c7326524412d4c7c64a (diff) | |
| download | baldeagleos-repo-bee52d5a581bb7b977ef9be16abfb88c2de62655.tar.gz baldeagleos-repo-bee52d5a581bb7b977ef9be16abfb88c2de62655.tar.xz baldeagleos-repo-bee52d5a581bb7b977ef9be16abfb88c2de62655.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/boto3/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/boto3/boto3-1.19.10.ebuild | 53 | ||||
| -rw-r--r-- | dev-python/botocore/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/botocore/botocore-1.22.10.ebuild | 50 | ||||
| -rw-r--r-- | dev-python/isort/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/isort/isort-5.10.0.ebuild | 59 | ||||
| -rw-r--r-- | dev-python/jaraco-text/jaraco-text-3.6.0-r1.ebuild (renamed from dev-python/jaraco-text/jaraco-text-3.6.0.ebuild) | 1 | ||||
| -rw-r--r-- | dev-python/prettytable/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/prettytable/prettytable-2.4.0.ebuild | 32 | ||||
| -rw-r--r-- | dev-python/pyFFTW/pyFFTW-0.12.0-r1.ebuild | 29 | ||||
| -rw-r--r-- | dev-python/pyFFTW/pyFFTW-9999.ebuild | 29 | ||||
| -rw-r--r-- | dev-python/pylxd/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/pylxd/pylxd-2.2.11.ebuild | 27 | ||||
| -rw-r--r-- | dev-python/pylxd/pylxd-2.3.1.ebuild | 27 | ||||
| -rw-r--r-- | dev-python/soupsieve/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/soupsieve/soupsieve-2.3.ebuild | 33 | ||||
| -rw-r--r-- | dev-python/twine/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/twine/twine-3.5.0.ebuild | 54 | ||||
| -rw-r--r-- | dev-python/unasync/unasync-0.5.0.ebuild | 7 |
19 files changed, 363 insertions, 46 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index b110176e6e19..754a557d994b 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -1,6 +1,7 @@ DIST boto3-1.18.53.tar.gz 422176 BLAKE2B a07155f6be71c049479c1d2e47767bb2c6863075ea0085ca5cc4609e28aa8b0af0e2136754c0ed6fd05dfecab079f76d636e19e1b8af4b68220768cea6125e93 SHA512 ae774e3db52a90a0850b4bd90be105d4ab59b6478ed16e30e2cc5afec0664e2b13438ab7a460e570c680d49be240855b7c9ae30a373c83d50dda5da6b84d01b7 DIST boto3-1.18.60.tar.gz 428327 BLAKE2B d559c7512c7ab1160dfec4616741002ce82357d3469747044bf79f90baba5e6e3d2f2ecf32ae4cad7522a341d846d199cf34555376d05d56cdbfccc75d0f9042 SHA512 e013ec97b4379cbd3f21f000974d8078a2710f29a9a7d34532fa06c9011fb566238d38d45abd5ecad5b26ad544f72b86ae191fe475bd0d729d290553cd461ff8 DIST boto3-1.18.65.tar.gz 429858 BLAKE2B fbc80e0d8d10f6d02fcf9b86c6b4be03a9c908318c507a7cde1eef0c36d8fe3a5d3be0f8c6178edfdd8bc82adf112f297a5f127cd2b442ce10fe4d37b3a21fa4 SHA512 631d8f618fb6d55b338b563e72e1ccc751b8937bb2660d033b885951ea5ec3ac6902f8c7b9918664d764be84fdef5af4e7a87d444cbc154ebf5ae06908f90714 +DIST boto3-1.19.10.tar.gz 435970 BLAKE2B 98ed4022bb7eb80657b2b4a47de66b8ee8f535f5a6a39720b0e53ec97575cddaa33fa16277c71b4313a05583b1aa10cbe9e78f695e6959ca029648b7cd72fd58 SHA512 2e7457e34f7bc054648c0eb14b09839f3ac637923a287088edd5ccec4dd8b695d84771c8cf48110babdd540853a6dcdb10de652a89d592114f0242ba84f80b80 DIST boto3-1.19.5.tar.gz 433567 BLAKE2B 52c12a4dd18d6f02326f8002b345cc5df224455fc862daa700326ae1df258979211d2753f01e1a106f237de393e483dc8926bb4ef0e08bafa575f20811dccd55 SHA512 fad05102f0c3e7e30a3342009f6b3ae28f52758f17a0c22b4da9a03dd10d7f9149ea2ec0119f55ec7280824bd8173653271821e82fcd54ef9fb9161b2d62df70 DIST boto3-1.19.6.tar.gz 434389 BLAKE2B 3c7e4c91c95b93358b4a31d401e03f8a397802004a6ee2bfc2ef1a31df8b89e8866fa73d3354509ae00537898cc8e04b878cc9d00f82ae4e94266e8185e7abd1 SHA512 6ba4f7a89d973991afe329b4c648c8ecb0bb256d63c7e60ae8bb70e6fd5fc9b1929168dfdd55f2c84039856a32c891013abf61dc2e65f516490c446b0dfaaac2 DIST boto3-1.19.7.tar.gz 434848 BLAKE2B 102b2d985cbad6c6ff6fc7866f47c172028e4b1a56ef7eac5854b12aedfbca1b94eb426fead04397e119ebaf939f7732202718395775b0555f566ed938c27dc7 SHA512 40cf5341bfd7cc4cae4c542e39e4c5ec1b63ba3bfee5faedb75633e656700dd5e80a137b234b57d22cc1b7d85a2056ced4eb8b7189ab57c8f2c0269e8826811d diff --git a/dev-python/boto3/boto3-1.19.10.ebuild b/dev-python/boto3/boto3-1.19.10.ebuild new file mode 100644 index 000000000000..30a0b44d3f8c --- /dev/null +++ b/dev-python/boto3/boto3-1.19.10.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE="https://github.com/boto/boto3" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/boto3" + inherit git-r3 + BOTOCORE_PV=${PV} +else + SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" + + # botocore is x.(y+3).z + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" +fi + +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 98b34aba7d2a..60089443b4da 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -1,6 +1,7 @@ DIST botocore-1.21.53.tar.gz 8221904 BLAKE2B 79a87c9678fad9f3b4503740d9857579850eb2e6cf8371e233b9957b031e79aa04f28ce35b96826bfa4ff08c84a7ec646c8cd4302e5eb785530e8f3e2bf9b2f2 SHA512 0a3704d68a09a1afe53d4321d327036f4581d8c6942bc02f594c26d24fa2a60cfbbfab595cc3c4a4e9d3439790835739f7be8c3b572536feb655646c7800cf61 DIST botocore-1.21.60.tar.gz 8253381 BLAKE2B f035a335f8d72c182f6fbd3f2216608bd5683e70ae11fd8646ff81416262ec802aac5b084f0cf96d23fd6767bbe678e35b24377d82186440b3ee55c977b42643 SHA512 7e801f67c670a85ebd0641fe8a51890dcea1a3a6f2253cca1213ee96a20497c1196c16b2576bcd2dc796b501117d609240c59b1077bbdc0f3021cf6659289e21 DIST botocore-1.21.65.tar.gz 8261668 BLAKE2B c955019d06aa1b2f4503673b7d9009e5d6e07ee4348e730e6b4d11285f3030f676f0efda58a72dd92cac8c6ba0cb57f8f879eb5298009ecbd227904d18a453bf SHA512 955d24d2d486524af7bee57a56e2e903458030420198f3e6ab49d61be52b812a98444a9d0f86503b121270d6642345ffad6053ad143374dc56ab908b385afb0a +DIST botocore-1.22.10.tar.gz 8331163 BLAKE2B 51515566ed811cb3698ee3ba9ec15490b8e3198570feadb5bac11164ab9a50a2441d115347e750b1180afad9f535c915445918acc5c83b486992e6040cacd008 SHA512 ac4954da4581755baf6777f71014db005870a8b868020ae1decee9e4eb0d1b9b43f72c2a4cf5e7069933421df7d66313cfb8465978dc516be4de16154c2bff6c DIST botocore-1.22.5.tar.gz 8301083 BLAKE2B 91f9d38e7c5bcb0b8f58c04547ad45489f58d2240c6b7301cf632969a4a73cf4a1d51c8c68c8def27653c10041d2163ad7ca800dcf6fd07972b506bf2566cae3 SHA512 710a9eeee03dc79ca4ffacc4974f09ca769e1e3b8cb143f6f0349240dd8c2af8ee526a1dadb7310a26019363f683fc4149cb4c73d8b94a856a384fab7f84fb5c DIST botocore-1.22.6.tar.gz 8302901 BLAKE2B 4627c7bfcbd1750a6517c045b7c7c986c6defb9b35e413fae47e03fe24f3404ff4905c714212ad00193eb4dfa2893a0080da97acb538965a8792278915823a3b SHA512 f39eb6f339011709fa764d3783f225fbd4e4100e51466de9c87d6a3a5430823e81be1b024963ded49785b4fd49febdfa66dd3f91c3b9296508c3d71d794d170d DIST botocore-1.22.7.tar.gz 8306878 BLAKE2B fd427ced3eb3c2ce71a28f7334ee312293fc98c7b2d91991ce6c894f71bd39b356aa3a2f0a0495fd91e394be4d284b21dc8272863e9568167112aadccaed21a6 SHA512 39eaa5d4bc64669bc398797c69d63157a6a4539bed1c4cdc492c4fe94c9a32d58ac9ea8c06fafd75a5c36ab9d3a5c99f88990b03bcef6cccf7e0c4247330780b diff --git a/dev-python/botocore/botocore-1.22.10.ebuild b/dev-python/botocore/botocore-1.22.10.ebuild new file mode 100644 index 000000000000..9cd77a5ad4d0 --- /dev/null +++ b/dev-python/botocore/botocore-1.22.10.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE="https://github.com/boto/botocore" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + dev-python/jmespath[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch" +) + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + distutils-r1_src_prepare +} + +python_test() { + epytest tests/{functional,unit} +} diff --git a/dev-python/isort/Manifest b/dev-python/isort/Manifest index 73a9c3a104bc..a35ec3b01029 100644 --- a/dev-python/isort/Manifest +++ b/dev-python/isort/Manifest @@ -1 +1,2 @@ +DIST isort-5.10.0.gh.tar.gz 728239 BLAKE2B 6a206cdd4ebceb29f8c76f1c08b3217da1d76b56bbfbf177175d08f502884ae1f0700dc1443c92c28d68d257cb6468e2210d35a2003680303aa2ae9eaefe3ce3 SHA512 e8de97d6714ad626974e601a676b35a324b306a9f6033fd5cdd4cf5a5caf29cbc3238dca8cbf38e749866776f01aa58026159f53a4181f6637daf93181726ad2 DIST isort-5.9.3.gh.tar.gz 729342 BLAKE2B f40f046c5706ea4fd6daf7dc8eaccaca35e7de3e77bc17fa73681d12c42f7d2a3b19a909384e6b2e2486679a9f9895c2fa944faace4bbc3d0cfd0ec7aff85edd SHA512 96aa9c8bb58c95a41f562d3f0e1cf6e9c0c4158486bca24dfe2293fc86c7c6b74e3e6a84ed755d965b692b1f06d98cdc8ed69080775f8acd9186ac3ae6401570 diff --git a/dev-python/isort/isort-5.10.0.ebuild b/dev-python/isort/isort-5.10.0.ebuild new file mode 100644 index 000000000000..445a25f24725 --- /dev/null +++ b/dev-python/isort/isort-5.10.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_SETUPTOOLS=pyproject.toml +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="A python utility/library to sort imports" +HOMEPAGE="https://pypi.org/project/isort/" +SRC_URI=" + https://github.com/PyCQA/isort/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/toml[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/black[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/natsort[${PYTHON_USEDEP}] + dev-python/pylama[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # unbundle toml + sed -i -e 's:from ._vendored ::' isort/settings.py || die + + distutils-r1_src_prepare +} + +python_test() { + # Some tests run the "isort" command + distutils_install_for_testing + # Install necessary plugins + local p + for p in example*/; do + pushd "${p}" >/dev/null || die + distutils_install_for_testing + popd >/dev/null || die + done + + local EPYTEST_IGNORE=( + # Excluded from upstream's test script + tests/unit/test_deprecated_finders.py + ) + epytest tests/unit +} diff --git a/dev-python/jaraco-text/jaraco-text-3.6.0.ebuild b/dev-python/jaraco-text/jaraco-text-3.6.0-r1.ebuild index 3cd3074f6dd1..72d7a8fba9d7 100644 --- a/dev-python/jaraco-text/jaraco-text-3.6.0.ebuild +++ b/dev-python/jaraco-text/jaraco-text-3.6.0-r1.ebuild @@ -18,6 +18,7 @@ KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~x86" RDEPEND=" dev-python/jaraco-functools[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/importlib_resources[${PYTHON_USEDEP}]' python3_8 pypy3) dev-python/six[${PYTHON_USEDEP}] " BDEPEND=" diff --git a/dev-python/prettytable/Manifest b/dev-python/prettytable/Manifest index e2ff20038126..ddb90f2fdc61 100644 --- a/dev-python/prettytable/Manifest +++ b/dev-python/prettytable/Manifest @@ -1,3 +1,4 @@ DIST prettytable-0.7.2.tar.bz2 21755 BLAKE2B 385d5bd6d4ab75a8c7ae96abc9d9e98a66a196265853113e7fb59073876e9f5e9c6c4fba9a30d80cc726a5184e78fb6451ff9a553909704fcc5022b6a08413f4 SHA512 f3a3fe6fa29f4ef090ff6cac06549ebd9db8b387e7b25fc64c4e37c8444586f50355c5573f38caabc72360aa68054aa189a67aa37f0bd13b872862ecd9151e71 DIST prettytable-2.2.1.tar.gz 45102 BLAKE2B 59fe355603791c8b3a584b1d1f2864559a7e2c7249923d5299c967db74dbd37baef9557d8d5511defe54f64e3f4625ef45635cf2f00a051a599177a3774da1a5 SHA512 5496b1525342b9df4b88cc2cd6079d8c329787b20f7e581465dcdf447b90f78aad764c6505aab8a0e3c4cbb44c943720672373cf754d6f7313b68c28005a707c DIST prettytable-2.3.0.tar.gz 49386 BLAKE2B 368dd454da9dde3900009ed52c0d55c30ed69315b36fb53eaebc764af419851b858dc648ac5d8ca62592c2aaa68dac91ac03a1a1bf29d10ee5162981f2937c22 SHA512 feeaeeb0a1897c0aaa2bc0ac7f470244529e8c70debb26976494719607840c8b8a80698b7e463402031b250fe152091e947555be2a6f983764e01bdaa1a71a22 +DIST prettytable-2.4.0.tar.gz 49756 BLAKE2B 594dea7e1c3c9ba070420c83960b9fc4016d25bd883126ed2331cb5ce06909fad92e94ec141e1b4838233f00cfabc394e1a7025aa02cf246e8608903bb45533c SHA512 50983855868d23a590004dcb81ad9a3f22191c656532683f71260a369df5bd2a0001db946268944cc169528f64f36833eb524fc46efabe562434ec32832ce011 diff --git a/dev-python/prettytable/prettytable-2.4.0.ebuild b/dev-python/prettytable/prettytable-2.4.0.ebuild new file mode 100644 index 000000000000..abc42be5443d --- /dev/null +++ b/dev-python/prettytable/prettytable-2.4.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Easily displaying tabular data in a visually appealing ASCII table format" +HOMEPAGE=" + https://github.com/jazzband/prettytable/ + https://pypi.org/project/prettytable/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/wcwidth[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/importlib_metadata[${PYTHON_USEDEP}] + ' pypy3) +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + $(python_gen_impl_dep sqlite) + dev-python/pytest-lazy-fixture[${PYTHON_USEDEP}] + )" + +distutils_enable_tests --install pytest diff --git a/dev-python/pyFFTW/pyFFTW-0.12.0-r1.ebuild b/dev-python/pyFFTW/pyFFTW-0.12.0-r1.ebuild index 9cf149bd1181..399b6ad75bbd 100644 --- a/dev-python/pyFFTW/pyFFTW-0.12.0-r1.ebuild +++ b/dev-python/pyFFTW/pyFFTW-0.12.0-r1.ebuild @@ -11,7 +11,7 @@ HOMEPAGE="https://github.com/pyFFTW/pyFFTW" LICENSE="BSD" SLOT="0" -if [ "${PV}" = "9999" ]; then +if [[ "${PV}" = "9999" ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/pyFFTW/pyFFTW.git" else @@ -19,11 +19,24 @@ else SRC_URI="https://github.com/pyFFTW/pyFFTW/archive/v${PV}.tar.gz -> ${P}.tar.gz" fi -IUSE="" +DEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + >=sci-libs/fftw-3.3:3.0=[threads] +" +RDEPEND="${DEPEND}" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-python/dask[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + ) +" -DEPEND="dev-python/numpy[${PYTHON_USEDEP}] - >=sci-libs/fftw-3.3:3.0=[threads]" -RDEPEND="${PYTHON_DEPS} - ${DEPEND}" -BDEPEND="${PYTHON_DEPS} - dev-python/cython[${PYTHON_USEDEP}]" +distutils_enable_tests unittest + +python_test() { + cp -r -l -n test/ "${BUILD_DIR}/lib" || die + cd "${BUILD_DIR}/lib" || die + eunittest + rm -r test/ || die +} diff --git a/dev-python/pyFFTW/pyFFTW-9999.ebuild b/dev-python/pyFFTW/pyFFTW-9999.ebuild index 0f781da86dc1..399b6ad75bbd 100644 --- a/dev-python/pyFFTW/pyFFTW-9999.ebuild +++ b/dev-python/pyFFTW/pyFFTW-9999.ebuild @@ -11,7 +11,7 @@ HOMEPAGE="https://github.com/pyFFTW/pyFFTW" LICENSE="BSD" SLOT="0" -if [ "${PV}" = "9999" ]; then +if [[ "${PV}" = "9999" ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/pyFFTW/pyFFTW.git" else @@ -19,11 +19,24 @@ else SRC_URI="https://github.com/pyFFTW/pyFFTW/archive/v${PV}.tar.gz -> ${P}.tar.gz" fi -IUSE="" +DEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + >=sci-libs/fftw-3.3:3.0=[threads] +" +RDEPEND="${DEPEND}" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-python/dask[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + ) +" -DEPEND="dev-python/numpy[${PYTHON_USEDEP}] - >=sci-libs/fftw-3.3:3.0=[threads]" -RDEPEND="${DEPEND} - ${PYTHON_DEPS}" -BDEPEND="${PYTHON_DEPS} - dev-python/cython[${PYTHON_USEDEP}]" +distutils_enable_tests unittest + +python_test() { + cp -r -l -n test/ "${BUILD_DIR}/lib" || die + cd "${BUILD_DIR}/lib" || die + eunittest + rm -r test/ || die +} diff --git a/dev-python/pylxd/Manifest b/dev-python/pylxd/Manifest index 2077e3ec7a53..b9d11b130bc1 100644 --- a/dev-python/pylxd/Manifest +++ b/dev-python/pylxd/Manifest @@ -1,2 +1,2 @@ -DIST pylxd-2.2.11.tar.gz 103963 BLAKE2B fb4516435d651ee0dfb3c852f80c725c288e529ec650b3088e72af1fd351193d8e5f80df6472b0b83e8797148b9512f9b1726c4c14638573b325c4fef5775763 SHA512 69a80df3cbe6ff3ed0cec5499bb7e474a5c921ee564da12f16cbf5d100678d3e4f3cff060ef379798f2e474b0dbd0cfd511c36cc849090cd62ad29a916d06c14 DIST pylxd-2.3.0.tar.gz 77182 BLAKE2B b60746ab90ebc010f083055b980ac648e30aee9259b7c8f7844fc3d04d4687cda9f2ee05be5b9678f88860cfe079e2203ac56ef7acadb5ae62fdb5a2e3c8356e SHA512 c8754b73678a26c7280170485048b0443aa7967571bf526267bee640ea6f7d50c8e5f1242e5434b53a8781c2ea6e282d34b8c1a8f0a36b40c3dbbd85f501c568 +DIST pylxd-2.3.1.tar.gz 77974 BLAKE2B cbd6bf5c4a5590061cb4c1624c93433f20d9a3a107c0eb987f04c88e279dc4576d74fd7d20e8acf5de5c900e7374c45a019400148ad5cf002ae570235d18371f SHA512 97501e9a20b87ad436ade425e61d04288c83991dd6b0da61812b2716501596afc8ee0e9a11fd39fe32b7873a2cf8d43ef081e5606d6687d5ebbb097dc61e0a20 diff --git a/dev-python/pylxd/pylxd-2.2.11.ebuild b/dev-python/pylxd/pylxd-2.2.11.ebuild deleted file mode 100644 index 076020c1028e..000000000000 --- a/dev-python/pylxd/pylxd-2.2.11.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 2020 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="A Python library for interacting with the LXD REST API" -HOMEPAGE="https://github.com/lxc/pylxd" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="*" - -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/pbr-1.8[${PYTHON_USEDEP}] - >=dev-python/requests-2.12[${PYTHON_USEDEP}] - >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}] - >=dev-python/requests-unixsocket-0.1.5[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] - >=dev-python/six-1.9.0[${PYTHON_USEDEP}] - >=dev-python/ws4py-0.4.2[${PYTHON_USEDEP}] - >=dev-python/cryptography-1.7.1[${PYTHON_USEDEP}] -" diff --git a/dev-python/pylxd/pylxd-2.3.1.ebuild b/dev-python/pylxd/pylxd-2.3.1.ebuild new file mode 100644 index 000000000000..5c7c0fcd8c14 --- /dev/null +++ b/dev-python/pylxd/pylxd-2.3.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 2020-2021 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="A Python library for interacting with the LXD REST API" +HOMEPAGE="https://github.com/lxc/pylxd" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="*" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/pbr-1.8[${PYTHON_USEDEP}] + >=dev-python/requests-2.12[${PYTHON_USEDEP}] + >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}] + >=dev-python/requests-unixsocket-0.1.5[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] + >=dev-python/six-1.9.0[${PYTHON_USEDEP}] + >=dev-python/ws4py-0.4.2[${PYTHON_USEDEP}] + >=dev-python/cryptography-1.7.1[${PYTHON_USEDEP}] +" diff --git a/dev-python/soupsieve/Manifest b/dev-python/soupsieve/Manifest index 1c71567949ad..0e32f4233843 100644 --- a/dev-python/soupsieve/Manifest +++ b/dev-python/soupsieve/Manifest @@ -1 +1,2 @@ DIST soupsieve-2.2.1.tar.gz 99298 BLAKE2B 94532421f3b8e49d6ab75a54a60ac861a78eee9f6792ded096e39a8a43d46d195cff9b7d8feab918b0f2debc8a6dd35226ab714384fa7f4d795176e269b6c4cb SHA512 c1339cfca237af7f8915b6d644b8271f769f9a37aa68f8acf536236551baaf9bb44a2f2a736f9168a7649cde14d37b8c24614c9491acbf81e3f4fdaea96b4928 +DIST soupsieve-2.3.tar.gz 104025 BLAKE2B 37c1cbbb345a24e843a7b1acef5967b914cd93d4fcbe590e9453f9b0b84975e2fbdc601c45e720483370343f40aa643146cab9a53c17be29c6fa76ce026eca78 SHA512 c5d46703aba737c6eea7cc482311fd75dbaaa4929ebf3ed45b580d7e89d1d0be806608adbab974803acd8df5d74435efe1e149bce5cdbd74f77c90bba960859a diff --git a/dev-python/soupsieve/soupsieve-2.3.ebuild b/dev-python/soupsieve/soupsieve-2.3.ebuild new file mode 100644 index 000000000000..0954c102997e --- /dev/null +++ b/dev-python/soupsieve/soupsieve-2.3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="A modern CSS selector implementation for BeautifulSoup" +HOMEPAGE="https://github.com/facelessuser/soupsieve/ + https://pypi.org/project/soupsieve/" +SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +BDEPEND=" + test? ( + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/html5lib[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + # Needed for now until something is figured out either at lxml + # upstream or libxml2? + # See https://github.com/facelessuser/soupsieve/issues/220 + "${FILESDIR}"/${PN}-2.2.1-lxml-libxml2-tests.patch +) + +distutils_enable_tests pytest diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest index 63d09da5cd7c..2aa0cbe7a0cf 100644 --- a/dev-python/twine/Manifest +++ b/dev-python/twine/Manifest @@ -1 +1,2 @@ DIST twine-3.4.2.tar.gz 212266 BLAKE2B 602bb72f4be1c0d28341fb3378a5d55737c14555495640ae3414a1c8e7ca0c06b2c2ce3c358130251c02f0a51b61eb362a1e999c3945d4d1d7afd7bcd4d17807 SHA512 3f6d8992294a35e2a26be64f56c88d31af63b05f3f477d545bc82d928ca1b9939d23fa489eca5232502a49def77d489eaf6a29663d150f78b5cdb99749ff9b50 +DIST twine-3.5.0.tar.gz 211946 BLAKE2B 7ec2eb88a4496f7e750927c83b2e6d6ed39a08bb1775cda8df555ee6ce5244d721e8aaf2d983f983219b9445f56e2a830979a5e5e6165ab7e6ec12b2a0602842 SHA512 37219c1078bb7209123aee79c2d2bd73390c8ce4ab2bf6b5493a54e4ccb9c714a6422ee4a782b3c19d3a5344c1431285c666230729f44615b7761c7a5aff07d6 diff --git a/dev-python/twine/twine-3.5.0.ebuild b/dev-python/twine/twine-3.5.0.ebuild new file mode 100644 index 000000000000..c6211dde66b3 --- /dev/null +++ b/dev-python/twine/twine-3.5.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_SETUPTOOLS=pyproject.toml +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Collection of utilities for publishing packages on PyPI" +HOMEPAGE="https://twine.readthedocs.io/ https://github.com/pypa/twine https://pypi.org/project/twine/" +SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" + +RDEPEND=" + >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}] + >=dev-python/importlib_metadata-3.6[${PYTHON_USEDEP}] + >=dev-python/keyring-15.1[${PYTHON_USEDEP}] + >=dev-python/pkginfo-1.4.2[${PYTHON_USEDEP}] + >=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.20.0[${PYTHON_USEDEP}] + >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}] + >=dev-python/rfc3986-1.4.0[${PYTHON_USEDEP}] + >=dev-python/tqdm-4.14[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/jaraco-envs[${PYTHON_USEDEP}] + dev-python/jaraco-functools[${PYTHON_USEDEP}] + dev-python/munch[${PYTHON_USEDEP}] + dev-python/portend[${PYTHON_USEDEP}] + dev-python/pretend[${PYTHON_USEDEP}] + dev-python/pypiserver[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests --install pytest + +python_prepare_all() { + # requires internet + rm -f tests/test_integration.py || die + # pytest-socket dep relevant only to test_integration, and upstream + # disables it anyway + sed -i -e '/--disable-socket/d' pytest.ini || die + sed -i -e '/--cov/d' pytest.ini || die + + distutils-r1_python_prepare_all + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +} diff --git a/dev-python/unasync/unasync-0.5.0.ebuild b/dev-python/unasync/unasync-0.5.0.ebuild index f9736e85bcb8..a36091d0ad5c 100644 --- a/dev-python/unasync/unasync-0.5.0.ebuild +++ b/dev-python/unasync/unasync-0.5.0.ebuild @@ -16,9 +16,12 @@ KEYWORDS="~amd64 ~x86" src_prepare() { # Stop test from breaking itself - sed -i 's/\(env\["PYTHONPATH"\] = os.path.realpath(os.path.join(TEST_DIR, ".."))\)/#\1/' "${S}/tests/test_unasync.py" || die + sed -i '/env\["PYTHONPATH"\]/d' "${S}/tests/test_unasync.py" || die default_src_prepare } -distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme +distutils_enable_sphinx docs/source \ + dev-python/sphinxcontrib-trio \ + dev-python/sphinx_rtd_theme + distutils_enable_tests --install pytest |
