Felix Yan pushed to branch main at Arch Linux / Packaging / Packages /
python-editorconfig
Commits:
a886d14f by Felix Yan at 2026-03-03T20:09:12+08:00
upgpkg: 0.17.1-1
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,13 +1,17 @@
pkgbase = python-editorconfig
pkgdesc = EditorConfig File Locator and Interpreter for Python
- pkgver = 0.12.4
- pkgrel = 3
+ pkgver = 0.17.1
+ pkgrel = 1
url = https://github.com/editorconfig/editorconfig-core-py
arch = any
- license = PSF
+ license = PSF-2.0
+ makedepends = git
+ makedepends = python-build
+ makedepends = python-installer
makedepends = python-setuptools
+ makedepends = python-wheel
depends = python
- source =
https://pypi.io/packages/source/E/EditorConfig/EditorConfig-0.12.4.tar.gz
- sha512sums =
5e3bbc13a9388a68e003c9282e694cbed6b03f91d382c8b30f10f7af81c3c86185f546de48423dea4101cffe74e1483a7d75c1b1399c8edaeb09a339da07e4dd
+ source =
git+https://github.com/editorconfig/editorconfig-core-py.git#tag=v0.17.1
+ sha512sums =
db2bd0089cbc32e4ba5566c8811bd63b979e4870013365ee7b7d2285e1c47b434ab5e7aa791e2e05eed605bae42c3ded2b3ca57a660d178460b36c4f58cb2c66
pkgname = python-editorconfig
=====================================
PKGBUILD
=====================================
@@ -1,25 +1,25 @@
# Maintainer: Felix Yan <[email protected]>
pkgname=python-editorconfig
-pkgver=0.12.4
-pkgrel=3
+pkgver=0.17.1
+pkgrel=1
pkgdesc='EditorConfig File Locator and Interpreter for Python'
arch=('any')
-license=('PSF')
+license=('PSF-2.0')
url='https://github.com/editorconfig/editorconfig-core-py'
depends=('python')
-makedepends=('python-setuptools')
-source=("https://pypi.io/packages/source/E/EditorConfig/EditorConfig-$pkgver.tar.gz")
-sha512sums=('5e3bbc13a9388a68e003c9282e694cbed6b03f91d382c8b30f10f7af81c3c86185f546de48423dea4101cffe74e1483a7d75c1b1399c8edaeb09a339da07e4dd')
+makedepends=('git' 'python-build' 'python-installer' 'python-setuptools'
'python-wheel')
+source=("git+https://github.com/editorconfig/editorconfig-core-py.git#tag=v$pkgver")
+sha512sums=('db2bd0089cbc32e4ba5566c8811bd63b979e4870013365ee7b7d2285e1c47b434ab5e7aa791e2e05eed605bae42c3ded2b3ca57a660d178460b36c4f58cb2c66')
build() {
- cd "$srcdir"/EditorConfig-$pkgver
- python setup.py build
+ cd editorconfig-core-py
+ python -m build --wheel --no-isolation
}
package() {
- cd EditorConfig-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
+ cd editorconfig-core-py
+ python -m installer --destdir="$pkgdir" dist/*.whl
# FS#55201
mv "$pkgdir"/usr/bin/editorconfig{,3}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-editorconfig/-/commit/a886d14ff32e362a13117069d29356fb71819703
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-editorconfig/-/commit/a886d14ff32e362a13117069d29356fb71819703
You're receiving this email because of your account on gitlab.archlinux.org.