Update aacircuit
modules/cogd/packages/engineering.scm
41 | 41 | "19hyzd1601l51bwlv43j8l602nfacbjwqf54m5xsmj50718bcks2"))))))) | |
42 | 42 | ||
43 | 43 | (define-public aacircuit | |
44 | - | (let ((commit "68634860b43d2be96cd23305568408937e1b93f2") | |
44 | + | (let ((commit "359ec487c5211ec73b0d283695091ba38f5cc5a7") | |
45 | 45 | (revision "0")) | |
46 | 46 | (package | |
47 | 47 | (name "aacircuit") | |
… | |||
50 | 50 | (origin | |
51 | 51 | (method git-fetch) | |
52 | 52 | (uri (git-reference | |
53 | - | (url "https://github.com/Blokkendoos/AACircuit") | |
53 | + | (url "https://github.com/pisemsky/aacircuit") | |
54 | 54 | (commit commit))) | |
55 | 55 | (file-name (git-file-name name version)) | |
56 | 56 | (sha256 | |
57 | - | (base32 "0g81ninpkdr0qvd3x487gi76x6ln7751y1ca263rg0zs6vxk2k0x")))) | |
58 | - | (build-system python-build-system) | |
57 | + | (base32 "07agb7fbpbq74zm27j9b00imr46q6kpwhxzmmffw2s9scv80c1km")))) | |
58 | + | (build-system pyproject-build-system) | |
59 | 59 | (arguments | |
60 | 60 | (list | |
61 | - | ;; The setup.py is for mac only. | |
62 | - | #:use-setuptools? #f | |
63 | 61 | #:phases #~(modify-phases %standard-phases | |
64 | - | (delete 'build) | |
65 | - | (replace 'install | |
66 | - | (lambda* (#:key inputs outputs #:allow-other-keys) | |
67 | - | (let* ((sitedir (site-packages inputs outputs)) | |
68 | - | (moddir (string-append sitedir "/application")) | |
69 | - | (bindir (string-append #$output "/bin")) | |
70 | - | (program (string-append bindir "/aacircuit"))) | |
71 | - | (copy-recursively "application" moddir) | |
72 | - | (mkdir-p bindir) | |
73 | - | (copy-file "aacircuit.py" program) | |
74 | - | (chmod program #o555)))) | |
75 | 62 | (replace 'check | |
76 | 63 | (lambda* (#:key tests? #:allow-other-keys) | |
77 | 64 | (when tests? | |
… | |||
82 | 69 | "test_import_aacircuit_export_pdf") | |
83 | 70 | ",")) | |
84 | 71 | (invoke "xvfb-run" "./testrunner.sh"))))))) | |
85 | - | (native-inputs (list python-nose python-flake8 xvfb-run)) | |
72 | + | (native-inputs (list python-flake8 python-nose python-setuptools | |
73 | + | python-wheel xvfb-run)) | |
86 | 74 | (propagated-inputs (list gtk+ | |
87 | 75 | python-bresenham | |
88 | 76 | python-platformdirs |