Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / 
python-update-checker


Commits:
ffbc2e20 by Felix Yan at 2026-06-08T21:30:33+08:00
upgpkg: 1.0.0-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,22 +1,23 @@
 pkgbase = python-update-checker
        pkgdesc = A python module that will check for package updates
-       pkgver = 0.18.0
-       pkgrel = 10
+       pkgver = 1.0.0
+       pkgrel = 1
        url = https://github.com/bboe/update_checker
        arch = any
        license = BSD-2-Clause
+       checkdepends = python-aiohttp
        checkdepends = python-pytest
+       checkdepends = python-pytest-asyncio
        makedepends = git
        makedepends = python-build
        makedepends = python-installer
-       makedepends = python-requests
-       makedepends = python-setuptools
-       makedepends = python-wheel
-       depends = python-requests
+       makedepends = python-uv-build
+       depends = python
+       optdepends = python-aiohttp: async API support
        provides = python-update_checker
        conflicts = python-update_checker
        replaces = python-update_checker
-       source = git+https://github.com/bboe/update_checker.git#tag=v0.18.0
-       sha512sums = 
564a8e5489afbd11b134ad7e37dba5176343b668b85fbc99d294a84eb5affa12c74882e01958599b9421a251c1d2dec83fd3d419f1d58a933c676b39841f1442
+       source = git+https://github.com/bboe/update_checker.git#tag=v1.0.0
+       sha512sums = 
b384331d9de5a15ecde8232f3e5a4ccb00a6b35fe23046102d4ad9c7a0a46109d5abe28ece0f26cfe6b8258f426b5a493a90a9d4a8d7accbac2c44c8b605754d
 
 pkgname = python-update-checker


=====================================
PKGBUILD
=====================================
@@ -1,20 +1,21 @@
 # Maintainer: Felix Yan <[email protected]>
 
 pkgname=python-update-checker
-pkgver=0.18.0
-pkgrel=10
+pkgver=1.0.0
+pkgrel=1
 pkgdesc="A python module that will check for package updates"
 arch=('any')
 license=('BSD-2-Clause')
 url='https://github.com/bboe/update_checker'
-depends=('python-requests')
+depends=('python')
 provides=('python-update_checker')
 conflicts=('python-update_checker')
 replaces=('python-update_checker')
-makedepends=('git' 'python-build' 'python-installer' 'python-requests' 
'python-setuptools' 'python-wheel')
-checkdepends=('python-pytest')
+makedepends=('git' 'python-build' 'python-installer' 'python-uv-build')
+checkdepends=('python-aiohttp' 'python-pytest' 'python-pytest-asyncio')
+optdepends=('python-aiohttp: async API support')
 source=("git+https://github.com/bboe/update_checker.git#tag=v$pkgver";)
-sha512sums=('564a8e5489afbd11b134ad7e37dba5176343b668b85fbc99d294a84eb5affa12c74882e01958599b9421a251c1d2dec83fd3d419f1d58a933c676b39841f1442')
+sha512sums=('b384331d9de5a15ecde8232f3e5a4ccb00a6b35fe23046102d4ad9c7a0a46109d5abe28ece0f26cfe6b8258f426b5a493a90a9d4a8d7accbac2c44c8b605754d')
 
 build() {
   cd update_checker
@@ -22,8 +23,11 @@ build() {
 }
 
 check() {
+  local _site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+
   cd update_checker
-  pytest
+  python -m installer --destdir=test_dir dist/*.whl
+  PYTHONPATH="$PWD/test_dir/$_site_packages" pytest
 }
 
 package() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-update-checker/-/commit/ffbc2e203ef547dc423afd3fb75b61687b477f3f

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-update-checker/-/commit/ffbc2e203ef547dc423afd3fb75b61687b477f3f
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to