# Makefile variables for PO directory in any package using GNU gettext. # This domain contains only translations of package synopses and descriptions. DOMAIN = guix-packages subdir = po/packages top_builddir = ../.. # We use our xgettext.scm wrapper to produce .PO files reproducibly using a # timestamp from Git. The `real' xgettext is passed as an option to # xgettext.scm XGETTEXT:=$(top_srcdir)/build-aux/xgettext.scm # These options get passed to xgettext. We want to catch exclusively package # synopses and descriptions. XGETTEXT_OPTIONS = \ --language=Scheme --from-code=UTF-8 \ --keyword=synopsis --keyword=description \ --keyword=output-synopsis:2 \ --xgettext=$(XGETTEXT_) COPYRIGHT_HOLDER = the authors of Guix (msgids) MSGID_BUGS_ADDRESS = bug-guix@gnu.org EXTRA_LOCALE_CATEGORIES = # Disable PO update upon "make dist", which sometimes fails when doing # "make distcheck -j4". # See . DIST_DEPENDS_ON_UPDATE_PO = no # Ignore the timestamp of the .pot file, as .po files are updated by # `make download-po` only. This ensures po files are not modified on the # first `make` invocation. PO_DEPENDS_ON_POT = no guix/log/tests/elpa.scm'>logtreecommitdiff
path: root/tests/elpa.scm
AgeCommit message (Expand)Author
2020-12-02import: utils: 'recursive-import' accepts an optional version parameter....This adds a key VERSION to 'recursive-import' and moves the parameter REPO to a key. This also changes all the places that rely on 'recursive-import'. * guix/import/utils.scm (recursive-import): Add the VERSION key. Make REPO a key. (package->definition): Add optional 'append-version?'. * guix/scripts/import/crate.scm (guix-import-crate): Add the VERSION key. * guix/import/crate.scm (crate->guix-package): Add the VERSION key. (crate-recursive-import): Pass VERSION to recursive-import, remove now unnecessary code. * guix/import/cran.scm (cran->guix-package, cran-recursive-import): Change the REPO parameter to a key. * guix/import/elpa.scm (elpa->guix-package, elpa-recursive-import): Likewise. * guix/import/gem.scm (gem->guix-package, recursive-import): Likewise. * guix/import/opam.scm (opam-recurive-import): Likewise. * guix/import/pypi.scm (pypi-recursive-import): Likewise. * guix/import/stackage.scm (stackage-recursive-import): Likewise. * guix/scripts/import/cran.scm (guix-import-cran): Likewise. * guix/scripts/import/elpa.scm (guix-import-elpa): Likewise. * tests/elpa.scm (eval-test-with-elpa): Likewise. * tests/import-utils.scm (recursive-import): Likewise. Co-authored-by: Hartmut Goebel <h.goebel@crazy-compilers.com> Martin Becze
2020-01-16import: elpa: Rewrite test to use an HTTP server instead of mocking....* guix/import/elpa.scm (elpa-url): Add 'gnu/http'. (elpa->guix-package): Handle it. * tests/elpa.scm (elpa-package-info-mock, auctex-readme-mock) (elpa-version->string, package-source-url, ensure-list) (package-home-page, make-elpa-package): Remove. <top level>: Call '%http-server-port'. (eval-test-with-elpa): Remove uses of 'mock'. Use 'with-http-server' and parameterize 'current-http-proxy' instead. Ludovic Courtès