python3-Levenshtein:moved from contrib
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#!/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
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def build():
|
||||
# fix unused direct dependency analysis
|
||||
shelltools.export("LDSHARED", "x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared -lpthread -Wl,-O1 -Wl,-z,relro -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--sort-common")
|
||||
# suppress compiler warnings
|
||||
pisitools.cflags.add("-Wno-unused-function -Wno-pointer-sign -Wno-sign-compare -Wno-unused-variable")
|
||||
pythonmodules.compile(pyVer="3")
|
||||
|
||||
def install():
|
||||
pythonmodules.install(pyVer="3")
|
||||
@@ -0,0 +1,44 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>python3-Levenshtein</Name>
|
||||
<Homepage>https://pypi.org/project/python-Levenshtein/</Homepage>
|
||||
<Packager>
|
||||
<Name>Blue Devil</Name>
|
||||
<Email>bluedevil@sctzine.com</Email>
|
||||
</Packager>
|
||||
<PartOf>programming.language.python</PartOf>
|
||||
<License>GPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Python extension for computing string edit distances and similarities</Summary>
|
||||
<Description>The Levenshtein Python C extension module contains functions for fast computation of: Levenshtein (edit) distance, and edit operations, string similarity, approximate median strings, and generally string averaging, string sequence and set similarity.It supports both normal and Unicode strings.</Description>
|
||||
<Archive sha1sum="e24d85c9d632038f98202af687eb3d428eca0ac1" type="targz">https://files.pythonhosted.org/packages/42/a9/d1785c85ebf9b7dfacd08938dd028209c34a0ea3b1bcdb895208bd40a67d/python-Levenshtein-0.12.0.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>python3-setuptools</Dependency>
|
||||
<Dependency>python3-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>python3-Levenshtein</Name>
|
||||
<Summary>Python extension for computing string edit distances and similarities</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>python3</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/python3*</Path>
|
||||
<Path fileType="doc">/usr/share/doc/python3-Levenshtein</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2019-12-23</Date>
|
||||
<Version>0.12.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-Levenshtein</Name>
|
||||
<Summary xml:lang="tr">Sözcük katarı düzenleme uzaklıkları ve benzerliklerini çok hızlı işleyebilen bir pyton kitaplığıdır.</Summary>
|
||||
<Description xml:lang="tr">Levenshtein Python kitaplığı, Levenshtein (düzenleme) uzaklığı ve düzenleme işlemleri, sözcük katarı benzerlikleri, genel olarak söz dizisi ortalaması ve sözcük sırası gibi konuları hızlıca işleyebilen bir python kitaplığıdır.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user