Skip to content
Snippets Groups Projects
Commit 85054932 authored by Alex Kost's avatar Alex Kost
Browse files

build: Build pypi modules only if 'guile-json' is available.

* Makefile.am (MODULES): Wrap 'guix/import/pypi.scm' and
  'guix/scripts/import/pypi.scm' in 'if HAVE_GUILE_JSON'.
parent e596ab0f
No related branches found
No related tags found
No related merge requests found
...@@ -77,7 +77,6 @@ MODULES = \ ...@@ -77,7 +77,6 @@ MODULES = \
guix/packages.scm \ guix/packages.scm \
guix/import/utils.scm \ guix/import/utils.scm \
guix/import/snix.scm \ guix/import/snix.scm \
guix/import/pypi.scm \
guix/scripts/download.scm \ guix/scripts/download.scm \
guix/scripts/build.scm \ guix/scripts/build.scm \
guix/scripts/archive.scm \ guix/scripts/archive.scm \
...@@ -92,7 +91,6 @@ MODULES = \ ...@@ -92,7 +91,6 @@ MODULES = \
guix/scripts/system.scm \ guix/scripts/system.scm \
guix/scripts/lint.scm \ guix/scripts/lint.scm \
guix/scripts/import/nix.scm \ guix/scripts/import/nix.scm \
guix/scripts/import/pypi.scm \
guix.scm \ guix.scm \
$(GNU_SYSTEM_MODULES) $(GNU_SYSTEM_MODULES)
...@@ -168,6 +166,10 @@ SCM_TESTS = \ ...@@ -168,6 +166,10 @@ SCM_TESTS = \
if HAVE_GUILE_JSON if HAVE_GUILE_JSON
MODULES += \
guix/import/pypi.scm \
guix/scripts/import/pypi.scm
SCM_TESTS += tests/pypi.scm SCM_TESTS += tests/pypi.scm
endif endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment