From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0LdkIrhqU2GxEAAAgWs5BA (envelope-from ) for ; Tue, 28 Sep 2021 21:19:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id KC3xHbhqU2HhNAAAbx9fmQ (envelope-from ) for ; Tue, 28 Sep 2021 19:19:20 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 241AF122E2 for ; Tue, 28 Sep 2021 21:19:20 +0200 (CEST) Received: from localhost ([::1]:34108 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVIdL-0002x0-BG for larch@yhetil.org; Tue, 28 Sep 2021 15:19:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVId5-0002bX-Ap for guix-patches@gnu.org; Tue, 28 Sep 2021 15:19:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35489) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mVId5-0007cb-3A for guix-patches@gnu.org; Tue, 28 Sep 2021 15:19:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mVId4-0005vm-SU for guix-patches@gnu.org; Tue, 28 Sep 2021 15:19:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50876] [PATCH] gnu: ocaml-ctypes: Update to 0.19.1. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Sep 2021 19:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50876 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50876@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163285671922752 (code B ref -1); Tue, 28 Sep 2021 19:19:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Sep 2021 19:18:39 +0000 Received: from localhost ([127.0.0.1]:47033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVIch-0005uu-Bw for submit@debbugs.gnu.org; Tue, 28 Sep 2021 15:18:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:36710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVIcf-0005um-It for submit@debbugs.gnu.org; Tue, 28 Sep 2021 15:18:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43024) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVIcf-0002OS-DQ for guix-patches@gnu.org; Tue, 28 Sep 2021 15:18:37 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:55472 helo=mail.yoctocell.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVIcd-0007C1-Qn for guix-patches@gnu.org; Tue, 28 Sep 2021 15:18:37 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1632856712; bh=ud8NXNKADv1Kp4L9ZaSCNXS3nVZrFEkDCypUJKFw9CU=; h=From:To:Subject:Date; b=X0HRtNR95zeuL2Zf8E/SkOBvIZ0lr96pxWn8tnIAGnojSj3oGKWlNVK0qLxPvcE28 dNTUoScD+RWsYktUvDWphrGKW9KOFnHVKahLtoVjB9UuvyJzPiZZfQpeWlHiQgAOAc WvTt+hcN0UC13u1xUSnTMa7wI7LgFwdFEO1CW2Fo= Date: Tue, 28 Sep 2021 21:18:32 +0200 Message-ID: <875yuk33w7.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=87.96.130.155; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: 39 X-Spam_score: 3.9 X-Spam_bar: +++ X-Spam_report: (3.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=0.229, PDS_OTHER_BAD_TLD=1.999, PDS_RDNS_DYNAMIC_FP=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TO_NO_BRKTS_DYNIP=2.299 autolearn=no autolearn_force=no X-Spam_action: no action 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632856760; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=0lPV8c+y6E/waFkwQK9nDnLV4jinYTKIc5rELJ7i7T0=; b=K8ExE6IW3fSfrf4TKjPztsTJX8FJNB8L3XLDaf097q6Dw5Ofc/CNzQuHN25s6FNlSCIbg9 d0B2TaoMy30QjI6LcgzGQoAYbP2fk15P6jHyKIGf8irpfEb9RIZbuOm+GmP0BZhBbtsTcZ 0Roy2RXkhZv9eiHlU6guGchG2Z3ZGSbGxFlqD+X7NOHQGa2W3PQMydFOwGsGU/dfGZAaPq IcLuBCgt29efK9INMfiR1XTEG/FMBMhHklGEfH1EQ06peKXiyj8He6eIIiBx5Naf+LrctX Au4E5bs8pPe/x5CKP1+ThTIvtqpz1ut+qBzY0F6/MzRhJ+qUX7pg4jgGk6ai8Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632856760; a=rsa-sha256; cv=none; b=SEw9i+63Y/12nID3mrcMUlnsA+ZIdeLOsEhNlKKeovvCprHtYKe07RQIpQN3iwU6ok+KhM HLLSgxXrhFMqGCmQVcaJROWUzeHy6lnjC7X+V92FJnkbaXFXkQx57U5XlYU1kONIKcbweM ziJyK3aZ/HJTuvjAXYII6d5X6n/fm+tNSp2l7yrRXxgpJYxsGv3eRLc4j+rsldOVg+Fjg3 VKhINh2rQ2ga3yDC2dY6LcB0bu2tRwH3g320ByxaGVwaB0eCyWfdj4U1vMX3eMwbx37lJr ydT+76Tq2D7+ggE0rRiUymCRyihITesHntb/4fPFT1wfDU4uLyLYmkPun75+yw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=X0HRtNR9; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 0.20 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=X0HRtNR9; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 241AF122E2 X-Spam-Score: 0.20 X-Migadu-Scanner: scn0.migadu.com X-TUID: H/uWKbp22LOX * gnu/packages/ocaml.scm (ocaml-ctypes): Update to 0.19.1. [arguments]<#:tests?>: Enable. <#phases>{make-writable}: Simplify. [inputs]: Remove ocaml-topkg and opam. Move ocaml-ounit and ocaml-lwt to ... [native-inputs]: ... here. --- gnu/packages/ocaml.scm | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index e30bd2f613..6577a38167 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -4012,7 +4012,7 @@ (define-public ocaml-integers (define-public ocaml-ctypes (package (name "ocaml-ctypes") - (version "0.18.0") + (version "0.19.1") (home-page "https://github.com/ocamllabs/ocaml-ctypes") (source (origin (method git-fetch) @@ -4022,34 +4022,27 @@ (define-public ocaml-ctypes (file-name (git-file-name name version)) (sha256 (base32 - "03zrbnl16m67ls0yfhq7a4k4238x6x6b3m456g4dw2yqwc153vks")))) + "1xi1a486gssrb23zln3sf7zn0rmyl1k684bdf9iqkhgpz607fq6s")))) (build-system ocaml-build-system) (arguments - `(#:tests? #f; require an old lwt - #:make-flags + `(#:make-flags (list (string-append "INSTALL_HEADERS = $(wildcard $($(PROJECT).dir)/*.h)")) #:phases (modify-phases %standard-phases (add-after 'unpack 'make-writable (lambda _ - (for-each - (lambda (file) - (let ((stat (stat file))) - (chmod file (+ #o200 (stat:mode stat))))) - (find-files "." ".")) - #t)) + (for-each make-file-writable + (find-files ".")))) (delete 'configure)))) (native-inputs - `(("pkg-config" ,pkg-config))) + `(("pkg-config" ,pkg-config) + ("ounit" ,ocaml-ounit) + ("lwt" ,ocaml-lwt))) (propagated-inputs `(("bigarray-compat" ,ocaml-bigarray-compat) ("integers" ,ocaml-integers))) (inputs - `(("libffi" ,libffi) - ("ounit" ,ocaml-ounit) - ("lwt" ,ocaml-lwt) - ("topkg" ,ocaml-topkg) - ("opam" ,opam))) + `(("libffi" ,libffi))) (synopsis "Library for binding to C libraries using pure OCaml") (description "Ctypes is a library for binding to C libraries using pure OCaml. The primary aim is to make writing C extensions as straightforward as base-commit: 8c6c33a2a5bf385e1589b405ee7f842684ed80c1 -- 2.33.0