summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDario Ostuni2020-05-03 13:39:01 +0200
committerDario Ostuni2020-05-03 13:39:01 +0200
commit1c8e91548971da1606784f89d4b906e9fe9cb603 (patch)
tree3f8fd021fa8db2ef0ada37595535070c5851aa7a
parent2bdfe4d13f2dba4e73470e915753a8c1033d4692 (diff)
downloadaur-python-pampy.tar.gz
Remove tests directory
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 45287a432fcc..81966d000f94 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-pampy
pkgdesc = The Pattern Matching for Python you always dreamed of
pkgver = 0.2.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/santinic/pampy
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index f74c6a056ae4..ad3ddb40855e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Dario Ostuni <another.code.996@gmail.com>
pkgname=python-pampy
pkgver=0.2.1
-pkgrel=1
+pkgrel=2
pkgdesc="The Pattern Matching for Python you always dreamed of"
arch=('any')
url="https://github.com/santinic/pampy"
@@ -15,4 +15,5 @@ sha384sums=('SKIP')
package() {
cd "$srcdir/pampy-${pkgver}"
python setup.py install --root="$pkgdir/" --optimize=1
+ rm -rf "$pkgdir/usr/lib/python3.8/site-packages/tests"
}