* [PR PATCH] python3-shodan: update to 1.24.0
@ 2020-10-12 22:40 misuchiru03
2020-10-15 5:15 ` ericonr
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: misuchiru03 @ 2020-10-12 22:40 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 342 bytes --]
There is a new pull request by misuchiru03 against master on the void-packages repository
https://github.com/misuchiru03/void-packages up_python3-shodan_1.24.0
https://github.com/void-linux/void-packages/pull/25552
python3-shodan: update to 1.24.0
A patch file from https://github.com/void-linux/void-packages/pull/25552.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-up_python3-shodan_1.24.0-25552.patch --]
[-- Type: text/x-diff, Size: 1131 bytes --]
From 8b48ed5522783c533815e923bf4238661f4c47f5 Mon Sep 17 00:00:00 2001
From: Alex Childs <misuchiru03+void@gmail.com>
Date: Mon, 12 Oct 2020 17:38:48 -0500
Subject: [PATCH] python3-shodan: update to 1.24.0
---
srcpkgs/python3-shodan/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-shodan/template b/srcpkgs/python3-shodan/template
index d4d403681be..5900d6ce7d1 100644
--- a/srcpkgs/python3-shodan/template
+++ b/srcpkgs/python3-shodan/template
@@ -1,7 +1,7 @@
# Template file for 'python3-shodan'
pkgname=python3-shodan
-version=1.23.0
-revision=2
+version=1.24.0
+revision=1
wrksrc="shodan-python-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
@@ -12,7 +12,7 @@ maintainer="Alex Childs <misuchiru03+void@gmail.com>"
license="MIT"
homepage="https://developer.shodan.io"
distfiles="https://github.com/achillean/shodan-python/archive/${version}.tar.gz"
-checksum=28b83642d25dc47ad75ea9016889ec410363e2059a3d11b8236983a533c4aa7a
+checksum=10ab5187de136aeec417c636a7ab33ab7432021143a2b71f31a55bc4d6e3c743
post_install() {
vlicense LICENSE
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: python3-shodan: update to 1.24.0
2020-10-12 22:40 [PR PATCH] python3-shodan: update to 1.24.0 misuchiru03
@ 2020-10-15 5:15 ` ericonr
2020-10-17 22:10 ` misuchiru03
2020-10-21 2:31 ` [PR PATCH] [Merged]: " ahesford
2 siblings, 0 replies; 4+ messages in thread
From: ericonr @ 2020-10-15 5:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 716 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/25552#issuecomment-708902297
Comment:
Can you make the tests run successfully? Build with `./xbps-src pkg -Q python3-shodan` to see them:
```
======================================================================
ERROR: test_count_simple (tests.test_shodan.ShodanTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/builddir/shodan-python-1.24.0/tests/test_shodan.py", line 25, in setUp
self.api = shodan.Shodan(open('SHODAN-API-KEY').read().strip())
FileNotFoundError: [Errno 2] No such file or directory: 'SHODAN-API-KEY'
```
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: python3-shodan: update to 1.24.0
2020-10-12 22:40 [PR PATCH] python3-shodan: update to 1.24.0 misuchiru03
2020-10-15 5:15 ` ericonr
@ 2020-10-17 22:10 ` misuchiru03
2020-10-21 2:31 ` [PR PATCH] [Merged]: " ahesford
2 siblings, 0 replies; 4+ messages in thread
From: misuchiru03 @ 2020-10-17 22:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1006 bytes --]
New comment by misuchiru03 on void-packages repository
https://github.com/void-linux/void-packages/pull/25552#issuecomment-711086416
Comment:
> Can you make the tests run successfully? Build with `./xbps-src pkg -Q python3-shodan` to see them:
>
> ```
> ======================================================================
> ERROR: test_count_simple (tests.test_shodan.ShodanTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/builddir/shodan-python-1.24.0/tests/test_shodan.py", line 25, in setUp
> self.api = shodan.Shodan(open('SHODAN-API-KEY').read().strip())
> FileNotFoundError: [Errno 2] No such file or directory: 'SHODAN-API-KEY'
> ```
These are related to the Shodan API key, which requires a Shodan account. The tests have not been successful without the API keys, which are account-specific, but the CLI works just fine when initializing your own account's API key using `shodan init <api_key>`.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PR PATCH] [Merged]: python3-shodan: update to 1.24.0
2020-10-12 22:40 [PR PATCH] python3-shodan: update to 1.24.0 misuchiru03
2020-10-15 5:15 ` ericonr
2020-10-17 22:10 ` misuchiru03
@ 2020-10-21 2:31 ` ahesford
2 siblings, 0 replies; 4+ messages in thread
From: ahesford @ 2020-10-21 2:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 166 bytes --]
There's a merged pull request on the void-packages repository
python3-shodan: update to 1.24.0
https://github.com/void-linux/void-packages/pull/25552
Description:
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-10-21 2:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-12 22:40 [PR PATCH] python3-shodan: update to 1.24.0 misuchiru03
2020-10-15 5:15 ` ericonr
2020-10-17 22:10 ` misuchiru03
2020-10-21 2:31 ` [PR PATCH] [Merged]: " ahesford
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).