mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 23:52:59 -04:00
dev-ml/xmlm: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
1
dev-ml/xmlm/Manifest
Normal file
1
dev-ml/xmlm/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST xmlm-1.3.0.tbz 25176 BLAKE2B 546f433386101c2460b0a8cadf94e383269e81792d068fa4c85d78117a5e65a64bd5e2fac0a5857d6bdefc7c511ae98cc77410b276ecb0300baf73d70ccb2251 SHA512 fd3b9ba8cd12321fd8d56e9ce829a7c8b121bff11cbf7ede58fa0280302fe0ba64f510360ff5b5182591faef660792db66db36e45f6355e3d22bb521f8e308fe
|
||||
12
dev-ml/xmlm/metadata.xml
Normal file
12
dev-ml/xmlm/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<description>co-maintainers welcome</description>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">dbuenzli/xmlm</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
34
dev-ml/xmlm/xmlm-1.3.0-r3.ebuild
Normal file
34
dev-ml/xmlm/xmlm-1.3.0-r3.ebuild
Normal file
@@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit findlib opam
|
||||
|
||||
DESCRIPTION="Ocaml XML manipulation module"
|
||||
HOMEPAGE="
|
||||
http://erratique.ch/software/xmlm
|
||||
https://github.com/dbuenzli/xmlm
|
||||
"
|
||||
SRC_URI="http://erratique.ch/software/${PN}/releases/${P}.tbz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="dev-ml/topkg"
|
||||
BDEPEND="dev-ml/ocamlbuild"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
OPAM_FILE=opam
|
||||
|
||||
src_compile() {
|
||||
ocaml pkg/pkg.ml build --tests $(usex test 'true' 'false') || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
opam_src_test
|
||||
ocaml pkg/pkg.ml test || die
|
||||
}
|
||||
Reference in New Issue
Block a user