Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages / 
python-deadlib


Commits:
aaac7442 by Jelle van der Waa at 2024-12-07T12:10:17+01:00
With much displeasure add cgi/mailcap back to our repos :(

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = python-deadlib
        pkgdesc = Python dead batteries. See PEP 594.
        pkgver = 3.13.0
-       pkgrel = 1
+       pkgrel = 2
        url = https://github.com/youknowone/python-deadlib
        arch = any
        license = PSF-2.0
@@ -16,3 +16,11 @@ pkgbase = python-deadlib
 pkgname = python-nntplib
        pkgdesc = Standard library nntplib redistribution. "dead battery".
        depends = python
+
+pkgname = python-cgi
+       pkgdesc = Standard library cgi redistribution. "dead battery".
+       depends = python
+
+pkgname = python-mailcap
+       pkgdesc = Standard library mailcap redistribution. "dead battery".
+       depends = python


=====================================
PKGBUILD
=====================================
@@ -1,7 +1,7 @@
 pkgbase=python-deadlib
-pkgname=(python-nntplib)
+pkgname=(python-nntplib python-cgi python-mailcap)
 pkgver=3.13.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Python dead batteries. See PEP 594."
 arch=(any)
 url="https://github.com/youknowone/python-deadlib";
@@ -12,13 +12,36 @@ 
source=("$pkgbase-$pkgver.tar.gz::https://github.com/youknowone/python-deadlib/a
 sha256sums=('bde43692d5a1de2a33777ff99f4c4344f7cca3a49362b2484a13870706194613')
 
 build() {
-  cd $pkgbase-$pkgver/nntplib
+  cd ${srcdir}/$pkgbase-$pkgver/nntplib
+  python -m build --wheel --no-isolation
+
+  cd ${srcdir}/$pkgbase-$pkgver/cgi
+  python -m build --wheel --no-isolation
+
+  cd ${srcdir}/$pkgbase-$pkgver/mailcap
   python -m build --wheel --no-isolation
 }
 
+# For mailman3
 package_python-nntplib() {
   depends=('python')
   pkgdesc="Standard library nntplib redistribution. \"dead battery\"."
   cd $pkgbase-$pkgver/nntplib
   python -m installer --destdir="$pkgdir" dist/*.whl
 }
+
+# Temporarily for falcon until it is updated to 4.x
+package_python-cgi() {
+  depends=('python')
+  pkgdesc="Standard library cgi redistribution. \"dead battery\"."
+  cd $pkgbase-$pkgver/cgi
+  python -m installer --destdir="$pkgdir" dist/*.whl
+}
+
+# For alot https://github.com/pazz/alot/issues/1632
+package_python-mailcap() {
+  depends=('python')
+  pkgdesc="Standard library mailcap redistribution. \"dead battery\"."
+  cd $pkgbase-$pkgver/mailcap
+  python -m installer --destdir="$pkgdir" dist/*.whl
+}



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-deadlib/-/commit/aaac7442080e58dddd26b013323e595b3a94b75e

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


Reply via email to