python3-pylev: initial commit, version 1.4.0

This commit is contained in:
Tim Biermann 2021-06-14 19:51:53 +00:00
parent 5445628452
commit 914e5af991
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 49 additions and 0 deletions

27
python3-pylev/.footprint Normal file
View File

@ -0,0 +1,27 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/python3.9/
drwxr-xr-x root/root usr/lib/python3.9/site-packages/
drwxr-xr-x root/root usr/lib/python3.9/site-packages/pylev-1.4.0-py3.9.egg-info/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pylev-1.4.0-py3.9.egg-info/PKG-INFO
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pylev-1.4.0-py3.9.egg-info/SOURCES.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pylev-1.4.0-py3.9.egg-info/dependency_links.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pylev-1.4.0-py3.9.egg-info/not-zip-safe
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pylev-1.4.0-py3.9.egg-info/top_level.txt
drwxr-xr-x root/root usr/lib/python3.9/site-packages/pylev/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pylev/__init__.py
drwxr-xr-x root/root usr/lib/python3.9/site-packages/pylev/__pycache__/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pylev/__pycache__/__init__.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pylev/__pycache__/__init__.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pylev/__pycache__/classic.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pylev/__pycache__/classic.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pylev/__pycache__/damerau.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pylev/__pycache__/damerau.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pylev/__pycache__/recursive.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pylev/__pycache__/recursive.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pylev/__pycache__/wf.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pylev/__pycache__/wf.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pylev/classic.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pylev/damerau.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pylev/recursive.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pylev/wf.py

4
python3-pylev/.signature Normal file
View File

@ -0,0 +1,4 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF31riftC/6caNUm7kHoC3ek6qlH3FbAmV35S5Tyagy0V5fetAR9ory9UNBgRnvmCx3fCFu15gC8p9qJXq5zA+Igc=
SHA256 (Pkgfile) = 9956e308001442544cd7ae1393e4f3b76fafc72f8a394bb7020a6e7a27b44c11
SHA256 (.footprint) = 68c910b50309ce104c3fa6e8f2f44c4cf1a329c902ebb83375f749875081be9e

18
python3-pylev/Pkgfile Normal file
View File

@ -0,0 +1,18 @@
# Description: A pure Python Levenshtein implementation
# URL: https://github.com/toastdriven/pylev
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-setuptools
name=python3-pylev
version=1.4.0
release=1
source=(https://github.com/toastdriven/pylev/archive/v$version/$name-$version.tar.gz)
build() {
cd pylev-$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --prefix=/usr \
--root=$PKG \
--skip-build \
-O1
}