python3-enchant:first pisi release
This commit is contained in:
@@ -0,0 +1,13 @@
|
|||||||
|
#!/usr/bin/python
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
#
|
||||||
|
# Licensed under the GNU General Public License, version 3.
|
||||||
|
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||||
|
|
||||||
|
from pisi.actionsapi import pythonmodules
|
||||||
|
|
||||||
|
def build():
|
||||||
|
pythonmodules.compile(pyVer="3")
|
||||||
|
|
||||||
|
def install():
|
||||||
|
pythonmodules.install(pyVer="3")
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
diff -ur pyenchant2-2.0.0/enchant/_enchant.py pyenchant2-2.0.0_fix/enchant/_enchant.py
|
||||||
|
--- pyenchant2-2.0.0/enchant/_enchant.py 2018-01-24 21:13:42.680056632 -0700
|
||||||
|
+++ pyenchant2-2.0.0_fix/enchant/_enchant.py 2018-01-24 21:14:20.620017925 -0700
|
||||||
|
@@ -72,6 +72,7 @@
|
||||||
|
yield "libenchant.so"
|
||||||
|
# See if ctypes can find the library for us, under various names.
|
||||||
|
yield find_library("enchant")
|
||||||
|
+ yield find_library("enchant-2")
|
||||||
|
yield find_library("libenchant")
|
||||||
|
yield find_library("libenchant-1")
|
||||||
|
# Special-case handling for enchant installed by macports.
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>python3-enchant</Name>
|
||||||
|
<Homepage>https://github.com/pyenchant/pyenchant</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>PisiLinux Community</Name>
|
||||||
|
<Email>admins@pisilinux.org</Email>
|
||||||
|
</Packager>
|
||||||
|
<PartOf>programming.language.python3</PartOf>
|
||||||
|
<License>LGPLv3</License>
|
||||||
|
<IsA>library</IsA>
|
||||||
|
<Summary>Python bindings for the Enchant spellchecking system</Summary>
|
||||||
|
<Description>python-enchant is an efficient Python module for Enchant spellchecker.</Description>
|
||||||
|
<Archive sha1sum="92ca797bbef9660271c3a9269ff7eb841272044d" type="targz">https://pypi.python.org/packages/9e/54/04d88a59efa33fefb88133ceb638cdf754319030c28aadc5a379d82140ed/pyenchant-2.0.0.tar.gz</Archive>
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency>python3-setuptools</Dependency>
|
||||||
|
<Dependency>enchant2-devel</Dependency>
|
||||||
|
<Dependency>python3-devel</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
<Patches>
|
||||||
|
<Patch level="1">enchant-2.patch</Patch>
|
||||||
|
</Patches>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>python3-enchant</Name>
|
||||||
|
<Summary>Python bindings for the Enchant spellchecking system</Summary>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>enchant2</Dependency>
|
||||||
|
<Dependency>python3</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="library">/usr/lib/python3*</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc/python3-enchant</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2020-01-18</Date>
|
||||||
|
<Version>2.0.0</Version>
|
||||||
|
<Comment>First Pisi Release</Comment>
|
||||||
|
<Name>Blue Devil</Name>
|
||||||
|
<Email>bluedevil@sctzine.com</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>python3-enchant</Name>
|
||||||
|
<Summary xml:lang="tr">Enchant yazım denetleyicisi için hızlı bir Python modulü</Summary>
|
||||||
|
<Description xml:lang="tr">python3-enchant, Enchant yazım denetleyicisi için hızlı bir Python modulüdür.</Description>
|
||||||
|
</Source>
|
||||||
|
</PISI>
|
||||||
Reference in New Issue
Block a user