summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>2020-01-26 19:54:51 +0100
committerMatt Turner <mattst88@gentoo.org>2020-02-15 12:37:59 -0800
commita4807704fd4dd65b3133dc886652ed6d480d8b4e (patch)
tree726603df0a3b796cfc8c584ce0b9b156acee1a2b /dev-python/python-jsonrpc-server
parentdev-python/python-language-server: Version bump 0.31.8 (diff)
downloadgentoo-a4807704fd4dd65b3133dc886652ed6d480d8b4e.tar.gz
gentoo-a4807704fd4dd65b3133dc886652ed6d480d8b4e.tar.bz2
gentoo-a4807704fd4dd65b3133dc886652ed6d480d8b4e.zip
dev-python/python-jsonrpc-server: Version bump 0.3.4
Bug fix, github release tarball does not contain correct version info Bug: https://bugs.gentoo.org/706420 Package-Manager: Portage-2.3.85, Repoman-2.3.20 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net> Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-python/python-jsonrpc-server')
-rw-r--r--dev-python/python-jsonrpc-server/Manifest2
-rw-r--r--dev-python/python-jsonrpc-server/files/python-jsonrpc-server-0.3.4-remove-pytest-cov-dep.patch15
-rw-r--r--dev-python/python-jsonrpc-server/python-jsonrpc-server-0.3.4.ebuild (renamed from dev-python/python-jsonrpc-server/python-jsonrpc-server-0.3.2.ebuild)23
3 files changed, 27 insertions, 13 deletions
diff --git a/dev-python/python-jsonrpc-server/Manifest b/dev-python/python-jsonrpc-server/Manifest
index 97268a633401..31efd0bc4240 100644
--- a/dev-python/python-jsonrpc-server/Manifest
+++ b/dev-python/python-jsonrpc-server/Manifest
@@ -1 +1 @@
-DIST python-jsonrpc-server-0.3.2.tar.gz 32493 BLAKE2B b1e89c798e247b3b039645b99ca25898fa846676c646e58d8fabfdbd772e3efa1ad895dfa7b31931f1e7d91252c4327a324b929cd861b16bc2be32a64e064db1 SHA512 1d29858b8f6850a017c8e7e94196a972c985e72e9f57956afa2964feb109d9b5cfa33d534d279d817bd5a1454dfcde7d32cd13149c9a53fe1f9e6e0a5899f15c
+DIST python-jsonrpc-server-0.3.4.tar.gz 26123 BLAKE2B 5d3c7b910cc91999f7f03a70a1f954decd11801b4dad39cb940625a3456fb69a8e6a146c128d29d347f1513a9f27208f1f39208d3449443be8278e0d175e6598 SHA512 a00af318baf89fe38ececc2080d7b3af8c2476280f9eb89670e5b0d3ceac046573be964bc2882c1b1894edc8ab4cb5fd69366980abe17bb1df857181821bcbd0
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.4.ebuild
index c3430e9a8277..8881d6a78bb4 100644
--- a/dev-python/python-jsonrpc-server/python-jsonrpc-server-0.3.2.ebuild
+++ b/dev-python/python-jsonrpc-server/python-jsonrpc-server-0.3.4.ebuild
@@ -9,23 +9,22 @@ 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"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${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}]"
+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" )
-python_install_all() {
- if use examples; then
- insinto /usr/share/${PN}
- doins -r examples
- fi
- distutils-r1_python_install_all
-}
+distutils_enable_tests pytest