mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
python-enchant: update to 1.6.8
Add python3.4 flavor.
This commit is contained in:
parent
80e14a19f4
commit
d9b34290d9
2 changed files with 20 additions and 9 deletions
|
@ -1,18 +1,28 @@
|
||||||
# Template file for 'python-enchant'
|
# Template file for 'python-enchant'
|
||||||
pkgname=python-enchant
|
pkgname=python-enchant
|
||||||
version=1.6.7
|
version=1.6.8
|
||||||
revision=1
|
revision=1
|
||||||
_name=pyenchant
|
|
||||||
wrksrc=$_name-$version
|
|
||||||
noarch=yes
|
noarch=yes
|
||||||
|
wrksrc="pyenchant-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
|
python_versions="2.7 3.4"
|
||||||
pycompile_module=enchant
|
pycompile_module=enchant
|
||||||
hostmakedepends="python-setuptools enchant-devel"
|
hostmakedepends="python-setuptools python3.4-setuptools enchant-devel"
|
||||||
makedepends="enchant-devel"
|
|
||||||
depends="enchant"
|
depends="enchant"
|
||||||
short_desc="Spellchecking library for python"
|
short_desc="Spellchecking library for Python2"
|
||||||
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
||||||
license="GPL-3"
|
license="LGPL-2.1"
|
||||||
homepage="https://github.com/rfk/pyenchant"
|
homepage="https://github.com/rfk/pyenchant"
|
||||||
distfiles="$homepage/archive/v${version}.tar.gz"
|
distfiles="${PYPI_SITE}/p/pyenchant/pyenchant-${version}.tar.gz"
|
||||||
checksum=2ec5e2eb190b8c0f92f9d8d9ade26dbf5365ceaaa144eb2b2838852bd008865f
|
checksum=7ead2ee74f1a4fc2a7199b3d6012eaaaceea03fbcadcb5df67d2f9d0d51f050a
|
||||||
|
|
||||||
|
python3.4-enchant_package() {
|
||||||
|
noarch=yes
|
||||||
|
pycompile_version="3.4"
|
||||||
|
pycompile_module="enchant"
|
||||||
|
depends="enchant"
|
||||||
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3.4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3.4-enchant
Symbolic link
1
srcpkgs/python3.4-enchant
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-enchant
|
Loading…
Add table
Reference in a new issue