Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages /
python-pyasynchat
Commits:
10b153ff by Carl Smedstad at 2024-09-08T12:58:09+02:00
upgpkg: 1.0.4-2: Add tests
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,10 +1,11 @@
pkgbase = python-pyasynchat
pkgdesc = Make asynchat available for Python 3.12 onwards
pkgver = 1.0.4
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/simonrob/pyasynchat
arch = any
license = PSF-2.0
+ checkdepends = python-tests
makedepends = python-build
makedepends = python-installer
makedepends = python-setuptools
=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
pkgname=python-pyasynchat
_pkgname=${pkgname#python-}
pkgver=1.0.4
-pkgrel=1
+pkgrel=2
pkgdesc="Make asynchat available for Python 3.12 onwards"
arch=(any)
url="https://github.com/simonrob/pyasynchat"
@@ -18,6 +18,7 @@ makedepends=(
python-setuptools
python-wheel
)
+checkdepends=(python-tests)
provides=(python-asynchat)
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver/$pkgver.tar.gz")
sha256sums=('2f7085cb9f4f7aaa0aef675c799fcd2f3032d6aec9c9845330972105cf22dd23')
@@ -27,12 +28,10 @@ build() {
python -m build --wheel --no-isolation
}
-# Tests are missing required modules.
-# See: https://github.com/simonrob/pyasynchat/issues/1
-# check() {
-# cd "$_pkgname-$pkgver"
-# python -m unittest discover -v
-# }
+check() {
+ cd "$_pkgname-$pkgver"
+ python -m unittest discover -v
+}
package() {
cd "$_pkgname-$pkgver"
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pyasynchat/-/commit/10b153fffe61b6efac512eb840311416b4b74eef
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pyasynchat/-/commit/10b153fffe61b6efac512eb840311416b4b74eef
You're receiving this email because of your account on gitlab.archlinux.org.