summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ml/swhid_core/Manifest1
-rw-r--r--dev-ml/swhid_core/metadata.xml15
-rw-r--r--dev-ml/swhid_core/swhid_core-0.1.ebuild16
3 files changed, 32 insertions, 0 deletions
diff --git a/dev-ml/swhid_core/Manifest b/dev-ml/swhid_core/Manifest
new file mode 100644
index 000000000000..7718d6ed2fcb
--- /dev/null
+++ b/dev-ml/swhid_core/Manifest
@@ -0,0 +1 @@
+DIST swhid_core-0.1.tar.gz 46118 BLAKE2B 3594b9cd8c71bf4fa9f05e63a45d17af7c3c0d7e6339c357c0f79a7e2a6b558b068478038de9ef4b370c5935489a1ad9f21824a56f0e971a0a1e0a00412368e1 SHA512 ec72cc946c662dc8230f4ef8c85bb41df56c3f46bc49276feca434199cd482f11901be902fc5c243244866d4a167474f18245f83ad0b0cf46eb35406ad1f1b5c
diff --git a/dev-ml/swhid_core/metadata.xml b/dev-ml/swhid_core/metadata.xml
new file mode 100644
index 000000000000..3589884a9014
--- /dev/null
+++ b/dev-ml/swhid_core/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>ML</name>
+ </maintainer>
+ <longdescription lang="en">
+ swhid_core is an OCaml library to with with Software Heritage
+ persistent identifiers (swhids).
+ </longdescription>
+ <upstream>
+ <remote-id type="github">ocamlpro/swhid_core</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/swhid_core/swhid_core-0.1.ebuild b/dev-ml/swhid_core/swhid_core-0.1.ebuild
new file mode 100644
index 000000000000..8be4a78a1895
--- /dev/null
+++ b/dev-ml/swhid_core/swhid_core-0.1.ebuild
@@ -0,0 +1,16 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit dune
+
+DESCRIPTION="OCaml library to work with swhids"
+HOMEPAGE="https://github.com/ocamlpro/swhid_core"
+SRC_URI="https://github.com/OCamlPro/${PN}/archive/refs/tags/${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="+ocamlopt"