mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-ml/ocaml-markdown: new package; add version 0.2.1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
1
dev-ml/ocaml-markdown/Manifest
Normal file
1
dev-ml/ocaml-markdown/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST ocaml-markdown-0.2.1.gh.tar.gz 9192 BLAKE2B 07839e6a5966a73c300432f8b6b8340ce54045cb2e08e962c7029a5caa74756d6dc302c37f34f16f06f936373a110a2316e84f2f0263556d52ba04c4799c5250 SHA512 48aa7332f04cf880046e2647c99a6ff60b026cf9e3130173713f431ebb68b3d394dd83290e5e4f9359faa1381115798548d85c7b4b3b121afcbbb78b8b757fa3
|
||||
13
dev-ml/ocaml-markdown/metadata.xml
Normal file
13
dev-ml/ocaml-markdown/metadata.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?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>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/gildor478/ocaml-markdown/issues/</bugs-to>
|
||||
<remote-id type="github">gildor478/ocaml-markdown</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
46
dev-ml/ocaml-markdown/ocaml-markdown-0.2.1.ebuild
Normal file
46
dev-ml/ocaml-markdown/ocaml-markdown-0.2.1.ebuild
Normal file
@@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DUNE_PKG_NAME="markdown"
|
||||
|
||||
inherit dune
|
||||
|
||||
DESCRIPTION="Markdown parser and printer in OCaml"
|
||||
HOMEPAGE="https://github.com/gildor478/ocaml-markdown/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/gildor478/${PN}"
|
||||
else
|
||||
SRC_URI="https://github.com/gildor478/${PN}/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}"
|
||||
IUSE="+ocamlopt test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-ml/batteries-2.10:=
|
||||
>=dev-ml/tyxml-4.3:=
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-ml/ounit2-2.0.8
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( CHANGES.md README.md )
|
||||
|
||||
src_install() {
|
||||
dune_src_install
|
||||
einstalldocs
|
||||
}
|
||||
Reference in New Issue
Block a user