diff options
author | Rafael Fontenelle | 2019-12-15 16:19:29 -0300 |
---|---|---|
committer | Rafael Fontenelle | 2019-12-15 16:19:29 -0300 |
commit | 04c2c06fd3e936eb75c841a2cd9ace0506a86d20 (patch) | |
tree | b39929f224fd7499b5a48235daa9055a748ada9a | |
download | aur-04c2c06fd3e936eb75c841a2cd9ace0506a86d20.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | .gitignore | 22 | ||||
-rw-r--r-- | PKGBUILD | 23 |
3 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6090bd4e9142 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = python2-levenshtein + pkgdesc = Python extension for computing string edit distances and similarities + pkgver = 0.12.0 + pkgrel = 1 + url = https://pypi.python.org/pypi/python-Levenshtein/ + arch = x86_64 + license = GPL + makedepends = python2-setuptools + depends = python2 + source = https://files.pythonhosted.org/packages/source/p/python-Levenshtein/python-Levenshtein-0.12.0.tar.gz + sha512sums = 95df064490970618b003bccbef9071b1a2a3ee4645ac8e851f4205bd4e8123d21ee0ee733adfeec79085faa01ba39902e2a4a26bfb21b70678377579157df4a5 + +pkgname = python2-levenshtein + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..ddfe915b4f92 --- /dev/null +++ b/.gitignore @@ -0,0 +1,22 @@ +# ignore everything ... +* + +# ... except itself +!.gitignore + +# ... except changes in package +!PKGBUILD +!.SRCINFO + +# ... except possible source files +!*.patch +!*.diff +!*.desktop +!*.png +!LICENSE +!*.service +!*.conf + +# ... except files from PKGBUILD fields +!*.changelog +!*.install diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..761fc2f71b7d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Rafael Fontenelle <rafaelff@gnome.org> +# based on python-levenshtein by: +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: Thomas S Hatch <thatch45@gmail.com> +# Contributor: shamrok <szamrok@gmail.com> +# Contributor: scj <scj archlinux us> + +pkgname=python2-levenshtein +pkgver=0.12.0 +pkgrel=1 +pkgdesc="Python extension for computing string edit distances and similarities" +url="https://pypi.python.org/pypi/python-Levenshtein/" +license=('GPL') +arch=('x86_64') +depends=('python2') +makedepends=('python2-setuptools') +source=("https://files.pythonhosted.org/packages/source/p/python-Levenshtein/python-Levenshtein-$pkgver.tar.gz") +sha512sums=('95df064490970618b003bccbef9071b1a2a3ee4645ac8e851f4205bd4e8123d21ee0ee733adfeec79085faa01ba39902e2a4a26bfb21b70678377579157df4a5') + +package() { + cd python-Levenshtein-$pkgver + python2 setup.py build install -O1 --prefix=/usr --root="$pkgdir" +} |