From 53cba99042fa967e2a93da9f8db806fe2d035543 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 17 Feb 2020 01:16:38 +0000 Subject: gentoo resync : 17.02.2020 --- dev-python/python-jsonrpc-server/Manifest | 5 ++-- ...sonrpc-server-0.3.4-remove-pytest-cov-dep.patch | 15 +++++++++++ .../python-jsonrpc-server-0.3.2.ebuild | 31 ---------------------- .../python-jsonrpc-server-0.3.4.ebuild | 30 +++++++++++++++++++++ 4 files changed, 48 insertions(+), 33 deletions(-) create mode 100644 dev-python/python-jsonrpc-server/files/python-jsonrpc-server-0.3.4-remove-pytest-cov-dep.patch delete mode 100644 dev-python/python-jsonrpc-server/python-jsonrpc-server-0.3.2.ebuild create mode 100644 dev-python/python-jsonrpc-server/python-jsonrpc-server-0.3.4.ebuild (limited to 'dev-python/python-jsonrpc-server') diff --git a/dev-python/python-jsonrpc-server/Manifest b/dev-python/python-jsonrpc-server/Manifest index 92fbad895fb3..37b40c6fd958 100644 --- a/dev-python/python-jsonrpc-server/Manifest +++ b/dev-python/python-jsonrpc-server/Manifest @@ -1,3 +1,4 @@ -DIST python-jsonrpc-server-0.3.2.tar.gz 32493 BLAKE2B b1e89c798e247b3b039645b99ca25898fa846676c646e58d8fabfdbd772e3efa1ad895dfa7b31931f1e7d91252c4327a324b929cd861b16bc2be32a64e064db1 SHA512 1d29858b8f6850a017c8e7e94196a972c985e72e9f57956afa2964feb109d9b5cfa33d534d279d817bd5a1454dfcde7d32cd13149c9a53fe1f9e6e0a5899f15c -EBUILD python-jsonrpc-server-0.3.2.ebuild 700 BLAKE2B a416a3434dbdee800515599b86736463c2ac6bd929117b679cd516c7e8089c01783e5cc8f003d37aec59b22ff333f5027943b5aba87bae00061243de54baaed1 SHA512 735146a8291245610107e0c1448d5063fb6b3295e048b87fb2e41749fc744d1c0b64b3a638f0c507dd95178c1cac4441d508b0d9341bb0dc9d67bff53c1d37f6 +AUX python-jsonrpc-server-0.3.4-remove-pytest-cov-dep.patch 359 BLAKE2B 73548cee569f25bfd6cf98897ab5553507adb4e2f28a2cad6029451432f2144a8de2643bec491a1937f88fc2b7bb3a2f23dd1b56bc82eaec94f206fbdf0b133a SHA512 d8a7ac71a897d4dce9290b51a658443e5b6c954e38cd8477a55a5e3b8abaabf033a9f34410eb282156340efed36758a904eb2473a91b01fa181615fd8a641761 +DIST python-jsonrpc-server-0.3.4.tar.gz 26123 BLAKE2B 5d3c7b910cc91999f7f03a70a1f954decd11801b4dad39cb940625a3456fb69a8e6a146c128d29d347f1513a9f27208f1f39208d3449443be8278e0d175e6598 SHA512 a00af318baf89fe38ececc2080d7b3af8c2476280f9eb89670e5b0d3ceac046573be964bc2882c1b1894edc8ab4cb5fd69366980abe17bb1df857181821bcbd0 +EBUILD python-jsonrpc-server-0.3.4.ebuild 749 BLAKE2B 97caae11dca4fba6ed6a3bf1bdfa01f0728b5a51c9d4b81eb74d804476715fcda10fc831cef176a44a984311e5f51e4e2ac2863dd453467317c5491432c9bb9e SHA512 e5634ec354962ce42bc89a19c49ffbe8f669fafa93475cb955d1e4fbed5cfd10e27c9855617f2a83449252feb2439c190bfaac1dad8671c6d95268234c48b0fc MISC metadata.xml 412 BLAKE2B 1c1563b175b955ba98fa211a2277e49347a6e3bdf4aa4fc585a2eeab65b080e2b63ddaaac5958521f9e421ac3c0a8bb5872416e0186490b0185eea76d527dbab SHA512 d5cfa13aa12b5612ac426563ec40fe585231a3a599b91490d81745c5b77c9ea603335fedfac9d62e810694e25f2fa5ed71e47e13c85cb75db57c116db3164225 diff --git a/dev-python/python-jsonrpc-server/files/python-jsonrpc-server-0.3.4-remove-pytest-cov-dep.patch b/dev-python/python-jsonrpc-server/files/python-jsonrpc-server-0.3.4-remove-pytest-cov-dep.patch new file mode 100644 index 000000000000..a81919eae4bd --- /dev/null +++ b/dev-python/python-jsonrpc-server/files/python-jsonrpc-server-0.3.4-remove-pytest-cov-dep.patch @@ -0,0 +1,15 @@ +pytest-cov is a deprecated dep +diff --git a/setup.cfg b/setup.cfg +index 03b63df..165c746 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -13,9 +13,6 @@ exclude = test/plugins/.ropeproject,test/.ropeproject + + [tool:pytest] + testpaths = test +-addopts = +- --cov-report html --cov-report term --junitxml=pytest.xml +- --cov pyls --cov test + + [egg_info] + tag_build = diff --git a/dev-python/python-jsonrpc-server/python-jsonrpc-server-0.3.2.ebuild b/dev-python/python-jsonrpc-server/python-jsonrpc-server-0.3.2.ebuild deleted file mode 100644 index c3430e9a8277..000000000000 --- a/dev-python/python-jsonrpc-server/python-jsonrpc-server-0.3.2.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7} ) - -inherit distutils-r1 - -DESCRIPTION="A Python 2 and 3 asynchronous JSON RPC server" -HOMEPAGE="https://github.com/palantir/python-jsonrpc-server" -SRC_URI="https://github.com/palantir/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -IUSE="examples" - -BDEPEND="dev-python/versioneer[${PYTHON_USEDEP}]" - -RDEPEND="dev-python/future[${PYTHON_USEDEP}] - dev-python/ujson[${PYTHON_USEDEP}]" - -python_install_all() { - if use examples; then - insinto /usr/share/${PN} - doins -r examples - fi - distutils-r1_python_install_all -} diff --git a/dev-python/python-jsonrpc-server/python-jsonrpc-server-0.3.4.ebuild b/dev-python/python-jsonrpc-server/python-jsonrpc-server-0.3.4.ebuild new file mode 100644 index 000000000000..8881d6a78bb4 --- /dev/null +++ b/dev-python/python-jsonrpc-server/python-jsonrpc-server-0.3.4.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit distutils-r1 + +DESCRIPTION="A Python 2 and 3 asynchronous JSON RPC server" +HOMEPAGE="https://github.com/palantir/python-jsonrpc-server" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="dev-python/versioneer[${PYTHON_USEDEP}]" + +RDEPEND="dev-python/ujson[${PYTHON_USEDEP}]" + +DEPEND="test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pycodestyle[${PYTHON_USEDEP}] + dev-python/pyflakes[${PYTHON_USEDEP}] + dev-python/pylint[${PYTHON_USEDEP}] )" + +PATCHES=( "${FILESDIR}/${P}-remove-pytest-cov-dep.patch" ) + +distutils_enable_tests pytest -- cgit v1.2.3