[arch-commits] Commit in python-levenshtein/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Jun 11 12:27:20 UTC 2019
Date: Tuesday, June 11, 2019 @ 12:27:19
Author: felixonmars
Revision: 480383
upgpkg: python-levenshtein 0.12.0-6
remove python2 sibling
Modified:
python-levenshtein/trunk/PKGBUILD
----------+
PKGBUILD | 23 +++++------------------
1 file changed, 5 insertions(+), 18 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-06-11 12:26:58 UTC (rev 480382)
+++ PKGBUILD 2019-06-11 12:27:19 UTC (rev 480383)
@@ -3,32 +3,19 @@
# Contributor: shamrok <szamrok at gmail.com>
# Contributor: scj <scj archlinux us>
-pkgbase=python-levenshtein
-pkgname=(python-levenshtein python2-levenshtein)
+pkgname=python-levenshtein
pkgver=0.12.0
-pkgrel=5
+pkgrel=6
pkgdesc="Python extension for computing string edit distances and similarities"
url="https://pypi.python.org/pypi/python-Levenshtein/"
license=('GPL')
arch=('x86_64')
-makedepends=('python-setuptools' 'python2-setuptools')
+depends=('python')
+makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/p/python-Levenshtein/python-Levenshtein-$pkgver.tar.gz")
sha512sums=('95df064490970618b003bccbef9071b1a2a3ee4645ac8e851f4205bd4e8123d21ee0ee733adfeec79085faa01ba39902e2a4a26bfb21b70678377579157df4a5')
-prepare() {
- cp -a python-Levenshtein-$pkgver python2-Levenshtein-$pkgver
-}
-
-package_python-levenshtein() {
- depends=('python')
-
+package() {
cd python-Levenshtein-$pkgver
python setup.py build install -O1 --prefix=/usr --root="$pkgdir"
}
-
-package_python2-levenshtein() {
- depends=('python2')
-
- cd python2-Levenshtein-$pkgver
- python2 setup.py build install -O1 --prefix=/usr --root="$pkgdir"
-}
More information about the arch-commits
mailing list