commit: 73cdf0d8c187f328c62675a4aaff664d387777b3 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> AuthorDate: Tue May 24 09:15:08 2016 +0000 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> CommitDate: Tue May 24 09:15:49 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73cdf0d8
dev-ml/tyxml: bump to 4.0.0 Package-Manager: portage-2.3.0_rc1 dev-ml/tyxml/Manifest | 1 + dev-ml/tyxml/metadata.xml | 4 ++++ dev-ml/tyxml/tyxml-4.0.0.ebuild | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+) diff --git a/dev-ml/tyxml/Manifest b/dev-ml/tyxml/Manifest index 3a933f0..830bbaa 100644 --- a/dev-ml/tyxml/Manifest +++ b/dev-ml/tyxml/Manifest @@ -1,2 +1,3 @@ DIST tyxml-3.5.0.tar.gz 127891 SHA256 e5f55f30b74470cb1400b92c478f320b4b4778678cf6029582716e0e138f4532 SHA512 189dd18a07f19b36ab616bfc512fc739dd704d0e84d720ecf69c7716a48fff43e851dd5bb09488b835f840ce859c8085437e56c5cce68c5d595d183dd66fb5ec WHIRLPOOL 7967aa2f2047aac7deb8d814f14c2beb29f116c39eec442b2383d487aa442d3b2f4ed75a9045c65bf8bb9b397e26b93ed555a67b7a98ab2dd37dbec91c4aecb4 DIST tyxml-3.6.0.tar.gz 129924 SHA256 ea591587dd29799fff3b4d1390af062d9f7b0bdac5e6210e18355cd41171e0e7 SHA512 f750f80dce92d42172dd9601ec5201c34e1de6587270d00bc86673b2b220b0baed3d91586d4334d98a453cf388b2fa8d1abb763971365ffbf93992c7fde1d127 WHIRLPOOL f91c3934fc922c601b7d1c059a1c010e70ef947dcbb16dfe82b358c18109bf35b5762958449cdcdf6367d01f05fa038e4e8b1b53c961fe7a772d0e2e997a6210 +DIST tyxml-4.0.0.tar.gz 172367 SHA256 1ec7d175d0ad22290c06d1872e869444415edcc04bfa75b993f8ac2db84eb1de SHA512 3e0267bef7ee339697c86a211b76983683066102f5e1ed194cf4a0dbcc358971b58b820e092a74cb614b9fd5a1d866bff48b3cd7ca66297cd97ba4fa40d03f05 WHIRLPOOL d81ee355951bff5454fb15121cf48c379e8567db5d1e7fde4ce6d0cd83d19b7c7f1783916cbd1d8e85033a6730f74d88ef20c8c3bd7ac86a99210e1b2e053a0d diff --git a/dev-ml/tyxml/metadata.xml b/dev-ml/tyxml/metadata.xml index e9fc8c8..0455e2d 100644 --- a/dev-ml/tyxml/metadata.xml +++ b/dev-ml/tyxml/metadata.xml @@ -8,4 +8,8 @@ <upstream> <remote-id type="github">ocsigen/tyxml</remote-id> </upstream> + <use> + <flag name="camlp4">Enables the camlp4 syntax extension (deprecated)</flag> + <flag name="ppx">Enables the ppx syntax extension (preferred)</flag> + </use> </pkgmetadata> diff --git a/dev-ml/tyxml/tyxml-4.0.0.ebuild b/dev-ml/tyxml/tyxml-4.0.0.ebuild new file mode 100644 index 0000000..3f49441 --- /dev/null +++ b/dev-ml/tyxml/tyxml-4.0.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +OASIS_BUILD_DOCS=1 + +inherit oasis + +DESCRIPTION="A libary to build xml trees typechecked by OCaml" +HOMEPAGE="http://ocsigen.org/tyxml/" +SRC_URI="https://github.com/ocsigen/tyxml/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1-with-linking-exception" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="+ppx camlp4" + +DEPEND=" + dev-ml/uutf:= + dev-ml/ocaml-re:= + ppx? ( >=dev-ml/ppx_tools-5:= dev-ml/markup:= ) + camlp4? ( dev-ml/camlp4:= )" +RDEPEND="${DEPEND}" + +DOCS=( CHANGES README.md ) + +src_configure() { + oasis_configure_opts=" + $(use_enable camlp4 syntax) + $(use_enable ppx) + " oasis_src_configure +}