From 10e727dadaeb5fb8ebc34e410d135867add02fc3 Mon Sep 17 00:00:00 2001 From: bra1nwave Date: Mon, 9 Jul 2018 21:49:41 +0200 Subject: [PATCH] New package: python-Levenshtein-0.12.0 --- srcpkgs/python-Levenshtein/template | 22 ++++++++++++++++++++++ srcpkgs/python3-Levenshtein | 1 + 2 files changed, 23 insertions(+) create mode 100644 srcpkgs/python-Levenshtein/template create mode 120000 srcpkgs/python3-Levenshtein diff --git a/srcpkgs/python-Levenshtein/template b/srcpkgs/python-Levenshtein/template new file mode 100644 index 0000000000..5a8b4b8c5c --- /dev/null +++ b/srcpkgs/python-Levenshtein/template @@ -0,0 +1,22 @@ +# Template file for 'python-Levenshtein' +pkgname=python-Levenshtein +version=0.12.0 +revision=1 +build_style=python-module +pycompile_module="Levenshtein" +hostmakedepends="python-devel python3-devel python-setuptools python3-setuptools" +makedepends="python-devel python3-devel" +short_desc="Functions for computation of distance and string similarity (Python2)" +maintainer="bra1nwave " +license="GPL-2.0-or-later" +homepage="https://pypi.org/project/python-Levenshtein/" +distfiles="${PYPI_SITE}/p/python-Levenshtein/${pkgname}-${version}.tar.gz" +checksum=033a11de5e3d19ea25c9302d11224e1a1898fe5abd23c61c7c360c25195e3eb1 + +python3-Levenshtein_package() { + short_desc="${short_desc/Python2/Python3}" + pycompile_module="Levenshtein" + pkg_install() { + vmove usr/lib/python3* + } +} diff --git a/srcpkgs/python3-Levenshtein b/srcpkgs/python3-Levenshtein new file mode 120000 index 0000000000..68d6df0268 --- /dev/null +++ b/srcpkgs/python3-Levenshtein @@ -0,0 +1 @@ +python-Levenshtein \ No newline at end of file