diff --git a/srcpkgs/python-enchant/template b/srcpkgs/python-enchant/template index e499957b47..68d35c0e13 100644 --- a/srcpkgs/python-enchant/template +++ b/srcpkgs/python-enchant/template @@ -1,26 +1,15 @@ # Template file for 'python-enchant' pkgname=python-enchant version=2.0.0 -revision=2 +revision=3 archs=noarch wrksrc="pyenchant-${version}" -build_style=python-module -pycompile_module="enchant" -hostmakedepends="python-setuptools python3-setuptools enchant-devel" +build_style=python2-module +hostmakedepends="python-setuptools enchant-devel" depends="enchant" -short_desc="Spellchecking library for Python2" +short_desc="Spellchecking library for Python 3" maintainer="Orphaned " license="LGPL-2.1" homepage="https://github.com/rfk/pyenchant" distfiles="${PYPI_SITE}/p/pyenchant/pyenchant-${version}.tar.gz" checksum=fc31cda72ace001da8fe5d42f11c26e514a91fa8c70468739216ddd8de64e2a0 - -python3-enchant_package() { - archs=noarch - pycompile_module="enchant" - depends="enchant" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - } -} diff --git a/srcpkgs/python3-enchant b/srcpkgs/python3-enchant deleted file mode 120000 index ac458faa8f..0000000000 --- a/srcpkgs/python3-enchant +++ /dev/null @@ -1 +0,0 @@ -python-enchant \ No newline at end of file diff --git a/srcpkgs/python3-enchant/template b/srcpkgs/python3-enchant/template new file mode 100644 index 0000000000..1540cc34bc --- /dev/null +++ b/srcpkgs/python3-enchant/template @@ -0,0 +1,19 @@ +# Template file for 'python3-enchant' +pkgname=python3-enchant +version=3.1.1 +revision=1 +archs=noarch +wrksrc="pyenchant-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools enchant-devel" +depends="enchant" +short_desc="Spellchecking library for Python 3" +maintainer="Orphaned " +license="LGPL-2.1" +homepage="https://github.com/rfk/pyenchant" +distfiles="${PYPI_SITE}/p/pyenchant/pyenchant-${version}.tar.gz" +checksum=ce0915d7acd771fde6e8c2dce8ad0cb0e6f7c4fa8430cc96e3e7134e99aeb12f + +do_check() { + : GtkSpellCheckerDialog is Python 2 only, at least in my understand +} diff --git a/srcpkgs/python3-enchant/update b/srcpkgs/python3-enchant/update new file mode 100644 index 0000000000..5e5881036f --- /dev/null +++ b/srcpkgs/python3-enchant/update @@ -0,0 +1 @@ +pkgname=pyenchant