diff options
Diffstat (limited to 'dev-ml/dose3')
-rw-r--r-- | dev-ml/dose3/Manifest | 7 | ||||
-rw-r--r-- | dev-ml/dose3/dose3-5.0.1-r1.ebuild | 4 | ||||
-rw-r--r-- | dev-ml/dose3/dose3-5.0.1_p16.ebuild | 80 | ||||
-rw-r--r-- | dev-ml/dose3/metadata.xml | 4 |
4 files changed, 92 insertions, 3 deletions
diff --git a/dev-ml/dose3/Manifest b/dev-ml/dose3/Manifest index c5d3ba1faaba..d406f07c80ae 100644 --- a/dev-ml/dose3/Manifest +++ b/dev-ml/dose3/Manifest @@ -1,5 +1,8 @@ AUX ocaml406.patch 1623 BLAKE2B 741d94b936ed59aa3b158cca587ee2aaddb72e06703cbeee13c7aadb1c062d38bdb7a8e06805a7dc4cc6a19cab829702e55797f7434b3aea402c8d8023e36783 SHA512 1ccc378bb32a7ced3b643590a5ebd3b4b5b31f256ba4067f64a1611abb74cba48f0e0da42fb498aa66ee17e3d2446b9683ff5eca64749360af7a147fbf36385b AUX unix.patch 406 BLAKE2B 270b1e747ab9f270c49ea2ccfee0734600160f1db2f6ee912467989e1c59b31a0840d3a83fa857000b50a5a61d29422629bc9eb2334c7b08db93ef43d12229f7 SHA512 f6d7a3d100c425767ce304c620376cf815b8de59b04aea7ee439e79159cb7aa96cf1903498173d341fcf8d61391edf0b183ab4cda17ce91f41db9aa25ae8aff5 DIST dose3-5.0.1.tar.gz 297433 BLAKE2B 74ae954604f26398f091b4f14d2a633132ae62102f52af13284af27e41cd7c47afb1b533b0821a8921ba33fa6658e94b3bb6bf5f104f48881a50e14517cd65e2 SHA512 e66526319446054041f138ee2633043d0832089f6a554cf566a28de899d10383acfb1aa6bf1a368811602939676510933a7d2404fd34dbeba15045b458f5af84 -EBUILD dose3-5.0.1-r1.ebuild 1678 BLAKE2B 4d9ee4f7be0f91bdbbd92d256202e0a7f4f93ada147e95d4b8df002d0583636d87a81e9d59b060b13b51560786099c42451f6c5a1f31f2766c994878fcd39308 SHA512 ab0fceac967da108330269bb6b8a845e9a6406ffd3aaf83fb2ca16fa5d1bdedf31c05ab1986823e2c9b39ed1ec83409b1c2e369ad556dadb03e85d518e059ba2 -MISC metadata.xml 474 BLAKE2B 51884c8074342dbbe0e961495b12b69460ba0429134c50a75c68008fe54a8ea89dce28e114553b433f7c8dca503daee89b858c92995fd0aa4651bd1335e87a62 SHA512 245deea20a81b03063b19e4146982bd6a6d64b363153cdcdde811800c64f8d72861f749eac232f6530889ceb2fa84828db83376039868d3a097b488ba6331ee2 +DIST dose3_5.0.1-16.debian.tar.xz 39448 BLAKE2B a5ae8c74ee1a5a89bf3594cbaf0b37703fcf03a03e336c6b91626fcb6767518c517bf28ec4a24f6cbeb40e1544b34e95855507f39aacca110e8daa6e6e5d3994 SHA512 52d14a45bc0b0a66c4cf3acc05b479b1456c78fa8cb0e453a01dd2f0d849dfcf959bd9e8ff8d505272ad7ad542ff402013746816ead3ccd2dbd0bed572ee2930 +DIST dose3_5.0.1.orig.tar.gz 297433 BLAKE2B 74ae954604f26398f091b4f14d2a633132ae62102f52af13284af27e41cd7c47afb1b533b0821a8921ba33fa6658e94b3bb6bf5f104f48881a50e14517cd65e2 SHA512 e66526319446054041f138ee2633043d0832089f6a554cf566a28de899d10383acfb1aa6bf1a368811602939676510933a7d2404fd34dbeba15045b458f5af84 +EBUILD dose3-5.0.1-r1.ebuild 1701 BLAKE2B 634cbd813b0f1ab00051bdd0a673a271310ea4cd5e725f03119bf9f032f397cec1b22f79c770bfc4543c19b4169af6e573a501528870af08a304d8962d736b30 SHA512 847481213a6ba8b54348a67c7fffacc8bdf055570a5a21c6723bce6c8226f3e06e15e096ef5e537c30dffa2fafa24089823747a6f1cd6e0fc12656f6676f8c95 +EBUILD dose3-5.0.1_p16.ebuild 2185 BLAKE2B 37706f2e4eb4e2b1dbaf10dd703fe5380dc317ca0d7646d3fc82a4b54126929ccf077be431c348f463cc1f43c6d5c4e81c85475fba16267cb48ff9ca5b10390c SHA512 42c7869a91eaa1d2d9bd2ffb34bb61bcd614442d7f8f97d959d5a1d263912bdcd4b179a1a71fc4b307b129d60aec93a8416a10b0b9e422a47329755d0fd701c9 +MISC metadata.xml 567 BLAKE2B edf392175ce748915b9584ba1bb3885338c52f2c85f0beaa7695ecc556319af95d3485ab8bf94d97975e4cea2b30ddd47e31fe5df8a97911ddca0e720903c760 SHA512 254fd968a79b76a7ee792091a1106d20e76d168f57afa415aace3d150c793613c73d3bbd9d8a150d99595445ade1966da0dc059cb61dfae084478a5aeddb7fc8 diff --git a/dev-ml/dose3/dose3-5.0.1-r1.ebuild b/dev-ml/dose3/dose3-5.0.1-r1.ebuild index c08cc798c4d6..76e47f4749fd 100644 --- a/dev-ml/dose3/dose3-5.0.1-r1.ebuild +++ b/dev-ml/dose3/dose3-5.0.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -35,6 +35,8 @@ DEPEND="${RDEPEND} # missing test data RESTRICT="test" +QA_FLAGS_IGNORED='.*' + S="${WORKDIR}/${MY_P}" src_prepare() { diff --git a/dev-ml/dose3/dose3-5.0.1_p16.ebuild b/dev-ml/dose3/dose3-5.0.1_p16.ebuild new file mode 100644 index 000000000000..a407b1aeddfe --- /dev/null +++ b/dev-ml/dose3/dose3-5.0.1_p16.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Library to perform analysis on package repositories" +HOMEPAGE="http://www.mancoosi.org/software/ https://gforge.inria.fr/projects/dose" +SRC_URI="http://deb.debian.org/debian/pool/main/d/dose3/${PN}_$(ver_cut 1-3).orig.tar.gz" +SRC_URI+=" http://deb.debian.org/debian/pool/main/d/dose3/${PN}_${PV/_p/-}.debian.tar.xz" +#SRC_URI="https://gforge.inria.fr/frs/download.php/file/36063/${P}.tar.gz" +S="${WORKDIR}/${PN}-$(ver_cut 1-3)" + +LICENSE="LGPL-3" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="+ocamlopt parmap zip bzip2 xml curl rpm4 test" + +BDEPEND=" + dev-ml/cppo + dev-ml/findlib + dev-ml/ocamlbuild +" +RDEPEND=" + >=dev-lang/ocaml-3.12:=[ocamlopt=] + dev-ml/cudf:=[ocamlopt=] + >=dev-ml/extlib-1.7.0:=[ocamlopt=] + >=dev-ml/ocamlgraph-1.8.6:=[ocamlopt=] + dev-ml/re:=[ocamlopt=] + parmap? ( dev-ml/parmap:=[ocamlopt=] ) + zip? ( dev-ml/camlzip:=[ocamlopt=] ) + bzip2? ( dev-ml/camlbz2:= ) + xml? ( + dev-ml/ocaml-expat:=[ocamlopt=] + dev-ml/xml-light:=[ocamlopt=] + ) + curl? ( dev-ml/ocurl:= ) + rpm4? ( app-arch/rpm ) +" +DEPEND="${RDEPEND} + test? ( dev-python/pyyaml[libyaml] ) +" + +# missing test data +RESTRICT="test" + +QA_FLAGS_IGNORED='.*' + +src_prepare() { + default + sed -e 's/INSTALLOPTS=-s/INSTALLOPTS=/' -i Makefile.config.in || die + + # Not relevant to us, Debian specific adjustments + rm "${WORKDIR}"/debian/patches/0009-Fix-and-constraints-against-virtual-packages.patch || die + rm "${WORKDIR}"/debian/patches/binaries-prefix-edos || die + + elog "Applying Debian patchset..." + for file in "${WORKDIR}"/debian/patches/*.patch ; do + eapply "${file}" + done +} + +src_configure() { + econf \ + $(use ocamlopt || echo "--with-bytecodeonly") \ + $(use parmap && echo "--with-parmap") \ + $(use zip && echo "--with-zip") \ + $(use bzip2 && echo "--with-bz2") \ + $(use xml && echo "--with-xml") \ + $(use curl && echo "--with-curl") \ + $(use rpm4 && echo "--with-rpm4") +} + +src_compile() { + emake -j1 VERBOSE="-classic-display" +} + +src_install() { + emake DESTDIR="${D}" BINDIR="${ED}/usr/bin" install || die + dodoc CHANGES CREDITS README.architecture TODO +} diff --git a/dev-ml/dose3/metadata.xml b/dev-ml/dose3/metadata.xml index 99daf30cfd99..6a93d78a32ca 100644 --- a/dev-ml/dose3/metadata.xml +++ b/dev-ml/dose3/metadata.xml @@ -1,6 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> + <maintainer type="project"> + <email>ml@gentoo.org</email> + <name>ML</name> + </maintainer> <maintainer type="person"> <email>gienah@gentoo.org</email> <name>Mark Wright</name> |