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


Commits:
e41c886a by loqs at 2026-02-10T19:08:08+00:00
Use PEP 517 for building

Related https://archlinux.org/todo/use-pep-517-for-building-if-supported/.

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -6,8 +6,11 @@ pkgbase = python-html5tagger
        arch = any
        license = MIT
        makedepends = git
+       makedepends = python-build
+       makedepends = python-installer
        makedepends = python-setuptools
        makedepends = python-setuptools-scm
+       makedepends = python-wheel
        depends = python
        source = 
git+https://github.com/sanic-org/html5tagger#commit=ef9e01b38f5bd064f3f8d061632df7937c0ae738
        sha256sums = SKIP


=====================================
PKGBUILD
=====================================
@@ -9,17 +9,17 @@ arch=("any")
 url='https://github.com/sanic-org/html5tagger'
 license=(MIT)
 depends=(python)
-makedepends=(git python-setuptools python-setuptools-scm)
+makedepends=(git python-build python-installer python-setuptools 
python-setuptools-scm python-wheel)
 source=("git+https://github.com/sanic-org/html5tagger#commit=$_commit";)
 sha256sums=('SKIP')
 
 build() {
     cd html5tagger
-    python setup.py build
+    python -m build --wheel --no-isolation
 }
 
 package() {
     cd html5tagger
-    python setup.py install --skip-build --root="$pkgdir" --optimize=1
+    python -m installer --destdir="$pkgdir" dist/*.whl
     install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
 }



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

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


Reply via email to