Update aacircuit

Evgeny PisemskySat Feb 15 15:10:16+0300 2025

ffa16ab

Update aacircuit

modules/cogd/packages/engineering.scm

4141
           "19hyzd1601l51bwlv43j8l602nfacbjwqf54m5xsmj50718bcks2")))))))
4242
4343
(define-public aacircuit
44-
  (let ((commit "68634860b43d2be96cd23305568408937e1b93f2")
44+
  (let ((commit "359ec487c5211ec73b0d283695091ba38f5cc5a7")
4545
        (revision "0"))
4646
    (package
4747
      (name "aacircuit")

5050
       (origin
5151
         (method git-fetch)
5252
         (uri (git-reference
53-
               (url "https://github.com/Blokkendoos/AACircuit")
53+
               (url "https://github.com/pisemsky/aacircuit")
5454
               (commit commit)))
5555
         (file-name (git-file-name name version))
5656
         (sha256
57-
          (base32 "0g81ninpkdr0qvd3x487gi76x6ln7751y1ca263rg0zs6vxk2k0x"))))
58-
      (build-system python-build-system)
57+
          (base32 "07agb7fbpbq74zm27j9b00imr46q6kpwhxzmmffw2s9scv80c1km"))))
58+
      (build-system pyproject-build-system)
5959
      (arguments
6060
       (list
61-
        ;; The setup.py is for mac only.
62-
        #:use-setuptools? #f
6361
        #: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))))
7562
                     (replace 'check
7663
                       (lambda* (#:key tests? #:allow-other-keys)
7764
                         (when tests?

8269
                                                  "test_import_aacircuit_export_pdf")
8370
                                                ","))
8471
                           (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))
8674
      (propagated-inputs (list gtk+
8775
                               python-bresenham
8876
                               python-platformdirs