[arch-commits] Commit in python-editorconfig/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Nov 30 20:24:23 UTC 2021
Date: Tuesday, November 30, 2021 @ 20:24:22
Author: felixonmars
Revision: 1058216
archrelease: copy trunk to community-staging-any
Added:
python-editorconfig/repos/community-staging-any/
python-editorconfig/repos/community-staging-any/PKGBUILD
(from rev 1058214, python-editorconfig/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: python-editorconfig/repos/community-staging-any/PKGBUILD (from rev 1058214, python-editorconfig/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-11-30 20:24:22 UTC (rev 1058216)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-editorconfig
+pkgver=0.12.3
+pkgrel=2
+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:
More information about the arch-commits
mailing list