Date: Thursday, April 6, 2023 @ 17:13:24
Author: felixonmars
Revision: 1439941
archrelease: copy trunk to community-staging-any
Added:
python-editorconfig/repos/community-staging-any/
python-editorconfig/repos/community-staging-any/PKGBUILD
(from rev 1439939, python-editorconfig/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: python-editorconfig/repos/community-staging-any/PKGBUILD (from rev
1439939, python-editorconfig/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-06 17:13:24 UTC (rev 1439941)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-editorconfig
+pkgver=0.12.3
+pkgrel=4
+pkgdesc='EditorConfig File Locator and Interpreter for Python'
+arch=('any')
+license=('PSF')
+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=('2cb909559dbcf0debab1ee41104dcfdede22aa5e74fcba6ad7b6d5317249ccf7f78b14b4bca4c75d8c4d4c226f5ea18349504fb07eff90ee8e157d67482a99f8')
+
+build() {
+ cd "$srcdir"/EditorConfig-$pkgver
+ python setup.py build
+}
+
+package() {
+ cd EditorConfig-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ # FS#55201
+ mv "$pkgdir"/usr/bin/editorconfig{,3}
+}
+
+# vim:set ts=2 sw=2 et: