Skip to content

Commit

Permalink
dev-ml/mccs: initial import
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.8, Repoman-2.3.3
  • Loading branch information
aballier committed Aug 26, 2017
1 parent 526c9b7 commit 69cf232
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-ml/mccs/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST mccs-1.1.2c.tar.gz 54497 SHA256 b54fd68ae50f02c83516412a5733836d11d12838e97ece2f895e663cb5a40b23 SHA512 53a96aab7abe02cc77ec35341f4e1ca3c5896fb13f7dc36902a014bfba29d50dfebe0457178abcc12dc065aa1e98b8175c2128fc9a799fd696d6ce9348b2281b WHIRLPOOL 005c946bb01c11084e2387c464375fd942803675679d8fa632a01b408ac6ab98b4e8fd35239e6c21de6a5d8536ab9144c6a7dd7515a772c40c087a01c3a9bd1c
30 changes: 30 additions & 0 deletions dev-ml/mccs/mccs-1.1.2c.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit versionator opam

MY_PV=$(replace_version_separator 2 '+')

DESCRIPTION="Multi Criteria CUDF Solver"
HOMEPAGE="http://www.i3s.unice.fr/~cpjm/misc/ https://github.com/AltGr/ocaml-mccs/issues"
SRC_URI="https://github.com/AltGr/ocaml-mccs/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"

LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE=""

RDEPEND="
dev-ml/cudf:=
sci-mathematics/glpk:=
"
DEPEND="${RDEPEND}
dev-ml/jbuilder"

S=${WORKDIR}/ocaml-${PN}-$(replace_version_separator 2 '-')

src_compile() {
jbuilder build -p ${PN} || die
}
11 changes: 11 additions & 0 deletions dev-ml/mccs/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>[email protected]</email>
<name>Gentoo ML Project</name>
</maintainer>
<upstream>
<remote-id type="github">AltGr/ocaml-mccs</remote-id>
</upstream>
</pkgmetadata>

0 comments on commit 69cf232

Please sign in to comment.