Debian Codegraph @

debian/patches/0003-Do-not-use-pipenv-to-build-docs.patch

raw symbols SCIP
1 Fromscip-debian debian jq 1.8.2-1 jq/patches/`0003-Do-not-use-pipenv-to-build-docs.patch`#From.: =?utf-8?b?IkNoYW5nWmh1byBDaGVuICjpmbPmmIzlgKwpIg==?=
2 <[email protected]scip-debian . . . identity/`[email protected]`.>
3 Datescip-debian debian jq 1.8.2-1 jq/patches/`0003-Do-not-use-pipenv-to-build-docs.patch`#Date.: Wed, 13 Sep 2023 01:23:14 +0800
4 Subjectscip-debian debian jq 1.8.2-1 jq/patches/`0003-Do-not-use-pipenv-to-build-docs.patch`#Subject.: Do not use pipenv to build docs
5
6 Forwarded: not-needed
7 ---
8 Makefile.am | 8 ++++----
9 configure.ac | 25 -------------------------
10 2 files changed, 4 insertions(+), 29 deletions(-)
11
12 diff --git a/Makefile.amscip-debian debian jq 1.8.2-1 jq/upstream/`Makefile.am`: b/Makefile.amscip-debian debian jq 1.8.2-1 jq/upstream/`Makefile.am`:
13 index 1d0f4f5..b584a41 100644
14 --- a/Makefile.am
15 +++ b/Makefile.am
16 @@ -166,8 +166,8 @@ check_DATA = tests/man.test
17 tests/man.test tests/manonig.test: $(srcdir)/docs/content/manual/dev/manual.yml
18 if ENABLE_DOCS
19 $(AM_V_GEN) ( cd ${abs_srcdir}/docs && \
20 - $(PIPENV) run python validate_manual_schema.py content/manual/dev/manual.yml && \
21 - $(PIPENV) run python build_mantests.py )
22 + python3 validate_manual_schema.py content/manual/manual.yml && \
23 + python3 build_mantests.py )
24 else
25 @echo Changes to the manual.yml require docs to be enabled to update the manual test.
26 @echo As a result, the manual test is out of date.
27 @@ -182,8 +182,8 @@ man_MANS = jq.1
28 jq.1.prebuilt: $(srcdir)/docs/content/manual/dev/manual.yml
29 if ENABLE_DOCS
30 $(AM_V_GEN) ( cd ${abs_srcdir}/docs && \
31 - $(PIPENV) run python validate_manual_schema.py content/manual/dev/manual.yml && \
32 - $(PIPENV) run python build_manpage.py ) > $@
33 + python3 validate_manual_schema.py content/manual/manual.yml && \
34 + python3 build_manpage.py ) > $@
35 else
36 @echo Changes to the manual.yml require docs to be enabled to update the manpage.
37 @echo As a result, the manpage is out of date.
38 diff --git a/configure.acscip-debian debian jq 1.8.2-1 jq/upstream/`configure.ac`: b/configure.acscip-debian debian jq 1.8.2-1 jq/upstream/`configure.ac`:
39 index f7067a4..06c83a3 100644
40 --- a/configure.ac
41 +++ b/configure.ac
42 @@ -81,31 +81,6 @@ dnl Enable building all static
43 AC_ARG_ENABLE([all-static],
44 AS_HELP_STRING([--enable-all-static],[link jq with static libraries only]))
45
46 -dnl find pipenv
47 -AC_ARG_VAR([PIPENV], [pipenv command])
48 -AC_CHECK_PROGS([PIPENV], pipenv)
49 -
50 -AS_IF([test "x$enable_docs" != "xno"],[
51 - AC_CACHE_CHECK([for Python dependencies], [jq_cv_python_deps],[
52 - jq_cv_python_deps=yes
53 - AS_IF([test "x$PIPENV" = "x" || \
54 - ! bmsg="`cd ${srcdir}/docs; LC_ALL=$LANG "$PIPENV" --venv`"],[
55 - jq_cv_python_deps=no
56 - ])
57 - ])
58 -
59 - AS_IF([test "x$jq_cv_python_deps" != "xyes"], [
60 - AC_MSG_WARN([Error checking python dependencies: $bmsg
61 -*****************************************************************
62 -* Python dependencies for building jq documentation not found. *
63 -* You can still build, install and hack on jq, but the manpage *
64 -* will not be rebuilt and new manpage tests will not be run. *
65 -* See docs/README.md for how to install the docs dependencies. *
66 -*****************************************************************])
67 - enable_docs=no
68 - ])
69 -])
70 -
71 dnl Disable decNumber support
72 AC_ARG_ENABLE([decnum],
73 AS_HELP_STRING([--disable-decnum],[disable decnum support]))