File tree Expand file tree Collapse file tree 1 file changed +11
-18
lines changed
pkgs/development/python-modules/jaraco-net Expand file tree Collapse file tree 1 file changed +11
-18
lines changed Original file line number Diff line number Diff line change 22 lib ,
33 stdenv ,
44 buildPythonPackage ,
5- pythonOlder ,
65 fetchFromGitHub ,
76 setuptools ,
87 setuptools-scm ,
8+ autocommand ,
99 more-itertools ,
1010 beautifulsoup4 ,
1111 mechanize ,
2727 cherrypy ,
2828 importlib-resources ,
2929 pyparsing ,
30- requests-mock ,
30+ pytest-responses ,
3131 nettools ,
3232} :
3333
3434buildPythonPackage rec {
3535 pname = "jaraco-net" ;
36- version = "10.2.0" ;
37-
38- disabled = pythonOlder "3.7" ;
39-
40- format = "pyproject" ;
36+ version = "10.2.3" ;
37+ pyproject = true ;
4138
4239 src = fetchFromGitHub {
4340 owner = "jaraco" ;
4441 repo = "jaraco.net" ;
4542 tag = "v${ version } " ;
46- hash = "sha256-z9+gz6Sos0uluU5icXJN9OMmWFErVrJXBvoBcKv6Wwg =" ;
43+ hash = "sha256-yZbiCGUZqJQdV3/vtNLs+B9ZDin2PH0agR4kYvB5HxA =" ;
4744 } ;
4845
49- nativeBuildInputs = [
46+ build-system = [
5047 setuptools
5148 setuptools-scm
5249 ] ;
5350
54- propagatedBuildInputs = [
51+ dependencies = [
52+ autocommand
5553 more-itertools
5654 beautifulsoup4
5755 mechanize
@@ -77,23 +75,18 @@ buildPythonPackage rec {
7775 cherrypy
7876 importlib-resources
7977 pyparsing
80- requests-mock
78+ pytest-responses
8179 ] ++ lib . optionals stdenv . hostPlatform . isDarwin [ nettools ] ;
8280
8381 disabledTestPaths = [
84- # doesn't actually contain tests
85- "fabfile.py"
8682 # require networking
83+ "jaraco/net/icmp.py"
8784 "jaraco/net/ntp.py"
8885 "jaraco/net/scanner.py"
89- "tests/test_cookies.py"
9086 ] ;
9187
92- # cherrypy does not support Python 3.11
93- doCheck = pythonOlder "3.11" ;
94-
9588 meta = {
96- changelog = "https://github.com/jaraco/jaraco.net/blob/${ src . rev } /CHANGES .rst" ;
89+ changelog = "https://github.com/jaraco/jaraco.net/blob/${ src . tag } /NEWS .rst" ;
9790 description = "Networking tools by jaraco" ;
9891 homepage = "https://github.com/jaraco/jaraco.net" ;
9992 license = lib . licenses . mit ;
You can’t perform that action at this time.
0 commit comments