Skip to content

Commit

Permalink
dev-ml/unidecode: fix test
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/764875
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Alfredo Tupone <[email protected]>
  • Loading branch information
atupone committed Jan 10, 2021
1 parent 0fe3bdc commit 5341e5e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
8 changes: 8 additions & 0 deletions dev-ml/unidecode/files/unidecode-0.4.0-test.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
--- a/test/test_data.ml 2021-01-10 22:20:26.800309802 +0100
+++ b/test/test_data.ml 2021-01-10 22:20:36.290138477 +0100
@@ -46,4 +46,4 @@
Norvegi, Finland, Estoni, Latvi, Litva, Pol'cho, Belarous', OUkraina, \
Gurji, Azerbaidjan, Kazakhstan, KHitad, Mongol, KHoito Solongos geһen \
arban durben gurenuudte khile zourydag, mun ouһaar ANOU-ai Alyaska \
- mojotoi bolon YApon oulastai khile negetei. "
+ mojotoi bolon YApon oulastai khile negetei."
10 changes: 7 additions & 3 deletions dev-ml/unidecode/unidecode-0.4.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@ SRC_URI="https://github.com/geneweb/${PN}/archive/v${PV}.tar.gz
LICENSE="GPL-3"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="+ocamlopt"
IUSE="+ocamlopt test"
RESTRICT="!test? ( test )"

DEPEND=""
RDEPEND="${DEPEND}"
RDEPEND=""
DEPEND="${DEPEND}
test? ( dev-ml/ounit2 )"
BDEPEND=""

PATCHES=( "${FILESDIR}"/${P}-test.patch )

0 comments on commit 5341e5e

Please sign in to comment.