nrepl-python 0.3.8__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2 @@
1
+ .nrepl-port
2
+ **/__pycache__
@@ -0,0 +1,26 @@
1
+ stages:
2
+ - build
3
+ - publish
4
+
5
+ build:
6
+ stage: build
7
+ image: python:3.11
8
+ script:
9
+ - pip install flit
10
+ - flit build
11
+ artifacts:
12
+ paths:
13
+ - dist/
14
+
15
+ publish-pypi:
16
+ stage: publish
17
+ image: python:3.11
18
+ script:
19
+ - pip install flit
20
+ - flit publish
21
+ environment: pypi
22
+ rules:
23
+ - if: $CI_COMMIT_TAG =~ /^\d+\.\d+\.\d+$/
24
+ variables:
25
+ FLIT_USERNAME: __token__
26
+ FLIT_PASSWORD: $PYPI_TOKEN
@@ -0,0 +1,19 @@
1
+ (use-modules (gnu packages python-xyz)
2
+ (guix gexp)
3
+ (guix git-download)
4
+ (guix packages))
5
+
6
+ (define python-nrepl/devel
7
+ (package
8
+ (inherit python-nrepl)
9
+ (name "python-nrepl-devel")
10
+ (source
11
+ (let ((top (dirname (current-filename))))
12
+ (local-file top
13
+ #:recursive? #t
14
+ #:select? (git-predicate top))))
15
+ (native-inputs
16
+ (modify-inputs (package-native-inputs python-nrepl)
17
+ (append (@ (gnu packages python-xyz) python-icecream))))))
18
+
19
+ (package->development-manifest python-nrepl/devel)
@@ -0,0 +1,100 @@
1
+ ;;; Copyright © 2024-2026 Nicolas Graves <ngraves@ngraves.fr>
2
+
3
+ (define-module (nrepl-python-packages)
4
+ #:use-module (guix gexp)
5
+ #:use-module (guix packages)
6
+ #:use-module (guix git-download)
7
+ #:use-module (guix build-system python)
8
+ #:use-module (guix build-system pyproject)
9
+ #:use-module ((guix licenses) #:prefix license:)
10
+ #:use-module (guix download)
11
+ #:use-module (guix git)
12
+ #:use-module (guix utils)
13
+ #:use-module (gnu packages check)
14
+ #:use-module (gnu packages compression)
15
+ #:use-module (gnu packages python-build)
16
+ #:use-module (gnu packages python-xyz))
17
+
18
+ (define-public python-bencodepy
19
+ (package
20
+ (name "python-bencodepy")
21
+ (version "4.0.0")
22
+ (source
23
+ (origin
24
+ (method git-fetch)
25
+ (uri (git-reference
26
+ (url "https://github.com/fuzeman/bencode.py")
27
+ (commit version)))
28
+ (file-name (git-file-name name version))
29
+ (sha256
30
+ (base32 "14famvp349mxpbnp61w1yjprf2hinpbqq9c65b1399s938caqaxw"))
31
+ (modules '((guix build utils)))
32
+ (snippet #~(for-each delete-file-recursively
33
+ (list "bencode" "tests/bencode")))))
34
+ (build-system pyproject-build-system)
35
+ (native-inputs
36
+ (list python-pbr
37
+ python-pytest
38
+ python-setuptools))
39
+ (home-page "https://github.com/fuzeman/bencode.py")
40
+ (synopsis "Python bencode encoder/decoder")
41
+ (description
42
+ "This package provides a Python bencode encoder/decoder.")
43
+ (license license:gpl2)))
44
+
45
+ (define-public python-types-psutil
46
+ (package
47
+ (name "python-types-psutil")
48
+ (version "7.2.2.20260130")
49
+ (source
50
+ (origin
51
+ (method url-fetch)
52
+ (uri (pypi-uri "types_psutil" version))
53
+ (sha256
54
+ (base32 "0l09b72xmgcfjwb2pqm8sq9ls2k21i4fi0y3wffcyh98qmlspc0m"))))
55
+ (build-system pyproject-build-system)
56
+ (arguments (list #:tests? #f)) ;no tests in PyPI archive
57
+ (native-inputs (list python-setuptools))
58
+ (home-page "https://github.com/python/typeshed")
59
+ (synopsis "Typing stubs for psutil")
60
+ (description "Typing stubs for psutil.")
61
+ (license license:asl2.0)))
62
+
63
+ (define-public python-types-greenlet
64
+ (package
65
+ (name "python-types-greenlet")
66
+ (version "3.3.0.20251206")
67
+ (source
68
+ (origin
69
+ (method url-fetch)
70
+ (uri (pypi-uri "types_greenlet" version))
71
+ (sha256
72
+ (base32 "0m9h0r900ywv8nnl84fw7qr2168dy3xi109fvj7c0m3imc9b66iy"))))
73
+ (build-system pyproject-build-system)
74
+ (arguments (list #:tests? #f)) ;no tests in PyPI archive
75
+ (native-inputs (list python-setuptools))
76
+ (home-page "https://github.com/python/typeshed")
77
+ (synopsis "Typing stubs for greenlet")
78
+ (description "Typing stubs for greenlet.")
79
+ (license license:asl2.0)))
80
+
81
+ (define-public python-types-gevent
82
+ (package
83
+ (name "python-types-gevent")
84
+ (version "25.9.0.20251228")
85
+ (source
86
+ (origin
87
+ (method url-fetch)
88
+ (uri (pypi-uri "types_gevent" version))
89
+ (sha256
90
+ (base32 "1vxbb4fwc6vk4bpi7zkkyxpwhi64wjn9lgkc4fps7i953n4zjgj2"))))
91
+ (build-system pyproject-build-system)
92
+ (arguments (list #:tests? #f)) ;no tests in PyPI archive
93
+ (propagated-inputs (list python-types-greenlet python-types-psutil))
94
+ (native-inputs (list python-setuptools))
95
+ (home-page "https://github.com/python/typeshed")
96
+ (synopsis "Typing stubs for gevent")
97
+ (description "Typing stubs for gevent.")
98
+ (license license:asl2.0)))
99
+
100
+ python-nrepl