[arch-commits] Commit in python-editorconfig/repos/community-staging-any (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Oct 31 18:10:37 UTC 2019
Date: Thursday, October 31, 2019 @ 18:10:37
Author: felixonmars
Revision: 521580
archrelease: copy trunk to community-staging-any
Added:
python-editorconfig/repos/community-staging-any/PKGBUILD
(from rev 521578, python-editorconfig/trunk/PKGBUILD)
Deleted:
python-editorconfig/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 92 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 46 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 18:10:32 UTC (rev 521579)
+++ PKGBUILD 2019-10-31 18:10:37 UTC (rev 521580)
@@ -1,46 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-editorconfig
-pkgname=('python-editorconfig' 'python2-editorconfig')
-pkgver=0.12.2
-pkgrel=3
-pkgdesc='EditorConfig File Locator and Interpreter for Python'
-arch=('any')
-license=('PSF')
-url='https://github.com/editorconfig/editorconfig-core-py'
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("https://pypi.io/packages/source/E/EditorConfig/EditorConfig-$pkgver.tar.gz")
-sha512sums=('15648904683e04b68966651ebf2046b60473a47a408dff257d64d06b6c0cc6765882ebf5ec0e0ccaf5dc7e78e93b5f9bdf129ae0e2a23f7f489cb50c9ae3ff16')
-
-prepare() {
- cp -a EditorConfig-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/EditorConfig-$pkgver
- python setup.py build
-
- cd "$srcdir"/EditorConfig-$pkgver-py2
- python2 setup.py build
-}
-
-package_python-editorconfig() {
- depends=('python')
-
- cd EditorConfig-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-
- # FS#55201
- mv "$pkgdir"/usr/bin/editorconfig{,3}
-}
-
-package_python2-editorconfig() {
- depends=('python2')
-
- cd EditorConfig-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
-
- mv "$pkgdir"/usr/bin/editorconfig{,2}
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-editorconfig/repos/community-staging-any/PKGBUILD (from rev 521578, python-editorconfig/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 18:10:37 UTC (rev 521580)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-editorconfig
+pkgname=('python-editorconfig' 'python2-editorconfig')
+pkgver=0.12.2
+pkgrel=4
+pkgdesc='EditorConfig File Locator and Interpreter for Python'
+arch=('any')
+license=('PSF')
+url='https://github.com/editorconfig/editorconfig-core-py'
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://pypi.io/packages/source/E/EditorConfig/EditorConfig-$pkgver.tar.gz")
+sha512sums=('15648904683e04b68966651ebf2046b60473a47a408dff257d64d06b6c0cc6765882ebf5ec0e0ccaf5dc7e78e93b5f9bdf129ae0e2a23f7f489cb50c9ae3ff16')
+
+prepare() {
+ cp -a EditorConfig-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/EditorConfig-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/EditorConfig-$pkgver-py2
+ python2 setup.py build
+}
+
+package_python-editorconfig() {
+ depends=('python')
+
+ cd EditorConfig-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ # FS#55201
+ mv "$pkgdir"/usr/bin/editorconfig{,3}
+}
+
+package_python2-editorconfig() {
+ depends=('python2')
+
+ cd EditorConfig-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+
+ mv "$pkgdir"/usr/bin/editorconfig{,2}
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list