makedeb
Python library to read characters and key strokes
Click here to go back to the commit logs for python3-readchar.
Hash: aad93042afcd1261e0e159efe6f68414eca1fad7
Message: Remove flake8, thanks to @yochananmarqos
diff --git a/.SRCINFO b/.SRCINFO
index 664b243..cf80671 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -6,7 +6,6 @@ pkgbase = python-readchar
arch = any
license = MIT
makedepends = python-setuptools
- makedepends = flake8
depends = python
source = python-readchar-3.0.5.tar.gz::https://github.com/magmax/python-readchar/archive/v3.0.5.tar.gz
source = LICENSE
diff --git a/PKGBUILD b/PKGBUILD
index 1b867ef..4808aae 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ arch=("any")
url="https://github.com/magmax/python-readchar"
license=("MIT")
depends=("python")
-makedepends=("python-setuptools" "flake8")
+makedepends=("python-setuptools")
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/magmax/python-readchar/archive/v$pkgver.tar.gz"
"LICENSE")
md5sums=('827709aca051803b086f2b5d966fe61d'
@@ -17,6 +17,8 @@ md5sums=('827709aca051803b086f2b5d966fe61d'
prepare() {
cd "${srcdir}/$pkgname-$pkgver"
+ # Flake8 only required for tests
+ sed -i '/flake8/d' setup.py
# Fix the tests getting included in the package
sed -i' ' -e's/"tests"/"tests*"/' setup.py
}