makedeb


python3-inquirer 3.4.0-0


Collection of common interactive command line user interfaces, based on Inquirer.js

Click here to go back to the commit logs for python3-inquirer.

Commit:


Hash: 484a0ba353754f3f71bb59528a43a5428f8f86c9

Message: Fix packaging

Diff


diff --git a/.SRCINFO b/.SRCINFO
index a518821..d4b801e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = python-inquirer
 	pkgdesc = Collection of common interactive command line user interfaces, based on Inquirer.js
 	pkgver = 2.7.0
-	pkgrel = 1
+	pkgrel = 2
 	url = https://pypi.org/project/inquirer
 	arch = any
 	license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index df90428..1e0c0f8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 _pkgname=inquirer
 pkgname="python-${_pkgname}"
 pkgver=2.7.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Collection of common interactive command line user interfaces, based on Inquirer.js"
 arch=('any')
 url="https://pypi.org/project/${_pkgname}"
@@ -24,5 +24,7 @@ package() {
   cd "python-inquirer-${pkgver}"
 
   python setup.py install --root="${pkgdir}" --optimize=1
+  rm -rf "${pkgdir}/usr/lib"/python*/"site-packages/tests"
+
   install -Dm0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }