Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
build/pkgs{appdirs,distlib,filelock,virtualenv}/spkg-configure.m4: Ma…
Browse files Browse the repository at this point in the history
…rk as not required if system tox is used
  • Loading branch information
Matthias Koeppe committed May 29, 2021
1 parent ce2ec11 commit 65e6330
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build/pkgs/appdirs/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
SAGE_SPKG_CONFIGURE([appdirs], [
sage_spkg_install_appdirs=yes
], [dnl REQUIRED-CHECK
AC_REQUIRE([SAGE_SPKG_CONFIGURE_VIRTUALENV])
dnl only needed as a dependency of virtualenv.
AS_VAR_SET([SPKG_REQUIRE], [$sage_spkg_install_virtualenv])
])
7 changes: 7 additions & 0 deletions build/pkgs/distlib/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
SAGE_SPKG_CONFIGURE([distlib], [
AC_REQUIRE([SAGE_SPKG_CONFIGURE_VIRTUALENV])
sage_spkg_install_distlib=yes
], [dnl REQUIRED-CHECK
dnl only needed as a dependency of virtualenv.
AS_VAR_SET([SPKG_REQUIRE], [$sage_spkg_install_virtualenv])
])
9 changes: 9 additions & 0 deletions build/pkgs/filelock/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
SAGE_SPKG_CONFIGURE([filelock], [
sage_spkg_install_filelock=yes
], [dnl REQUIRED-CHECK
AC_REQUIRE([SAGE_SPKG_CONFIGURE_VIRTUALENV])
AC_REQUIRE([SAGE_SPKG_CONFIGURE_TOX])
dnl only needed as a dependency of tox and virtualenv.
AS_IF([test $sage_spkg_install_virtualenv = no -a $sage_spkg_install_tox = no],
AS_VAR_SET([SPKG_REQUIRE], [no]))
])
7 changes: 7 additions & 0 deletions build/pkgs/virtualenv/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
SAGE_SPKG_CONFIGURE([virtualenv], [
sage_spkg_install_virtualenv=yes
], [dnl REQUIRED-CHECK
AC_REQUIRE([SAGE_SPKG_CONFIGURE_TOX])
dnl virtualenv is only needed when we cannot use system tox.
AS_VAR_SET([SPKG_REQUIRE], [$sage_spkg_install_tox])
])

0 comments on commit 65e6330

Please sign in to comment.