diff options
| -rw-r--r-- | gn/packages/python-build.scm | 68 | ||||
| -rw-r--r-- | gn/packages/python-xyz.scm | 136 |
2 files changed, 0 insertions, 204 deletions
diff --git a/gn/packages/python-build.scm b/gn/packages/python-build.scm deleted file mode 100644 index 445a674..0000000 --- a/gn/packages/python-build.scm +++ /dev/null @@ -1,68 +0,0 @@ -(define-module (gn packages python-build) - #:use-module (guix gexp) - #:use-module (guix packages) - #:use-module (guix git-download) - #:use-module (guix build-system python) - #:use-module (guix build-system pyproject) - #:use-module ((guix licenses) #:prefix license:) - - #:use-module (gnu packages check) - #:use-module (gnu packages rust-apps) - #:use-module (gnu packages python-xyz) - #:use-module (gnu packages python-check) - #:use-module (gnu packages python-build)) - -(define-public python-build - (package - (name "python-build") - (version "1.4.0") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/pypa/build") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 "107hhzjrlj56gshcyalf4laf741swmmaznlz0xcfv8rvpwa81mm2")))) - (build-system pyproject-build-system) - (native-inputs - (list uv - python-tox - python-pip - python-wheel - python-tomli - python-pytest - python-filelock - python-colorama - python-flit-core - python-packaging - python-pytest-cov - python-setuptools - python-virtualenv - python-pytest-mock - python-pytest-xdist - python-pyproject-hooks - python-importlib-metadata - python-pytest-rerunfailures)) - (arguments - (list #:phases - #~(modify-phases %standard-phases - (add-before 'build 'set-env - (lambda _ - ;; When running tests, things fail because HOME=/homeless-shelter. - (setenv "HOME" "/tmp"))) - (add-before 'check 'patch-tests - (lambda* (#:key inputs #:allow-other-keys) - (substitute* "tests/test_env.py" - ((", path=sysconfig.get_path\\(\"scripts\"\\)") ""))))) - - ;; Cheat by deactivating tests for now. - #:tests? #f)) - (home-page "https://build.pypa.io/") - (synopsis "A simple, correct Python packaging build frontend") - (description "A simple, correct Python packaging build frontend. - build manages pyproject.toml-based builds, invoking build-backend hooks as - appropriate to build a distribution package. It is a simple build tool and does - not perform any dependency management.") - (license license:expat))) diff --git a/gn/packages/python-xyz.scm b/gn/packages/python-xyz.scm deleted file mode 100644 index 1e85111..0000000 --- a/gn/packages/python-xyz.scm +++ /dev/null @@ -1,136 +0,0 @@ -(define-module (gn packages python-xyz) - #:use-module (guix packages) - #:use-module (guix download) - #:use-module (guix git-download) - #:use-module (guix build-system python) - #:use-module (guix build-system pyproject) - #:use-module ((guix licenses) #:prefix license:) - - #:use-module (gnu packages check) - #:use-module (gnu packages sphinx) - #:use-module (gnu packages python-web) - #:use-module (gnu packages python-xyz) - #:use-module (gnu packages python-check) - #:use-module (gnu packages python-build)) - -(define-public python-mslex - (package - (name "python-mslex") - (version "1.3.0") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/smoofra/mslex") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1k7p2yzsiga39kmcp440mgxlgsahg01il7jrbr8mc94k60wzmgdy")))) - (build-system pyproject-build-system) - (native-inputs (list python-setuptools python-wheel)) - (inputs (list python-tox - python-trio - python-tqdm - python-twine - python-black - python-flake8 - python-sphinx - python-pytest - python-watchdog - python-coverage - python-bump2version - python-types-setuptools)) - (home-page "https://github.com/smoofra/mslex") - (synopsis "shlex for windows") - (description "shlex for windows.") - (license license:asl2.0))) - - -(define-public python-oslex - (package - (name "python-oslex") - (version "0.1.3") - (source - (origin - (method url-fetch) - (uri (pypi-uri "oslex" version)) - (sha256 - (base32 "0bazd0vk2lzsk7cwgl2m669m6dqqhh4l0d6sn2yaiwjxqy1cvm0y")))) - (build-system pyproject-build-system) - (propagated-inputs (list python-mslex)) - (native-inputs (list python-hatchling)) - (home-page "https://github.com/petamas/oslex") - (synopsis "OS-independent wrapper for shlex and mslex") - (description "OS-independent wrapper for shlex and mslex.") - (license license:expat))) - - -(define-public python-annotated-doc - (package - (name "python-annotated-doc") - (version "0.0.4") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/fastapi/annotated-doc") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 "13fh58q1a8kvrx1kjgr6qmd09jhikxc7wlyccajpfz657ipjif9v")))) - (build-system pyproject-build-system) - (native-inputs (list python-pdm-backend)) - (home-page "https://github.com/fastapi/annotated-doc") - (synopsis - "Document parameters, class attributes, return types, and variables inline, with Annotated.") - (description - "Document parameters, class attributes, return types, and variables inline, with -Annotated.") - (license license:expat))) - - -(define-public python-backoff - (package - (name "python-backoff") - (version "2.2.1") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/litl/backoff") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "0cpfd8fdznwlxrjpwy10pl4bj9q393ys1vj90nvsrhwakqcdiil3")))) - (build-system pyproject-build-system) - (native-inputs (list python-pytest - python-requests - python-responses - python-poetry-core - python-pytest-asyncio-0.21)) - (home-page "https://github.com/litl/backoff") - (synopsis "Function decoration for backoff and retry") - (description "Function decoration for backoff and retry.") - (license license:expat))) - - -(define-public python-typing-inspection - (package - (name "python-typing-inspection") - (version "0.4.2") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/pydantic/typing-inspection") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1dqib4arxxaxwyapw6y4pcvm38l8djkhd8cfr149w42bw4xrqr38")))) - (build-system pyproject-build-system) - (propagated-inputs (list python-typing-extensions)) - (native-inputs (list python-hatchling)) - (home-page "https://github.com/pydantic/typing-inspection") - (synopsis "Runtime typing introspection tools") - (description "Runtime typing introspection tools.") - (license license:expat))) |
