From 3be65bd024ba4873caf192d056c8017870806f0d Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Mon, 30 Sep 2019 07:54:39 +0100 Subject: [PATCH] dev-haskell/citeproc-hs: convert IUSE underscore to dash MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reported-by: Michał Górny Closes: https://bugs.gentoo.org/695052 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Sergei Trofimovich --- .../citeproc-hs/citeproc-hs-0.3.10-r1.ebuild | 14 ++--- .../citeproc-hs/citeproc-hs-0.3.10.ebuild | 51 ------------------- dev-haskell/citeproc-hs/metadata.xml | 6 +-- 3 files changed, 10 insertions(+), 61 deletions(-) delete mode 100644 dev-haskell/citeproc-hs/citeproc-hs-0.3.10.ebuild diff --git a/dev-haskell/citeproc-hs/citeproc-hs-0.3.10-r1.ebuild b/dev-haskell/citeproc-hs/citeproc-hs-0.3.10-r1.ebuild index 1c7f1a2bf920..113ca2b6418e 100644 --- a/dev-haskell/citeproc-hs/citeproc-hs-0.3.10-r1.ebuild +++ b/dev-haskell/citeproc-hs/citeproc-hs-0.3.10-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -15,7 +15,7 @@ SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" LICENSE="BSD" SLOT="0/${PV}" KEYWORDS="~amd64 ~x86" -IUSE="+bibutils embed_data_files +hexpat +network +small_base unicode_collation" +IUSE="+bibutils embed-data-files +hexpat +network +small-base unicode-collation" RDEPEND="dev-haskell/json:=[profile?] dev-haskell/mtl:=[profile?] @@ -25,13 +25,13 @@ RDEPEND="dev-haskell/json:=[profile?] dev-haskell/utf8-string:=[profile?] >=dev-lang/ghc-7.4.1:= bibutils? ( >=dev-haskell/hs-bibutils-0.3:=[profile?] ) - embed_data_files? ( dev-haskell/file-embed:=[profile?] ) + embed-data-files? ( dev-haskell/file-embed:=[profile?] ) hexpat? ( >=dev-haskell/hexpat-0.20.2:=[profile?] ) !hexpat? ( dev-haskell/xml:=[profile?] ) network? ( >=dev-haskell/http-4000.0.9:=[profile?] >=dev-haskell/network-2.6:=[profile?] >=dev-haskell/network-uri-2.6:=[profile?] ) - unicode_collation? ( dev-haskell/text:=[profile?] + unicode-collation? ( dev-haskell/text:=[profile?] dev-haskell/text-icu:=[profile?] ) " DEPEND="${RDEPEND} @@ -46,9 +46,9 @@ src_prepare() { src_configure() { haskell-cabal_src_configure \ $(cabal_flag bibutils bibutils) \ - $(cabal_flag embed_data_files embed_data_files) \ + $(cabal_flag embed-data-files embed_data_files) \ $(cabal_flag hexpat hexpat) \ $(cabal_flag network network) \ - $(cabal_flag small_base small_base) \ - $(cabal_flag unicode_collation unicode_collation) + $(cabal_flag small-base small_base) \ + $(cabal_flag unicode-collation unicode_collation) } diff --git a/dev-haskell/citeproc-hs/citeproc-hs-0.3.10.ebuild b/dev-haskell/citeproc-hs/citeproc-hs-0.3.10.ebuild deleted file mode 100644 index 5765a67367bb..000000000000 --- a/dev-haskell/citeproc-hs/citeproc-hs-0.3.10.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -# ebuild generated by hackport 0.4.3 - -CABAL_FEATURES="lib profile haddock hoogle hscolour" -inherit base haskell-cabal - -DESCRIPTION="A Citation Style Language implementation in Haskell" -HOMEPAGE="http://istitutocolli.org/repos/citeproc-hs/" -SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="+bibutils embed_data_files +hexpat +network +small_base unicode_collation" - -RDEPEND="dev-haskell/json:=[profile?] - dev-haskell/mtl:=[profile?] - >=dev-haskell/pandoc-types-1.8:=[profile?] =dev-lang/ghc-7.4.1:= - bibutils? ( >=dev-haskell/hs-bibutils-0.3:=[profile?] ) - embed_data_files? ( dev-haskell/file-embed:=[profile?] ) - hexpat? ( >=dev-haskell/hexpat-0.20.2:=[profile?] ) - !hexpat? ( dev-haskell/xml:=[profile?] ) - network? ( >=dev-haskell/http-4000.0.9:=[profile?] - >=dev-haskell/network-2.6:=[profile?] - >=dev-haskell/network-uri-2.6:=[profile?] ) - unicode_collation? ( dev-haskell/text:=[profile?] - dev-haskell/text-icu:=[profile?] ) -" -DEPEND="${RDEPEND} - >=dev-haskell/cabal-1.6 -" - -PATCHES=("${FILESDIR}/${P}-ghc-7.10.patch") - -src_configure() { - haskell-cabal_src_configure \ - $(cabal_flag bibutils bibutils) \ - $(cabal_flag embed_data_files embed_data_files) \ - $(cabal_flag hexpat hexpat) \ - $(cabal_flag network network) \ - $(cabal_flag small_base small_base) \ - $(cabal_flag unicode_collation unicode_collation) -} diff --git a/dev-haskell/citeproc-hs/metadata.xml b/dev-haskell/citeproc-hs/metadata.xml index a27651833e76..9c951e54db57 100644 --- a/dev-haskell/citeproc-hs/metadata.xml +++ b/dev-haskell/citeproc-hs/metadata.xml @@ -7,11 +7,11 @@ use Chris Putnam's app-text/bibutils - Embed locale files into the library (needed for windows packaging) + Embed locale files into the library (needed for windows packaging) use dev-haskell/network and dev-haskell/http to retrieve CSL file from URIs use dev-haskell/hexpat instead of dev-haskell/xml for XML parsing - Choose the new smaller, split-up base package. - Use Haskell bindings to the dev-libs/icu + Choose the new smaller, split-up base package. + Use Haskell bindings to the dev-libs/icu citeproc-hs is a library for rendering -- 2.26.2