From patchwork Tue Jan 4 22:47:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Tournier X-Patchwork-Id: 35970 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4A9D227BBEA; Tue, 4 Jan 2022 22:51:10 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1578A27BBE9 for ; Tue, 4 Jan 2022 22:51:10 +0000 (GMT) Received: from localhost ([::1]:46598 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4se5-0002Me-8o for patchwork@mira.cbaines.net; Tue, 04 Jan 2022 17:51:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43456) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4sc3-0007ci-Sw for guix-patches@gnu.org; Tue, 04 Jan 2022 17:49:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55745) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4sc3-0006yx-Im for guix-patches@gnu.org; Tue, 04 Jan 2022 17:49:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n4sc3-0003qQ-Hq for guix-patches@gnu.org; Tue, 04 Jan 2022 17:49:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53017] [PATCH 07/17] gnu: Add julia-indexablebitvectors. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 04 Jan 2022 22:49:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53017 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53017@debbugs.gnu.org Cc: efraim@flashner.co.il, zimoun Received: via spool by 53017-submit@debbugs.gnu.org id=B53017.164133649814614 (code B ref 53017); Tue, 04 Jan 2022 22:49:03 +0000 Received: (at 53017) by debbugs.gnu.org; 4 Jan 2022 22:48:18 +0000 Received: from localhost ([127.0.0.1]:39031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4sbJ-0003nY-UA for submit@debbugs.gnu.org; Tue, 04 Jan 2022 17:48:18 -0500 Received: from mail-wm1-f48.google.com ([209.85.128.48]:36697) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4sbD-0003lH-C1 for 53017@debbugs.gnu.org; Tue, 04 Jan 2022 17:48:11 -0500 Received: by mail-wm1-f48.google.com with SMTP id n19-20020a7bc5d3000000b003466ef16375so624496wmk.1 for <53017@debbugs.gnu.org>; Tue, 04 Jan 2022 14:48:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=eWsRtHsKGu12w2yvqOp/zIQaRnq1mSSpB9CeM2i3j24=; b=aaLL2qxCRvo1lI8IgqMARS85RnDwS8wTOEs/zpoaTwp40716eSeKygBRmKZYycPVr0 T0PEzVFn0DVH8pGWo4BMCLGnwpH1LljzD0RlCjKTcGJTH7+tsdyrvq2GD6bFEOXDOejF 6brJtO8d3Nsb3sPiHOvdOpUUuOkQIICgvzGoOp0DyA09M5g/FSphcdy6ryGV+21N6kJc Lue09FJR1ovotD7vgpiXuNg/whFaj2tHOh5kea7PZVju/u5eKd9bdfY3+AArPAJM+F/G vuRSwc2k+EkVtUKwec4KuI/h/zts97iNsLoLFmWjC1wrSGVnhzq1lmty1mOV/laZ987X vjIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=eWsRtHsKGu12w2yvqOp/zIQaRnq1mSSpB9CeM2i3j24=; b=s18xIX4hrzThU2jK0c3ErdZUlLeW+GlLEc6pP5Xk3jvNqVeA/3r87PUcvsnQfa4pDC EfNI2WBwtANJaA9Qy5oQRLFv8Yq5iMBAvhfnEM5d0g1anlCzI97l9AiqBCsdW59PDrWI a2pRbESLkaYro+TU19iROHq0vrJghxO8gP0a88lJa267JqdmIpkM/OgeggHW5tGN1CMM 20by6fOdojG9XL5t93BFeC6S8nW4rzWeXualTdXKwA9NYxQJiurhe6Hexd3PKHoHh0Jd mAuxR212Vhw4R7MpIH7lLS2QOvOhHLIGartoG7hjes7+0HBMu3XKhwajkjtcWODAG5zy zpbg== X-Gm-Message-State: AOAM530ZvhnoNJNyug1uszMa9M1l7Kgsd5PLXmYD0fjiv+kC94UzPBEE 9JabWfU6pHLudPwFjsPTMncc2hTW82o= X-Google-Smtp-Source: ABdhPJwGSEUoVna5VXJa4OnhuyCVkTFIHvH+XYkf7NGIrchh8zb+U+HS29qwELeBq57kCSqjAt27rQ== X-Received: by 2002:a1c:ed17:: with SMTP id l23mr406562wmh.118.1641336485800; Tue, 04 Jan 2022 14:48:05 -0800 (PST) Received: from localhost.localdomain ([193.48.40.117]) by smtp.gmail.com with ESMTPSA id c9sm732842wml.12.2022.01.04.14.48.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jan 2022 14:48:05 -0800 (PST) From: zimoun Date: Tue, 4 Jan 2022 23:47:45 +0100 Message-Id: <20220104224755.1142897-7-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220104224755.1142897-1-zimon.toutoune@gmail.com> References: <20220104224755.1142897-1-zimon.toutoune@gmail.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/julia-xyz.scm (julia-indexablebitvectors): New variable. --- gnu/packages/julia-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 49bf6ae26f..1508a86dd1 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -2503,6 +2503,39 @@ (define-public julia-imagetransformations rotation, and other spatial transformations of arrays.") (license license:expat))) +(define-public julia-indexablebitvectors + (package + (name "julia-indexablebitvectors") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/BioJulia/IndexableBitVectors.jl") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1khaycydwa31sxwvrrvvlylpzdb77kkxfmb8cax3i22ix0c2nmlc")))) + (build-system julia-build-system) + ;; Package without Project.toml + (arguments + '(#:julia-package-name "IndexableBitVectors" + #:julia-package-uuid "1cb3b9ac-1ffd-5777-9e6b-a3d42300664d")) + (home-page "https://github.com/BioJulia/IndexableBitVectors.jl") + (synopsis "Bit vectors operations with extremely fast speed") + (description "This package exports following operations over bit vectors +with extremely fast speed while keeping extra memory usage small: +@itemize +@item @code{getindex(bv::IndexableBitVectors, i::Integer)}: @code{i}-th +element of @code{bv} +@item @code{rank(b::Bool, bv::AbstractIndexableBitVector, i::Integer)}: the +number of occurrences of bit @code{b} in @code{bv[1:i]} +@item @code{select(b::Bool, bv::AbstractIndexableBitVector, i::Integer)}: the +index of i-th occurrence of @code{b} in @code{bv}. +@end itemize +and other shortcuts or types.") + (license license:expat))) + (define-public julia-indexing (package (name "julia-indexing")