diff options
author | Sashanoraa | 2022-07-02 01:39:05 -0400 |
---|---|---|
committer | Sashanoraa | 2022-07-02 01:39:32 -0400 |
commit | 9d0378df66d4c0ef9a702cf1d085e87c080f3f27 (patch) | |
tree | f21af9feb20454a15854d60739bd154a4c42d9dd | |
parent | 1bde647c9db5250d43237144a159c2812e448de5 (diff) | |
download | aur-9d0378df66d4c0ef9a702cf1d085e87c080f3f27.tar.gz |
Remove tests from site-packages
Signed-off-by: Sashanoraa <sasha@noraa.gay>
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = python-confusables pkgdesc = A python package providing functionality for matching words that can be confused for eachother, but contain different characters pkgver = 1.2.0 - pkgrel = 1 + pkgrel = 2 url = https://pypi.org/project/confusables/ arch = any license = MIT @@ -2,7 +2,7 @@ pkgname=python-confusables pkgver=1.2.0 -pkgrel=1 +pkgrel=2 pkgdesc="A python package providing functionality for matching words that can be confused for eachother, but contain different characters" arch=('any') url="https://pypi.org/project/confusables/" @@ -21,4 +21,6 @@ build() { package() { cd "$srcdir/$_name-$pkgver" python setup.py install --root="$pkgdir" --optimize=1 + local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") + rm -rf "${pkgdir}${site_packages}/tests/" } |