Skip to content

Commit

Permalink
Merge pull request wolfi-dev#23425 from dlorenc/enchant2
Browse files Browse the repository at this point in the history
Add enchant2 package.
  • Loading branch information
dlorenc committed Jul 9, 2024
2 parents 34ed7c9 + f2db15a commit 349471e
Showing 1 changed file with 68 additions and 0 deletions.
68 changes: 68 additions & 0 deletions enchant2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
package:
name: enchant2
version: 2.8.1
epoch: 0
description: enchant spellchecking library
copyright:
- license: LGPL-2.1-only

environment:
contents:
packages:
- autoconf
- automake
- build-base
- busybox
- ca-certificates-bundle
- coreutils
- glib-dev
- groff
- hunspell-dev
- libtool
- patch
- pkgconf-dev
- vala

pipeline:
- uses: git-checkout
with:
repository: https://github.com/AbiWord/enchant
tag: v${{package.version}}
expected-commit: 14e820123139e0a68a812f34578d4881fe279ad2

- runs: ./bootstrap

- uses: autoconf/configure
with:
opts: |
--with-hunspell \
--enable-relocatable
- uses: autoconf/make

- uses: autoconf/make-install

- uses: strip

subpackages:
- name: enchant2-dev
pipeline:
- uses: split/dev

update:
enabled: true
github:
identifier: AbiWord/enchant
strip-prefix: v

test:
environment:
contents:
packages:
- python3
- py3-pip
pipeline:
- runs: |
pip install pyenchant
# this fails without the enchant libraries installed
python -c "import enchant"

0 comments on commit 349471e

Please sign in to comment.