From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:59180) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iyxAX-00043P-Sj for guix-patches@gnu.org; Tue, 04 Feb 2020 07:19:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iyxAW-0003Tc-Er for guix-patches@gnu.org; Tue, 04 Feb 2020 07:19:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36754) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iyxAW-0003SK-8Q for guix-patches@gnu.org; Tue, 04 Feb 2020 07:19:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iyxAV-0003lx-31 for guix-patches@gnu.org; Tue, 04 Feb 2020 07:19:03 -0500 Subject: [bug#38408] [PATCH v9 0/8] recursive semver crate importer! References: In-Reply-To: Resent-Message-ID: From: Martin Becze Date: Tue, 4 Feb 2020 07:18:17 -0500 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 38408@debbugs.gnu.org Cc: ludo@gnu.org, efraim@flashner.co.il, jsoo1@asu.edu, Martin Becze Here is the another version of the recursive semver crate importer! And hopefully the best one so far. The first 3 commits actully implement the and add semver support. The rest are mainly ergonomics such as * triming version numbers from package name * better deduplication of dependencies * top level importing of development dependenies I think it has incorpated the feedback i got from everyone so far, but if i forgot something or if there is more to add let me know! Cheers ~Martin Martin Becze (8): guix: import: (recursive-import) Allow for version numbers guix: import: crate: Use semver to resovle module versions Added Guile-Semver as a dependency to guix guix: import: utils: allow generation of inputs to be version aware guix: import: crate: deduplicate dependencies guix: import: crate: memorize crate->guix-package guix: import: utils: trim patch version from names guix: import: parametrized importing of dev dependencies configure.ac | 7 + doc/guix.texi | 2 + gnu/packages/package-management.scm | 7 +- guix/import/cran.scm | 8 +- guix/import/crate.scm | 111 +++++++---- guix/import/elpa.scm | 6 +- guix/import/gem.scm | 6 +- guix/import/opam.scm | 5 +- guix/import/pypi.scm | 5 +- guix/import/stackage.scm | 5 +- guix/import/utils.scm | 79 +++++--- guix/scripts/import/cran.scm | 5 +- guix/scripts/import/crate.scm | 13 +- guix/scripts/import/elpa.scm | 4 +- tests/crate.scm | 289 ++++++++++++++++------------ tests/elpa.scm | 3 +- tests/import-utils.scm | 8 +- 17 files changed, 346 insertions(+), 217 deletions(-) -- 2.25.0