public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-ml/tar/
@ 2022-04-15 20:34 Alessandro Barbieri
  0 siblings, 0 replies; 3+ messages in thread
From: Alessandro Barbieri @ 2022-04-15 20:34 UTC (permalink / raw
  To: gentoo-commits

commit:     70f4fb66515f241425b88146b3eb061c080638d4
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Apr  9 14:00:13 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Fri Apr 15 20:34:20 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=70f4fb66

dev-ml/tar: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-ml/tar/Manifest         |  1 +
 dev-ml/tar/metadata.xml     | 15 ++++++++++++
 dev-ml/tar/tar-2.0.1.ebuild | 60 +++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 76 insertions(+)

diff --git a/dev-ml/tar/Manifest b/dev-ml/tar/Manifest
new file mode 100644
index 000000000..96729e50a
--- /dev/null
+++ b/dev-ml/tar/Manifest
@@ -0,0 +1 @@
+DIST tar-2.0.1.tar.gz 26751 BLAKE2B a381c258c75350198c25c105f8ca33f33dd8d946f88cb102186ece414def2fa5e25191c2ed43d5d0e9286a0bc352ffec8b6999d17f18479642900b59f4d1cc17 SHA512 fd2e302497eb673a4e8000d0bcfd9012b1f118021e1d071a7c56cc6652ec6da9c6f755c18aa4b275daf1f722409d71cbb4519285096682344bfa65bbe800cbd1

diff --git a/dev-ml/tar/metadata.xml b/dev-ml/tar/metadata.xml
new file mode 100644
index 000000000..76d46cfa2
--- /dev/null
+++ b/dev-ml/tar/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>lssndrbarbieri@gmail.com</email>
+    <name>Alessandro Barbieri</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">mirage/ocaml-tar</remote-id>
+  </upstream>
+  <use>
+    <flag name="mirage">Read and write tar format files via MirageOS interfaces</flag>
+    <flag name="unix">Decode and encode tar format files from Unix</flag>
+  </use>
+</pkgmetadata>

diff --git a/dev-ml/tar/tar-2.0.1.ebuild b/dev-ml/tar/tar-2.0.1.ebuild
new file mode 100644
index 000000000..8ddc49ac3
--- /dev/null
+++ b/dev-ml/tar/tar-2.0.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune multiprocessing
+
+MYPN="ocaml-${PN}"
+
+DESCRIPTION="Pure OCaml library to read and write tar files"
+HOMEPAGE="https://github.com/mirage/ocaml-tar"
+SRC_URI="https://github.com/mirage/${MYPN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MYPN}-${PV}"
+
+LICENSE="ISC"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="mirage ocamlopt test unix"
+
+RDEPEND="
+	dev-ml/camlp-streams
+	dev-ml/cstruct
+	dev-ml/re
+	dev-ml/lwt
+
+	mirage? (
+		dev-ml/io-page
+		dev-ml/mirage-block
+		dev-ml/mirage-kv
+		dev-ml/ptime
+	)
+"
+DEPEND="
+	${RDEPEND}
+	test? (
+		dev-ml/mirage-block-unix
+		>=dev-ml/ounit-2[lwt]
+	)
+"
+
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+	test? ( mirage unix )
+"
+
+src_compile() {
+	local pkgs="tar"
+	for u in mirage unix ; do
+		if use ${u} ; then
+			pkgs="${pkgs},tar-${u}"
+		fi
+	done
+	dune build -p "${pkgs}" -j $(makeopts_jobs) || die
+}
+
+src_install() {
+	dune_src_install tar
+	use mirage && dune_src_install tar-mirage
+	use unix && dune_src_install tar-unix
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-ml/tar/
@ 2022-04-15 22:46 Alessandro Barbieri
  0 siblings, 0 replies; 3+ messages in thread
From: Alessandro Barbieri @ 2022-04-15 22:46 UTC (permalink / raw
  To: gentoo-commits

commit:     f3132d1997e2aa42584cbffb69b0a0cdf3824b54
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Fri Apr 15 22:11:26 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Fri Apr 15 22:46:50 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f3132d19

dev-ml/tar: fix dependency on ounit2

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-ml/tar/tar-2.0.1.ebuild | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/dev-ml/tar/tar-2.0.1.ebuild b/dev-ml/tar/tar-2.0.1.ebuild
index 8ddc49ac3..c993136e2 100644
--- a/dev-ml/tar/tar-2.0.1.ebuild
+++ b/dev-ml/tar/tar-2.0.1.ebuild
@@ -18,23 +18,23 @@ KEYWORDS="~amd64"
 IUSE="mirage ocamlopt test unix"
 
 RDEPEND="
-	dev-ml/camlp-streams
-	dev-ml/cstruct
-	dev-ml/re
-	dev-ml/lwt
+	dev-ml/camlp-streams:=
+	dev-ml/cstruct:=
+	dev-ml/re:=
+	dev-ml/lwt:=
 
 	mirage? (
-		dev-ml/io-page
-		dev-ml/mirage-block
-		dev-ml/mirage-kv
-		dev-ml/ptime
+		dev-ml/io-page:=
+		dev-ml/mirage-block:=
+		dev-ml/mirage-kv:=
+		dev-ml/ptime:=
 	)
 "
 DEPEND="
 	${RDEPEND}
 	test? (
 		dev-ml/mirage-block-unix
-		>=dev-ml/ounit-2[lwt]
+		dev-ml/ounit2
 	)
 "
 


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-ml/tar/
@ 2022-04-20 21:57 Alessandro Barbieri
  0 siblings, 0 replies; 3+ messages in thread
From: Alessandro Barbieri @ 2022-04-20 21:57 UTC (permalink / raw
  To: gentoo-commits

commit:     e3c49bed18fc46a4ed509221af77e0913a92fc8a
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Apr 20 21:54:45 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Wed Apr 20 21:57:00 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e3c49bed

dev-ml/tar: add 1.1.0

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-ml/tar/Manifest                               | 1 +
 dev-ml/tar/{tar-2.0.1.ebuild => tar-1.1.0.ebuild} | 5 ++++-
 dev-ml/tar/tar-2.0.1.ebuild                       | 5 ++++-
 3 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/dev-ml/tar/Manifest b/dev-ml/tar/Manifest
index 96729e50a..bfbe50b95 100644
--- a/dev-ml/tar/Manifest
+++ b/dev-ml/tar/Manifest
@@ -1 +1,2 @@
+DIST tar-1.1.0.tar.gz 24429 BLAKE2B 778f77f650c775e22cfd71741ce3b0aa5e75026c4be697c3d9d5532407c07f68c59700a78eff5c48bcfefa6db7b5116fed3d9c0bba708bb94b5cce41bea5dbbe SHA512 d02a5c2bef9a77b2bb32f7f85d741eb58d42ffcff916a3cfe618ff4b372d72e53176dfc050e876efcbbaf5057aa21b5615e99ebb435eb63aa10815b0ce102ba7
 DIST tar-2.0.1.tar.gz 26751 BLAKE2B a381c258c75350198c25c105f8ca33f33dd8d946f88cb102186ece414def2fa5e25191c2ed43d5d0e9286a0bc352ffec8b6999d17f18479642900b59f4d1cc17 SHA512 fd2e302497eb673a4e8000d0bcfd9012b1f118021e1d071a7c56cc6652ec6da9c6f755c18aa4b275daf1f722409d71cbb4519285096682344bfa65bbe800cbd1

diff --git a/dev-ml/tar/tar-2.0.1.ebuild b/dev-ml/tar/tar-1.1.0.ebuild
similarity index 92%
copy from dev-ml/tar/tar-2.0.1.ebuild
copy to dev-ml/tar/tar-1.1.0.ebuild
index c993136e2..4102ea677 100644
--- a/dev-ml/tar/tar-2.0.1.ebuild
+++ b/dev-ml/tar/tar-1.1.0.ebuild
@@ -8,7 +8,10 @@ inherit dune multiprocessing
 MYPN="ocaml-${PN}"
 
 DESCRIPTION="Pure OCaml library to read and write tar files"
-HOMEPAGE="https://github.com/mirage/ocaml-tar"
+HOMEPAGE="
+	https://github.com/mirage/ocaml-tar
+	https://opam.ocaml.org/packages/tar/
+"
 SRC_URI="https://github.com/mirage/${MYPN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
 S="${WORKDIR}/${MYPN}-${PV}"
 

diff --git a/dev-ml/tar/tar-2.0.1.ebuild b/dev-ml/tar/tar-2.0.1.ebuild
index c993136e2..4102ea677 100644
--- a/dev-ml/tar/tar-2.0.1.ebuild
+++ b/dev-ml/tar/tar-2.0.1.ebuild
@@ -8,7 +8,10 @@ inherit dune multiprocessing
 MYPN="ocaml-${PN}"
 
 DESCRIPTION="Pure OCaml library to read and write tar files"
-HOMEPAGE="https://github.com/mirage/ocaml-tar"
+HOMEPAGE="
+	https://github.com/mirage/ocaml-tar
+	https://opam.ocaml.org/packages/tar/
+"
 SRC_URI="https://github.com/mirage/${MYPN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
 S="${WORKDIR}/${MYPN}-${PV}"
 


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-04-20 21:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-20 21:57 [gentoo-commits] repo/proj/guru:dev commit in: dev-ml/tar/ Alessandro Barbieri
  -- strict thread matches above, loose matches on Subject: below --
2022-04-15 22:46 Alessandro Barbieri
2022-04-15 20:34 Alessandro Barbieri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox