diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-09-21 13:41:43 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-09-21 13:41:43 +0000 |
| commit | 5090efb163b78a9c03e0126e964cc07097163de5 (patch) | |
| tree | b8cdc9769fffd5db9e04ae02dab713ee21ad85bf /dev-python | |
| parent | 90b7e2aab7c7cc1e6227087ac7ebe247cce4fc3a (diff) | |
| download | baldeagleos-repo-5090efb163b78a9c03e0126e964cc07097163de5.tar.gz baldeagleos-repo-5090efb163b78a9c03e0126e964cc07097163de5.tar.xz baldeagleos-repo-5090efb163b78a9c03e0126e964cc07097163de5.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/blessed/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/blessed/blessed-1.19.0.ebuild | 47 | ||||
| -rw-r--r-- | dev-python/flask-api/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/flask-api/flask-api-3.0.ebuild | 29 | ||||
| -rw-r--r-- | dev-python/huawei-lte-api/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/huawei-lte-api/huawei-lte-api-1.5.ebuild | 33 | ||||
| -rw-r--r-- | dev-python/networkx/networkx-2.6.3.ebuild | 6 | ||||
| -rw-r--r-- | dev-python/requests-futures/requests-futures-1.0.0.ebuild | 11 |
8 files changed, 128 insertions, 1 deletions
diff --git a/dev-python/blessed/Manifest b/dev-python/blessed/Manifest index 027c75439d48..5688d15577e3 100644 --- a/dev-python/blessed/Manifest +++ b/dev-python/blessed/Manifest @@ -1,3 +1,4 @@ DIST blessed-1.17.12.tar.gz 6697754 BLAKE2B 0ae89a587a34936b31114e4bdf77effc51e0ad01b31f3b7e037fe96a44bbfecf1e2f64495d09e2627343f8021116ba1a2d6bccdaac7998b978aebc54e60a7a13 SHA512 134bba81793e8e0e33afcd9daa7453f11857b3207d0427f061ccfc0dd1caa17cff32f84883860f69e2a98ecbb5cc609f2a1091ab7ca8ff42322f6e8466ae06da DIST blessed-1.18.0.tar.gz 6651519 BLAKE2B e512ae49d19e3db09606e07b6a384683aada3de830e3a8f3e938e088607e4bc33f6b53b3d6477a2b0d4bdeb849fa4cea6eb3b0048294b3a567409a993f46b7dd SHA512 25b0c0c17e82ea975ace3415beb680e7ac917cdd4589ff11f0510067139d2f681316c35a59c7ef9bc5225291cebf6395f0dfc78da8845457ed7cc722ac708bbe DIST blessed-1.18.1.tar.gz 6651527 BLAKE2B 50667db4fff2eeeb1a238d0634ae3e67ab2323b988db4435174327a894d60fff4988c45cc55a633666d2ed88a8fae4e0844027a0bdc739e63f319ce19319142a SHA512 6b83ff2949ab3f7c5bf599897734092d305beaa21cb70583fcd1a26a42a7f16888813bd281a18905065a9989dbca29cd5a00cc4c75f4e360ab52209fc6d55a4f +DIST blessed-1.19.0.tar.gz 6653907 BLAKE2B ba9c1247562baed398d6570fa97deeaefc325c502e0aed5907ffaf9802978933e9a5bd6c08b4d4c4a449533272005e3272f70dac5852da1c45c6c9644aee9a56 SHA512 a64d8d542a1a12b710375592c17d06f28a7c68d76952479738873fb956013f7c65820e797116b6151c2a338cd27cfe91b4ad1a318365357060f38d1ec0adf91e diff --git a/dev-python/blessed/blessed-1.19.0.ebuild b/dev-python/blessed/blessed-1.19.0.ebuild new file mode 100644 index 000000000000..90e29820161f --- /dev/null +++ b/dev-python/blessed/blessed-1.19.0.ebuild @@ -0,0 +1,47 @@ +# 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="Library for making terminal apps using colors, keyboard input and positioning" +HOMEPAGE="https://github.com/jquast/blessed" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + dev-python/wcwidth[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs dev-python/sphinx_rtd_theme +distutils_enable_tests pytest + +python_prepare_all() { + # Skip those extensions as they don't have a Gentoo package + # Remove calls to scripts that generate rst files because they + # are not present in the tarball + sed -e '/sphinxcontrib.manpage/d' -e '/sphinx_paramlinks/d' \ + -e '/^for script in/,/runpy.run_path/d' \ + -i docs/conf.py || die + # Requires pytest-xdist and has no value for us + sed -i '/^looponfailroots =/d' tox.ini || die + distutils-r1_python_prepare_all +} + +python_test() { + # COLORTERM must not be truecolor + # See https://github.com/jquast/blessed/issues/162 + # Ignore coverage options + COLORTERM= epytest --override-ini="addopts=" +} diff --git a/dev-python/flask-api/Manifest b/dev-python/flask-api/Manifest index 09bcfbe4a912..536afd7f973b 100644 --- a/dev-python/flask-api/Manifest +++ b/dev-python/flask-api/Manifest @@ -1 +1,2 @@ DIST flask-api-2.0.tar.gz 235593 BLAKE2B fadd746d91cc2c797a2e40ee6b11532eb0184a1289a692f8de844501a6656eaa1e87d10811119f267344185b22ed5c12bca43198d64d50ca8055ce95d0f62f19 SHA512 631e69e5a786598e6b5ef7e02c5c4f293eadd84d86fdf0155771d04fb6e87be5686756db90ab265cc097ae3d623c31dcebf5096a62c660d6f7d6fb1c3f3d4e3f +DIST flask-api-3.0.tar.gz 249620 BLAKE2B 63ce0ce6a2d4755caf40c020fc6b88f3b585b0c30f5800df62c8e442f629b8b489917ff0f0d1266d941478336f38aa0560c144620f6c11d60cbd9e31870bf984 SHA512 c86b919f8681a73be166ddc50022faecb376b1b6f99bd0d78b2f2fc8b64f82bf82779dbdcfbcaa1c5e321ea2d286b95f1a1aab32864e6c3923417d7828c7c79a diff --git a/dev-python/flask-api/flask-api-3.0.ebuild b/dev-python/flask-api/flask-api-3.0.ebuild new file mode 100644 index 000000000000..991b65b682ec --- /dev/null +++ b/dev-python/flask-api/flask-api-3.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Browsable web APIs for Flask" +HOMEPAGE="https://www.flaskapi.org/" +# pypi mirror don't have docs folder +SRC_URI="https://github.com/flask-api/flask-api/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/flask[${PYTHON_USEDEP}] + dev-python/markdown[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_install_all() { + local DOCS=( docs/about/release-notes.md docs/api-guide/* docs/index.md ) + distutils-r1_python_install_all +} diff --git a/dev-python/huawei-lte-api/Manifest b/dev-python/huawei-lte-api/Manifest index c48715730e1d..6140a382e39e 100644 --- a/dev-python/huawei-lte-api/Manifest +++ b/dev-python/huawei-lte-api/Manifest @@ -1 +1,2 @@ DIST huawei-lte-api-1.4.18.tar.gz 29701 BLAKE2B 0e242f2f2208646c9f3291dab8397a80934bce3757fb79b58fdcee389a087788962cfaea3350d7b95e53ff3e0f1fbefdf7ea6714266872fc1591848a4fb84462 SHA512 4750fcc84fff46c76f42715e6668d402b9057f8dd826276ad0682e9bac76742c86566794d4aaab7aa9ebf17d06246c4d4cc9385ee1fff9642ff5c995491fc646 +DIST huawei-lte-api-1.5.tar.gz 31741 BLAKE2B eded2f2ba04dfa8973a5ccd627996770b93e2509aeb2d0ff40dafc9a5ee0f6d242d032d310102297a1f56ee255b10f0e6e02c3a0ad687b6006e31ad8b53fb32e SHA512 f235664464abc23da85a36b17f356c7be65e686e06bbaba9aa06c728fa04ae5ab4fa32168c4fb2914a22472564d8f3365f9fe47f33e1892f923e6934dbd692b0 diff --git a/dev-python/huawei-lte-api/huawei-lte-api-1.5.ebuild b/dev-python/huawei-lte-api/huawei-lte-api-1.5.ebuild new file mode 100644 index 000000000000..a862193a8c64 --- /dev/null +++ b/dev-python/huawei-lte-api/huawei-lte-api-1.5.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="API For huawei LAN/WAN LTE Modems" +HOMEPAGE="https://github.com/Salamek/huawei-lte-api" +SRC_URI="https://github.com/Salamek/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="dev-python/pycryptodome[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}]" + +python_prepare_all() { + # https://github.com/Salamek/huawei-lte-api/issues/86 + sed "s:'pytest-runner'::" -i setup.py || die + + # make cryptodome-friendly + find -name '*.py' -exec \ + sed -i -e 's:Cryptodome:Crypto:g' {} + || die + + distutils-r1_python_prepare_all +} + +distutils_enable_tests pytest diff --git a/dev-python/networkx/networkx-2.6.3.ebuild b/dev-python/networkx/networkx-2.6.3.ebuild index 9c89b7763322..c6f0b3c0e3ed 100644 --- a/dev-python/networkx/networkx-2.6.3.ebuild +++ b/dev-python/networkx/networkx-2.6.3.ebuild @@ -29,6 +29,12 @@ python_test() { virtx epytest -p no:django } +src_install() { + distutils-r1_src_install + # those examples use various assets and pre-compressed files + docompress -x /usr/share/doc/${PF}/examples +} + pkg_postinst() { optfeature "recommended dependencies" "dev-python/matplotlib dev-python/numpy dev-python/pandas dev-python/scipy" optfeature "graph drawing and graph layout algorithms" "dev-python/pygraphviz dev-python/pydot" diff --git a/dev-python/requests-futures/requests-futures-1.0.0.ebuild b/dev-python/requests-futures/requests-futures-1.0.0.ebuild index 3d2b002527e0..f9e5ec12dd0d 100644 --- a/dev-python/requests-futures/requests-futures-1.0.0.ebuild +++ b/dev-python/requests-futures/requests-futures-1.0.0.ebuild @@ -15,8 +15,17 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" -RESTRICT="test" # https://github.com/ross/requests-futures/issues/94 +RESTRICT="test" +PROPERTIES="test_network" RDEPEND=">=dev-python/requests-1.2.0[${PYTHON_USEDEP}]" distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # known failures by upstream + # https://github.com/ross/requests-futures/issues/94 + test_requests_futures.py::RequestsTestCase::test_redirect + test_requests_futures.py::RequestsProcessPoolTestCase::test_futures_existing_session + test_requests_futures.py::RequestsProcessPoolTestCase::test_futures_session +) |
