Hi, I'm trying to package shedskin, a Python 2 native (to C++) compiler.
It only supports python2 in upstream. If I package it the usual way (like other Python packages in Guix), python2-shedskin works fine, however, python-shedskin won't and basically shouldn't be there. How to best proceed? What I have: (define-public python-shedskin (package (name "python-shedskin") (version "0.9.4") (source (origin (method url-fetch) (uri (string-append "https://github.com/shedskin/shedskin/releases/download/v" version "/shedskin-0.9.4.tgz")) (sha256 (base32 "0nzwrzgw1ga8rw6f0ryq7zr9kkiavd1cqz5hzxkcbicl1dk7kz41")))) (build-system python-build-system) (inputs `(("python-setuptools" ,python-setuptools) ("libgc" ,libgc))) (propagated-inputs `(("pcre" ,pcre))) (home-page "https://shedskin.github.io/") (synopsis "Python Native Compiler") (description "This is a native compiler for a subset of Python.") (license (list gpl3 bsd-3 expat)) )) (define-public python2-shedskin (let ((shedskin (package-with-python2 (strip-python2-variant python-shedskin)))) (package (inherit shedskin) (native-inputs `(("python2-setuptools" ,python2-setuptools) ,@(package-native-inputs shedskin))))))