Balló György pushed to branch main at Arch Linux / Packaging / Packages / 
python-getkey


Commits:
2eade178 by Balló György at 2024-11-14T14:08:48+01:00
upgpkg: 0.6.5-7 - Remove installed tests

Closes: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-getkey/-/issues/1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = python-getkey
        pkgdesc = Python library to easily read single chars and key strokes
        pkgver = 0.6.5
-       pkgrel = 6
+       pkgrel = 7
        url = https://github.com/kcsaff/getkey
        arch = any
        license = MIT


=====================================
PKGBUILD
=====================================
@@ -1,9 +1,9 @@
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Balló György <ballogyor+arch at gmail dot com>
 
 _pkgname=getkey
 pkgname=python-getkey
 pkgver=0.6.5
-pkgrel=6
+pkgrel=7
 pkgdesc='Python library to easily read single chars and key strokes'
 arch=('any')
 url='https://github.com/kcsaff/getkey'
@@ -33,4 +33,7 @@ package() {
   cd $_pkgname-$pkgver
   python -m installer --destdir="$pkgdir" dist/*.whl
   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Remove installed tests
+  rm -r "$pkgdir$(python -c 'import site; 
print(site.getsitepackages()[0])')"/tests/
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-getkey/-/commit/2eade178b2c4034f82ca20a762b1c9376dd8a35f

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-getkey/-/commit/2eade178b2c4034f82ca20a762b1c9376dd8a35f
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to