George Rawlinson pushed to branch main at Arch Linux / Packaging / Packages / 
python-asyncpg


Commits:
8d1e0852 by loqs at 2026-03-10T05:02:05+00:00
Remove pkg_resources

Related https://archlinux.org/todo/python-pkg_resources-deprecation/.

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -13,6 +13,7 @@ pkgbase = python-asyncpg
        makedepends = git
        makedepends = python-build
        makedepends = python-installer
+       makedepends = python-packaging
        makedepends = python-setuptools
        makedepends = python-wheel
        depends = glibc


=====================================
PKGBUILD
=====================================
@@ -17,6 +17,7 @@ makedepends=(
   git
   python-build
   python-installer
+  python-packaging
   python-setuptools
   python-wheel
 )
@@ -38,6 +39,9 @@ prepare() {
   git submodule init
   git config submodule.asyncpg/pgproto.url "$srcdir/py-pgproto"
   git -c protocol.file.allow=always submodule update
+  # Replace pkg_resources with packaging
+  # 
https://github.com/MagicStack/asyncpg/pull/1308/commits/401524530d31d14501f3e3920061a5d41b5bc7b9
+  git cherry-pick -n 401524530d31d14501f3e3920061a5d41b5bc7b9
 }
 
 build() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-asyncpg/-/commit/8d1e085259e36d9df166a61e75e5651aeb65da73

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-asyncpg/-/commit/8d1e085259e36d9df166a61e75e5651aeb65da73
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