[arch-commits] Commit in ocaml-num/repos/community-x86_64 (4 files)

Jürgen Hötzel juergen at gemini.archlinux.org
Tue Aug 9 20:31:57 UTC 2022


    Date: Tuesday, August 9, 2022 @ 20:31:57
  Author: juergen
Revision: 1264565

archrelease: copy trunk to community-x86_64

Added:
  ocaml-num/repos/community-x86_64/PKGBUILD
    (from rev 1264564, ocaml-num/trunk/PKGBUILD)
  ocaml-num/repos/community-x86_64/provide-findlib-install-target.patch
    (from rev 1264564, ocaml-num/trunk/provide-findlib-install-target.patch)
Deleted:
  ocaml-num/repos/community-x86_64/PKGBUILD
  ocaml-num/repos/community-x86_64/provide-findlib-install-target.patch

--------------------------------------+
 PKGBUILD                             |   62 ++++-----
 provide-findlib-install-target.patch |  214 ++++++++++++++++-----------------
 2 files changed, 138 insertions(+), 138 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-09 20:31:39 UTC (rev 1264564)
+++ PKGBUILD	2022-08-09 20:31:57 UTC (rev 1264565)
@@ -1,31 +0,0 @@
-# Maintainer: Konstantin Gizdov <arch at kge dot pw>
-# Contributor: Baptiste Jonglez <archlinux at bitsofnetworks dot org>
-
-pkgname=ocaml-num
-pkgver=1.4
-pkgrel=5
-pkgdesc="Library for arbitrary-precision integer and rational arithmetic that used to be part of the OCaml core distribution"
-arch=('x86_64')
-url="https://github.com/ocaml/num"
-license=('LGPL2.1')
-depends=('ocaml>=4.13.1')
-makedepends=('ocaml-findlib')
-options=('!strip' '!makeflags')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ocaml/num/archive/v${pkgver}.tar.gz")
-sha512sums=('0cc9be8ad95704bb683b4bf6698bada1ee9a40dc05924b72adc7b969685c33eeb68ccf174cc09f6a228c48c18fe94af06f28bebc086a24973a066da620db8e6f')
-
-build() {
-  cd "${srcdir}/num-${pkgver}"
-  make
-}
-
-package() {
-  cd "${srcdir}/num-${pkgver}"
-
-  local _destdir="${pkgdir}$(ocamlfind printconf destdir)"
-  install -d "${_destdir}/stublibs"
-
-  make OCAMLFIND_DESTDIR="${_destdir}" findlib-install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: ocaml-num/repos/community-x86_64/PKGBUILD (from rev 1264564, ocaml-num/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-09 20:31:57 UTC (rev 1264565)
@@ -0,0 +1,31 @@
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+# Contributor: Baptiste Jonglez <archlinux at bitsofnetworks dot org>
+
+pkgname=ocaml-num
+pkgver=1.4
+pkgrel=6
+pkgdesc="Library for arbitrary-precision integer and rational arithmetic that used to be part of the OCaml core distribution"
+arch=('x86_64')
+url="https://github.com/ocaml/num"
+license=('LGPL2.1')
+depends=('ocaml>=4.14.0')
+makedepends=('ocaml-findlib')
+options=('!strip' '!makeflags')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ocaml/num/archive/v${pkgver}.tar.gz")
+sha512sums=('0cc9be8ad95704bb683b4bf6698bada1ee9a40dc05924b72adc7b969685c33eeb68ccf174cc09f6a228c48c18fe94af06f28bebc086a24973a066da620db8e6f')
+
+build() {
+  cd "${srcdir}/num-${pkgver}"
+  make
+}
+
+package() {
+  cd "${srcdir}/num-${pkgver}"
+
+  local _destdir="${pkgdir}$(ocamlfind printconf destdir)"
+  install -d "${_destdir}/stublibs"
+
+  make OCAMLFIND_DESTDIR="${_destdir}" findlib-install
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: provide-findlib-install-target.patch
===================================================================
--- provide-findlib-install-target.patch	2022-08-09 20:31:39 UTC (rev 1264564)
+++ provide-findlib-install-target.patch	2022-08-09 20:31:57 UTC (rev 1264565)
@@ -1,107 +0,0 @@
-From 12dff1ac0a8cacbda2969b560f021ebb73b16887 Mon Sep 17 00:00:00 2001
-From: David Allsopp <david.allsopp at metastack.com>
-Date: Thu, 11 Jan 2018 08:10:10 +0000
-Subject: [PATCH] Provide findlib-install target (#6)
-
-Allows installing the entire library using ocamlfind, in an ocamlfind-managed directory.
-This differs from the `install` target which performs the old-style installation in the OCaml stdlib directory.
----
- .gitignore            |  1 +
- Makefile              | 10 +++++++++-
- src/{META => META.in} |  4 +++-
- src/Makefile          | 17 +++++++++++++++--
- 4 files changed, 28 insertions(+), 4 deletions(-)
- rename src/{META => META.in} (72%)
-
-diff --git a/.gitignore b/.gitignore
-index 6acd3bc..172bf23 100644
---- a/.gitignore
-+++ b/.gitignore
-@@ -8,3 +8,4 @@
- *.cmx[as]
- *.cmti
- *.annot
-+src/META
-diff --git a/Makefile b/Makefile
-index 6a5d08f..b40e588 100644
---- a/Makefile
-+++ b/Makefile
-@@ -14,8 +14,16 @@ install:
- 	$(MAKE) -C src install
- 	$(MAKE) -C toplevel install
- 
-+findlib-install:
-+	$(MAKE) -C src findlib-install
-+	$(MAKE) -C toplevel install
-+
- uninstall:
- 	$(MAKE) -C src uninstall
- 	$(MAKE) -C toplevel uninstall
- 
--.PHONY: all test clean install uninstall
-+findlib-uninstall:
-+	$(MAKE) -C src findlib-uninstall
-+	$(MAKE) -C toplevel uninstall
-+
-+.PHONY: all test clean install uninstall findlib-install findlib-uninstall
-diff --git a/src/META b/src/META.in
-similarity index 72%
-rename from src/META
-rename to src/META.in
-index 66ac170..b5678b7 100644
---- a/src/META
-+++ b/src/META.in
-@@ -1,6 +1,8 @@
- # This META is the one provided by findlib when the "num" library was
- # part of the core OCaml distribution.  For backward compatibility,
--# it installs into OCaml's standard library directory, not in a subdirectory
-+# it is installed into OCaml's standard library directory. If the
-+# directory line below is removed, then it's installed in a
-+# subdirectory, as normal for a findlib package.
- 
- requires = "num.core"
- requires(toploop) = "num.core,num-top"
-diff --git a/src/Makefile b/src/Makefile
-index 97dc074..ff271fe 100644
---- a/src/Makefile
-+++ b/src/Makefile
-@@ -80,21 +80,34 @@ endif
- ifeq "$(NATDYNLINK)" "true"
- TOINSTALL+=nums.cmxs
- endif
-+ifeq "$(SUPPORTS_SHARED_LIBRARIES)" "true"
- TOINSTALL_STUBS=dllnums.$(SO)
-+else
-+TOINSTALL_STUBS=
-+endif
- 
- install:
-+	cp META.in META
- 	$(OCAMLFIND) install num META
-+	rm -f META
- 	$(INSTALL_DATA) $(TOINSTALL) $(STDLIBDIR)
- ifeq "$(SUPPORTS_SHARED_LIBRARIES)" "true"
- 	$(INSTALL_DLL) $(TOINSTALL_STUBS) $(STDLIBDIR)/stublibs
- endif
- 
--uninstall:
-+findlib-install:
-+	grep -Fv '^' META.in > META
-+	$(OCAMLFIND) install num META $(TOINSTALL) $(TOINSTALL_STUBS)
-+	rm -f META
-+
-+findlib-uninstall:
-+	$(OCAMLFIND) remove num
-+
-+uninstall: findlib-uninstall
- 	cd $(STDLIBDIR) && rm -f $(TOINSTALL)
- ifeq "$(SUPPORTS_SHARED_LIBRARIES)" "true"
- 	cd $(STDLIBDIR)/stublibs && rm -f $(TOINSTALL_STUBS) 
- endif
--	$(OCAMLFIND) remove num
- 
- clean:
- 	rm -f *.cm[ioxta] *.cmx[as] *.cmti *.$(O) *.$(A) *.$(SO)
--- 
-2.16.1
-

Copied: ocaml-num/repos/community-x86_64/provide-findlib-install-target.patch (from rev 1264564, ocaml-num/trunk/provide-findlib-install-target.patch)
===================================================================
--- provide-findlib-install-target.patch	                        (rev 0)
+++ provide-findlib-install-target.patch	2022-08-09 20:31:57 UTC (rev 1264565)
@@ -0,0 +1,107 @@
+From 12dff1ac0a8cacbda2969b560f021ebb73b16887 Mon Sep 17 00:00:00 2001
+From: David Allsopp <david.allsopp at metastack.com>
+Date: Thu, 11 Jan 2018 08:10:10 +0000
+Subject: [PATCH] Provide findlib-install target (#6)
+
+Allows installing the entire library using ocamlfind, in an ocamlfind-managed directory.
+This differs from the `install` target which performs the old-style installation in the OCaml stdlib directory.
+---
+ .gitignore            |  1 +
+ Makefile              | 10 +++++++++-
+ src/{META => META.in} |  4 +++-
+ src/Makefile          | 17 +++++++++++++++--
+ 4 files changed, 28 insertions(+), 4 deletions(-)
+ rename src/{META => META.in} (72%)
+
+diff --git a/.gitignore b/.gitignore
+index 6acd3bc..172bf23 100644
+--- a/.gitignore
++++ b/.gitignore
+@@ -8,3 +8,4 @@
+ *.cmx[as]
+ *.cmti
+ *.annot
++src/META
+diff --git a/Makefile b/Makefile
+index 6a5d08f..b40e588 100644
+--- a/Makefile
++++ b/Makefile
+@@ -14,8 +14,16 @@ install:
+ 	$(MAKE) -C src install
+ 	$(MAKE) -C toplevel install
+ 
++findlib-install:
++	$(MAKE) -C src findlib-install
++	$(MAKE) -C toplevel install
++
+ uninstall:
+ 	$(MAKE) -C src uninstall
+ 	$(MAKE) -C toplevel uninstall
+ 
+-.PHONY: all test clean install uninstall
++findlib-uninstall:
++	$(MAKE) -C src findlib-uninstall
++	$(MAKE) -C toplevel uninstall
++
++.PHONY: all test clean install uninstall findlib-install findlib-uninstall
+diff --git a/src/META b/src/META.in
+similarity index 72%
+rename from src/META
+rename to src/META.in
+index 66ac170..b5678b7 100644
+--- a/src/META
++++ b/src/META.in
+@@ -1,6 +1,8 @@
+ # This META is the one provided by findlib when the "num" library was
+ # part of the core OCaml distribution.  For backward compatibility,
+-# it installs into OCaml's standard library directory, not in a subdirectory
++# it is installed into OCaml's standard library directory. If the
++# directory line below is removed, then it's installed in a
++# subdirectory, as normal for a findlib package.
+ 
+ requires = "num.core"
+ requires(toploop) = "num.core,num-top"
+diff --git a/src/Makefile b/src/Makefile
+index 97dc074..ff271fe 100644
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -80,21 +80,34 @@ endif
+ ifeq "$(NATDYNLINK)" "true"
+ TOINSTALL+=nums.cmxs
+ endif
++ifeq "$(SUPPORTS_SHARED_LIBRARIES)" "true"
+ TOINSTALL_STUBS=dllnums.$(SO)
++else
++TOINSTALL_STUBS=
++endif
+ 
+ install:
++	cp META.in META
+ 	$(OCAMLFIND) install num META
++	rm -f META
+ 	$(INSTALL_DATA) $(TOINSTALL) $(STDLIBDIR)
+ ifeq "$(SUPPORTS_SHARED_LIBRARIES)" "true"
+ 	$(INSTALL_DLL) $(TOINSTALL_STUBS) $(STDLIBDIR)/stublibs
+ endif
+ 
+-uninstall:
++findlib-install:
++	grep -Fv '^' META.in > META
++	$(OCAMLFIND) install num META $(TOINSTALL) $(TOINSTALL_STUBS)
++	rm -f META
++
++findlib-uninstall:
++	$(OCAMLFIND) remove num
++
++uninstall: findlib-uninstall
+ 	cd $(STDLIBDIR) && rm -f $(TOINSTALL)
+ ifeq "$(SUPPORTS_SHARED_LIBRARIES)" "true"
+ 	cd $(STDLIBDIR)/stublibs && rm -f $(TOINSTALL_STUBS) 
+ endif
+-	$(OCAMLFIND) remove num
+ 
+ clean:
+ 	rm -f *.cm[ioxta] *.cmx[as] *.cmti *.$(O) *.$(A) *.$(SO)
+-- 
+2.16.1
+



More information about the arch-commits mailing list